mini_magick 4.13.0 → 4.13.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '089fde47ce0a0ea4b01cf5e464ee66214b04f1262ce2a66f41824785bee4003f'
4
- data.tar.gz: ba4f942bcf0c4739472bc440273b716b72af440ab4f91e4b5b6f232cd99ecf2a
3
+ metadata.gz: 44b0562f09fa6d0cc281ad1c4317b8e9915aa60dc6175072dc0cdc872f3d8367
4
+ data.tar.gz: 96225cd5bd66e3c0c065cb169057e196becfcdd1e0c883cb7c23f746d76bcda6
5
5
  SHA512:
6
- metadata.gz: f6455dad1a98483c0ae9826859784547437e9b85a2fc4da1e50d6bbc67f3d7d88c7f7b5290c021c63878cbe7d38018b96920ffcb63df74df5248e7ac970c239a
7
- data.tar.gz: 8d2610b3b2a5f7b1b29a0b64a5880f385cdd959002bbc5193c2eb94cce61a79a281f063f2539b9a999ca28f35c2a661c4f62797e50f2bd49fdd312e0a1e8198f
6
+ metadata.gz: a39cb409419be063b9cc27fd107a361d94d3f5dbdad719ed1f472efca70650c710160494f22b18f1408df479f29836d29c2bd71262ad1988cdf22caf85a9251a
7
+ data.tar.gz: dbb5ba23b0b773a696812ec343f0d267aee1653b0ebfb61ea9560af9c4cac68352b7c936c57233913d8848a1de3c9fe02e31070a94e5f3f0d7f471e444615a55
@@ -186,12 +186,6 @@ module MiniMagick
186
186
  end
187
187
  end
188
188
 
189
- def identify_with_cheap_info
190
- # asking for any cheap_info value will trigger `identify` to fetch _all_ cheap_info values if necessary
191
- # used by Image#validate! to avoid a second `identify` call just to populate cheap_info attributes
192
- self['format']
193
- end
194
-
195
189
  private
196
190
 
197
191
  def decode_comma_separated_ascii_characters(encoded_value)
@@ -216,7 +216,7 @@ module MiniMagick
216
216
  # @raise [MiniMagick::Invalid]
217
217
  #
218
218
  def validate!
219
- @info.identify_with_cheap_info
219
+ identify
220
220
  rescue MiniMagick::Error => error
221
221
  raise MiniMagick::Invalid, error.message
222
222
  end
@@ -17,7 +17,8 @@ module MiniMagick
17
17
  fail MiniMagick::Error, "`#{command.join(" ")}` failed with status: #{status.inspect} and error:\n#{stderr}"
18
18
  end
19
19
 
20
- $stderr.print(stderr) unless options[:stderr] == false || stderr.strip == %(WARNING: The convert command is deprecated in IMv7, use "magick")
20
+ stderr = stderr.lines[2..-1].join if stderr.start_with? %(WARNING: The convert command is deprecated in IMv7)
21
+ $stderr.print(stderr) unless options[:stderr] == false
21
22
 
22
23
  [stdout, stderr, status]
23
24
  end
@@ -9,7 +9,7 @@ module MiniMagick
9
9
  module VERSION
10
10
  MAJOR = 4
11
11
  MINOR = 13
12
- TINY = 0
12
+ TINY = 2
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.13.0
4
+ version: 4.13.2
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: 2024-06-13 00:00:00.000000000 Z
16
+ date: 2024-07-08 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake