Compare commits

...

5 Commits

Author SHA1 Message Date
Ansho Rei 8269adcee7 pdf background fill 2023-12-21 03:07:30 +01:00
Andy Meneely 1132233747 onward and upward 2023-04-08 22:33:44 -04:00
Andy Meneely 2d1e20d45d bump min version 2023-04-08 22:19:59 -04:00
Andy Meneely c9e6508c66 bump docs version 2023-04-08 22:02:58 -04:00
Andy Meneely 15b73303c7 documenting v0.19 changelog 2023-04-08 22:01:46 -04:00
8 changed files with 17 additions and 9 deletions

View File

@ -8,9 +8,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
os: [ubuntu, macos] os: [ubuntu, macos]
ruby: [2.7, 3.0, head] ruby: ['3.0', '3.1', '3.2', head]
runs-on: ${{ matrix.os }}-latest runs-on: ${{ matrix.os }}
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || (matrix.ruby == '3.0' && matrix.os == 'macos')}} continue-on-error: ${{ endsWith(matrix.ruby, 'head') }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: ruby/setup-ruby@v1 - uses: ruby/setup-ruby@v1

View File

@ -1,7 +1,12 @@
# Squib CHANGELOG # Squib CHANGELOG
Squib follows [semantic versioning](http://semver.org). Squib follows [semantic versioning](http://semver.org).
## v0.18.0 / Unreleased ## v0.19.0 / 2023-04-08
Chores:
* Bumping dependencies, which should fix installation issues (e.g. [#376](https://github.com/andymeneely/squib/issues/376))
## v0.18.0 / 2021-10-26
Features: Features:
* Placeholders! Missing images to `svg` and `png` can be replaced by a `placeholder` (#339) * Placeholders! Missing images to `svg` and `png` can be replaced by a `placeholder` (#339)

View File

@ -31,7 +31,7 @@ Wanna see more? Check out the website: http://andymeneely.github.io/squib/
## Installation ## Installation
Squib requires Ruby 2.7 or later. Squib requires Ruby 3.0 or later.
Install it yourself with: Install it yourself with:

View File

@ -55,9 +55,9 @@ author = u'Andy Meneely'
# built documents. # built documents.
# #
# The short X.Y version. # The short X.Y version.
version = u'v0.18' version = u'v0.19'
# The full version, including alpha/beta/rc tags. # The full version, including alpha/beta/rc tags.
release = u'v0.18.0' release = u'v0.19.0'
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.

View File

@ -29,6 +29,7 @@ module Squib
crop_margin_bottom crop_margin_left crop_margin_right crop_margin_top crop_margin_bottom crop_margin_left crop_margin_right crop_margin_top
rtl trim trim_radius rtl trim trim_radius
range range
fill_color
) )
end end

View File

@ -22,6 +22,8 @@ module Squib
track_progress(range, sheet) do |bar| track_progress(range, sheet) do |bar|
range.each do |i| range.each do |i|
card = @deck.cards[i] card = @deck.cards[i]
cc.set_source_color(sheet.fill_color)
cc.paint
cc.translate(x, y) cc.translate(x, y)
cc.rectangle(sheet.trim, sheet.trim, card_width, card_height) cc.rectangle(sheet.trim, sheet.trim, card_width, card_height)
cc.clip cc.clip

View File

@ -6,6 +6,6 @@ module Squib
# Most of the time this is in the alpha of the next release. # Most of the time this is in the alpha of the next release.
# e.g. v0.0.5a is on its way to becoming v0.0.5 # e.g. v0.0.5a is on its way to becoming v0.0.5
# #
VERSION = '0.19.0' VERSION = '0.20.0a'
end end

View File

@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
spec.specification_version = 2 if spec.respond_to? :specification_version= spec.specification_version = 2 if spec.respond_to? :specification_version=
spec.required_rubygems_version = Gem::Requirement.new('>= 0') if spec.respond_to? :required_rubygems_version= spec.required_rubygems_version = Gem::Requirement.new('>= 0') if spec.respond_to? :required_rubygems_version=
spec.rubygems_version = '2.2.2' spec.rubygems_version = '2.2.2'
spec.required_ruby_version = '>= 2.7.0' spec.required_ruby_version = '>= 3.0.0'
spec.name = 'squib' spec.name = 'squib'
spec.version = Squib::VERSION spec.version = Squib::VERSION