cfn-model 0.1.18 → 0.1.19

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: 79081cae2254642828f9327cfc79b17985fbdfe9
4
- data.tar.gz: 90bf7925f0c8622a1e488213ef82e30fde76f456
3
+ metadata.gz: 92eab96d3f067bc96c5745d85df911ed45ad9e3e
4
+ data.tar.gz: 71ab75c2b46e1db93170f5b1144c717655d26196
5
5
  SHA512:
6
- metadata.gz: c033be4721ef393e068be9452db6175e6fd885d5ab9976f989dd38adfa4a54551ba41d19c0e34373fa77091efd934a2bba05449baf640a74704dadb8f81bef50
7
- data.tar.gz: bb8b87e5b2ec62c1d3f834eba41cbeb077c17a56d5d09e7f6e7e4742275ec09d5127bff6f940efca5a580a681646ae6c729b9dba2dbf2e9c27c97d344fd98263
6
+ metadata.gz: 285309a40260fb8de1d2827c216436365ab2bddc815a59897b2f7a170622c685d58315ce1b6ef2b0a38c5cf951de4ccfa5549fb2663bdba92146cf118e6cd2ab
7
+ data.tar.gz: cfee44802f748b9d6db24b17ba29143c7c460569dcc6504f9682e9a1d61cd297826836acf53b467cc8c4a2737258f19088ef068c509ed257656d768ae4fcdd52
@@ -8,7 +8,7 @@ class ResourceTypeValidator
8
8
  raise ParserError.new 'yml empty'
9
9
  end
10
10
 
11
- if hash['Resources'].nil? or hash['Resources'].empty?
11
+ if hash.is_a? Array or hash['Resources'].nil? or hash['Resources'].empty?
12
12
  raise ParserError.new 'Illegal cfn - no Resources'
13
13
  end
14
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfn-model
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-15 00:00:00.000000000 Z
11
+ date: 2018-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify