vagrant-vsphere 1.13.2 → 1.13.3.pre1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8fe4d60f89f372adb57340679097c6eae9e210d9
4
- data.tar.gz: 957d8893b8656a3448708454753ec7bee07807d7
3
+ metadata.gz: 3ac0325a549b6d8059de42d01e0192b3f244f400
4
+ data.tar.gz: 35cebd7994e92a391f824dd95196320b1b188078
5
5
  SHA512:
6
- metadata.gz: 6d5c30dc85efe858778bf29a9096e28fd2f2b4f3d914a9fdedd30862e2acc159f5162da71192ee3940d27ac9a7a3d363367da44f001d3af856f0163f185ed3cf
7
- data.tar.gz: f122779c53c3934cad09b12f7efcfd61f242faf1dbe6b5fce265cf7e658520f9ae90ce52863ff3567b9105855e877ef8e3afc8a10db9990031ef1362f0aa609b
6
+ metadata.gz: 0e6ccfa11091c0225c5a952412f3210fb7484a4f4c1a556a45b1d16186ad0a1ddad371a8d8d1cb91d995c2422929b880ed0315c50cb2e685434e8b713731c680
7
+ data.tar.gz: f63e2c93e64e9c4f3e52521c2062c3409db3ae54e0382fb2ef4b9aa6920fadb435a6a34d9cb9e5d91ef0cae8d1f0577cbde699abe458343afa312c7e75f22943
@@ -1,5 +1,5 @@
1
1
  [bumpversion]
2
- current_version = 1.13.2
2
+ current_version = 1.13.3.pre1
3
3
  tag = true
4
4
  commit = true
5
5
 
@@ -22,7 +22,13 @@ module VagrantPlugins
22
22
  return vm.guest.ipAddress unless machine.provider_config.real_nic_ip
23
23
 
24
24
  interfaces = vm.guest.net.select { |g| g.deviceConfigId > 0 }
25
- ip_addresses = interfaces.map { |i| i.ipConfig.ipAddress.select { |a| a.state == 'preferred' } }.flatten
25
+ ip_addresses = interfaces.map do |i|
26
+ begin
27
+ i.ipConfig.ipAddress.select { |a| a.state == 'preferred' }
28
+ rescue NoMethodError
29
+ nil
30
+ end
31
+ end.flatten.compact
26
32
 
27
33
  return (vm.guest.ipAddress || nil) if ip_addresses.empty?
28
34
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module VSphere
3
- VERSION = '1.13.2'
3
+ VERSION = '1.13.3.pre1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.2
4
+ version: 1.13.3.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Grauch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-06 00:00:00.000000000 Z
11
+ date: 2018-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -214,9 +214,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  version: '0'
215
215
  required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  requirements:
217
- - - ">="
217
+ - - ">"
218
218
  - !ruby/object:Gem::Version
219
- version: '0'
219
+ version: 1.3.1
220
220
  requirements: []
221
221
  rubyforge_project:
222
222
  rubygems_version: 2.5.2.1