rbvmomi 1.8.1 → 1.8.2.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +15 -0
  2. data/Rakefile +14 -14
  3. data/VERSION +1 -1
  4. data/lib/rbvmomi/deserialization.rb +7 -0
  5. metadata +7 -15
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MWVlZDdhODMxMzUwNDQzYWU2NGFmNGExZmRhMGRmMmQyMWFhZDIwMw==
5
+ data.tar.gz: !binary |-
6
+ NjQyYzFiOGIzNDIzZTc2ZjBhNGY2NWFkNjg0ZWRlZGU5MWRjNzEwNA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZGFhOWU4Y2E5OWM2Y2VkMGU0NjlhNWZjMDFiZDgxYWM2NGI3YjZiYzJkNjI0
10
+ ZjM4ZDc0YWI1NzFlMWJhM2U2NjQxOWZiOTE4MjU3MzdkNzk2M2NiNDFiYmEz
11
+ ZDk0ODVkMGIzZGE5MmU5ZjU4NDczYTJmYjg3Nzk5ZmI4MDUxMjk=
12
+ data.tar.gz: !binary |-
13
+ NjEwYjExOTZkNmNjZTMxM2FiMDE0N2YxYWZjOTE0OGFlODg3NjU5MDAyMGM3
14
+ MWJkNzFhMWFjMDFjMTlmOTRkM2E0NmJjOGE1MWQxZGJhYTQxZjljOTM0NGEy
15
+ ZmJlYWFmOGVmYTJmMDUyOThmZmQzYWJjMGNjNDY2ZTBhOWNjMjc=
data/Rakefile CHANGED
@@ -1,5 +1,5 @@
1
1
  require 'rake/testtask'
2
- require 'rake/rdoctask'
2
+ require 'rdoc/task'
3
3
  require 'yard'
4
4
 
5
5
  begin
@@ -30,16 +30,16 @@ end
30
30
 
31
31
  YARD::Rake::YardocTask.new
32
32
 
33
- #begin
34
- # require 'rcov/rcovtask'
35
- # desc 'Measures test coverage using rcov'
36
- # Rcov::RcovTask.new do |rcov|
37
- # rcov.pattern = 'test/test_*.rb'
38
- # rcov.output_dir = 'coverage'
39
- # rcov.verbose = true
40
- # rcov.libs << "test"
41
- # rcov.rcov_opts << '--exclude "gems/*"'
42
- # end
43
- #rescue LoadError
44
- # puts "Rcov not available. Install it with: gem install rcov"
45
- #end
33
+ begin
34
+ require 'rcov/rcovtask'
35
+ desc 'Measures test coverage using rcov'
36
+ Rcov::RcovTask.new do |rcov|
37
+ rcov.pattern = 'test/test_*.rb'
38
+ rcov.output_dir = 'coverage'
39
+ rcov.verbose = true
40
+ rcov.libs << "test"
41
+ rcov.rcov_opts << '--exclude "gems/*"'
42
+ end
43
+ rescue LoadError
44
+ puts "Rcov not available. Install it with: gem install rcov"
45
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.1
1
+ 1.8.2.pre
@@ -43,6 +43,13 @@ class NewDeserializer
43
43
 
44
44
  def deserialize node, type=nil
45
45
  type_attr = node['type']
46
+
47
+ # Work around for 1.5.x which doesn't populate node['type']
48
+ # XXX what changed
49
+ if node.attributes['type'] and not type_attr
50
+ type_attr = node.attributes['type'].value
51
+ end
52
+
46
53
  type = type_attr if type_attr
47
54
 
48
55
  if action = BUILTIN_TYPE_ACTIONS[type]
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbvmomi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
5
- prerelease:
4
+ version: 1.8.2.pre
6
5
  platform: ruby
7
6
  authors:
8
7
  - Rich Lane
@@ -10,12 +9,11 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-12-19 00:00:00.000000000 Z
12
+ date: 2014-09-24 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: nokogiri
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
18
  - - ! '>='
21
19
  - !ruby/object:Gem::Version
@@ -23,7 +21,6 @@ dependencies:
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
25
  - - ! '>='
29
26
  - !ruby/object:Gem::Version
@@ -31,7 +28,6 @@ dependencies:
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: builder
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ! '>='
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :runtime
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ! '>='
45
40
  - !ruby/object:Gem::Version
@@ -47,7 +42,6 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: trollop
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
46
  - - ! '>='
53
47
  - !ruby/object:Gem::Version
@@ -55,7 +49,6 @@ dependencies:
55
49
  type: :runtime
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
53
  - - ! '>='
61
54
  - !ruby/object:Gem::Version
@@ -145,26 +138,25 @@ files:
145
138
  - vmodl.db
146
139
  homepage: https://github.com/vmware/rbvmomi
147
140
  licenses: []
141
+ metadata: {}
148
142
  post_install_message:
149
143
  rdoc_options: []
150
144
  require_paths:
151
145
  - lib
152
146
  required_ruby_version: !ruby/object:Gem::Requirement
153
- none: false
154
147
  requirements:
155
148
  - - ! '>='
156
149
  - !ruby/object:Gem::Version
157
150
  version: 1.8.7
158
151
  required_rubygems_version: !ruby/object:Gem::Requirement
159
- none: false
160
152
  requirements:
161
- - - ! '>='
153
+ - - ! '>'
162
154
  - !ruby/object:Gem::Version
163
- version: '0'
155
+ version: 1.3.1
164
156
  requirements: []
165
157
  rubyforge_project:
166
- rubygems_version: 1.8.23
158
+ rubygems_version: 2.2.2
167
159
  signing_key:
168
- specification_version: 3
160
+ specification_version: 4
169
161
  summary: Ruby interface to the VMware vSphere API
170
162
  test_files: []