hiera-cfn-metadata 0.0.3 → 0.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 072b4df5e2b9264ae4eb9c84ccdd1df87d886bec
4
- data.tar.gz: 7ac50fd1ac94054381ce0508ab71dbb71f757415
3
+ metadata.gz: 7b7281adabf5c2eeeb869bfabff31ddf15a7619a
4
+ data.tar.gz: 7a30ac867053360ccc3bcea547e3f14bf2c9a410
5
5
  SHA512:
6
- metadata.gz: 2288baf6070df3b5004ff17da8dc3029ffe0e143c53d536f150c48d003c9a0e13e52095d981a06f416e2e8b04d779b3e626e00e8f7a0d0ac23b7fcecdf787be7
7
- data.tar.gz: adbdaf01d2c1da427aa781634725a899fcf9a1dcfee38984030a540ddc576d0f4460093350eed8d8edecf4ea4e0c9ab9e4a42e82e5bdeeb670b45af00f763c05
6
+ metadata.gz: 6ee7ebfa474b8a51699cf4ad25e93e178bf617fba814caca2f170ffd2c0f58521c94a9df90a5ab2ba2d5c28a23ecfd465795c6f1a18e8d0599f660ec856948f2
7
+ data.tar.gz: bbc5e7d3804c477d02f490c3505f1c462b07d0d5b665b099184c409494da12b2544e5a8bb6ba603acea7568fee1455c50e24cebadc84d58dfff3820b78e5b125
@@ -44,7 +44,7 @@ class Hiera
44
44
  Hiera.debug("[hiera-cfn-metadata] Looking for data source #{source}")
45
45
 
46
46
  data = @datasources[source]
47
- next if data.empty?
47
+ next if data.nil?
48
48
  next unless data.include?(key)
49
49
 
50
50
  # for array resolution we just append to the array whatever
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hiera-cfn-metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Sokolowski