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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1cfebc92ab8edbb67a0c07dda951492e63887963
4
- data.tar.gz: c6de809414f4bf51c35d755a602cc6619eb5d490
3
+ metadata.gz: 7ef0fb993dbab5cbf83f2a1007c488bbce22cd2d
4
+ data.tar.gz: 9c106a74c466771c8d9f1513f2821e9c0c1f222a
5
5
  SHA512:
6
- metadata.gz: 55be0be98df85a6f2a26a909282b9d6fbc08cd33f3baca77ade22bc08db01a51a58867b095329f00e06300352c4919ecc137f24377051f9abb754b1d74b3424e
7
- data.tar.gz: 96c6f431ee050279f78fba963defcc707f52b05fa2d5b94141018791a61a6eda84d84ec1ec1e6fa0d8e833c287115da6d2bc2a96aae8abc12d4ca7b030ef87f2
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
- potential_config_file = File.join(path_array.map { |path_part| perform_substitutions path_part })
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|
@@ -1,3 +1,3 @@
1
1
  module StackedConfig
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
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.0
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-02 00:00:00.000000000 Z
11
+ date: 2015-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler