cfn-model 0.6.7 → 0.6.8

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
  SHA256:
3
- metadata.gz: d79c8d1051b8e8c3748f10ac83bc366170edaa401a3f1b7749465a5a2cea116c
4
- data.tar.gz: 31a167e318084371852f824d4797a5ecb415cabe1aaf9f30dde9bb5259bb4b75
3
+ metadata.gz: 172517e2e8a7b2806737ca0075e8ea4eb0c1032b437956f4d9e0631decc0915f
4
+ data.tar.gz: 39c9ec8fa931f309cf07d70298be30a0fa25444e2d4785ee295e90da539656b0
5
5
  SHA512:
6
- metadata.gz: b03d3df6c11bf67d0e29c0cd12679cbe66c93f7b6fea38e0084a42d62dc628dcf65c91840d889095e08e5a5d724dd3cefc0e47b21c836030971561871c736d5e
7
- data.tar.gz: 781f07c95fb3ef8c795d1a1a784ead19f6a80835e8422260cb5dc4c6d6f6baded4731e2a0f324ae86864103c54069593b8a65b68f681aa7646b7774733749aa3
6
+ metadata.gz: 1f9c56d1c4ca8fda37efe1c459239a15b1a62ccd22aa233955c94f85ac918db6d2d0d5ced0e37578c0549da2ebd502296935702cd8cfbadef2ed01c28eff0ced
7
+ data.tar.gz: 745cfa7e2eea93b915ed17ffd06abe3621de48b2752b8b09900ff5e4099efd067b25fdf4528276dbe86105a2c9da27695ebbe49902a56139e586ae716783a3b3
@@ -110,7 +110,7 @@ class CfnParser
110
110
  if condition_values_json.nil?
111
111
  condition_values = {}
112
112
  else
113
- condition_values = JSON.load condition_values_json
113
+ condition_values = JSON.parse condition_values_json
114
114
  end
115
115
 
116
116
  cfn_hash['Conditions'].each do |condition_key, _|
@@ -9,7 +9,7 @@ class ParameterSubstitution
9
9
 
10
10
  def apply_parameter_values(cfn_model, parameter_values_json)
11
11
  unless parameter_values_json.nil?
12
- parameter_values = JSON.load parameter_values_json
12
+ parameter_values = JSON.parse parameter_values_json
13
13
  if is_aws_format?(parameter_values)
14
14
  parameter_values = convert_aws_to_legacy_format(parameter_values)
15
15
  elsif !is_legacy_format?(parameter_values)
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.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Kascic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-31 00:00:00.000000000 Z
11
+ date: 2022-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -199,9 +199,9 @@ licenses:
199
199
  metadata:
200
200
  bug_tracker_uri: https://github.com/stelligent/cfn-model/issues
201
201
  changelog_uri: https://github.com/stelligent/cfn-model/releases
202
- documentation_uri: https://www.rubydoc.info/gems/cfn-model/0.6.7
202
+ documentation_uri: https://www.rubydoc.info/gems/cfn-model/0.6.8
203
203
  homepage_uri: https://github.com/stelligent/cfn-model
204
- source_code_uri: https://github.com/stelligent/cfn-model/tree/v0.6.7
204
+ source_code_uri: https://github.com/stelligent/cfn-model/tree/v0.6.8
205
205
  post_install_message:
206
206
  rdoc_options: []
207
207
  require_paths: