stackit 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stackit/stack/managed_stack.rb +3 -2
- data/lib/stackit/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: 01dd010036a18e22f700a8cd74adbbb35528fb40
|
4
|
+
data.tar.gz: d878a02071e96253c09791a3a5ff71c706324adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b434450d3f80488c1f5fd0f0b1efed75757f8966746b224823efe0c7cf85cb07d2a3b2886b5e34345a4dc341762bb650bf8a97a0fffadd22864468fdb497ce5
|
7
|
+
data.tar.gz: f718c76dfa0796510a8e0e1e58990deea81a242532352e18ec796a0c2a65a3cda4ff9e3cf05dbcb5d194679abe744767a8b7a817548da8b7986c4b93c10134a4
|
@@ -163,8 +163,9 @@ module Stackit
|
|
163
163
|
|
164
164
|
def create_template(t, action)
|
165
165
|
template_path = t ? t : File.join(Dir.pwd, 'cloudformation', "#{stack_name.underscore.dasherize}.json")
|
166
|
-
|
167
|
-
|
166
|
+
if !File.exist?(template_path)
|
167
|
+
raise "Unable to locate template: #{template_path}" unless action == :delete_stack
|
168
|
+
end
|
168
169
|
template = Template.new(
|
169
170
|
:cloudformation => cloudformation,
|
170
171
|
:template_path => template_path
|
data/lib/stackit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|