image_processing 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of image_processing might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/image_processing/mini_magick.rb +1 -1
- data/lib/image_processing/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cec86cf08c5b63d72675c904dad0c84004c898c
|
4
|
+
data.tar.gz: 7d0e7d929f1486d8da229af07c309b1f7fca66f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96233093332362a2ca48934b44596d7561a48b59657b64f1faa3bdcc668a6a88a40afe041e6452e921bfef9bc4d0ffdc7aceb34815ea9af57113051c75ca1a8c
|
7
|
+
data.tar.gz: 30650d86ed69328ce23d30a10cf485c0dac430abf3ffeae84e9cc83517a1a2c54145149fa05884bcad6de5e04061abee49612ea4276473884a6c17eb84f0f6ea
|
@@ -227,7 +227,7 @@ module ImageProcessing
|
|
227
227
|
# IO object that responds to `#read(length = nil, outbuf = nil)`.
|
228
228
|
def _copy_to_tempfile(file)
|
229
229
|
extension = File.extname(file.path) if file.respond_to?(:path)
|
230
|
-
tempfile = Tempfile.new(["mini_magick", extension], binmode: true)
|
230
|
+
tempfile = Tempfile.new(["mini_magick", *extension], binmode: true)
|
231
231
|
IO.copy_stream(file, tempfile.path)
|
232
232
|
file.rewind
|
233
233
|
tempfile
|