vagrant-vsphere 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: dbf3adf0b1b6557ba02de8c8db3bc54b59d5f1a1
4
+ data.tar.gz: f76c3939f0e3d8ac4c854da9ddebc5ded7ad1601
5
+ SHA512:
6
+ metadata.gz: ec0fd7c91b8bdc79494a08858730d4d1deca2b2aa533a185f730dfe81bfba0cdbdf643702a26702e257d9c7590a3cc492ce956ff879e1caf72748c5fb8a9ac57
7
+ data.tar.gz: 42dd453bc35d91a257ca54cc4b0329c0ec5b8cc41b9db74baf4422502feccfc251a2100317428d7e46b219d4ae8e04cff8b0856600eddbd33d7236636670dfb1
data/.gitignore CHANGED
@@ -3,6 +3,4 @@
3
3
  Vagrantfile
4
4
  pkg/*
5
5
  *.box
6
- Gemfile.lock
7
- .bundle/*
8
- vendor/*
6
+ Gemfile.lock
data/Gemfile CHANGED
@@ -6,5 +6,11 @@ group :development do
6
6
  # We depend on Vagrant for development, but we don't add it as a
7
7
  # gem dependency because we expect to be installed within the
8
8
  # Vagrant environment itself using `vagrant plugin`.
9
- gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag=>'v1.4.3'
9
+
10
+ if RUBY_VERSION < "2.0.0" then
11
+ puts "Found old ruby #{RUBY_VERSION}, using old vagrant (v1.4.3)"
12
+ gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git', :tag => 'v1.4.3'
13
+ else
14
+ gem 'vagrant', :git => 'git://github.com/mitchellh/vagrant.git'
15
+ end
10
16
  end
data/README.md CHANGED
@@ -12,9 +12,9 @@ This provider is built on top of the [RbVmomi](https://github.com/vmware/rbvmomi
12
12
  * libxml2, libxml2-dev, libxslt, libxslt-dev
13
13
 
14
14
  ## Current Version
15
- **0.7.1**
15
+ **0.7.2**
16
16
 
17
- vagrant-vsphere (0.7.1) is available from [RubyGems.org](https://rubygems.org/)
17
+ vagrant-vsphere (0.7.2) is available from [RubyGems.org](https://rubygems.org/)
18
18
 
19
19
  ## Installation
20
20
 
@@ -146,6 +146,11 @@ This is useful if running Vagrant from multiple directories or if multiple machi
146
146
  * fixes rsync error reporting
147
147
  * updates locales yaml
148
148
  * restricts rbvmomi dependency
149
+ * 0.7.2
150
+ * includes template in get_location (from: tim95030 fixes issue #38)
151
+ * updates Gemfile to fall back to old version of vagrant for if ruby < 2.0.0 is available.
152
+
153
+
149
154
 
150
155
 
151
156
  ## Versioning
@@ -25,7 +25,7 @@ module VagrantPlugins
25
25
  raise Error::VSphereError, :message => I18n.t('vsphere.errors.missing_template') if template.nil?
26
26
 
27
27
  begin
28
- location = get_location connection, machine, config
28
+ location = get_location connection, machine, config, template
29
29
  spec = RbVmomi::VIM.VirtualMachineCloneSpec :location => location, :powerOn => true, :template => false
30
30
  customization_info = get_customization_spec_info_by_name connection, machine
31
31
 
@@ -73,7 +73,7 @@ module VagrantPlugins
73
73
  customization_spec
74
74
  end
75
75
 
76
- def get_location(connection, machine, config)
76
+ def get_location(connection, machine, config, template)
77
77
  if config.linked_clone
78
78
  # The API for linked clones is quite strange. We can't create a linked
79
79
  # straight from any VM. The disks of the VM for which we can create a
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '0.7.1'
3
+ VERSION = '0.7.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
5
- prerelease:
4
+ version: 0.7.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Andrew Grauch
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-03-17 00:00:00.000000000 Z
11
+ date: 2014-04-08 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: nokogiri
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rbvmomi
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: i18n
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,65 +55,57 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rspec-core
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - '>='
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - '>='
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rspec-expectations
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - '>='
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - '>='
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rspec-mocks
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - '>='
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - '>='
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  description: Enables Vagrant to manage machines with VMWare vSphere.
@@ -172,33 +157,26 @@ files:
172
157
  homepage: ''
173
158
  licenses:
174
159
  - MIT
160
+ metadata: {}
175
161
  post_install_message:
176
162
  rdoc_options: []
177
163
  require_paths:
178
164
  - lib
179
165
  required_ruby_version: !ruby/object:Gem::Requirement
180
- none: false
181
166
  requirements:
182
- - - ! '>='
167
+ - - '>='
183
168
  - !ruby/object:Gem::Version
184
169
  version: '0'
185
- segments:
186
- - 0
187
- hash: -20572808865558022
188
170
  required_rubygems_version: !ruby/object:Gem::Requirement
189
- none: false
190
171
  requirements:
191
- - - ! '>='
172
+ - - '>='
192
173
  - !ruby/object:Gem::Version
193
174
  version: '0'
194
- segments:
195
- - 0
196
- hash: -20572808865558022
197
175
  requirements: []
198
176
  rubyforge_project:
199
- rubygems_version: 1.8.23
177
+ rubygems_version: 2.0.3
200
178
  signing_key:
201
- specification_version: 3
179
+ specification_version: 4
202
180
  summary: VMWare vSphere provider
203
181
  test_files:
204
182
  - spec/action_spec.rb