stackit 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74c0d77ac3a400e8bb794ef5602278273b2968e7
4
- data.tar.gz: 1d3f025e498b3744a7c8ef8c3bdfe89f74620131
3
+ metadata.gz: a225e6abeda5000b1cd2878f56cfc66a4ee0c2b3
4
+ data.tar.gz: 1478f2af16985b5106bec286b30a3cfc5c524028
5
5
  SHA512:
6
- metadata.gz: d94e81e8243630fbd1c4530252ba6776d2173afef305b2bf12fbd99e05b0eb7a4fe194c9bf9bc7d0001acb7cd981df3b8ffbdb7d3faef4f7580c82e939ace10e
7
- data.tar.gz: 4d080ebc27d4c4227457d51736f1166bce276e2404ce4de9457e113d38d29407b362e2001dfd5e5558176ccec82457e18d38c8806851052eefcb4399a54f5204
6
+ metadata.gz: 6d98452acc31c62e6a8da610e70becb6c5e73c7b124b489aa67c825a05217214893bf57fd888c0f47b388cbbc361da774a6ab8db70fed071686f26fe6d703c67
7
+ data.tar.gz: df7aacb5ca358cbb74f04484f29177cb024bc9011062f5f601b4dd4ce6898b550909d6beda61efead4260e4f7d153f194fa38490642992b2d34649e68de20541
@@ -18,9 +18,7 @@ module Stackit
18
18
  end
19
19
 
20
20
  def delete!
21
- Stackit::ManagedStack.new(
22
- stack_name: stack_name
23
- ).delete!
21
+ stack.delete!
24
22
  end
25
23
 
26
24
  protected
@@ -71,6 +69,7 @@ module Stackit
71
69
 
72
70
  def depends_stacks
73
71
  stacks = []
72
+ return stacks unless options[:depends]
74
73
  options[:depends].each do |stack|
75
74
  stacks << Stackit::Stack.new(stack_name: stack)
76
75
  end
@@ -1,3 +1,3 @@
1
1
  module Stackit
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Hahn