fog-vsphere 1.2.0 → 1.2.1

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: a8f624e20813963c149bbc3431f915c5a64253ca
4
- data.tar.gz: bd06d1bf3e396c00ee9c440b4d4f6fa513845dda
3
+ metadata.gz: 6d8e6836c13feda39e1f46992eafc08a60dbb8da
4
+ data.tar.gz: 16bc4dc653e2c267e015e17e913bc46516a787e3
5
5
  SHA512:
6
- metadata.gz: 60bddac43701180f347749259cc99346ad6b1f9b6d5345829ead5bcee5142bbb10ffdee03422726096545d2a69c50737ef07d725cac7e4bc0353a306835d3ebf
7
- data.tar.gz: 419b957fc118175d7f60b54cbfae755ebca6c8802923105a748b79e30730f2227259489a7036c3488adcebff420943d74c7040cf537283cdaa3dce7eef12e68c
6
+ metadata.gz: 7ab34afc360f50ff3bd8bcfd5fd0bf210ce7e9e3ef240ffecff12998317debfd93fc817992dd8c32e2fffdc038a702901c6c55c94a7de578aa997d01d87ba3fa
7
+ data.tar.gz: 9684f71d729781700205e9f3705c4b8c5fe89d58b8d7ba3cb1de3315ccd9acb42dbab17bceab1a3a2124cf3565078fa717c3b0da04525b0bfaf4711970a196f5
@@ -45,6 +45,7 @@
45
45
  * Nick Huanuca <nhuanca@pingidentity.com>
46
46
  * Ohad Levy <ohadlevy@gmail.com>
47
47
  * Ohad Levy <ohadlevy@redhat.com>
48
+ * Ondrej Prazak <oprazak@redhat.com>
48
49
  * Oscar Elfving <sofam84@gmail.com>
49
50
  * Paul Thornthwaite <paul@brightbox.co.uk>
50
51
  * Paul Thornthwaite <tokengeek@gmail.com>
@@ -509,15 +509,14 @@ module Fog
509
509
  custom_adapter.primaryWINS = nic['adapter']['primaryWINS'] if nic['adapter'].key?('primaryWINS')
510
510
  custom_adapter.secondaryWINS = nic['adapter']['secondaryWINS'] if nic['adapter'].key?('secondaryWINS')
511
511
  custom_adapter.subnetMask = nic['adapter']['subnetMask'] if nic['adapter'].key?('subnetMask')
512
-
512
+
513
513
  custom_adapter_mapping = RbVmomi::VIM::CustomizationAdapterMapping(:adapter => custom_adapter)
514
514
  custom_adapter_mapping.macAddress = nic['macAddress'] if nic.key?('macAddress')
515
515
 
516
- # build the adapters array, creates it if not already created, otherwise appends to it
517
- custom_nicSettingMap << custom_adapter_mapping
516
+ # build the adapters array
517
+ custom_nicSettingMap << custom_adapter_mapping
518
518
  end
519
519
  end
520
- custom_nicSettingMap = nil if custom_nicSettingMap.length < 1
521
520
 
522
521
  if custom_spec.key?("options")
523
522
  # https://pubs.vmware.com/vsphere-55/index.jsp#com.vmware.wssdk.apiref.doc/vim.vm.customization.Options.html
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module Vsphere
3
- VERSION = '1.2.0'
3
+ VERSION = '1.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - J.R. Garcia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-23 00:00:00.000000000 Z
11
+ date: 2016-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-core