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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d22e25b1c8c50029c3ef7f7a0bbbea128e7a00c2c757cc1ae409130b4ffaf31f
4
- data.tar.gz: eb8dc65a8d9a2db5a84f301d40992f8a3e2304b91b5728eb2a8ace1365e9d62d
3
+ metadata.gz: 39bb164290be1bc6b81bfad0e01d9baef2bd01a2cb7dbf91868d29f2c2b1912b
4
+ data.tar.gz: 9abdeb21a5a4ce7904f519f3d04bc68acbab103644a19b7d440458356235d6f0
5
5
  SHA512:
6
- metadata.gz: f047c7707680c375c5e475746eba2378e1f6c19f93a89729556db79fdba26fd7077c9bf11c197e43815de1eba51fe630e30312761521af5259b4f8fc5f3d8283
7
- data.tar.gz: 83d44513679b2afc8b004b7184366e11af83c36e0cb5e3237d242abb6c1328ea3094e660da8f6af65ed56fc98ec17523776c0efbddb8acd39ee297f2d54e5b59
6
+ metadata.gz: e6c5eeb397c330df3c6beff23a489aee1ffe78ac2aa4a6a90daacd4dc118b49e6bace433a8b39f993a5ef274fa108df1b15419c9e72fc593af8680598dc161ae
7
+ data.tar.gz: dd621776cbd0dbfd282df55b2c6e1cb58b8fd32be69f321930775c9ee40b8a643ee11dedb261e9e46a6c790b3548b3543185a93d6436fda8055ac358fba040a7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.3.1 (2018/12/18)
4
+
5
+ - os_type バリデーション修正 (#41)
6
+
3
7
  ## 0.3.0 (2018/11/5)
4
8
 
5
9
  - Use new disk-edit API (#40)
@@ -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 not VagrantPlugins::Sakura::OSType::os_types.include? @os_type
238
- errors << I18n.t("vagrant_sakura.config.need_valid_os_type")
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 }
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Sakura
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
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.0
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-11-05 00:00:00.000000000 Z
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.8
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.