ocean-rails 7.1.1 → 7.2.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
  SHA256:
3
- metadata.gz: 9755c4571cb0e07c40c614e137e62bcca1db43ae52fcc458fc6d496840526176
4
- data.tar.gz: 53bff7a0815bea22bfa4374612b608453c446a42f4b8ecf987d2b0bd37714b15
3
+ metadata.gz: 9e310755cb9f8ae50faa37a527bb9fcf60114cf14dddd3e65ed7c409d3916abc
4
+ data.tar.gz: 7f50f5b0cc5c5ae1bb636fee39df5106ef176a0a7ca2e1165a9b8013b8fc259f
5
5
  SHA512:
6
- metadata.gz: c0ac341b0fdce661af03ed0a176b7052900519000fdbd3e0b99d7c13a3f37b1263f39bae4f5eec7a966597cf873c2839472b0acd681048c29ae8015d540ec53d
7
- data.tar.gz: e0c9773797ecb6f0b438f3dbbbace6201040635d41931e1b2c9e42c4d82962029b32a85e70db450d46dd701b897b03018fe832436a8dcf5a088551f84b45c4ce
6
+ metadata.gz: ca3905a22de0b28182622dde001ecaaf1b1e062ed6fb1e2e8db08696505d69907e4112ef1930644af3079d29e588ac154323057b2db91df00837d18359296a61
7
+ data.tar.gz: c8d5df2e30cab29673d663fc6b591165c359750d9b1e11801b8d43a7af426c3626e418e32bb12d8d4ae1502001311dcd09b7ea04c82102aa0cbfb76d64270bf8
@@ -22,7 +22,9 @@ else
22
22
 
23
23
  # If there is a file to process, do so
24
24
  if f
25
- cfg = YAML.load(File.read(f))[Rails.env]
25
+ template = ERB.new(File.read(f))
26
+ processed = YAML.load(template.result(binding))
27
+ cfg = processed[Rails.env]
26
28
  # Set the ENV variables
27
29
  ENV['AWS_ACCESS_KEY_ID'] = cfg[:access_key_id] || cfg['access_key_id']
28
30
  ENV['AWS_SECRET_ACCESS_KEY'] = cfg[:secret_access_key] || cfg['secret_access_key']
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "7.1.1"
2
+ VERSION = "7.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.1.1
4
+ version: 7.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-06-10 00:00:00.000000000 Z
11
+ date: 2018-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '4.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: dotenv-rails
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  description: |-
154
168
  == Ocean
155
169