knife-cloudformation 0.2.22 → 0.2.24

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
  SHA1:
3
- metadata.gz: d95271ddd4c6229b88b607ead75728bd3c1ba769
4
- data.tar.gz: 1543da2d65ddca41dcf364f6701f5ce667d5d2ac
3
+ metadata.gz: a19f3820b2eb094c8beb9f16765dc2c51621609e
4
+ data.tar.gz: 6d24a415612cd940841f75e65d7320755ca6e374
5
5
  SHA512:
6
- metadata.gz: ceac58589c5eb1470557864d5f7bdeee94e29b0d94ac2171895f449ec5764e8c98dbf3b0d8dc26f398c4fe223180b5b82962836e4b5438dbf6b8d00d68c35143
7
- data.tar.gz: f0aefc9d748fe071ffb2bf0d61cfe890c1f861497a4c776a1377b5930997753dda280410c45f724b1d2ef2406a6c724f7f6f06e95d598c259f389d8fea22464e
6
+ metadata.gz: 102c2600e1fce7dafb556ff01ae74677912262ea4566b03f15638ba172bca2a70d5376f11e9409428288aebda2d76da1433ac5b5a720fc8c82ee5b1f00a8f74d
7
+ data.tar.gz: 65795f997fbdc84f39a4003e85bb5adac8d78bd6a84833f4948018dfc801c0e140831ee096e219bd273ed91463f2e057e9fe61aa43e74945d571b559c7c6503f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.2.24
2
+ * Force parameter value set on defaults
3
+
1
4
  ## v0.2.22
2
5
  * Fix parameter setting on stack update subcommand
3
6
 
@@ -132,9 +132,7 @@ module KnifeCloudformation
132
132
  answer = ui.ask_question("#{k.split(/([A-Z]+[^A-Z]*)/).find_all{|s|!s.empty?}.join(' ')}: ", :default => default)
133
133
  validation = KnifeCloudformation::Utils::StackParameterValidator.validate(answer, v)
134
134
  if(validation == true)
135
- unless(answer == default)
136
- Chef::Config[:knife][:cloudformation][:options][:parameters][k] = answer
137
- end
135
+ Chef::Config[:knife][:cloudformation][:options][:parameters][k] = answer
138
136
  valid = true
139
137
  else
140
138
  validation.each do |validation_error|
@@ -1,4 +1,4 @@
1
1
  module KnifeCloudformation
2
2
  # Current library version
3
- VERSION = Gem::Version.new('0.2.22')
3
+ VERSION = Gem::Version.new('0.2.24')
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-cloudformation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.22
4
+ version: 0.2.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Roberts