cloudformation-tool 1.5.0 → 1.5.2

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: 7b3af98e9eacdd806d05045dca7f8bcf35f6d25c668f8abc2902a45fb07c0ae3
4
- data.tar.gz: aedd1156bdd61e9b6085c9496bac440f7fe744b50f5f89319e1386e7043f905e
3
+ metadata.gz: b178fc2f17b4f5e94c89b5ef629a775f1c5f10ecac48dbd6e18d935001c44d10
4
+ data.tar.gz: 208d5f87e1a55c2da8b8691c50cdf17454fbbcffe0ab4155fb32c92620aff6e7
5
5
  SHA512:
6
- metadata.gz: ccb703d5a98b708ceb00ec8e0245b270eb28143066fe14ff86b2c8da03ec2745aac5d588a7b710144d55c5402cd3fe7edf38d9d979b98596ae83e126e38f6338
7
- data.tar.gz: 9e063966aa631e161f686ab0af55269a0e8b50cfca6b65f1dc68af7d7e8f9442ce848c7d84106e41c64b33e87e16b8d85a7a65da9c6a3435016f5ef4d43a6a0d
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
@@ -13,6 +13,7 @@ module CloudFormationTool
13
13
  attr_reader :basedir
14
14
 
15
15
  def initialize(path)
16
+ $MAX_USER_DATA_SIZE = 16384 if $MAX_USER_DATA_SIZE.nil?
16
17
  log "Loading #{path}"
17
18
  @path = path
18
19
  @path = "#{@path}/cloud-formation.yaml" if File.directory? @path
@@ -1,3 +1,3 @@
1
1
  module CloudFormationTool
2
- VERSION = '1.5.0'
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.0
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: []