ocean-rails 1.27.0 → 1.27.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/api_constants.rb +7 -3
- data/lib/ocean/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eae839f8f398c03ddccff192d62a1dcea63c58f4
|
4
|
+
data.tar.gz: db831dd89beb0d6258fd4e6d363770ff0d86fe4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60a369f6fd64ca30a903f4228cb943f7dab96300b26b3df20bc8e1be7d133ac16302a2ee69b8df12f5f653df8b72e2bcc2ed3046e449f3c7be7a328316689c54
|
7
|
+
data.tar.gz: c7e3f4a34450e2daf04ee3acf5c4047085276f7ce3e299607542387ce3b2048d4e411a51e41b50ffee152bdfb6c64dfebae5ce8b160e34dfbfc188e4b1544e7b
|
@@ -7,8 +7,8 @@ if File.exists?(ef)
|
|
7
7
|
# This is the tailored file, not under source control.
|
8
8
|
f = File.join(Rails.root, "config/config.yml")
|
9
9
|
|
10
|
-
# If the tailored file doesn't exist, and we're running
|
11
|
-
#
|
10
|
+
# If the tailored file doesn't exist, and we're running under TeamCity,
|
11
|
+
# use the example file as-is.
|
12
12
|
unless File.exists?(f)
|
13
13
|
f = ENV['OCEAN_API_HOST'] ? ef : false
|
14
14
|
end
|
@@ -19,7 +19,11 @@ if File.exists?(ef)
|
|
19
19
|
cfg.merge! cfg.fetch(Rails.env, {}) if cfg.fetch(Rails.env, {})
|
20
20
|
cfg.each do |k, v|
|
21
21
|
next if k =~ /[a-z]/
|
22
|
-
|
22
|
+
if ENV["OVERRIDE_#{k}"]
|
23
|
+
eval "#{k} = #{ENV["OVERRIDE_#{k}"].inspect}"
|
24
|
+
else
|
25
|
+
eval "#{k} = #{v.inspect}"
|
26
|
+
end
|
23
27
|
end
|
24
28
|
else
|
25
29
|
# Otherwise print an error message and abort.
|
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: 1.27.
|
4
|
+
version: 1.27.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Bengtson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|