hiera-router 0.4.0 → 0.4.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
  SHA1:
3
- metadata.gz: a59f58d86e4969155b8ca49c9a898ad56d2a26c5
4
- data.tar.gz: ca172a02aa06a7aa097df1f0575e8f1de4b31cf1
3
+ metadata.gz: 5cebbd7f08d8c22d458a5da0fa9b68990db6b4ee
4
+ data.tar.gz: 1d35150e1b5a54f482c23f9609a37c996ed4ad72
5
5
  SHA512:
6
- metadata.gz: 0e2fb68e60fc7af54db17ba6acf555f14700d0237b2345cc2d29c61a5a75974e4a63d69a0ede42148d43faf936b05cd72cd8f9c26539386a2a06d627419e0276
7
- data.tar.gz: 7092a81404c26b7f5ba291b80a1c60052c985e6021d1d5c59444f9a2c84a242c269ca4ce444022139bad3bd5d9a36e3a21b804e328322251969fc88238711b7f
6
+ metadata.gz: 81015d9fc5c54676fd6f1bc682a73b5f9d0b224d48a204c1aa82c17c59702dfb68414c1869d6bf4d90bcce3808f76a1f82a5d3f18ec848fcec2ec02533eef2b2
7
+ data.tar.gz: '0940eadcec9949bb8f22b1c52e4cd03a19c5fccf7129870d9a3da570cdb202abe2e7f34cb31505ec62264f166c46a4dd4f0bb6322b257170cd77e01dd600ff55'
@@ -104,7 +104,7 @@ class Hiera
104
104
  when :array
105
105
  raise Exception, "Hiera type mismatch: expected Array and got #{new_answer.class}" unless new_answer.kind_of? Array or new_answer.kind_of? String
106
106
  answer ||= []
107
- answer << new_answer
107
+ answer = answer | new_answer
108
108
  when :hash
109
109
  raise Exception, "Hiera type mismatch: expected Hash and got #{new_answer.class}" unless new_answer.kind_of? Hash
110
110
  answer ||= {}
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.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Vandeginste