vagrant-vsphere 0.10.0 → 0.11.0

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: 6b756fdb157919fecd29925a00eff198363f03cb
4
- data.tar.gz: 469e8fb045b8480ea7421383b89de2bb64051eee
3
+ metadata.gz: 4b849287254d7d458dd01177a712d88b8cda2457
4
+ data.tar.gz: 245b4fd9edf27c7be1704bd6130495aa8ad08e73
5
5
  SHA512:
6
- metadata.gz: 10a8751efe9d1c22a6cd82aa8d77d66d6fdb2d52bba06998f37ea0c38baf6572b54ab3b4a8bb4a489a46766bedefffed896d80a3f4dcda2d77405cb52b35b6be
7
- data.tar.gz: 79ca29a2965f8cdbd1babbda23129819429c50624cf863385df6465fedc7a21903f90d50b494b01943fd52e7cee8e6f797443842a4647e73f481d8939dcfabe9
6
+ metadata.gz: b2dbee432c779914179ab77cd29496e701b7355e11c5c13f2cc8c2aed6b1441ecc7e5ecdb7517dc2a31d90597c0c6902bba39dc9c24e9acbdff36c039abc6755
7
+ data.tar.gz: 8043c30a3c64943625725d8d0b0b021eab2a2ae5375ca241a56b4824d8dbe6a687f0a118e9bf4bbfaf4aa360b46b1a72e30d3fb9dc79118e1b00d56dee0542d1
data/README.md CHANGED
@@ -12,9 +12,9 @@ This provider is built on top of the [RbVmomi](https://github.com/vmware/rbvmomi
12
12
  * libxml2, libxml2-dev, libxslt, libxslt-dev
13
13
 
14
14
  ## Current Version
15
- **0.10.0**
15
+ **0.11.0**
16
16
 
17
- vagrant-vsphere (0.10.0) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
17
+ vagrant-vsphere (0.11.0) is available from [RubyGems.org](https://rubygems.org/gems/vagrant-vsphere)
18
18
 
19
19
  ## Installation
20
20
 
@@ -176,6 +176,8 @@ This is useful if running Vagrant from multiple directories or if multiple machi
176
176
  * 0.10.0
177
177
  * new optional parameter to clone into custom folder in vSphere [#73 mikola-spb:vm-base-path](https://github.com/nsidc/vagrant-vsphere/pull/73)
178
178
  * follows semvar better, this adds functionality in a backwards compatible way, so bumps the minor. 0.9.0, should have been a major version.
179
+ * 0.11.0
180
+ * Create the VM target folder if it doesn't exist #76 marnovdm:feature/create_vm_folder.
179
181
 
180
182
  ## Versioning
181
183
 
@@ -131,7 +131,7 @@ module VagrantPlugins
131
131
  if config.vm_base_path.nil?
132
132
  template.parent
133
133
  else
134
- dc.vmFolder.traverse(config.vm_base_path, RbVmomi::VIM::Folder)
134
+ dc.vmFolder.traverse(config.vm_base_path, RbVmomi::VIM::Folder, create=true)
135
135
  end
136
136
  end
137
137
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '0.10.0'
3
+ VERSION = '0.11.0'
4
4
  end
5
5
  end
data/spec/clone_spec.rb CHANGED
@@ -20,7 +20,7 @@ describe VagrantPlugins::VSphere::Action::Clone do
20
20
  custom_base_folder = double(CUSTOM_VM_FOLDER,
21
21
  :pretty_path => "#{@data_center.pretty_path}/#{CUSTOM_VM_FOLDER}")
22
22
  @machine.provider_config.stub(:vm_base_path).and_return(CUSTOM_VM_FOLDER)
23
- @data_center.vmFolder.stub(:traverse).with(CUSTOM_VM_FOLDER, RbVmomi::VIM::Folder).and_return(custom_base_folder)
23
+ @data_center.vmFolder.stub(:traverse).with(CUSTOM_VM_FOLDER, RbVmomi::VIM::Folder, true).and_return(custom_base_folder)
24
24
  call
25
25
  expect(@template).to have_received(:CloneVM_Task).with({
26
26
  :folder => custom_base_folder,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri