ocean-rails 5.2.0 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5c44b8c69112c22983de235e2f5132bd217ba76
4
- data.tar.gz: bc171e271ad2b8e2a36edc9039d662da416d159c
3
+ metadata.gz: f039870ff37dfb56ec3aa67335dfd595e65e5fda
4
+ data.tar.gz: 48dbaa96fa92294f63bf3674507a6b42d3743781
5
5
  SHA512:
6
- metadata.gz: 64846dd878b0f1176007383dd028fac44570fa6c797e0e7f0519681709479c5e6f56127abdd6a2cef05e998e1836361fcaf13fcebda0b25c87e90bb190e8106c
7
- data.tar.gz: faa9281445150744c0cf5d721d18def94e23e4c51d98f413df52bfeae67f2d9e8d21eebe71a99a89fbcb834f102609bc45c045b98859739d3b6e1925e94c79a0
6
+ metadata.gz: ce5a50490be5f2999b9801bffa19441b189fb10b39e9110be2b099ec101e39b5f2cafc0ff8f59e7518a0dd3f074af970d71d9e33abc626f1d152456daf5c7921
7
+ data.tar.gz: 5c68610fa3b2499b73333fb5a0414d83df7e2d20df411b38f43211dd4d790929d58da10016f2a8db7d5fc267ca37e3e517ad94aa867b60a7fc53cb360f29307d
@@ -2,7 +2,7 @@
2
2
  if (ENV['AWS_ACCESS_KEY_ID'].present? &&
3
3
  ENV['AWS_SECRET_ACCESS_KEY'].present? &&
4
4
  ENV['AWS_REGION'].present?)
5
- Aws.config if defined? Aws
5
+ Aws.config
6
6
  else
7
7
 
8
8
  # The is the example file
@@ -31,7 +31,7 @@ else
31
31
  credentials: Aws::Credentials.new(options["access_key_id"], options["secret_access_key"]),
32
32
  endpoint: options["endpoint"]
33
33
  )
34
-
34
+ AWS.config(options)
35
35
  else
36
36
  # Otherwise print an error message and abort.
37
37
  puts
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "5.2.0"
2
+ VERSION = "5.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: aws-sdk-v1
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rails
99
113
  requirement: !ruby/object:Gem::Requirement