cloudformation-ruby-dsl 0.4.9 → 0.4.10

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: b9b43370014a4569fffaa2f50cbfccd4bd611ef2
4
- data.tar.gz: 35d5a6e8a9816300f6a860b4e0f0b2956221c465
3
+ metadata.gz: c269055c86355a4f4298deb5dd63b32e691f7010
4
+ data.tar.gz: 981ac195a9ed4ea89bf0fd2d73a891fdd789f050
5
5
  SHA512:
6
- metadata.gz: fb06f953fd4fbe39bae0e488375218fbc460ff4795e9dd7040fd3bd715b0ad2bdb67491e1aad7c5a40bb4e618b1eba29e19090f0bca00b00563c58a62f50cc17
7
- data.tar.gz: 5fc2136b1d4c5a66fd1329580b41ed1a66f52a65b96c51c680a8deed018e4209cbc4c86443c69d98c97d2ac514bfd46ffef504c7a97fa9d8c03062b45345a989
6
+ metadata.gz: 132caba3cd8edc5fa3e6a8a094bddb2603e7c9f5f5c3517fe84d7f9b407f6bf43315f1cc229f56d48ad62ea8a475d9c5e3eeeaa76b6c8ef84a3819cca232df9e
7
+ data.tar.gz: a50e9ade298a8079218021d03369c5f8809a076a3ed23cc6f3eadcd9fe358c9990ee9f288736b9455e2e4947b2e66f213940507befeac39fb0753132871fecdf
@@ -183,7 +183,7 @@ def cfn_cmd(template)
183
183
  # the argument (if it exists) and validate against the existing stack to ensure tags haven't changed.
184
184
  # Compare the sorted arrays for an exact match
185
185
  old_cfn_tags = old_stack_attributes['TAGS'].split(';').sort rescue [] # Use empty Array if .split fails
186
- if cfn_tags != old_cfn_tags
186
+ if cfn_tags.sort != old_cfn_tags
187
187
  $stderr.puts "CloudFormation stack tags do not match and cannot be updated. You must either use the same tags or create a new stack." +
188
188
  "\n" + (old_cfn_tags - cfn_tags).map {|tag| "< #{tag}" }.join("\n") +
189
189
  "\n" + "---" +
@@ -15,7 +15,7 @@
15
15
  module Cfn
16
16
  module Ruby
17
17
  module Dsl
18
- VERSION = "0.4.9"
18
+ VERSION = "0.4.10"
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: 0.4.9
4
+ version: 0.4.10
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: 2015-02-02 00:00:00.000000000 Z
18
+ date: 2015-03-10 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: detabulator