capriza-aws 0.0.6 → 0.0.7

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.
data/lib/capriza-aws.rb CHANGED
@@ -56,8 +56,9 @@ module Capriza
56
56
 
57
57
  def upload(data, make_public = false)
58
58
  @data = data
59
- @obj.write(@data, options = {:content_type => 'application/zip'} )
59
+ @obj.write(@data)
60
60
  @obj.acl = :public_read if make_public
61
+ @obj.content_type = 'application/zip'
61
62
  end
62
63
 
63
64
  def download()
@@ -1,5 +1,5 @@
1
1
  module Capriza
2
2
  module Aws
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capriza-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: