image_processing 0.11.0 → 0.11.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of image_processing might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e049246f3103f7f178b7318bf8dcf13695e4176d
4
- data.tar.gz: 62cfaf744d25bdee1db2c6a070ffabe52c3df89f
3
+ metadata.gz: 6bbfdce2d8d8f1b750b61f241ee2b73238c87f0f
4
+ data.tar.gz: 357ac76e747cf48055673ef1d023268cade403c8
5
5
  SHA512:
6
- metadata.gz: 15e19280b7889ac52b21c435be6d132a535cd94c31e38eb5a85fe47b9ad210963117fded9b53a444dc2c0cbc08962808cd38cb25f5c70902bc0509d5a70ad23f
7
- data.tar.gz: 236da6230651462334d51dabaf975e59e070001ae8269dfb6ff206de88ce86496fafa65b1fa4f89ea3bed8d866e06276eb192f57fe4829d150e3a4cb35bbf0ea
6
+ metadata.gz: 365f69bc69fa37a072f439c810f45ec421504a8edb9edbc73ae6306d9ed7391153c343b3aae4fb7950b8520b01fe03dcd0bc55f45a83eb5c459a33e40b9191b0
7
+ data.tar.gz: 4800c9b7f470cb5246543c985854a56edee922508b3882f41002312801d0372b8b47a583e4e1aad628e0cbbe5e3df8be38c27f7fdac8547fdc1e52d13a09b9d6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.11.1 (2017-03-27)
2
+
3
+ * [minimagick] Rename `#limit` to `#limits` to still allow adding `-limit` arguments directly (@janko-m)
4
+
1
5
  ## 0.11.0 (2018-03-27)
2
6
 
3
7
  * [minimagick] Fix broken deprecated `#convert` (@janko-m)
@@ -52,8 +52,8 @@ module ImageProcessing
52
52
  magick.extent "#{width}x#{height}"
53
53
  end
54
54
 
55
- def limit(magick, limits)
56
- limit_args = limits.flat_map { |type, value| %W[-limit #{type} #{value}] }
55
+ def limits(magick, options)
56
+ limit_args = options.flat_map { |type, value| %W[-limit #{type} #{value}] }
57
57
  magick.args.replace limit_args + magick.args
58
58
  magick
59
59
  end
@@ -1,3 +1,3 @@
1
1
  module ImageProcessing
2
- VERSION = "0.11.0"
2
+ VERSION = "0.11.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_processing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić