rvc 1.3.6 → 1.4.0

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/lib/rvc/util.rb CHANGED
@@ -189,6 +189,9 @@ module Util
189
189
 
190
190
  results = obj._connection.propertyCollector.RetrieveProperties(:specSet => [spec])
191
191
 
192
+ # Work around ESX 4.0 ignoring the skip field
193
+ results.reject! { |r| r.obj == obj }
194
+
192
195
  Hash[results.map { |r| [r['name'], r.obj] }]
193
196
  end
194
197
  end
data/lib/rvc.rb CHANGED
@@ -27,5 +27,7 @@ require 'rvc/fs'
27
27
  require 'rvc/completion'
28
28
  require 'rvc/option_parser'
29
29
  require 'rvc/shell'
30
+ require 'rvc/memory_session'
31
+ require 'rvc/filesystem_session'
30
32
 
31
33
  RbVmomi::VIM.extension_dirs << File.join(File.dirname(__FILE__), "rvc/extensions")
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rvc
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.6
5
+ version: 1.4.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Rich Lane
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-20 00:00:00 -07:00
13
+ date: 2011-06-08 00:00:00 -07:00
14
14
  default_executable: rvc
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -99,9 +99,11 @@ files:
99
99
  - lib/rvc/extensions/Network.rb
100
100
  - lib/rvc/extensions/ResourcePool.rb
101
101
  - lib/rvc/extensions/VirtualMachine.rb
102
+ - lib/rvc/filesystem_session.rb
102
103
  - lib/rvc/fs.rb
103
104
  - lib/rvc/inventory.rb
104
105
  - lib/rvc/known_hosts.rb
106
+ - lib/rvc/memory_session.rb
105
107
  - lib/rvc/modules.rb
106
108
  - lib/rvc/modules/basic.rb
107
109
  - lib/rvc/modules/cluster.rb
@@ -109,7 +111,9 @@ files:
109
111
  - lib/rvc/modules/datastore.rb
110
112
  - lib/rvc/modules/host.rb
111
113
  - lib/rvc/modules/mark.rb
114
+ - lib/rvc/modules/permissions.rb
112
115
  - lib/rvc/modules/resource_pool.rb
116
+ - lib/rvc/modules/role.rb
113
117
  - lib/rvc/modules/vim.rb
114
118
  - lib/rvc/modules/vm.rb
115
119
  - lib/rvc/modules/vmrc.rb