mini_magick 4.3.2 → 4.3.3

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: dccafcbb794fe83393016b7afd16e17468a81632
4
- data.tar.gz: 1ccb4683469dbc34e42e4f5f1cdb21a34bdaeb96
3
+ metadata.gz: 8d1f35dada1d7067b098917d946c23447a4c5887
4
+ data.tar.gz: 322b79ddc7af71be2a0df17772b094ae7cd88d7e
5
5
  SHA512:
6
- metadata.gz: 7550b39a16ca274f35d4a0b4416fc8e6007c37d52d00664d91f609373e83867bb414cdc928e0804393bdf29424d10f7d2b97ce29d6510ece5886ebf3893af9de
7
- data.tar.gz: 33b3c46ed1dd1588ea2a2c7212174a4c4ffe1381d4001bb88a76c10d824aa96cc35f5872fd766743910135e464b4aed569a7121956c9a1ab43dd7129121ee1e2
6
+ metadata.gz: 66e6b584ddf9b0b14e5be67a4aba8943a38f1ffa33e5708c5dde5c0e244e9a2c7f09b8ec92a33ea6ce46c2a3ecc916d4c39a0da5440ca9d1fa6b3dabd6e743f1
7
+ data.tar.gz: 7b95930540ee115e8e894644efc848c48692077f77f81fa203d3d85d922452df5a38ca81e2b769825dc24b0d60d7bf2f2a94c4b09788d0825f6986d71021f77e
@@ -332,8 +332,6 @@ module MiniMagick
332
332
  # @return [self]
333
333
  #
334
334
  def format(format, page = 0)
335
- @info.clear
336
-
337
335
  if @tempfile
338
336
  new_tempfile = MiniMagick::Utilities.tempfile(".#{format}")
339
337
  new_path = new_tempfile.path
@@ -355,6 +353,7 @@ module MiniMagick
355
353
  end
356
354
 
357
355
  path.replace new_path
356
+ @info.clear
358
357
 
359
358
  self
360
359
  end
@@ -492,8 +491,6 @@ module MiniMagick
492
491
  end
493
492
 
494
493
  def mogrify(page = nil)
495
- @info.clear
496
-
497
494
  MiniMagick::Tool::Mogrify.new do |builder|
498
495
  builder.instance_eval do
499
496
  def format(*args)
@@ -505,6 +502,8 @@ module MiniMagick
505
502
  builder << (page ? "#{path}[#{page}]" : path)
506
503
  end
507
504
 
505
+ @info.clear
506
+
508
507
  self
509
508
  end
510
509
 
@@ -9,7 +9,7 @@ module MiniMagick
9
9
  module VERSION
10
10
  MAJOR = 4
11
11
  MINOR = 3
12
- TINY = 2
12
+ TINY = 3
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.3.2
4
+ version: 4.3.3
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-09-05 00:00:00.000000000 Z
16
+ date: 2015-09-09 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: rake