vagrant-vsphere 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +5 -5
- data/Gemfile +9 -9
- data/LICENSE.txt +23 -23
- data/README.md +175 -164
- data/Rakefile +16 -16
- data/example_box/metadata.json +2 -2
- data/lib/vSphere/action/clone.rb +127 -83
- data/lib/vSphere/action/close_vsphere.rb +23 -23
- data/lib/vSphere/action/connect_vsphere.rb +25 -25
- data/lib/vSphere/action/destroy.rb +37 -37
- data/lib/vSphere/action/get_ssh_info.rb +37 -37
- data/lib/vSphere/action/get_state.rb +45 -45
- data/lib/vSphere/action/is_created.rb +15 -15
- data/lib/vSphere/action/is_running.rb +20 -20
- data/lib/vSphere/action/message_already_created.rb +17 -17
- data/lib/vSphere/action/message_not_created.rb +17 -17
- data/lib/vSphere/action/message_not_running.rb +18 -18
- data/lib/vSphere/action/power_off.rb +27 -27
- data/lib/vSphere/action/power_on.rb +31 -31
- data/lib/vSphere/action/sync_folders.rb +97 -81
- data/lib/vSphere/action.rb +172 -172
- data/lib/vSphere/config.rb +37 -37
- data/lib/vSphere/errors.rb +10 -10
- data/lib/vSphere/plugin.rb +29 -29
- data/lib/vSphere/provider.rb +38 -38
- data/lib/vSphere/util/machine_helpers.rb +15 -15
- data/lib/vSphere/util/vim_helpers.rb +36 -36
- data/lib/vSphere/version.rb +4 -4
- data/lib/vagrant-vsphere.rb +17 -17
- data/locales/en.yml +65 -65
- data/spec/action_spec.rb +116 -116
- data/spec/clone_spec.rb +31 -31
- data/spec/connect_vsphere_spec.rb +23 -23
- data/spec/destroy_spec.rb +30 -30
- data/spec/get_ssh_info_spec.rb +30 -30
- data/spec/get_state_spec.rb +54 -54
- data/spec/is_created_spec.rb +28 -28
- data/spec/spec_helper.rb +98 -97
- data/vSphere.gemspec +27 -27
- metadata +21 -5
- checksums.yaml +0 -15
data/spec/get_ssh_info_spec.rb
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe VagrantPlugins::VSphere::Action::GetSshInfo do
|
4
|
-
before :each do
|
5
|
-
@env[:vSphere_connection] = @vim
|
6
|
-
end
|
7
|
-
|
8
|
-
it 'should set the ssh info to nil if machine ID is not set' do
|
9
|
-
call
|
10
|
-
|
11
|
-
@env.has_key?(:machine_ssh_info).should be true
|
12
|
-
@env[:machine_ssh_info].should be nil
|
13
|
-
end
|
14
|
-
|
15
|
-
it 'should set the ssh info to nil for a VM that does not exist' do
|
16
|
-
@env[:machine].stub(:id).and_return(MISSING_UUID)
|
17
|
-
|
18
|
-
call
|
19
|
-
|
20
|
-
@env.has_key?(:machine_ssh_info).should be true
|
21
|
-
@env[:machine_ssh_info].should be nil
|
22
|
-
end
|
23
|
-
|
24
|
-
it 'should set the ssh info host to the IP an existing VM' do
|
25
|
-
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
26
|
-
|
27
|
-
call
|
28
|
-
|
29
|
-
@env[:machine_ssh_info][:host].should be IP_ADDRESS
|
30
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe VagrantPlugins::VSphere::Action::GetSshInfo do
|
4
|
+
before :each do
|
5
|
+
@env[:vSphere_connection] = @vim
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'should set the ssh info to nil if machine ID is not set' do
|
9
|
+
call
|
10
|
+
|
11
|
+
@env.has_key?(:machine_ssh_info).should be true
|
12
|
+
@env[:machine_ssh_info].should be nil
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'should set the ssh info to nil for a VM that does not exist' do
|
16
|
+
@env[:machine].stub(:id).and_return(MISSING_UUID)
|
17
|
+
|
18
|
+
call
|
19
|
+
|
20
|
+
@env.has_key?(:machine_ssh_info).should be true
|
21
|
+
@env[:machine_ssh_info].should be nil
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'should set the ssh info host to the IP an existing VM' do
|
25
|
+
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
26
|
+
|
27
|
+
call
|
28
|
+
|
29
|
+
@env[:machine_ssh_info][:host].should be IP_ADDRESS
|
30
|
+
end
|
31
31
|
end
|
data/spec/get_state_spec.rb
CHANGED
@@ -1,54 +1,54 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe VagrantPlugins::VSphere::Action::GetState do
|
4
|
-
before :each do
|
5
|
-
@env[:vSphere_connection] = @vim
|
6
|
-
end
|
7
|
-
|
8
|
-
it 'should set state id to not created if machine ID is not set' do
|
9
|
-
call
|
10
|
-
|
11
|
-
@env[:machine_state_id].should be :not_created
|
12
|
-
end
|
13
|
-
|
14
|
-
it 'should set state id to not created if VM is not found' do
|
15
|
-
@env[:machine].stub(:id).and_return(MISSING_UUID)
|
16
|
-
|
17
|
-
call
|
18
|
-
|
19
|
-
@env[:machine_state_id].should be :not_created
|
20
|
-
end
|
21
|
-
|
22
|
-
it 'should set state id to running if machine is powered on' do
|
23
|
-
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
24
|
-
@vm.runtime.stub(:powerState).and_return(described_class::POWERED_ON)
|
25
|
-
|
26
|
-
call
|
27
|
-
|
28
|
-
@env[:machine_state_id].should be :running
|
29
|
-
end
|
30
|
-
|
31
|
-
it 'should set state id to powered off if machine is powered off' do
|
32
|
-
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
33
|
-
@vm.runtime.stub(:powerState).and_return(described_class::POWERED_OFF)
|
34
|
-
|
35
|
-
call
|
36
|
-
|
37
|
-
@env[:machine_state_id].should be :poweroff
|
38
|
-
end
|
39
|
-
|
40
|
-
it 'should set state id to powered off if machine is suspended' do
|
41
|
-
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
42
|
-
@vm.runtime.stub(:powerState).and_return(described_class::SUSPENDED)
|
43
|
-
|
44
|
-
call
|
45
|
-
|
46
|
-
@env[:machine_state_id].should be :poweroff
|
47
|
-
end
|
48
|
-
|
49
|
-
it 'should call the next item in the middleware stack' do
|
50
|
-
call
|
51
|
-
|
52
|
-
@app.should have_received :call
|
53
|
-
end
|
54
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe VagrantPlugins::VSphere::Action::GetState do
|
4
|
+
before :each do
|
5
|
+
@env[:vSphere_connection] = @vim
|
6
|
+
end
|
7
|
+
|
8
|
+
it 'should set state id to not created if machine ID is not set' do
|
9
|
+
call
|
10
|
+
|
11
|
+
@env[:machine_state_id].should be :not_created
|
12
|
+
end
|
13
|
+
|
14
|
+
it 'should set state id to not created if VM is not found' do
|
15
|
+
@env[:machine].stub(:id).and_return(MISSING_UUID)
|
16
|
+
|
17
|
+
call
|
18
|
+
|
19
|
+
@env[:machine_state_id].should be :not_created
|
20
|
+
end
|
21
|
+
|
22
|
+
it 'should set state id to running if machine is powered on' do
|
23
|
+
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
24
|
+
@vm.runtime.stub(:powerState).and_return(described_class::POWERED_ON)
|
25
|
+
|
26
|
+
call
|
27
|
+
|
28
|
+
@env[:machine_state_id].should be :running
|
29
|
+
end
|
30
|
+
|
31
|
+
it 'should set state id to powered off if machine is powered off' do
|
32
|
+
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
33
|
+
@vm.runtime.stub(:powerState).and_return(described_class::POWERED_OFF)
|
34
|
+
|
35
|
+
call
|
36
|
+
|
37
|
+
@env[:machine_state_id].should be :poweroff
|
38
|
+
end
|
39
|
+
|
40
|
+
it 'should set state id to powered off if machine is suspended' do
|
41
|
+
@env[:machine].stub(:id).and_return(EXISTING_UUID)
|
42
|
+
@vm.runtime.stub(:powerState).and_return(described_class::SUSPENDED)
|
43
|
+
|
44
|
+
call
|
45
|
+
|
46
|
+
@env[:machine_state_id].should be :poweroff
|
47
|
+
end
|
48
|
+
|
49
|
+
it 'should call the next item in the middleware stack' do
|
50
|
+
call
|
51
|
+
|
52
|
+
@app.should have_received :call
|
53
|
+
end
|
54
|
+
end
|
data/spec/is_created_spec.rb
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'vSphere/action/is_created'
|
3
|
-
|
4
|
-
describe VagrantPlugins::VSphere::Action::IsCreated do
|
5
|
-
before :each do
|
6
|
-
@env[:vSphere_connection] = @vim
|
7
|
-
end
|
8
|
-
|
9
|
-
it 'should set result to false if the VM does not exist' do
|
10
|
-
@env[:machine].state.stub(:id).and_return(:running)
|
11
|
-
|
12
|
-
call
|
13
|
-
|
14
|
-
@env[:result].should be true
|
15
|
-
end
|
16
|
-
|
17
|
-
it 'should set result to false if the VM does not exist' do
|
18
|
-
@env[:machine].state.stub(:id).and_return(:not_created)
|
19
|
-
|
20
|
-
call
|
21
|
-
|
22
|
-
@env[:result].should be false
|
23
|
-
end
|
24
|
-
|
25
|
-
it 'should call the next item in the middleware stack' do
|
26
|
-
call
|
27
|
-
@app.should have_received :call
|
28
|
-
end
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'vSphere/action/is_created'
|
3
|
+
|
4
|
+
describe VagrantPlugins::VSphere::Action::IsCreated do
|
5
|
+
before :each do
|
6
|
+
@env[:vSphere_connection] = @vim
|
7
|
+
end
|
8
|
+
|
9
|
+
it 'should set result to false if the VM does not exist' do
|
10
|
+
@env[:machine].state.stub(:id).and_return(:running)
|
11
|
+
|
12
|
+
call
|
13
|
+
|
14
|
+
@env[:result].should be true
|
15
|
+
end
|
16
|
+
|
17
|
+
it 'should set result to false if the VM does not exist' do
|
18
|
+
@env[:machine].state.stub(:id).and_return(:not_created)
|
19
|
+
|
20
|
+
call
|
21
|
+
|
22
|
+
@env[:result].should be false
|
23
|
+
end
|
24
|
+
|
25
|
+
it 'should call the next item in the middleware stack' do
|
26
|
+
call
|
27
|
+
@app.should have_received :call
|
28
|
+
end
|
29
29
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,97 +1,98 @@
|
|
1
|
-
require 'rbvmomi'
|
2
|
-
require 'vSphere/errors'
|
3
|
-
require 'vSphere/action'
|
4
|
-
require 'vSphere/action/connect_vsphere'
|
5
|
-
require 'vSphere/action/close_vsphere'
|
6
|
-
require 'vSphere/action/is_created'
|
7
|
-
require 'vSphere/action/get_state'
|
8
|
-
require 'vSphere/action/get_ssh_info'
|
9
|
-
require 'vSphere/action/clone'
|
10
|
-
require 'vSphere/action/message_already_created'
|
11
|
-
require 'vSphere/action/message_not_created'
|
12
|
-
require 'vSphere/action/destroy'
|
13
|
-
require 'vSphere/action/power_off'
|
14
|
-
|
15
|
-
VIM = RbVmomi::VIM
|
16
|
-
|
17
|
-
EXISTING_UUID = 'existing_uuid'
|
18
|
-
MISSING_UUID = 'missing_uuid'
|
19
|
-
NEW_UUID = 'new_uuid'
|
20
|
-
TEMPLATE = 'template'
|
21
|
-
NAME = 'vm'
|
22
|
-
IP_ADDRESS = '127.0.0.1'
|
23
|
-
|
24
|
-
RSpec.configure do |config|
|
25
|
-
config.before(:each) do
|
26
|
-
def call
|
27
|
-
described_class.new(@app, @env).call(@env)
|
28
|
-
end
|
29
|
-
|
30
|
-
provider_config = double(
|
31
|
-
:host => 'testhost.com',
|
32
|
-
:user => 'testuser',
|
33
|
-
:password => 'testpassword',
|
34
|
-
:data_center_name => nil,
|
35
|
-
:compute_resource_name => 'testcomputeresource',
|
36
|
-
:resource_pool_name => 'testresourcepool',
|
37
|
-
:template_name => TEMPLATE,
|
38
|
-
:name => NAME,
|
39
|
-
:insecure => true,
|
40
|
-
:validate => [],
|
41
|
-
:customization_spec_name => nil,
|
42
|
-
:data_store_name => nil,
|
43
|
-
:clone_from_vm => nil
|
44
|
-
|
45
|
-
|
46
|
-
:
|
47
|
-
|
48
|
-
|
49
|
-
@
|
50
|
-
|
51
|
-
:
|
52
|
-
:
|
53
|
-
:
|
54
|
-
:
|
55
|
-
:
|
56
|
-
:id
|
57
|
-
|
58
|
-
|
59
|
-
:
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
:
|
65
|
-
:
|
66
|
-
:
|
67
|
-
:
|
68
|
-
|
69
|
-
|
70
|
-
vm_folder
|
71
|
-
vm_folder.stub(:findByUuid).with(
|
72
|
-
vm_folder.stub(:findByUuid).with(
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
:
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
:
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
customization_spec
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
VIM.stub(:
|
95
|
-
VIM.stub(:
|
96
|
-
|
97
|
-
end
|
1
|
+
require 'rbvmomi'
|
2
|
+
require 'vSphere/errors'
|
3
|
+
require 'vSphere/action'
|
4
|
+
require 'vSphere/action/connect_vsphere'
|
5
|
+
require 'vSphere/action/close_vsphere'
|
6
|
+
require 'vSphere/action/is_created'
|
7
|
+
require 'vSphere/action/get_state'
|
8
|
+
require 'vSphere/action/get_ssh_info'
|
9
|
+
require 'vSphere/action/clone'
|
10
|
+
require 'vSphere/action/message_already_created'
|
11
|
+
require 'vSphere/action/message_not_created'
|
12
|
+
require 'vSphere/action/destroy'
|
13
|
+
require 'vSphere/action/power_off'
|
14
|
+
|
15
|
+
VIM = RbVmomi::VIM
|
16
|
+
|
17
|
+
EXISTING_UUID = 'existing_uuid'
|
18
|
+
MISSING_UUID = 'missing_uuid'
|
19
|
+
NEW_UUID = 'new_uuid'
|
20
|
+
TEMPLATE = 'template'
|
21
|
+
NAME = 'vm'
|
22
|
+
IP_ADDRESS = '127.0.0.1'
|
23
|
+
|
24
|
+
RSpec.configure do |config|
|
25
|
+
config.before(:each) do
|
26
|
+
def call
|
27
|
+
described_class.new(@app, @env).call(@env)
|
28
|
+
end
|
29
|
+
|
30
|
+
provider_config = double(
|
31
|
+
:host => 'testhost.com',
|
32
|
+
:user => 'testuser',
|
33
|
+
:password => 'testpassword',
|
34
|
+
:data_center_name => nil,
|
35
|
+
:compute_resource_name => 'testcomputeresource',
|
36
|
+
:resource_pool_name => 'testresourcepool',
|
37
|
+
:template_name => TEMPLATE,
|
38
|
+
:name => NAME,
|
39
|
+
:insecure => true,
|
40
|
+
:validate => [],
|
41
|
+
:customization_spec_name => nil,
|
42
|
+
:data_store_name => nil,
|
43
|
+
:clone_from_vm => nil,
|
44
|
+
:linked_clone => nil)
|
45
|
+
vm_config = double(
|
46
|
+
:vm => double('config_vm', :synced_folders => [], :provisioners => [], :networks => [[:private_network, {:ip => '0.0.0.0'}]]),
|
47
|
+
:validate => []
|
48
|
+
)
|
49
|
+
@app = double 'app', :call => true
|
50
|
+
@machine = double 'machine',
|
51
|
+
:provider_config => provider_config,
|
52
|
+
:config => vm_config,
|
53
|
+
:state => double('state', :id => nil),
|
54
|
+
:communicate => double('communicator', :ready? => true),
|
55
|
+
:ssh_info => {},
|
56
|
+
:id => nil,
|
57
|
+
:id= => nil
|
58
|
+
@env = {
|
59
|
+
:machine => @machine,
|
60
|
+
:ui => double('ui', :info => nil)
|
61
|
+
}
|
62
|
+
|
63
|
+
@vm = double('vm',
|
64
|
+
:runtime => double('runtime', :powerState => nil),
|
65
|
+
:guest => double('guest', :ipAddress => IP_ADDRESS),
|
66
|
+
:Destroy_Task => double('result', :wait_for_completion => nil),
|
67
|
+
:PowerOffVM_Task => double('result', :wait_for_completion => nil),
|
68
|
+
:PowerOnVM_Task => double('result', :wait_for_completion => nil))
|
69
|
+
|
70
|
+
vm_folder = double('vm_folder')
|
71
|
+
vm_folder.stub(:findByUuid).with(EXISTING_UUID).and_return(@vm)
|
72
|
+
vm_folder.stub(:findByUuid).with(MISSING_UUID).and_return(nil)
|
73
|
+
vm_folder.stub(:findByUuid).with(nil).and_return(nil)
|
74
|
+
|
75
|
+
@data_center = double('data_center',
|
76
|
+
:vmFolder => vm_folder,
|
77
|
+
:find_compute_resource => double('compute resource', :resourcePool => double('pools', :find => {})))
|
78
|
+
|
79
|
+
@template = double('template_vm',
|
80
|
+
:parent => @data_center,
|
81
|
+
:CloneVM_Task => double('result',
|
82
|
+
:wait_for_completion => double('new_vm', :config => double('config', :uuid => NEW_UUID))))
|
83
|
+
|
84
|
+
@data_center.stub(:find_vm).with(TEMPLATE).and_return(@template)
|
85
|
+
|
86
|
+
service_instance = double 'service_instance', :find_datacenter => @data_center
|
87
|
+
@ip = double 'ip', :ipAddress= => nil
|
88
|
+
customization_spec = double 'customization spec', :nicSettingMap => [double('nic setting', :adapter => double('adapter', :ip => @ip))]
|
89
|
+
customization_spec.stub(:clone).and_return(customization_spec)
|
90
|
+
customization_spec_manager = double 'customization spec manager', :GetCustomizationSpec => double('spec info', :spec => customization_spec)
|
91
|
+
service_content = double 'service content', :customizationSpecManager => customization_spec_manager
|
92
|
+
@vim = double 'vim', :serviceInstance => service_instance, :close => true, :serviceContent => service_content
|
93
|
+
|
94
|
+
VIM.stub(:connect).and_return(@vim)
|
95
|
+
VIM.stub(:VirtualMachineRelocateSpec).and_return({})
|
96
|
+
VIM.stub(:VirtualMachineCloneSpec).and_return({})
|
97
|
+
end
|
98
|
+
end
|
data/vSphere.gemspec
CHANGED
@@ -1,28 +1,28 @@
|
|
1
|
-
$:.unshift File.expand_path('../lib', __FILE__)
|
2
|
-
require 'vSphere/version'
|
3
|
-
|
4
|
-
Gem::Specification.new do |s|
|
5
|
-
s.name = 'vagrant-vsphere'
|
6
|
-
s.version = VagrantPlugins::VSphere::VERSION
|
7
|
-
s.authors = ['Andrew Grauch']
|
8
|
-
s.email = ['andrew.grauch@nsidc.org']
|
9
|
-
s.homepage = ''
|
10
|
-
s.license = 'MIT'
|
11
|
-
s.summary = 'VMWare vSphere provider'
|
12
|
-
s.description = 'Enables Vagrant to manage machines with VMWare vSphere.'
|
13
|
-
|
14
|
-
# force the use of Nokogiri 1.5.10 to prevent conflicts with older versions of zlib
|
15
|
-
s.add_dependency 'nokogiri', '1.5.10'
|
16
|
-
s.add_dependency 'rbvmomi'
|
17
|
-
s.add_dependency 'i18n', '~> 0.6.4'
|
18
|
-
|
19
|
-
s.add_development_dependency 'rake'
|
20
|
-
s.add_development_dependency 'rspec-core'
|
21
|
-
s.add_development_dependency 'rspec-expectations'
|
22
|
-
s.add_development_dependency 'rspec-mocks'
|
23
|
-
|
24
|
-
s.files = `git ls-files`.split($/)
|
25
|
-
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
26
|
-
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
27
|
-
s.require_path = 'lib'
|
1
|
+
$:.unshift File.expand_path('../lib', __FILE__)
|
2
|
+
require 'vSphere/version'
|
3
|
+
|
4
|
+
Gem::Specification.new do |s|
|
5
|
+
s.name = 'vagrant-vsphere'
|
6
|
+
s.version = VagrantPlugins::VSphere::VERSION
|
7
|
+
s.authors = ['Andrew Grauch']
|
8
|
+
s.email = ['andrew.grauch@nsidc.org']
|
9
|
+
s.homepage = ''
|
10
|
+
s.license = 'MIT'
|
11
|
+
s.summary = 'VMWare vSphere provider'
|
12
|
+
s.description = 'Enables Vagrant to manage machines with VMWare vSphere.'
|
13
|
+
|
14
|
+
# force the use of Nokogiri 1.5.10 to prevent conflicts with older versions of zlib
|
15
|
+
s.add_dependency 'nokogiri', '1.5.10'
|
16
|
+
s.add_dependency 'rbvmomi'
|
17
|
+
s.add_dependency 'i18n', '~> 0.6.4'
|
18
|
+
|
19
|
+
s.add_development_dependency 'rake'
|
20
|
+
s.add_development_dependency 'rspec-core'
|
21
|
+
s.add_development_dependency 'rspec-expectations'
|
22
|
+
s.add_development_dependency 'rspec-mocks'
|
23
|
+
|
24
|
+
s.files = `git ls-files`.split($/)
|
25
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
26
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
27
|
+
s.require_path = 'lib'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-vsphere
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Andrew Grauch
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-12-31 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: nokogiri
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rbvmomi
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: i18n
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: rake
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ! '>='
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :development
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ! '>='
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: rspec-core
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ! '>='
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :development
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ! '>='
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,6 +94,7 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: rspec-expectations
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - ! '>='
|
88
100
|
- !ruby/object:Gem::Version
|
@@ -90,6 +102,7 @@ dependencies:
|
|
90
102
|
type: :development
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - ! '>='
|
95
108
|
- !ruby/object:Gem::Version
|
@@ -97,6 +110,7 @@ dependencies:
|
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: rspec-mocks
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
115
|
- - ! '>='
|
102
116
|
- !ruby/object:Gem::Version
|
@@ -104,6 +118,7 @@ dependencies:
|
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
123
|
- - ! '>='
|
109
124
|
- !ruby/object:Gem::Version
|
@@ -157,26 +172,27 @@ files:
|
|
157
172
|
homepage: ''
|
158
173
|
licenses:
|
159
174
|
- MIT
|
160
|
-
metadata: {}
|
161
175
|
post_install_message:
|
162
176
|
rdoc_options: []
|
163
177
|
require_paths:
|
164
178
|
- lib
|
165
179
|
required_ruby_version: !ruby/object:Gem::Requirement
|
180
|
+
none: false
|
166
181
|
requirements:
|
167
182
|
- - ! '>='
|
168
183
|
- !ruby/object:Gem::Version
|
169
184
|
version: '0'
|
170
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
+
none: false
|
171
187
|
requirements:
|
172
188
|
- - ! '>='
|
173
189
|
- !ruby/object:Gem::Version
|
174
190
|
version: '0'
|
175
191
|
requirements: []
|
176
192
|
rubyforge_project:
|
177
|
-
rubygems_version:
|
193
|
+
rubygems_version: 1.8.23
|
178
194
|
signing_key:
|
179
|
-
specification_version:
|
195
|
+
specification_version: 3
|
180
196
|
summary: VMWare vSphere provider
|
181
197
|
test_files:
|
182
198
|
- spec/action_spec.rb
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
Zjc3MmNmZjFiNTY5YzE1OGZjZWY4ZDZjMGU2MWE0MmU1YWJhY2EyNg==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
Zjk0OTM0ZGRjYjQ4Y2FlYWViOWNjYTEwOWI4MjljOTNhMWNiZjAwOA==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
Yjc2NWRkYTg4Y2RlM2MwYWE3N2MyNDk3MmE5NTY3YWE0NDRkYjJkMmYyY2Qx
|
10
|
-
ZWQxZTMzOTI1ZWMxYTNjMjdhNzgyNWFkMDYyMTgxZTdhNWM1YjY5YzE4NTFh
|
11
|
-
NjY4NWI4MDhlMzk1NGM0NTFhY2Y4ZmVjZjlmZmUxOGNhNjhjNmU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZmUwZThkNDNjOTVmNDExNjMyNDQwN2I3OTBhZDE3NTZiYjYyNWYxNGJjN2Vl
|
14
|
-
ZjAzMDQ4NTZkZTI3ZmRmMTBhNzMyNzBjM2NmOWJjOTY3NDY4ZTRmMTFkOTUw
|
15
|
-
YmRlYmQxYjkxMzExN2ZjYjNkNjYwY2NhMWE1NGE2ZmU4NDljYjE=
|