hiera-router 0.5.9 → 0.5.10

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: 450788524eaa4a8ef0cd23821820454a149906f5
4
- data.tar.gz: 502dea3c28e8dc1a1d26a28fa310d562c8d568c9
3
+ metadata.gz: 17ba29a01d4226281938b07f85b5973dc7e76fbb
4
+ data.tar.gz: a46e54231411bb3abc9ee04056829b6980306b1e
5
5
  SHA512:
6
- metadata.gz: 6230515654ccda3f46f63cc26c300c1a15688816a17ce787f838ac0463344f0b0fbd97f987e3548a4a6ebf24b0df9ebc93dc51649a68988a05ac89cf804d0ec2
7
- data.tar.gz: f994cfea4c2ff6db12dd6b290cd0ba65a2b7c81a138843d675b8cec420eb54eab4e16e51ed418318fb137c9a0af66c236d76cd5a0a4def25f535de2e75838c94
6
+ metadata.gz: '08cd5b7cb6488a045fab6d6084d0d0efd24f5f6ec4853fdbb87ea9b83baa2d1cefaf2730d2f40ce0f747dd87828a4e009e7999de064e1f76c55c85478b12e404'
7
+ data.tar.gz: 2d38a2669a76b0ec392278a0818e9c88c9a570d63dbaf6d0e49695c9e7e7e8b957c6f2e4a52f492ba5bc23540aaadf2eccf35678f24c23378ed36ae3b86a35c1
@@ -113,6 +113,7 @@ class Hiera
113
113
  end
114
114
 
115
115
  while e = key_path.shift
116
+ break unless answer
116
117
  raise Exception, "Hiera subkey '#{e}' not found" unless answer.include?(e)
117
118
  answer = answer[e]
118
119
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-router
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.5.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste