kumogata 0.5.6 → 0.5.7
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/lib/kumogata/argument_parser.rb +3 -0
- data/lib/kumogata/client.rb +3 -2
- data/lib/kumogata/version.rb +1 -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: 12c341fa6389b5e19fc4d5976d1935b6caefa11b
|
|
4
|
+
data.tar.gz: 9613bbe522dac0fe1050ceaf5a9d246300e05db5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d66fe32a195bee0d258eeecb3f284567a6c374e81fcec2393fcf0ce175538311d4f9bc3603e181fc70fe0af85e0fa331bbd6d44b466b5da95879970b6afb6dcb
|
|
7
|
+
data.tar.gz: 7e54530d0fb5255717ca41c19c57c08d564f399900ce86607a9c985b06f1ce65cd507050de387fbb800bfb66c4ed3fc44fa1f819651256984d1af8672ee701e9
|
|
@@ -88,6 +88,9 @@ class Kumogata::ArgumentParser
|
|
|
88
88
|
opt.on('' , '--profile CONFIG_PROFILE') {|v| options[:config_profile] = v }
|
|
89
89
|
opt.on('' , '--credentials-path PATH') {|v| options[:credentials_path] = v }
|
|
90
90
|
opt.on('' , '--config-path PATH') {|v| options[:config_path] = v }
|
|
91
|
+
opt.on('' , '--stack-policy-body PATH') {|v| options[:stack_policy_body] = File.read(v) }
|
|
92
|
+
opt.on('' , '--stack-policy-url URL') {|v| options[:stack_policy_url] = v }
|
|
93
|
+
|
|
91
94
|
opt.on('' , '--format TMPLATE_FORMAT', supported_formats) {|v| options[:format] = v }
|
|
92
95
|
opt.on('' , '--output-format FORMAT', supported_formats) {|v| options[:output_format] = v }
|
|
93
96
|
opt.on('' , '--skip-replace-underscore') { options[:skip_replace_underscore] = false }
|
data/lib/kumogata/client.rb
CHANGED
|
@@ -511,7 +511,8 @@ class Kumogata::Client
|
|
|
511
511
|
opts = {}
|
|
512
512
|
add_parameters(opts)
|
|
513
513
|
|
|
514
|
-
[:capabilities, :disable_rollback, :notify, :timeout
|
|
514
|
+
[:capabilities, :disable_rollback, :notify, :timeout,
|
|
515
|
+
:stack_policy_body, :stack_policy_url].each do |k|
|
|
515
516
|
opts[k] = @options[k] if @options[k]
|
|
516
517
|
end
|
|
517
518
|
|
|
@@ -522,7 +523,7 @@ class Kumogata::Client
|
|
|
522
523
|
opts = {:template => template}
|
|
523
524
|
add_parameters(opts)
|
|
524
525
|
|
|
525
|
-
[:capabilities].each do |k|
|
|
526
|
+
[:capabilities, :stack_policy_body, :stack_policy_url].each do |k|
|
|
526
527
|
opts[k] = @options[k] if @options[k]
|
|
527
528
|
end
|
|
528
529
|
|
data/lib/kumogata/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kumogata
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Genki Sugawara
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-05-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-v1
|