kitchen-digitalocean 0.9.3 → 0.9.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/kitchen/driver/digitalocean.rb +18 -13
- data/lib/kitchen/driver/digitalocean_version.rb +1 -1
- data/spec/kitchen/driver/digitalocean_spec.rb +5 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92ec9677757a35af419098d3052594660b22b55d
|
4
|
+
data.tar.gz: 8e69bb6aa511f3d207abced3c98ddb2a5c500572
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed454c46fe879d6b975cd80d59a2f3cf31a381f0e0c701d920ddf3243c51e54ede69d90fba980c53a4cb1919e0ca4b89f332e4cbc1dc7f14ca81281ebb2de046
|
7
|
+
data.tar.gz: 931d6522028a8f150afb6a9cc4e477846423351eecbf680d5bfc77fcaa482051334b7fac3c326b7f96f4bef189498f3cbe3fc378720b9ab3b1c9817bcd95cefe
|
data/CHANGELOG.md
CHANGED
@@ -169,19 +169,24 @@ module Kitchen
|
|
169
169
|
|
170
170
|
def platform_to_slug_mapping
|
171
171
|
{
|
172
|
-
'centos-5.10'
|
173
|
-
'centos-6.
|
174
|
-
'centos-7.
|
175
|
-
'
|
176
|
-
'
|
177
|
-
'
|
178
|
-
'
|
179
|
-
'
|
180
|
-
'
|
181
|
-
'
|
182
|
-
'
|
183
|
-
'
|
184
|
-
'
|
172
|
+
'centos-5.10' => 'centos-5-8-x64',
|
173
|
+
'centos-6.7' => 'centos-6-7-x64',
|
174
|
+
'centos-7.1' => 'centos-7-1-x64',
|
175
|
+
'coreos-835.9.0' => 'coreos-835.9.0-x64',
|
176
|
+
'coreos-877.1.0' => 'coreos-877.1.0-x64',
|
177
|
+
'coreos-891.0.0' => 'coreos-891.0.0-x64',
|
178
|
+
'debian-6.0' => 'debian-6-0-x64',
|
179
|
+
'debian-7.9' => 'debian-7-9-x64',
|
180
|
+
'debian-8.2' => 'debian-8-2-x64',
|
181
|
+
'fedora-21' => 'fedora-21-x64',
|
182
|
+
'fedora-22' => 'fedora-22-x64',
|
183
|
+
'fedora-23' => 'fedora-23-x64',
|
184
|
+
'freebsd-10.1' => 'freebsd-10-1-x64',
|
185
|
+
'freebsd-10.2' => 'freebsd-10-2-x64',
|
186
|
+
'ubuntu-12.04.5' => 'ubuntu-12-04-5-x64',
|
187
|
+
'ubuntu-14.04.3' => 'ubuntu-14-04-3-x64',
|
188
|
+
'ubuntu-15.04' => 'ubuntu-15-04-x64',
|
189
|
+
'ubuntu-15.10' => 'ubuntu-15-10-x64'
|
185
190
|
}
|
186
191
|
end
|
187
192
|
end
|
@@ -77,19 +77,19 @@ describe Kitchen::Driver::Digitalocean do
|
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
|
-
context 'name is ubuntu-14-04-x64' do
|
81
|
-
let(:platform_name) { 'ubuntu-14-04-x64' }
|
80
|
+
context 'name is ubuntu-14-04-3-x64' do
|
81
|
+
let(:platform_name) { 'ubuntu-14-04-3-x64' }
|
82
82
|
|
83
83
|
it 'defaults to the correct image ID' do
|
84
|
-
expect(driver[:image]).to eq('ubuntu-14-04-x64')
|
84
|
+
expect(driver[:image]).to eq('ubuntu-14-04-3-x64')
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
88
|
context 'platform name matches a known platform => slug mapping' do
|
89
|
-
let(:platform_name) { 'ubuntu-14.04' }
|
89
|
+
let(:platform_name) { 'ubuntu-14.04.3' }
|
90
90
|
|
91
91
|
it 'matches the correct image slug' do
|
92
|
-
expect(driver[:image]).to eq('ubuntu-14-04-x64')
|
92
|
+
expect(driver[:image]).to eq('ubuntu-14-04-3-x64')
|
93
93
|
end
|
94
94
|
end
|
95
95
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kitchen-digitalocean
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Fitzgerald
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: test-kitchen
|
@@ -222,7 +222,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
222
|
version: '0'
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
|
-
rubygems_version: 2.
|
225
|
+
rubygems_version: 2.5.1
|
226
226
|
signing_key:
|
227
227
|
specification_version: 4
|
228
228
|
summary: A Test Kitchen Driver for Digital Ocean
|