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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 652fe0c686fe75981f441077ed1514a520e98ec2
4
- data.tar.gz: 0559f9931b7a2bea7a20ee103e555e7c941b4551
3
+ metadata.gz: 52835388c44ef143b87e2ea05118eba1bf39d201
4
+ data.tar.gz: c0491ab53e0fe0a61b2fda651ef1eec6ad361e2e
5
5
  SHA512:
6
- metadata.gz: 8ce505301b69d93e0ba094f985352d7ca34315d469ef874c352280ed84f47d5902fb9b02c003aaa33cffcdaf8647b9f85e7979e27243ae8be2cd247d521ab001
7
- data.tar.gz: 7f4ec766db340462ad877dbdfc210c7fae2702040d90fd163643e577062f8284919b152c1ac5b98ab2e8e4678b0fa7e126bd7b0b79cf434e9c34ea39e7c249b7
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.20
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-17 00:00:00.000000000 Z
11
+ date: 2018-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kwalify