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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b36a3fae77f0e1ddd5cd11ca6b5d761a5de2dd228feeab2e8da20b3788b5f748
4
- data.tar.gz: d66bb3186c0f5716001437a9b155e0ee52a8660e923656f59c0e3c2052b23666
3
+ metadata.gz: 2e70a7d6e242d2f2691bba12d072af5442efdd537cf3f988fda4e030969e2fe1
4
+ data.tar.gz: 5e9e91192282a6719a07eabdc42137accff2f783c1141572d799783e5f09d749
5
5
  SHA512:
6
- metadata.gz: 1dd99ce26bc1848cd3001802842b08936bd7d140262d44c790f3eb5a66cfc3684af43fa5aff011b81834c1e3c0e634671e1b02d81158eeb0a56be4a131eac82f
7
- data.tar.gz: 223e5698192d2320dbaf0d19b59d97d413ad822b452ba151b45f623f128a19f1228b207da1a6f1db2e333b7b93307194533913ed6764476065d15ad58918b389
6
+ metadata.gz: 8e6a1c5d754ec99154d9d316679bcc05029120bd8b0ce3afc3b1540e450e5611566612278d2e59b4c5a98a0814d8e58782221835d9b3ffc7c9022a53f1c8692f
7
+ data.tar.gz: b1868d689cd5de377c1e6cf6deb3468d41895f75c65de8175ec93eb15396b5bafa2a8908384bfdff836646b6cb9aadc15e11faf0a4ecb268eded615f271b13c0
data/.gitignore CHANGED
@@ -3,4 +3,3 @@ configgin-*.gem
3
3
  /vendor/sentinel
4
4
  /.bundle/
5
5
  configgin.go
6
- _work/
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- configgin (0.18.7)
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.0)
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)
@@ -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.values.each do |job_config|
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', {}).each_pair do |provider_name, consumer_jobs|
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}-#{provider_name}"
134
- instance_groups_to_examine[consumer_job['role']][digest_key] = job_digests[provider_name]
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
@@ -1,3 +1,3 @@
1
1
  class Configgin
2
- VERSION = '0.18.7'.freeze
2
+ VERSION = '0.18.8'.freeze
3
3
  end
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.7
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-04-29 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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