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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 40fe759f030711a8b4cae6a7334ba2c553f848a3
4
- data.tar.gz: 37037fc7631d55294c20ad991dbc8f0bfb6c8fb2
3
+ metadata.gz: 21c28d5cb2938a6c126985b362544f64858220aa
4
+ data.tar.gz: 94bdee8c2c92bc7d9e5548202397dff054bd99bc
5
5
  SHA512:
6
- metadata.gz: 89c0deeaf8dc29605ac7651803be5af576822fcfa8485056254eec3710d31563a9f7d536b2f35d7e677d0b8ab9a4a35d5147aec18d0fba8e1fb9fbcb97f454b2
7
- data.tar.gz: c553cc750c068c345fbc2757af7eb063e4d222102313f2a64930f9d67ff16adadfc636fe6b17b6377ce03bea0335f0f77d9a47ee6b7652ec02eb3cbf9b5eff28
6
+ metadata.gz: 907e11e72c97a02dcc8eaeb80d8c1bdee96561c8ae0134a14a2c00b4385e2dd6b1d9526dead4f523b4df219fe78c09fc1472609e87983a6d0b3d674aa21f8033
7
+ data.tar.gz: d7f00b1e55cd0e5ab4abfaccd62fa220a34adbc03556a5b92626aa68dc41bd4c3dd61ac1fd0e7a4664a6e6e70971e95227350a11700dccb1ced09914edd782b7
@@ -249,8 +249,11 @@ module MiniMagick
249
249
  def cli_options
250
250
  tool = MiniMagick::Tool.new(@tool_name)
251
251
  tool << "-help"
252
- help = tool.call(false, stderr: false)
253
- cli_options = help.scan(/^\s+-[a-z\-]+/).map(&:strip)
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
@@ -9,7 +9,7 @@ module MiniMagick
9
9
  module VERSION
10
10
  MAJOR = 4
11
11
  MINOR = 2
12
- TINY = 9
12
+ TINY = 10
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
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.9
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-02 00:00:00.000000000 Z
16
+ date: 2015-08-08 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake