cloudformer 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudformer/stack.rb +4 -3
- data/lib/cloudformer/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: 58d2ce781939b779dd804bf2ec33c8168cf62b1a
|
4
|
+
data.tar.gz: 24689509a537bc7f1bd3c9e92fadb19135e9e834
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 885f731ad0b348038916ac5fb4c24b2c948aedb89e8d3d9a62b6b3d951508563c735b4e1e2d85f04b732875e445ac45c6be96fe0fc2abf3f6165eefd72a0ae1f
|
7
|
+
data.tar.gz: 6c3a897daeab52367d18b7f80c42c600f710d4677c6bdca725a1292dabf95886e7adb169676db14250cc25697c3ab79a0523a7b0cfc86c7fc89d7f61aa9f53af
|
data/lib/cloudformer/stack.rb
CHANGED
@@ -22,7 +22,7 @@ class Stack
|
|
22
22
|
end
|
23
23
|
pending_operations = false
|
24
24
|
if deployed
|
25
|
-
pending_operations = update(template, parameters)
|
25
|
+
pending_operations = update(template, parameters, capabilities)
|
26
26
|
else
|
27
27
|
pending_operations = create(template, parameters, disable_rollback, capabilities)
|
28
28
|
end
|
@@ -133,10 +133,11 @@ class Stack
|
|
133
133
|
}
|
134
134
|
end
|
135
135
|
|
136
|
-
def update(template, parameters)
|
136
|
+
def update(template, parameters, capabilities)
|
137
137
|
stack.update({
|
138
138
|
:template => template,
|
139
|
-
:parameters => parameters
|
139
|
+
:parameters => parameters,
|
140
|
+
:capabilities => capabilities
|
140
141
|
})
|
141
142
|
return true
|
142
143
|
rescue ::AWS::CloudFormation::Errors::ValidationError => e
|
data/lib/cloudformer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudformer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arvind Kunday
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|