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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a4ad3f22ad49a059e19e7573ead7e8009934564
4
- data.tar.gz: d144714e3d5428c9d2955a1a87a7268055435768
3
+ metadata.gz: 7ec2b970eb2b842d5385969e6e130302c4ad10fd
4
+ data.tar.gz: 2c1ff158c14bf55b93dff4c8addd42d49b59749d
5
5
  SHA512:
6
- metadata.gz: ac2e1b2f887e4608cb4e137c5f61f203b5cd2fff885284a7efd97b8d5a2929e8d19f28259a41f1691080033c378b5891b792957725ecce4b540b36d0e7fe36f9
7
- data.tar.gz: c3c7c73efd1e4e65a8671abacb4fd1b1be0d38661b1bd28dc990c1954702b4d4864a233e59b24a4be63941278b5ecb61615e8e157e18137595e637e62a282a1d
6
+ metadata.gz: 8a72a62cb2247ca37f732980ede4e9a86e43d59ad4e6794113ddefa9237d709fd8afdc670a1ddc35d3b752d48c713955d32895d79d2839ef60e45224f4f7953d
7
+ data.tar.gz: 4b63a46ea427ba7e478165bcadc7fa5f31e12e0d9ee90d1e0a91d865e3d257cf1dd8878a4876f0439d97299eaa1e9c66026dcf118e215526abff00930fb1592e
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # v2.0.4
2
+ * [enhancement] Add `--debug` flag
3
+ * [enhancement] Allow nested stacks to be disabled (apply_nesting :none)
4
+
1
5
  # v2.0.2
2
6
  * [task] Remove deprecated capabilities flag (#106)
3
7
  * [feature] Add `init` command for project initialization (#107)
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
@@ -1,4 +1,4 @@
1
1
  module Sfn
2
2
  # Current library version
3
- VERSION = Gem::Version.new('2.0.2')
3
+ VERSION = Gem::Version.new('2.0.4')
4
4
  end
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', '~> 0.1.21'
14
- s.add_runtime_dependency 'miasma', '~> 0.2.27'
15
- s.add_runtime_dependency 'miasma-aws', '~> 0.2.0'
16
- s.add_runtime_dependency 'miasma-azure', '~> 0.1.0'
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.2
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-01-28 00:00:00.000000000 Z
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.1.21
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.1.21
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