convection 0.2.23 → 0.2.24
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 +4 -4
- data/bin/convection +23 -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: f5e780e7f0bb90ecfd2cc7e9e32e21cb2df085d4
|
4
|
+
data.tar.gz: 9940275198dc99a9ab7f53ba88451b638fb22fe8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4a5ff35679e3a5a19de9fc369e60e87f6dbfcf9436cc6b7ce125751cc48aebd0a754ef485924b1343dd9c035f772a91a385547202182613139a8961716af284
|
7
|
+
data.tar.gz: f88cbc2c35eb919be2976f17249367866b7e58cb045b384a459dfd1f2ada87bfec7c28ee9a395f0b2e75554d113b67fed03edbdc9c61e0e55b2da5e9d3024312
|
data/bin/convection
CHANGED
@@ -27,9 +27,31 @@ module Convection
|
|
27
27
|
end
|
28
28
|
|
29
29
|
desc 'diff', 'Show changes that will be applied by converge'
|
30
|
+
option :verbose, :type => :boolean, :aliases => '--v', :desc => 'Show stack progress'
|
31
|
+
option :'very-verbose', :type => :boolean, :aliases => '--vv', :desc => 'Show unchanged stacks'
|
30
32
|
def diff
|
31
33
|
@cloud.configure(File.absolute_path(options['cloudfile'], @cwd))
|
32
|
-
|
34
|
+
|
35
|
+
last_event = nil
|
36
|
+
|
37
|
+
@cloud.diff do |d|
|
38
|
+
if d.is_a? Model::Event
|
39
|
+
if options[:'very-verbose']
|
40
|
+
say_status(*d.to_thor)
|
41
|
+
elsif options[:verbose]
|
42
|
+
say_status(*d.to_thor) if d.name == :compare
|
43
|
+
end
|
44
|
+
last_event = d
|
45
|
+
elsif d.is_a? Model::Diff
|
46
|
+
if !options[:'very-verbose'] && !options[:verbose]
|
47
|
+
say_status(*last_event.to_thor) unless last_event.nil?
|
48
|
+
last_event = nil
|
49
|
+
end
|
50
|
+
say_status(*d.to_thor)
|
51
|
+
else
|
52
|
+
say_status(*d.to_thor)
|
53
|
+
end
|
54
|
+
end
|
33
55
|
end
|
34
56
|
|
35
57
|
desc 'print STACK', 'Print the rendered template for STACK'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|