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 +4 -4
- data/NEWS +4 -0
- data/lib/paperclip/attachment.rb +1 -4
- data/lib/paperclip/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: 302d782024b65e52c6e3b0f2caefe6c96893fda6
|
4
|
+
data.tar.gz: 11e787c6934c7ff8a44409ba54cc049e7743309c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b7b11bca1472987b99c21656db9dd8f1258180078ca9811c7fa977b2b0897c724b069806a058a936873ddc9aac017c133de8da2f8946952a04f9fbe110571d5
|
7
|
+
data.tar.gz: f52bf9968bbbca1d59237055a66a62acfb882fab61db9060211a2361ce6f01fa3e3b325a622f9e905a4a60f845c7f03595d19e106898e9a6f6b45a2d66964f48
|
data/NEWS
CHANGED
data/lib/paperclip/attachment.rb
CHANGED
@@ -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
|
-
|
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])
|
data/lib/paperclip/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|