capriza-aws 0.0.20 → 0.0.21

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
@@ -90,7 +90,8 @@ module Capriza
90
90
 
91
91
  def initialize(options = {})
92
92
  @options = options
93
- AWS::S3::Base.establish_connection!(access_key_id: @options[:access_key_id], secret_access_key: @options[:secret_access_key] )
93
+ S3connect.new(@options[:config])
94
+ s3 = AWS::S3.new()
94
95
  @s3 = AWS::S3.new(:region => @options[:s3_endpoint])
95
96
  end
96
97
 
@@ -1,5 +1,5 @@
1
1
  module Capriza
2
2
  module Aws
3
- VERSION = "0.0.20"
3
+ VERSION = "0.0.21"
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.20
4
+ version: 0.0.21
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: