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 +4 -4
- data/config/initializers/_aws_config.rb +3 -1
- data/lib/ocean/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e310755cb9f8ae50faa37a527bb9fcf60114cf14dddd3e65ed7c409d3916abc
|
4
|
+
data.tar.gz: 7f50f5b0cc5c5ae1bb636fee39df5106ef176a0a7ca2e1165a9b8013b8fc259f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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']
|
data/lib/ocean/version.rb
CHANGED
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.
|
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-
|
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
|
|