Compare commits

...

5 Commits

Author SHA1 Message Date
Ansho Rei 8269adcee7 pdf background fill 2 years ago
Andy Meneely 1132233747 onward and upward 3 years ago
Andy Meneely 2d1e20d45d bump min version 3 years ago
Andy Meneely c9e6508c66 bump docs version 3 years ago
Andy Meneely 15b73303c7 documenting v0.19 changelog 3 years ago
  1. 6
      .github/workflows/tests.yml
  2. 7
      CHANGELOG.md
  3. 2
      README.md
  4. 4
      docs/conf.py
  5. 1
      lib/squib/dsl/save_pdf.rb
  6. 2
      lib/squib/graphics/save_pdf.rb
  7. 2
      lib/squib/version.rb
  8. 2
      squib.gemspec

6
.github/workflows/tests.yml

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

7
CHANGELOG.md

@ -1,7 +1,12 @@
# Squib CHANGELOG
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:
* Placeholders! Missing images to `svg` and `png` can be replaced by a `placeholder` (#339)

2
README.md

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

4
docs/conf.py

@ -55,9 +55,9 @@ author = u'Andy Meneely'
# built documents.
#
# The short X.Y version.
version = u'v0.18'
version = u'v0.19'
# 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
# for a list of supported languages.

1
lib/squib/dsl/save_pdf.rb

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

2
lib/squib/graphics/save_pdf.rb

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

2
lib/squib/version.rb

@ -6,6 +6,6 @@ module Squib
# 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
#
VERSION = '0.19.0'
VERSION = '0.20.0a'
end

2
squib.gemspec

@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
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.rubygems_version = '2.2.2'
spec.required_ruby_version = '>= 2.7.0'
spec.required_ruby_version = '>= 3.0.0'
spec.name = 'squib'
spec.version = Squib::VERSION

Loading…
Cancel
Save