paperclip 3.5.3 → 3.5.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of paperclip might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea82fb0a61da2668522387c0791072a70b799a34
4
- data.tar.gz: a66594b8fe23229892f4472f38adead04f6eb803
3
+ metadata.gz: 302d782024b65e52c6e3b0f2caefe6c96893fda6
4
+ data.tar.gz: 11e787c6934c7ff8a44409ba54cc049e7743309c
5
5
  SHA512:
6
- metadata.gz: 61d7b295e78e6403728a1589caf7a835482bf68d47c41720fa1cb594f2e5db0af43abf1015d4407c7f203701301ef611526bbe60f597187f49c7dce10ac5dc41
7
- data.tar.gz: d45aeb9b2662ba922d2d2e5a15b350cb23b1a1bc0a682bfd03a5272d74122c8ad19458d12acf041811f84a20a356d06bb1c18c9694a95edf890fbe4fac5a13dc
6
+ metadata.gz: 0b7b11bca1472987b99c21656db9dd8f1258180078ca9811c7fa977b2b0897c724b069806a058a936873ddc9aac017c133de8da2f8946952a04f9fbe110571d5
7
+ data.tar.gz: f52bf9968bbbca1d59237055a66a62acfb882fab61db9060211a2361ce6f01fa3e3b325a622f9e905a4a60f845c7f03595d19e106898e9a6f6b45a2d66964f48
data/NEWS CHANGED
@@ -1,3 +1,7 @@
1
+ New in 3.5.4:
2
+
3
+ Bug Fix: Users were reporting IOErrors. Stop closing extra files to prevent.
4
+
1
5
  New in 3.5.3:
2
6
 
3
7
  Improvement: After three long, hard years... we know how to upgrade
@@ -434,11 +434,8 @@ module Paperclip
434
434
  def post_process_style(name, style) #:nodoc:
435
435
  begin
436
436
  raise RuntimeError.new("Style #{name} has no processors defined.") if style.processors.blank?
437
- original_file = @queued_for_write[:original]
438
437
  @queued_for_write[name] = style.processors.inject(@queued_for_write[:original]) do |file, processor|
439
- new_file = Paperclip.processor(processor).make(file, style.processor_options, self)
440
- file.close unless file == original_file
441
- new_file
438
+ Paperclip.processor(processor).make(file, style.processor_options, self)
442
439
  end
443
440
  unadapted_file = @queued_for_write[name]
444
441
  @queued_for_write[name] = Paperclip.io_adapters.for(@queued_for_write[name])
@@ -1,3 +1,3 @@
1
1
  module Paperclip
2
- VERSION = "3.5.3" unless defined? Paperclip::VERSION
2
+ VERSION = "3.5.4" unless defined? Paperclip::VERSION
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paperclip
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Yurek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-24 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel