capriza-aws 0.0.18 → 0.0.19

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.
@@ -1,5 +1,5 @@
1
1
  module Capriza
2
2
  module Aws
3
- VERSION = "0.0.18"
3
+ VERSION = "0.0.19"
4
4
  end
5
5
  end
data/lib/capriza-aws.rb CHANGED
@@ -89,7 +89,9 @@ module Capriza
89
89
  class S3Upload
90
90
 
91
91
  def initialize(options = {})
92
- AWS.config(options[:config])
92
+
93
+ AWS::S3::DEFAULT_HOST.replace options[:s3_endpoint]
94
+ AWS::S3::Base.establish_connection!(access_key_id: options[:access_key_id], secret_access_key: options[:secret_access_key] )
93
95
  @s3 = AWS::S3.new()
94
96
  @options = options
95
97
  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.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-16 00:00:00.000000000 Z
12
+ date: 2013-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk