sfn 2.0.2 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/sfn/command.rb +3 -0
- data/lib/sfn/command_module/template.rb +2 -0
- data/lib/sfn/version.rb +1 -1
- data/sfn.gemspec +4 -4
- metadata +36 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ec2b970eb2b842d5385969e6e130302c4ad10fd
|
4
|
+
data.tar.gz: 2c1ff158c14bf55b93dff4c8addd42d49b59749d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a72a62cb2247ca37f732980ede4e9a86e43d59ad4e6794113ddefa9237d709fd8afdc670a1ddc35d3b752d48c713955d32895d79d2839ef60e45224f4f7953d
|
7
|
+
data.tar.gz: 4b63a46ea427ba7e478165bcadc7fa5f31e12e0d9ee90d1e0a91d865e3d257cf1dd8878a4876f0439d97299eaa1e9c66026dcf118e215526abff00930fb1592e
|
data/CHANGELOG.md
CHANGED
data/lib/sfn/command.rb
CHANGED
@@ -27,6 +27,9 @@ module Sfn
|
|
27
27
|
unless(cli_opts['config'])
|
28
28
|
discover_config(cli_opts)
|
29
29
|
end
|
30
|
+
unless(ENV['DEBUG'])
|
31
|
+
ENV['DEBUG'] = 'true' if cli_opts[:debug]
|
32
|
+
end
|
30
33
|
super(cli_opts, args)
|
31
34
|
run_callbacks_for(:after_config)
|
32
35
|
run_callbacks_for("after_config_#{Bogo::Utility.snake(self.class.name.split('::').last)}")
|
@@ -179,6 +179,8 @@ module Sfn
|
|
179
179
|
process_nested_stack_deep(sf, c_stack)
|
180
180
|
when :shallow
|
181
181
|
process_nested_stack_shallow(sf, c_stack)
|
182
|
+
when :none
|
183
|
+
sf.dump.merge('sfn_nested_stack' => !!sf.nested?)
|
182
184
|
else
|
183
185
|
raise ArgumentError.new "Unknown nesting style requested: #{config[:apply_nesting].inspect}!"
|
184
186
|
end
|
data/lib/sfn/version.rb
CHANGED
data/sfn.gemspec
CHANGED
@@ -10,10 +10,10 @@ Gem::Specification.new do |s|
|
|
10
10
|
s.description = 'SparkleFormation CLI'
|
11
11
|
s.license = 'Apache-2.0'
|
12
12
|
s.require_path = 'lib'
|
13
|
-
s.add_runtime_dependency 'bogo-cli', '
|
14
|
-
s.add_runtime_dependency 'miasma', '
|
15
|
-
s.add_runtime_dependency 'miasma-aws', '
|
16
|
-
s.add_runtime_dependency 'miasma-azure', '
|
13
|
+
s.add_runtime_dependency 'bogo-cli', '>= 0.2.0', '< 0.4'
|
14
|
+
s.add_runtime_dependency 'miasma', '>= 0.2.27', '< 0.4'
|
15
|
+
s.add_runtime_dependency 'miasma-aws', '>= 0.2.0', '< 0.4'
|
16
|
+
s.add_runtime_dependency 'miasma-azure', '>= 0.1.0', '< 0.3'
|
17
17
|
s.add_runtime_dependency 'net-ssh'
|
18
18
|
s.add_runtime_dependency 'sparkle_formation', '~> 2.0'
|
19
19
|
s.add_runtime_dependency 'hashdiff', '~> 0.2.2'
|
metadata
CHANGED
@@ -1,71 +1,95 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sfn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Roberts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bogo-cli
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.2.0
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
22
|
+
version: '0.4'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
29
|
+
version: 0.2.0
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.4'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: miasma
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: 0.2.27
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '0.4'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
49
|
version: 0.2.27
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0.4'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: miasma-aws
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|
44
56
|
requirements:
|
45
|
-
- - "
|
57
|
+
- - ">="
|
46
58
|
- !ruby/object:Gem::Version
|
47
59
|
version: 0.2.0
|
60
|
+
- - "<"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0.4'
|
48
63
|
type: :runtime
|
49
64
|
prerelease: false
|
50
65
|
version_requirements: !ruby/object:Gem::Requirement
|
51
66
|
requirements:
|
52
|
-
- - "
|
67
|
+
- - ">="
|
53
68
|
- !ruby/object:Gem::Version
|
54
69
|
version: 0.2.0
|
70
|
+
- - "<"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0.4'
|
55
73
|
- !ruby/object:Gem::Dependency
|
56
74
|
name: miasma-azure
|
57
75
|
requirement: !ruby/object:Gem::Requirement
|
58
76
|
requirements:
|
59
|
-
- - "
|
77
|
+
- - ">="
|
60
78
|
- !ruby/object:Gem::Version
|
61
79
|
version: 0.1.0
|
80
|
+
- - "<"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.3'
|
62
83
|
type: :runtime
|
63
84
|
prerelease: false
|
64
85
|
version_requirements: !ruby/object:Gem::Requirement
|
65
86
|
requirements:
|
66
|
-
- - "
|
87
|
+
- - ">="
|
67
88
|
- !ruby/object:Gem::Version
|
68
89
|
version: 0.1.0
|
90
|
+
- - "<"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '0.3'
|
69
93
|
- !ruby/object:Gem::Dependency
|
70
94
|
name: net-ssh
|
71
95
|
requirement: !ruby/object:Gem::Requirement
|