image_processing 0.4.3 → 0.4.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cec86cf08c5b63d72675c904dad0c84004c898c
4
- data.tar.gz: 7d0e7d929f1486d8da229af07c309b1f7fca66f4
3
+ metadata.gz: 927332d5b22f765abe5bfe4197032d846f4cf12c
4
+ data.tar.gz: b7ba8c46f72d3ecf0c673d890b5ceb42bbe3fb92
5
5
  SHA512:
6
- metadata.gz: 96233093332362a2ca48934b44596d7561a48b59657b64f1faa3bdcc668a6a88a40afe041e6452e921bfef9bc4d0ffdc7aceb34815ea9af57113051c75ca1a8c
7
- data.tar.gz: 30650d86ed69328ce23d30a10cf485c0dac430abf3ffeae84e9cc83517a1a2c54145149fa05884bcad6de5e04061abee49612ea4276473884a6c17eb84f0f6ea
6
+ metadata.gz: 3b9739bd6b0a9458ef85c00f35822d9621d7c08cc1e63d0df7fa4064ca22ba21dde56fa62ba1a6344b1b0e5e0857349b7fd35a0565ea4f86c1ec0b41bf8d45c2
7
+ data.tar.gz: a5fb004adc2939892dee145059376c4f55197e6a22e31ba4e817791b7fecfdc884d77449c3260b5759fc1ff3b0b2b703bb6c010715f8a6c403cb1e376875b756
data/README.md CHANGED
@@ -8,7 +8,7 @@ that they can be used in any project. The goal of image_processing is to have a
8
8
  centralized place where helper methods for image processing are maintained,
9
9
  instead of CarrierWave, Dragonfly and Refile each implementing their own.
10
10
 
11
- It's been tested with MRI 2.x, JRuby and Rubinius.
11
+ It's been tested with MRI 2.x and JRuby.
12
12
 
13
13
  ## Installation
14
14
 
@@ -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.to_s], binmode: true)
231
231
  IO.copy_stream(file, tempfile.path)
232
232
  file.rewind
233
233
  tempfile
@@ -1,3 +1,3 @@
1
1
  module ImageProcessing
2
- VERSION = "0.4.3"
2
+ VERSION = "0.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: image_processing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janko Marohnić