cloudshaper 0.0.8 → 0.0.9

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: 997ccf5fc75d5b596c3ff04b156c933e8ad19b46
4
- data.tar.gz: 7781b49fb3e7b81daff39dcc2e9fb88f42d19d43
3
+ metadata.gz: b103f03a30fc5e26488fd021a3380f42bff40cc3
4
+ data.tar.gz: d0a8ad0adf56e11de4f1d252e548a22bcad55c89
5
5
  SHA512:
6
- metadata.gz: 287e0a8d82299f183ab4d7fcbe3e11a45c76a479ed6882931bd9f1361db615c26cf7185469be9f90c593a7ed39b2daaa00975799b19adae115d840d44d838e87
7
- data.tar.gz: ab3c3b2a71abf969548f0108c417fa0d9e1b65e508d69294b66acb005294fbf62d561dac201142c70f01544fcfbdc88228abbf2f63ba111ce4959b8b5ad7ce21
6
+ metadata.gz: 405bb763b4eb7ab76dd6474c3168fdcb268331d966fc93bab26dd904efdc99b0bb31d956f6d1d7ec9b10196903c78cd542d3beb73ad4179df755f0758e0f5aa0
7
+ data.tar.gz: 080c02b4bd8368e13858fbc4659037f876231425716cbe74f799fc0671defed2305b036d2682343c105fb2d713ffa9ac6b550fd2ceeb4028450c74856ea3e754
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloudshaper (0.0.8)
4
+ cloudshaper (0.0.9)
5
5
  thor (~> 0.19.1)
6
6
 
7
7
  GEM
@@ -42,7 +42,7 @@ module Cloudshaper
42
42
 
43
43
  desc "pull NAME", "Pull stack state from remote location"
44
44
  def pull(name)
45
- stack = load_stack(name, options)
45
+ stack = load_stack(name, options, false)
46
46
  remote_config(name)
47
47
  stack.pull
48
48
  end
@@ -78,10 +78,10 @@ module Cloudshaper
78
78
 
79
79
  private
80
80
 
81
- def load_stack(stack, options)
81
+ def load_stack(stack, options, pull=true)
82
82
  load_modules(options['template_dir'])
83
83
  Cloudshaper::Stacks.load
84
- pull(stack) if remote_state? && !(caller[0] == 'pull')
84
+ pull(stack) if remote_state? && pull
85
85
  stack = Cloudshaper::Stacks.stacks[stack]
86
86
  stack.get
87
87
  stack
@@ -1,3 +1,3 @@
1
1
  module Cloudshaper
2
- VERSION = '0.0.8'
2
+ VERSION = '0.0.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloudshaper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel