vmonkey 0.12.0 → 0.13.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: 73473f9859e69b977f39d70718c324209348f108
4
- data.tar.gz: 918674b456eab8cd11cdfef9cb6a46b8b2d4e3dd
3
+ metadata.gz: dcb4830c595e82bce0fb22401c3f8ee03834c912
4
+ data.tar.gz: 4a736fce45cd41eb36059bb10372331b6756bbe4
5
5
  SHA512:
6
- metadata.gz: 41cd3ffe4dd03e1212eb4dac8f2b02db048f585528137f24869eb90656cdf113510656dc18455177013a75ae2ac139dbeb9257e0ff2a35d1195c7b2fdc25ced9
7
- data.tar.gz: a7d9dd69f806cab2edb56ed01b4e8ce74587c33478ed902d40cbec8f7f1a6ac7f4f61b7b7c5fd943482a87fe8e7c23cab2ec92cefe7978d86622bd8f31368be9
6
+ metadata.gz: 578fcdcf2e4a24b72bbc64ff00695e1cf13e2e1b66c03208358800049221932fd55d1871f0e14b9fe256a46a6a0bb6a44d2c8a0111688993ec4a4f1e54c3e41e
7
+ data.tar.gz: 06bd82156354d8cc61a92128c0a7fe61ac45b4c42cd435fe51fcb0d6ee3c07f396e9a86d0688b89eabb365b038a5d60db4df0235f4eb236de6ba268d6c24136e
@@ -1,3 +1,3 @@
1
1
  module Vmonkey
2
- VERSION = '0.12.0'
2
+ VERSION = '0.13.0'
3
3
  end
@@ -21,6 +21,8 @@ class RbVmomi::VIM::VirtualMachine
21
21
  def clone_to!(path)
22
22
  dest_vm = monkey.vm(path)
23
23
  dest_vm.destroy if dest_vm
24
+
25
+ monkey.folder('/').mk_folder(path.parent) unless path.parent.to_s.empty?
24
26
 
25
27
  clone_to(path)
26
28
  end
@@ -80,6 +82,8 @@ class RbVmomi::VIM::VirtualMachine
80
82
  dest_vm = monkey.vm(path)
81
83
  dest_vm.destroy if dest_vm
82
84
 
85
+ monkey.folder('/').mk_folder(path.parent) unless path.parent.to_s.empty?
86
+
83
87
  move_to(path)
84
88
  end
85
89
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vmonkey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Dupras
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-01-14 00:00:00.000000000 Z
12
+ date: 2015-01-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri