thorsson_carrierwave 0.4.11 → 0.4.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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