thorsson_carrierwave 0.4.11 → 0.4.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ require 'carrierwave/core_ext/inheritable_attributes'
7
7
 
8
8
  module CarrierWave
9
9
 
10
- VERSION = "0.4.11"
10
+ VERSION = "0.4.12"
11
11
 
12
12
  class << self
13
13
  attr_accessor :root
@@ -109,11 +109,7 @@ module CarrierWave
109
109
 
110
110
  def store(file)
111
111
  # File.open('/home/ivan/output', 'w') {|f| f.write(@path) }
112
- connection.put(bucket, @path, file.read,
113
- {'x-amz-acl' => @uploader.s3_access_policy,
114
- 'x-amz-content-type' => @uploader.s3_headers['Content-Type'],
115
- 'content-type' => @uploader.s3_headers['Content-Type']}#file.content_type
116
- )
112
+ connection.put(bucket, @path, file.read,headers)
117
113
  end
118
114
 
119
115
  private
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 4
8
- - 11
9
- version: 0.4.11
8
+ - 12
9
+ version: 0.4.12
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jonas Nicklas, Ivan Turkovic