vagrant-sakura 0.3.0 → 0.3.1
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/vagrant-sakura/config.rb +4 -2
- data/lib/vagrant-sakura/version.rb +1 -1
- data/test/test_config.rb +16 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39bb164290be1bc6b81bfad0e01d9baef2bd01a2cb7dbf91868d29f2c2b1912b
|
4
|
+
data.tar.gz: 9abdeb21a5a4ce7904f519f3d04bc68acbab103644a19b7d440458356235d6f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e6c5eeb397c330df3c6beff23a489aee1ffe78ac2aa4a6a90daacd4dc118b49e6bace433a8b39f993a5ef274fa108df1b15419c9e72fc593af8680598dc161ae
|
7
|
+
data.tar.gz: dd621776cbd0dbfd282df55b2c6e1cb58b8fd32be69f321930775c9ee40b8a643ee11dedb261e9e46a6c790b3548b3543185a93d6436fda8055ac358fba040a7
|
data/CHANGELOG.md
CHANGED
@@ -234,8 +234,10 @@ module VagrantPlugins
|
|
234
234
|
errors << I18n.t("vagrant_sakura.config.need_ssh_key_config")
|
235
235
|
end
|
236
236
|
|
237
|
-
if
|
238
|
-
|
237
|
+
if disk_source_mode == :os_type
|
238
|
+
if not VagrantPlugins::Sakura::OSType::os_types.include? @os_type
|
239
|
+
errors << I18n.t("vagrant_sakura.config.need_valid_os_type")
|
240
|
+
end
|
239
241
|
end
|
240
242
|
|
241
243
|
{ "Sakura Provider" => errors }
|
data/test/test_config.rb
CHANGED
@@ -251,6 +251,22 @@ module VagrantPlugins
|
|
251
251
|
},
|
252
252
|
"expect" => false
|
253
253
|
},
|
254
|
+
|
255
|
+
"os_type is empty with archive_id" => {
|
256
|
+
"config" => {
|
257
|
+
"use_insecure_key" => true,
|
258
|
+
"disk_source_archive" => "999999999999"
|
259
|
+
},
|
260
|
+
"expect" => true
|
261
|
+
},
|
262
|
+
|
263
|
+
"os_type is empty with disk_id" => {
|
264
|
+
"config" => {
|
265
|
+
"use_insecure_key" => true,
|
266
|
+
"disk_id" => "999999999999"
|
267
|
+
},
|
268
|
+
"expect" => true
|
269
|
+
},
|
254
270
|
}
|
255
271
|
|
256
272
|
cases.map do |name, c|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-sakura
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomoyuki Sahara
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-12-18 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Enables Vagrant to manage machines in Sakura Cloud.
|
15
15
|
email:
|
@@ -89,7 +89,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
91
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.7.
|
92
|
+
rubygems_version: 2.7.7
|
93
93
|
signing_key:
|
94
94
|
specification_version: 4
|
95
95
|
summary: Enables Vagrant to manage machines in Sakura Cloud.
|