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 +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/image_processing/mini_magick.rb +2 -2
- data/lib/image_processing/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bbfdce2d8d8f1b750b61f241ee2b73238c87f0f
|
4
|
+
data.tar.gz: 357ac76e747cf48055673ef1d023268cade403c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 365f69bc69fa37a072f439c810f45ec421504a8edb9edbc73ae6306d9ed7391153c343b3aae4fb7950b8520b01fe03dcd0bc55f45a83eb5c459a33e40b9191b0
|
7
|
+
data.tar.gz: 4800c9b7f470cb5246543c985854a56edee922508b3882f41002312801d0372b8b47a583e4e1aad628e0cbbe5e3df8be38c27f7fdac8547fdc1e52d13a09b9d6
|
data/CHANGELOG.md
CHANGED
@@ -52,8 +52,8 @@ module ImageProcessing
|
|
52
52
|
magick.extent "#{width}x#{height}"
|
53
53
|
end
|
54
54
|
|
55
|
-
def
|
56
|
-
limit_args =
|
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
|