kybus-configs 0.2.0 → 0.2.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
  SHA256:
3
- metadata.gz: f5670f8007db375cb7baf70d1ff2cb3ace9512564b85913d1e292b3596c707da
4
- data.tar.gz: 12bc3dde94ad80d08887fe48d3e3e844ebe11989b434c18e62966956fef0ee3b
3
+ metadata.gz: bd5e2f8a7d94aa73df980540764bbc8df1c54fb0a4adc155fc3d472c273ea6ee
4
+ data.tar.gz: 3c87e475a564a10695440728c847e427d529169f2aa1354a434c8e6b08ec782f
5
5
  SHA512:
6
- metadata.gz: f31753afabe20367535967d13e787edacbc7f3e14c9749c88268da5b8d760be4f84573840108d69516f6fb31737672d6c74ae4205d12c9ad0fb5d670538009b7
7
- data.tar.gz: 924cb8cd8173904945000b326467089cff9d9755a73d71d812496fb17aaba2f89e0ee5150fad791aeefe489eeaec623645d8830a1ba26c374d8c15466e739428
6
+ metadata.gz: 84361cd3872c6b98fed524f37e26ecae2503c7d7b03364b38432463d0b34aba6682cd6c071a0dbfb590b8fef91ebf298dfaf7062531ed4516421d5c34ce39325
7
+ data.tar.gz: 273e1ab69e585e16b0ac3e547814069ec0683f421ea031c0a5bf8a3677c36afa9331113345f3acffaa40a3d58ca429ee74f654a85a6222c6ef39409a8ecef198
@@ -159,8 +159,12 @@ module Kybus
159
159
  # Helper method for loading files into configurations
160
160
  def load_files(files)
161
161
  files.each do |file|
162
- config = Loaders::YAML.new(file, self).load!
163
- @configs = recursive_merge(@configs, config)
162
+ if File.file?(file)
163
+ config = Loaders::YAML.new(file, self).load!
164
+ @configs = recursive_merge(@configs, config)
165
+ else
166
+ puts "File not found and expected from autoconfig: `#{file}'"
167
+ end
164
168
  end
165
169
  end
166
170
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kybus
4
4
  module Configuration
5
- VERSION = '0.2.0'
5
+ VERSION = '0.2.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kybus-configs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gilberto Vargas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-15 00:00:00.000000000 Z
11
+ date: 2022-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kybus-core
@@ -281,7 +281,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
281
  - !ruby/object:Gem::Version
282
282
  version: '0'
283
283
  requirements: []
284
- rubygems_version: 3.1.4
284
+ rubygems_version: 3.2.32
285
285
  signing_key:
286
286
  specification_version: 4
287
287
  summary: Config Manager for Kybus framework