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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: deac34a448639ee067b89c896ebf7dfc468e2b8b
4
- data.tar.gz: e97d281442a58b6afe721f9b4f080bc2da13d739
3
+ metadata.gz: fa81a5113abb0ee72e9abaac42fc8128012449ce
4
+ data.tar.gz: 9a8d10f20443f9ada8534a7dd485bbe40e742883
5
5
  SHA512:
6
- metadata.gz: adeb8b93a2549348a4fddea6947eec68d684ce73e82e570bd17093f7da21f958a4cbc3bcc55baa7792a53977203395568a4240e2b4c8862bdc61c7c4473b29f3
7
- data.tar.gz: d687713a78d7f47cff160da9d3613a2994bcc9bc803e5202b0db5ac3b4a786b19066f464d29b074d83daccd715e7d2bab79c2777d5d21a414ab11c65cea2a8db
6
+ metadata.gz: 0c83e68921de83c6b2cab289b5c3de09a3cde4d306021a4ee262e8f5084319c392951dfa566d8b9528a6a0bbb2bc729ccf73cf974960725a37617efecd8f93bc
7
+ data.tar.gz: cead01a51502610a2ad58948f366d827eb4d8f7e52d73d0579e605f79e17d2d200d570b5c71090b78aca35c5f22d4065ac5f9d3784d2807fec78e1dffc88ae5d
data/.gitignore CHANGED
@@ -27,3 +27,4 @@ test/tmp
27
27
  test/version_tmp
28
28
  tmp
29
29
  .rvmrc
30
+ /vendor/bundle
@@ -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.
@@ -15,7 +15,7 @@
15
15
  module Cfn
16
16
  module Ruby
17
17
  module Dsl
18
- VERSION = "1.4.5"
18
+ VERSION = "1.4.6"
19
19
  end
20
20
  end
21
21
  end
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.5
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-16 00:00:00.000000000 Z
18
+ date: 2017-03-20 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: detabulator