cloudformation-tool 1.5.1 → 1.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd10fcf36cd9e64d8079a81e20b17f095174d05d6fa1affd9876efb728baefd8
4
- data.tar.gz: 16d68ab17edbbe9b1871bac34e04cd6e8aa04016d8bb24515a9c8a3877f81942
3
+ metadata.gz: b178fc2f17b4f5e94c89b5ef629a775f1c5f10ecac48dbd6e18d935001c44d10
4
+ data.tar.gz: 208d5f87e1a55c2da8b8691c50cdf17454fbbcffe0ab4155fb32c92620aff6e7
5
5
  SHA512:
6
- metadata.gz: 1230aada138e035ac0852273eef12483a1c34741a18f86807e294cf96a42d0ea800f4568dcc52aeb2b8740519f2a367bf74308ef99fe5f936c3e5a73ebf62e88
7
- data.tar.gz: f613bb486a3144845924dfa74536c862095fffea4a0876372d24968b98f3a70fe29244cea2a749e7970f33139e94be980d857e379f902f9f9058b8af4dc688ca
6
+ metadata.gz: 86b1a643a7c5c0c3dfb210d8fd12cc8e9647d923af8f56684232231109f8708f91e2e03a3b7987d10cd8b4c5b55c20986da4763bd56067602b8da4a2710855bf
7
+ data.tar.gz: ae79bd3957753bbed48de21a97ba63d6b43eb55f16c4fae4da2c0f9062828765a34598fa66f43d96c469c1a67c586ba21ad3b245ab6869aed1d28d70994d3b7d
@@ -19,8 +19,8 @@ module CloudFormationTool
19
19
  else
20
20
  tpl = CloudFormation.parse(file)
21
21
  params = get_params
22
- data = tpl.compile(params);
23
- data['Parameters'].each do |name,param|
22
+ data = tpl.compile(params)
23
+ (data['Parameters'] || []).each do |name,param|
24
24
  param['Default'] = params[name] if params.has_key? name
25
25
  end
26
26
  puts data.to_yaml
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '1.5.1'
2
+ VERSION = '1.5.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudformation-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oded Arbel
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-22 00:00:00.000000000 Z
11
+ date: 2022-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -150,7 +150,7 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
- description:
153
+ description:
154
154
  email: oded.arbel@greenfieldtech.net
155
155
  executables:
156
156
  - cftool
@@ -193,7 +193,7 @@ homepage: http://github.com/GreenfieldTech/cloudformation-tool
193
193
  licenses:
194
194
  - GPL-2.0
195
195
  metadata: {}
196
- post_install_message:
196
+ post_install_message:
197
197
  rdoc_options: []
198
198
  require_paths:
199
199
  - lib
@@ -208,8 +208,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
208
  - !ruby/object:Gem::Version
209
209
  version: '0'
210
210
  requirements: []
211
- rubygems_version: 3.2.5
212
- signing_key:
211
+ rubygems_version: 3.3.15
212
+ signing_key:
213
213
  specification_version: 4
214
214
  summary: A pre-compiler tool for CloudFormation YAML templates
215
215
  test_files: []