cloudformation-ruby-dsl 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/cloudformation-ruby-dsl/dsl.rb +5 -3
- data/lib/cloudformation-ruby-dsl/version.rb +1 -1
- 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: fa81a5113abb0ee72e9abaac42fc8128012449ce
|
4
|
+
data.tar.gz: 9a8d10f20443f9ada8534a7dd485bbe40e742883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c83e68921de83c6b2cab289b5c3de09a3cde4d306021a4ee262e8f5084319c392951dfa566d8b9528a6a0bbb2bc729ccf73cf974960725a37617efecd8f93bc
|
7
|
+
data.tar.gz: cead01a51502610a2ad58948f366d827eb4d8f7e52d73d0579e605f79e17d2d200d570b5c71090b78aca35c5f22d4065ac5f9d3784d2807fec78e1dffc88ae5d
|
data/.gitignore
CHANGED
@@ -87,12 +87,14 @@ class TemplateDSL < JsonObjectDSL
|
|
87
87
|
default(:Parameters, {})[name] = options
|
88
88
|
|
89
89
|
if @interactive
|
90
|
-
@parameters[name] ||= _get_parameter_from_cli(name, options)
|
90
|
+
@parameters[name] ||= Parameter.new(_get_parameter_from_cli(name, options))
|
91
91
|
else
|
92
92
|
@parameters[name] ||= Parameter.new('')
|
93
|
-
@parameters[name].default = options[:Default]
|
94
|
-
@parameters[name].use_previous_value = options[:UsePreviousValue]
|
95
93
|
end
|
94
|
+
|
95
|
+
# set various param options
|
96
|
+
@parameters[name].default = options[:Default]
|
97
|
+
@parameters[name].use_previous_value = options[:UsePreviousValue]
|
96
98
|
end
|
97
99
|
|
98
100
|
# Find parameters where the specified attribute is true then remove the attribute from the cfn template.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudformation-ruby-dsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shawn Smith
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-03-
|
18
|
+
date: 2017-03-20 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: detabulator
|