gapinc-rbvmomi 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.6.1
@@ -1,3 +1,3 @@
1
1
  module RbVmomi
2
- VERSION = '1.6.0'
2
+ VERSION = '1.6.1'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  class RbVmomi::VIM::Datacenter
2
2
  # Traverse the given inventory +path+ to find a ComputeResource.
3
3
  def find_compute_resource path
4
- hostFolder.traverse path, RbVmomi::VIM::ComputeResource
4
+ hostFolder.traverse path, RbVmomi::VIM::ComputeResource, false, true
5
5
  end
6
6
 
7
7
  # Find the Datastore with the given +name+.
@@ -11,7 +11,7 @@ class RbVmomi::VIM::Datacenter
11
11
 
12
12
  # Traverse the given inventory +path+ to find a VirtualMachine.
13
13
  def find_vm path
14
- vmFolder.traverse path, RbVmomi::VIM::VirtualMachine
14
+ vmFolder.traverse path, RbVmomi::VIM::VirtualMachine, false, true
15
15
  end
16
16
  end
17
17
 
@@ -55,8 +55,8 @@ class RbVmomi::VIM::Folder
55
55
 
56
56
  # Alias to <tt>traverse path, type, true</tt>
57
57
  # @see #traverse
58
- def traverse! path, type=Object
59
- traverse path, type, true
58
+ def traverse! path, type=Object, recurse=false
59
+ traverse path, type, true, recurse
60
60
  end
61
61
 
62
62
  # Retrieve a descendant of this Folder.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gapinc-rbvmomi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-07-11 00:00:00.000000000 Z
13
+ date: 2013-07-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri