kumogata2 0.1.7 → 0.1.8

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: a20ce8f85538abf4a52a640ce454dea240eefd95
4
- data.tar.gz: 28f68048f36a5ebc83a92cafc99f62320feee33b
3
+ metadata.gz: 3bdba3107a9808d3e5146c6144f4ee7dacdcdc81
4
+ data.tar.gz: a7037ac8a8eb6048e0bf50ce8478444355d304f2
5
5
  SHA512:
6
- metadata.gz: 53186704e97633e0c5d4bcdc573aadd51d1456eaa7a9e3fd9981a49eb338fd4b8d6fbc2aad202e45efab83809cdf52eec818db652b1b6dd535498dcb8ecf6f17
7
- data.tar.gz: 64b9ac0ff90d1a0906d3678d1d8115d648b128d485528b3dd9392ea4b0933d8b3ba6db0e2de3a3c4a3ffa358dce3b9c7bd63ae168fcaf4c83938dd2811ff15f7
6
+ metadata.gz: 3ddac5d6010f8f6877bc509395f9fb6768235453e4dcdb71e8b239f035736a4189b0ab1451ae1b33561025cee6125390a810a2dd57824c57b72cb0ac580f9bc3
7
+ data.tar.gz: 4fb38679de3528e383958a7ff7cc6b6404ec86fc68075e04d57f532b1401a1746602c35d0541aa7f5b70680de00a79aed1ad95da1f0423c5c3e642e88e29190b
data/kumogata2.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'aws-sdk', '~> 2.3.0'
22
+ spec.add_dependency 'aws-sdk', '>= 2.3.0'
23
23
  spec.add_dependency 'coderay'
24
24
  spec.add_dependency 'diffy'
25
25
  spec.add_dependency 'hashie'
@@ -168,7 +168,7 @@ class Kumogata2::Client
168
168
  parameters: parameters_array,
169
169
  }
170
170
 
171
- set_api_params(params,
171
+ params.merge!(set_api_params(params,
172
172
  :disable_rollback,
173
173
  :timeout_in_minutes,
174
174
  :notification_arns,
@@ -177,6 +177,7 @@ class Kumogata2::Client
177
177
  :on_failure,
178
178
  :stack_policy_body,
179
179
  :stack_policy_url)
180
+ )
180
181
 
181
182
  stack = @resource.create_stack(params)
182
183
 
@@ -212,7 +213,7 @@ class Kumogata2::Client
212
213
  parameters: parameters_array,
213
214
  }
214
215
 
215
- set_api_params(params,
216
+ params.merge!(set_api_params(params,
216
217
  :use_previous_template,
217
218
  :stack_policy_during_update_body,
218
219
  :stack_policy_during_update_url,
@@ -221,6 +222,7 @@ class Kumogata2::Client
221
222
  :resource_types,
222
223
  :stack_policy_body,
223
224
  :stack_policy_url)
225
+ )
224
226
 
225
227
  event_log = create_event_log(stack)
226
228
  stack.update(params)
@@ -310,11 +312,12 @@ class Kumogata2::Client
310
312
  parameters: parameters_array,
311
313
  }
312
314
 
313
- set_api_params(params,
315
+ params.merge!(set_api_params(params,
314
316
  :use_previous_template,
315
317
  :notification_arns,
316
318
  :capabilities,
317
319
  :resource_types)
320
+ )
318
321
 
319
322
  resp = @client.create_change_set(params)
320
323
  change_set_arn = resp.id
@@ -429,8 +432,10 @@ class Kumogata2::Client
429
432
  end
430
433
 
431
434
  def set_api_params(params, *keys)
432
- keys.each do |k|
433
- opts[k] = @options[k] if @options[k]
435
+ {}.tap do |h|
436
+ keys.each do |k|
437
+ h[k] = @options[k] if @options[k]
438
+ end
434
439
  end
435
440
  end
436
441
 
@@ -1,3 +1,3 @@
1
1
  module Kumogata2
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,153 +1,153 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kumogata2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 2.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: coderay
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: diffy
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: hashie
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: highline
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: term-ansicolor
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: bundler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: rake
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ~>
129
+ - - "~>"
130
130
  - !ruby/object:Gem::Version
131
131
  version: '3.0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ~>
136
+ - - "~>"
137
137
  - !ruby/object:Gem::Version
138
138
  version: '3.0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: kumogata2-plugin-ruby
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: 0.1.3
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: 0.1.3
153
153
  description: Kumogata2 is a tool for AWS CloudFormation.
@@ -158,9 +158,9 @@ executables:
158
158
  extensions: []
159
159
  extra_rdoc_files: []
160
160
  files:
161
- - .gitignore
162
- - .rspec
163
- - .travis.yml
161
+ - ".gitignore"
162
+ - ".rspec"
163
+ - ".travis.yml"
164
164
  - Gemfile
165
165
  - LICENSE.txt
166
166
  - README.md
@@ -189,17 +189,17 @@ require_paths:
189
189
  - lib
190
190
  required_ruby_version: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  requirements:
197
- - - '>='
197
+ - - ">="
198
198
  - !ruby/object:Gem::Version
199
199
  version: '0'
200
200
  requirements: []
201
201
  rubyforge_project:
202
- rubygems_version: 2.0.14.1
202
+ rubygems_version: 2.4.5.1
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Kumogata2 is a tool for AWS CloudFormation.