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 +4 -4
- data/lib/vmonkey/version.rb +1 -1
- data/lib/vmonkey/vim/VirtualMachine.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcb4830c595e82bce0fb22401c3f8ee03834c912
|
4
|
+
data.tar.gz: 4a736fce45cd41eb36059bb10372331b6756bbe4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 578fcdcf2e4a24b72bbc64ff00695e1cf13e2e1b66c03208358800049221932fd55d1871f0e14b9fe256a46a6a0bb6a44d2c8a0111688993ec4a4f1e54c3e41e
|
7
|
+
data.tar.gz: 06bd82156354d8cc61a92128c0a7fe61ac45b4c42cd435fe51fcb0d6ee3c07f396e9a86d0688b89eabb365b038a5d60db4df0235f4eb236de6ba268d6c24136e
|
data/lib/vmonkey/version.rb
CHANGED
@@ -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.
|
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-
|
12
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|