jmcnevin-paperclip 2.4.5 → 2.4.5.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/paperclip/storage/fog.rb +4 -3
- data/lib/paperclip/version.rb +1 -1
- metadata +3 -2
@@ -78,9 +78,10 @@ module Paperclip
|
|
78
78
|
retried = false
|
79
79
|
begin
|
80
80
|
directory.files.create(fog_file.merge(
|
81
|
-
:body
|
82
|
-
:key
|
83
|
-
:public
|
81
|
+
:body => file,
|
82
|
+
:key => path(style),
|
83
|
+
:public => fog_public,
|
84
|
+
:content_type => file.content_type.to_s.strip
|
84
85
|
))
|
85
86
|
rescue Excon::Errors::NotFound
|
86
87
|
raise if retried
|
data/lib/paperclip/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jmcnevin-paperclip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 89
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 4
|
9
9
|
- 5
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 2.4.5.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Jon Yurek
|