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 +4 -4
- data/lib/cfn-model/validator/resource_type_validator.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92eab96d3f067bc96c5745d85df911ed45ad9e3e
|
4
|
+
data.tar.gz: 71ab75c2b46e1db93170f5b1144c717655d26196
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
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-
|
11
|
+
date: 2018-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kwalify
|