ocean-rails 1.23.2 → 1.23.3

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: 339c17156fe27a67f4257d0dc48e1a4a19a89ca6
4
- data.tar.gz: 9d7612bfff118680211a13efbad8d3b0be498b55
3
+ metadata.gz: 7009a840625c3403a639004b3d591f04f04fdcfb
4
+ data.tar.gz: 17df19e372fd6303aedfd062ef34937051422f2c
5
5
  SHA512:
6
- metadata.gz: 61ef6f820e72f440d8f9e085c3eb62e58fe1777fdf42596cf7cc9b9aa3d9afdcf678304bcd685871e62bc8908ac375a9bd2f01f9f8e20b82db373f12f1f411fb
7
- data.tar.gz: 59b7a722e32fc4d85d5c3badaab57b1e00258f28e0792577216ac173178ece0555745941e82fdef9e7094154fa17dedeb94504649daa7f68584220ec35d971bf
6
+ metadata.gz: cec29a7b8c057c56366e0fda5811c3daa5818a48264aa620e9241c4b5474cf7d43846340e1c2c4ecd934372d627c592c3cf1d48648add0695ebe5e0aa2a3e6b8
7
+ data.tar.gz: 2c7b542b158ef3b9da8da2e5491addbc47093cbed3b4a547d042959918962b659bf7efc753c3bbde9c6d5aa35e888bcd6ca40353651b000849dd32d36d1323b0
@@ -6,9 +6,17 @@ if File.exists?(ef)
6
6
 
7
7
  # This is the tailored file, not under source control.
8
8
  f = File.join(Rails.root, "config/config.yml")
9
- # If the tailored file doesn't exist, and we're running in production mode
9
+
10
+ puts
11
+ puts "--- ef = #{ef}"
12
+ puts "--- f = #{f}"
13
+
14
+ # If the tailored file doesn't exist, and we're running in test mode
10
15
  # (which is the case under TeamCity), use the example file as-is.
11
- f = File.exists?(f) && f || Rails.env != 'development' && ef
16
+ f = (File.exists?(f) && f) || ((Rails.env == 'test') && ef)
17
+
18
+ puts "--- LOADING #{f}"
19
+ puts
12
20
 
13
21
  # If there is a file to process, do so
14
22
  if f
@@ -7,9 +7,9 @@ if File.exists?(ef)
7
7
 
8
8
  # This is the tailored file, not under source control.
9
9
  f = File.join(Rails.root, "config/aws.yml")
10
- # If the tailored file doesn't exist, and we're running in production mode
10
+ # If the tailored file doesn't exist, and we're running in test mode
11
11
  # (which is the case under TeamCity), use the example file as-is.
12
- f = File.exists?(f) && f || Rails.env != 'development' && ef
12
+ f = (File.exists?(f) && f) || ((Rails.env == 'test') && ef)
13
13
 
14
14
  # If there is a file to process, do so
15
15
  if f
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "1.23.2"
2
+ VERSION = "1.23.3"
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: 1.23.2
4
+ version: 1.23.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson