kumogata2 0.1.10 → 0.1.11

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: 179adaf126269ec84361603f4195e22424289ac8
4
- data.tar.gz: 677c9a57a3a0bb7766831faa888ee3e3c68f3dae
3
+ metadata.gz: 5690b875a2d85b369acf8f3b953cbcbd1718325e
4
+ data.tar.gz: 44362cd74860fe002fea3f77a70b15db34167c8d
5
5
  SHA512:
6
- metadata.gz: a643d946b7c12c60aa438d65fad921960b73fe60a2390ea1abc7078a86c973c5001350f37ebed2837851c3e8c37a0c0422397fef79f5968e08185e3035450e01
7
- data.tar.gz: a0414ff4884871e759c44d1d2fef10f22ffcf501958a54a48764b354c35cb92ae138cb2604bfe9552da0f1ee065f0bc3671a9d7f4aeb5c24ea1d0aa3f83058db
6
+ metadata.gz: b930d4b4a6e2079ae3a9f67faec122b59ded4b69e35faed40ef889e8b047757b28a98ad05801565df135fc5e7b5045a2cc32479a4b04b1405579ff90ec40c494
7
+ data.tar.gz: 37396795ed500419f6139c1da590e698ccd660df2aeb3c5fb1ceb9cdd7fe8041d030a8f35175dfc373d98f5917c990a202caa28d4149e63905b04e71748bf750
data/README.md CHANGED
@@ -67,6 +67,7 @@ Options:
67
67
  --[no-]use-previous-template
68
68
  --stack-policy-during-update-body STACK_POLICY_DURING_UPDATE_BODY
69
69
  --stack-policy-during-update-url STACK_POLICY_DURING_UPDATE_URL
70
+ --tags TAGS
70
71
  --result-log PATH
71
72
  --command-result-log PATH
72
73
  --[no-]detach
@@ -134,6 +134,14 @@ module Kumogata2::CLI
134
134
  end
135
135
  end
136
136
 
137
+ opt.on('', '--tags TAGS', Array) {|v|
138
+ v.each do |vv|
139
+ key, value = vv.split('=')
140
+ options[:tags] = [] if options[:tags].nil?
141
+ options[:tags] << { key: key, value: value }
142
+ end
143
+ }
144
+
137
145
  opt.on('' , '--result-log PATH') {|v| options[:result_log] = v }
138
146
  opt.on('' , '--command-result-log PATH') {|v| options[:command] = v }
139
147
  opt.on('' , '--[no-]detach') {|v| options[:detach] = v }
@@ -187,7 +187,8 @@ class Kumogata2::Client
187
187
  :resource_types,
188
188
  :on_failure,
189
189
  :stack_policy_body,
190
- :stack_policy_url)
190
+ :stack_policy_url,
191
+ :tags)
191
192
  )
192
193
 
193
194
  stack = get_resource.create_stack(params)
@@ -1,3 +1,3 @@
1
1
  module Kumogata2
2
- VERSION = '0.1.10'
2
+ VERSION = '0.1.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-22 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk