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 +4 -4
- data/lib/mini_magick/image.rb +3 -4
- 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: 8d1f35dada1d7067b098917d946c23447a4c5887
|
4
|
+
data.tar.gz: 322b79ddc7af71be2a0df17772b094ae7cd88d7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66e6b584ddf9b0b14e5be67a4aba8943a38f1ffa33e5708c5dde5c0e244e9a2c7f09b8ec92a33ea6ce46c2a3ecc916d4c39a0da5440ca9d1fa6b3dabd6e743f1
|
7
|
+
data.tar.gz: 7b95930540ee115e8e894644efc848c48692077f77f81fa203d3d85d922452df5a38ca81e2b769825dc24b0d60d7bf2f2a94c4b09788d0825f6986d71021f77e
|
data/lib/mini_magick/image.rb
CHANGED
@@ -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
|
|
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.3.
|
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-
|
16
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: rake
|