cfn-model 0.1.20 → 0.1.21
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/parser/cfn_parser.rb +1 -0
- 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: 52835388c44ef143b87e2ea05118eba1bf39d201
|
4
|
+
data.tar.gz: c0491ab53e0fe0a61b2fda651ef1eec6ad361e2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97ae35a7a90bb208a19398d8b184d9a4d7cac4057fe199d17f4cfce05f54512afbca01ea3de4b1768513ebd955d5a23a851b398efc89e25623394a453b8fe8d1
|
7
|
+
data.tar.gz: 85349bdb43667c169720f1b16b23b515b13676da0b5874a59590584cba0e00235fed0d45303e8f4cdd6057e019325c4322564ccdd0e1b14a536ab4e9162c448f
|
@@ -53,6 +53,7 @@ class CfnParser
|
|
53
53
|
def apply_parameter_values(cfn_model, parameter_values_json)
|
54
54
|
unless parameter_values_json.nil?
|
55
55
|
parameter_values = JSON.load parameter_values_json
|
56
|
+
return if parameter_values.is_a? Array
|
56
57
|
return unless parameter_values.has_key? 'Parameters'
|
57
58
|
parameter_values['Parameters'].each do |parameter_name, parameter_value|
|
58
59
|
if cfn_model.parameters.has_key?(parameter_name)
|
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.21
|
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-03-
|
11
|
+
date: 2018-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: kwalify
|