stackit 0.1.10 → 0.1.11

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: 90de8c84a5d299ad1445243615e535ff5f416d71
4
- data.tar.gz: 673a139a05083ee84278ad0888a403c316b301a8
3
+ metadata.gz: 01dd010036a18e22f700a8cd74adbbb35528fb40
4
+ data.tar.gz: d878a02071e96253c09791a3a5ff71c706324adc
5
5
  SHA512:
6
- metadata.gz: 28ab5be9436da8060bfb9a33a62df8092dc12a1b9fe3df358e6dd458a157d76ff113b942dc69c926a6e5a8de42ea0f4432f56457847fdbc02302bb5ea12b26f7
7
- data.tar.gz: 70eac4c9d33238d207b93676c283bad608bd6b0f91f298bf89ddc02175bb6b936e987de64eff9df68da0a77ed52d9a6df2a13950f2aed5dbe10c41a883500653
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
- raise "Unable to locate template: #{template_path}" unless (template.nil? && action == :delete_stack)
167
- return unless File.exist?(template_path)
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
@@ -1,3 +1,3 @@
1
1
  module Stackit
2
- VERSION = "0.1.10"
2
+ VERSION = "0.1.11"
3
3
  end
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.10
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-26 00:00:00.000000000 Z
11
+ date: 2016-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler