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.
@@ -78,9 +78,10 @@ module Paperclip
78
78
  retried = false
79
79
  begin
80
80
  directory.files.create(fog_file.merge(
81
- :body => file,
82
- :key => path(style),
83
- :public => fog_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
@@ -1,3 +1,3 @@
1
1
  module Paperclip
2
- VERSION = "2.4.5" unless defined? Paperclip::VERSION
2
+ VERSION = "2.4.5.1" unless defined? Paperclip::VERSION
3
3
  end
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: 21
4
+ hash: 89
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 4
9
9
  - 5
10
- version: 2.4.5
10
+ - 1
11
+ version: 2.4.5.1
11
12
  platform: ruby
12
13
  authors:
13
14
  - Jon Yurek