kybus-configs 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kybus/configs/configuration_manager.rb +6 -2
- data/lib/kybus/configs/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bd5e2f8a7d94aa73df980540764bbc8df1c54fb0a4adc155fc3d472c273ea6ee
|
|
4
|
+
data.tar.gz: 3c87e475a564a10695440728c847e427d529169f2aa1354a434c8e6b08ec782f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
|
|
163
|
-
|
|
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
|
|
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.
|
|
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:
|
|
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.
|
|
284
|
+
rubygems_version: 3.2.32
|
|
285
285
|
signing_key:
|
|
286
286
|
specification_version: 4
|
|
287
287
|
summary: Config Manager for Kybus framework
|