From 42747f6b2ac6a82fcfb9d0775aaa8ee05352fd2b Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Mon, 7 Sep 2015 22:48:13 -0400 Subject: [PATCH] Upgrade to rcairo 1.14.2 --- CHANGELOG.md | 1 + squib.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 666c137..377e4e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Features * Upgraded roo (Excel parsing) to 2.1.0. Macro-enabled Excel files can be parsed now (i.e. `xlsm`), although I've only mildly tested this. (cddea47ba56add286639e493d5cc0146245eca68) * New built-in layouts: `fantasy.yml` and `economy.yml`. Demonstrated in new sample `layouts_builtin.rb` (#97) * Added `:scale` shortcut to `width` and `height` options for `png` and `svg`. Allows you to set the width and the image will scale while keeping its aspect ratio. (e.g. `svg width: 500, height: :scale`) (#91) +* Upgraded cairo gem to 1.14.2, which silences some warnings on Macs and upgrades a lot of Windows dependencies Compatibility: * All drawn shapes (e.g. circle, triangle, star) will now draw their stroke on top of the fill. This was not consistent before, and now it is (because Squib is more DRY about it!). This means that your `stroke_width` might render wider than before. If you want the other behavior, specify `stroke_strategy: :stroke_first`. Also applies to `text` when `stroke_width` is specified. diff --git a/squib.gemspec b/squib.gemspec index 5a8335d..3a6ebd7 100644 --- a/squib.gemspec +++ b/squib.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(/^(test|spec|features)\//) spec.require_paths = ['lib'] - spec.add_runtime_dependency 'cairo', '~> 1.14.0' + spec.add_runtime_dependency 'cairo', '~> 1.14.2' spec.add_runtime_dependency 'pango', '~> 2.2.0' spec.add_runtime_dependency 'roo', '~> 2.1.0' spec.add_runtime_dependency 'rsvg2', '~> 2.2.0'