rbvmomi 1.9.5 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +3 -3
- data/lib/rbvmomi/version.rb +1 -1
- data/lib/rbvmomi/vim.rb +2 -2
- data/lib/rbvmomi/vim/ReflectManagedMethodExecuter.rb +2 -2
- data/vmodl.db +0 -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: 633f56e0603df47ca5f133a251e158a985a00bcf
|
4
|
+
data.tar.gz: 5062e22c36fac015dcd57c5a7482f9c1024d0c3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72e97787a18e48380aac6e4ea9d7d24558a77c272226508dbf1035e93ef77d8fc81335ac55fb848cf7b882a44d0660f03d2e7bc38c235bc6eaa4eca961735b5d
|
7
|
+
data.tar.gz: 8d50ce8c7d7f2bffb2a53cd96eed42f61b5222b6036f3ac3e20daf2f4b59cb2697e37427ac43f888de5b463b257fafe96f56961fb369771a6aa1884ef6ff619c
|
data/README.rdoc
CHANGED
@@ -9,9 +9,9 @@ This is a community-supported, open source project at VMware. It is built and ma
|
|
9
9
|
|
10
10
|
RbVmomi is a Ruby interface to the vSphere API. Like the Perl and Java SDKs,
|
11
11
|
you can use it to manage ESX and vCenter servers. The current release
|
12
|
-
supports the vSphere 6.
|
12
|
+
supports the vSphere 6.5 API. RbVmomi specific documentation is
|
13
13
|
online[http://rdoc.info/github/vmware/rbvmomi/master/frames] and is meant to
|
14
|
-
be used alongside the official documentation[http://pubs.vmware.com/vsphere-
|
14
|
+
be used alongside the official documentation[http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wssdk.apiref.doc/right-pane.html].
|
15
15
|
|
16
16
|
== Installation
|
17
17
|
|
@@ -76,7 +76,7 @@ in the first example uses the SearchIndex for fast lookups.
|
|
76
76
|
|
77
77
|
A few important points:
|
78
78
|
|
79
|
-
* All class, method, parameter, and property names match the official documentation[http://pubs.vmware.com/vsphere-
|
79
|
+
* All class, method, parameter, and property names match the official documentation[http://pubs.vmware.com/vsphere-65/index.jsp#com.vmware.wssdk.apiref.doc/right-pane.html].
|
80
80
|
* Properties are exposed as accessor methods.
|
81
81
|
* Data object types can usually be inferred from context, so you may use a hash instead.
|
82
82
|
* Enumeration values are simply strings.
|
data/lib/rbvmomi/version.rb
CHANGED
data/lib/rbvmomi/vim.rb
CHANGED
@@ -39,7 +39,7 @@ class VIM < Connection
|
|
39
39
|
opts[:path] ||= '/sdk'
|
40
40
|
opts[:ns] ||= 'urn:vim25'
|
41
41
|
rev_given = opts[:rev] != nil
|
42
|
-
opts[:rev] = '6.
|
42
|
+
opts[:rev] = '6.5' unless rev_given
|
43
43
|
opts[:debug] = (!ENV['RBVMOMI_DEBUG'].empty? rescue false) unless opts.member? :debug
|
44
44
|
|
45
45
|
conn = new(opts).tap do |vim|
|
@@ -62,7 +62,7 @@ class VIM < Connection
|
|
62
62
|
end
|
63
63
|
unless rev_given
|
64
64
|
rev = vim.serviceContent.about.apiVersion
|
65
|
-
vim.rev = [rev, '6.
|
65
|
+
vim.rev = [rev, '6.5'].min
|
66
66
|
end
|
67
67
|
end
|
68
68
|
|
@@ -5,7 +5,7 @@ module RbVmomi
|
|
5
5
|
|
6
6
|
class VIM::ReflectManagedMethodExecuter
|
7
7
|
def fetch moid, prop
|
8
|
-
result = FetchSoap(:moid => moid, :version => 'urn:vim25/6.
|
8
|
+
result = FetchSoap(:moid => moid, :version => 'urn:vim25/6.5', :prop => prop)
|
9
9
|
xml = Nokogiri(result.response)
|
10
10
|
_connection.deserializer.deserialize xml.root, nil
|
11
11
|
end
|
@@ -19,7 +19,7 @@ class VIM::ReflectManagedMethodExecuter
|
|
19
19
|
soap_arg.val = xml.target!
|
20
20
|
end
|
21
21
|
end
|
22
|
-
result = ExecuteSoap(:moid => moid, :version => 'urn:vim25/6.
|
22
|
+
result = ExecuteSoap(:moid => moid, :version => 'urn:vim25/6.5',
|
23
23
|
:method => method, :argument => soap_args)
|
24
24
|
if result
|
25
25
|
_connection.deserializer.deserialize Nokogiri(result.response).root, nil
|
data/vmodl.db
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbvmomi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rich Lane
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-03-
|
12
|
+
date: 2017-03-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: builder
|