kitchen-ec2 1.3.2 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -2
- data/CHANGELOG.md +18 -0
- data/Gemfile +3 -5
- data/README.md +52 -18
- data/Rakefile +1 -1
- data/kitchen-ec2.gemspec +3 -8
- data/lib/kitchen/driver/aws/client.rb +16 -16
- data/lib/kitchen/driver/aws/instance_generator.rb +17 -17
- data/lib/kitchen/driver/aws/standard_platform.rb +2 -2
- data/lib/kitchen/driver/aws/standard_platform/amazon.rb +34 -0
- data/lib/kitchen/driver/aws/standard_platform/centos.rb +2 -2
- data/lib/kitchen/driver/aws/standard_platform/debian.rb +3 -2
- data/lib/kitchen/driver/aws/standard_platform/fedora.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/freebsd.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/rhel.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/ubuntu.rb +1 -1
- data/lib/kitchen/driver/aws/standard_platform/windows.rb +3 -3
- data/lib/kitchen/driver/ec2.rb +30 -14
- data/lib/kitchen/driver/ec2_version.rb +1 -1
- data/spec/kitchen/driver/ec2/client_spec.rb +3 -3
- data/spec/kitchen/driver/ec2/image_selection_spec.rb +157 -122
- data/spec/kitchen/driver/ec2/instance_generator_spec.rb +51 -43
- data/spec/kitchen/driver/ec2_spec.rb +36 -16
- metadata +8 -22
- data/.rubocop.yml +0 -21
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fletcher Nichol
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -157,19 +157,19 @@ dependencies:
|
|
157
157
|
- !ruby/object:Gem::Version
|
158
158
|
version: '0.8'
|
159
159
|
- !ruby/object:Gem::Dependency
|
160
|
-
name:
|
160
|
+
name: chefstyle
|
161
161
|
requirement: !ruby/object:Gem::Requirement
|
162
162
|
requirements:
|
163
163
|
- - '='
|
164
164
|
- !ruby/object:Gem::Version
|
165
|
-
version:
|
165
|
+
version: 0.6.0
|
166
166
|
type: :development
|
167
167
|
prerelease: false
|
168
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
169
|
requirements:
|
170
170
|
- - '='
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version:
|
172
|
+
version: 0.6.0
|
173
173
|
- !ruby/object:Gem::Dependency
|
174
174
|
name: climate_control
|
175
175
|
requirement: !ruby/object:Gem::Requirement
|
@@ -184,20 +184,6 @@ dependencies:
|
|
184
184
|
- - ">="
|
185
185
|
- !ruby/object:Gem::Version
|
186
186
|
version: '0'
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: rack
|
189
|
-
requirement: !ruby/object:Gem::Requirement
|
190
|
-
requirements:
|
191
|
-
- - "~>"
|
192
|
-
- !ruby/object:Gem::Version
|
193
|
-
version: '1.0'
|
194
|
-
type: :development
|
195
|
-
prerelease: false
|
196
|
-
version_requirements: !ruby/object:Gem::Requirement
|
197
|
-
requirements:
|
198
|
-
- - "~>"
|
199
|
-
- !ruby/object:Gem::Version
|
200
|
-
version: '1.0'
|
201
187
|
description: A Test Kitchen Driver for Amazon EC2
|
202
188
|
email:
|
203
189
|
- fnichol@nichol.ca
|
@@ -207,7 +193,6 @@ extra_rdoc_files: []
|
|
207
193
|
files:
|
208
194
|
- ".gitignore"
|
209
195
|
- ".rspec"
|
210
|
-
- ".rubocop.yml"
|
211
196
|
- ".travis.yml"
|
212
197
|
- ".yardopts"
|
213
198
|
- CHANGELOG.md
|
@@ -219,6 +204,7 @@ files:
|
|
219
204
|
- lib/kitchen/driver/aws/client.rb
|
220
205
|
- lib/kitchen/driver/aws/instance_generator.rb
|
221
206
|
- lib/kitchen/driver/aws/standard_platform.rb
|
207
|
+
- lib/kitchen/driver/aws/standard_platform/amazon.rb
|
222
208
|
- lib/kitchen/driver/aws/standard_platform/centos.rb
|
223
209
|
- lib/kitchen/driver/aws/standard_platform/debian.rb
|
224
210
|
- lib/kitchen/driver/aws/standard_platform/fedora.rb
|
@@ -245,7 +231,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
245
231
|
requirements:
|
246
232
|
- - ">="
|
247
233
|
- !ruby/object:Gem::Version
|
248
|
-
version:
|
234
|
+
version: 2.2.2
|
249
235
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
250
236
|
requirements:
|
251
237
|
- - ">="
|
@@ -253,7 +239,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
239
|
version: '0'
|
254
240
|
requirements: []
|
255
241
|
rubyforge_project:
|
256
|
-
rubygems_version: 2.6.
|
242
|
+
rubygems_version: 2.6.13
|
257
243
|
signing_key:
|
258
244
|
specification_version: 4
|
259
245
|
summary: A Test Kitchen Driver for Amazon EC2
|
data/.rubocop.yml
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
Style/FileName:
|
2
|
-
Exclude:
|
3
|
-
- 'data/**/*'
|
4
|
-
|
5
|
-
Style/Lambda:
|
6
|
-
Enabled: false
|
7
|
-
|
8
|
-
Style/Next:
|
9
|
-
Enabled: false
|
10
|
-
|
11
|
-
Style/DoubleNegation:
|
12
|
-
Enabled: false
|
13
|
-
|
14
|
-
Metrics/CyclomaticComplexity:
|
15
|
-
Max: 30
|
16
|
-
|
17
|
-
Metrics/PerceivedComplexity:
|
18
|
-
Max: 30
|
19
|
-
|
20
|
-
Metrics/AbcSize:
|
21
|
-
Max: 60
|