stacked_config 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stacked_config/source_helper.rb +5 -1
- data/lib/stacked_config/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: 7ef0fb993dbab5cbf83f2a1007c488bbce22cd2d
|
4
|
+
data.tar.gz: 9c106a74c466771c8d9f1513f2821e9c0c1f222a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5243d90765dd73895db3c018f3912fd244ed4bff8b0ffab16a528f3b0b5dc7fda34178a3106a89a49c598cf21757ad0cbdf99dd5f0997a1cd7e61bc758ae60f5
|
7
|
+
data.tar.gz: dfcddb44b6cc7116001e5d0c1d11ab7c10afb9f844b17614cf2bbfdf8479923b1fb34833d14ec070fe341878a1c930bc226e14b5fbe6b1b79824d3e8dda360c0
|
@@ -69,7 +69,11 @@ module StackedConfig
|
|
69
69
|
@file_name = nil
|
70
70
|
places.each do |path_array|
|
71
71
|
# Perform path substitutions
|
72
|
-
|
72
|
+
begin
|
73
|
+
potential_config_file = File.join(path_array.map { |path_part| perform_substitutions path_part })
|
74
|
+
rescue
|
75
|
+
#do nothing
|
76
|
+
end
|
73
77
|
return unless potential_config_file
|
74
78
|
# Try to find config file with extension
|
75
79
|
EXTENSIONS.each do |extension|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stacked_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Laurent B.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-01-
|
11
|
+
date: 2015-01-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|