configgin 0.18.7 → 0.18.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/Gemfile.lock +2 -2
- data/lib/configgin.rb +4 -4
- data/lib/configgin/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e70a7d6e242d2f2691bba12d072af5442efdd537cf3f988fda4e030969e2fe1
|
4
|
+
data.tar.gz: 5e9e91192282a6719a07eabdc42137accff2f783c1141572d799783e5f09d749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e6a1c5d754ec99154d9d316679bcc05029120bd8b0ce3afc3b1540e450e5611566612278d2e59b4c5a98a0814d8e58782221835d9b3ffc7c9022a53f1c8692f
|
7
|
+
data.tar.gz: b1868d689cd5de377c1e6cf6deb3468d41895f75c65de8175ec93eb15396b5bafa2a8908384bfdff836646b6cb9aadc15e11faf0a4ecb268eded615f271b13c0
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
configgin (0.18.
|
4
|
+
configgin (0.18.8)
|
5
5
|
bosh-template (~> 2.0)
|
6
6
|
deep_merge (~> 1.1)
|
7
7
|
kubeclient (~> 2.0)
|
@@ -14,7 +14,7 @@ GEM
|
|
14
14
|
addressable (2.6.0)
|
15
15
|
public_suffix (>= 2.0.2, < 4.0)
|
16
16
|
ast (2.4.0)
|
17
|
-
bosh-template (2.2.
|
17
|
+
bosh-template (2.2.1)
|
18
18
|
semi_semantic (~> 1.2.0)
|
19
19
|
coderay (1.1.2)
|
20
20
|
deep_merge (1.2.1)
|
data/lib/configgin.rb
CHANGED
@@ -126,12 +126,12 @@ class Configgin
|
|
126
126
|
# each job imports.
|
127
127
|
def expected_annotations(job_configs, job_digests)
|
128
128
|
instance_groups_to_examine = Hash.new { |h, k| h[k] = {} }
|
129
|
-
job_configs.
|
129
|
+
job_configs.each_pair do |job_name, job_config|
|
130
130
|
base_config = JSON.parse(File.read(job_config['base']))
|
131
|
-
base_config.fetch('consumed_by', {}).
|
131
|
+
base_config.fetch('consumed_by', {}).values.each do |consumer_jobs|
|
132
132
|
consumer_jobs.each do |consumer_job|
|
133
|
-
digest_key = "skiff-in-props-#{instance_group}-#{
|
134
|
-
instance_groups_to_examine[consumer_job['role']][digest_key] = job_digests[
|
133
|
+
digest_key = "skiff-in-props-#{instance_group}-#{job_name}"
|
134
|
+
instance_groups_to_examine[consumer_job['role']][digest_key] = job_digests[job_name]
|
135
135
|
end
|
136
136
|
end
|
137
137
|
end
|
data/lib/configgin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configgin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SUSE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -181,7 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 2.7.6
|
185
186
|
signing_key:
|
186
187
|
specification_version: 4
|
187
188
|
summary: A simple cli app in Ruby to generate configurations using BOSH ERB templates
|