mini_magick 4.2.9 → 4.2.10
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of mini_magick might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/mini_magick/tool.rb +5 -2
- data/lib/mini_magick/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21c28d5cb2938a6c126985b362544f64858220aa
|
4
|
+
data.tar.gz: 94bdee8c2c92bc7d9e5548202397dff054bd99bc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 907e11e72c97a02dcc8eaeb80d8c1bdee96561c8ae0134a14a2c00b4385e2dd6b1d9526dead4f523b4df219fe78c09fc1472609e87983a6d0b3d674aa21f8033
|
7
|
+
data.tar.gz: d7f00b1e55cd0e5ab4abfaccd62fa220a34adbc03556a5b92626aa68dc41bd4c3dd61ac1fd0e7a4664a6e6e70971e95227350a11700dccb1ced09914edd782b7
|
data/lib/mini_magick/tool.rb
CHANGED
@@ -249,8 +249,11 @@ module MiniMagick
|
|
249
249
|
def cli_options
|
250
250
|
tool = MiniMagick::Tool.new(@tool_name)
|
251
251
|
tool << "-help"
|
252
|
-
|
253
|
-
|
252
|
+
help_page = tool.call(false, stderr: false)
|
253
|
+
|
254
|
+
cli_options = help_page.scan(/^\s+-[a-z\-]+/).map(&:strip)
|
255
|
+
cli_options << "-gravity" if @tool_name == "mogrify" && MiniMagick.graphicsmagick?
|
256
|
+
cli_options
|
254
257
|
end
|
255
258
|
|
256
259
|
end
|
data/lib/mini_magick/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mini_magick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Corey Johnson
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2015-08-
|
16
|
+
date: 2015-08-08 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rake
|