knife-vsphere 4.1.4 → 4.1.7

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
  SHA256:
3
- metadata.gz: 9b3da3f22e30951524d12b891b2a9b8453530c67c889eb4072db702a628d8228
4
- data.tar.gz: bd700fdf09e80f68913538e31e4e0d7932c6f655f3da97326483f8d2e07063bb
3
+ metadata.gz: d8ef728753d00bcdd877a55ab41d58ff589c4622d709d29273c871eb62a4b635
4
+ data.tar.gz: 4bb5af7041b86d33d8c5ee687bb03c970935177ec2a46edc2b55650a28a2207e
5
5
  SHA512:
6
- metadata.gz: a3e90db9d4a8d421d4796eb6f76adf6534c312403c2bba379acd4ab7ef80088eb12ada90d8475e494493543ff5bf7138e0f622ea17e47fc3fceaf69051350470
7
- data.tar.gz: 38b4ad4dbd307fb243efd6c9e46d4ddafbd84eb3f92d608cae87ab71702e886508192f089be35bb26f7a8c867995fe69d2d3459162cb56d219694a2b93aae826
6
+ metadata.gz: a6fdc5b8badf253dcecc15212e408c5bb01f4881dd8155e8f587dcbf992bbffcece0876dbafbde67fcf8d60e997f52c7bb6b304505060137501445beaabecaff
7
+ data.tar.gz: 481e6a0fa022b8315bd67f2c66c19fde321e20bee6e525e9bfcfc0f0fc2ae71cdedb34e9c57527ec4647cf3be6f5094e49b16ad1f3259d78121ba393421d7b3c
@@ -23,9 +23,9 @@ class Chef
23
23
  deps do
24
24
  require "rbvmomi"
25
25
  Chef::Knife::Bootstrap.load_deps
26
- require "base64"
26
+ require "base64" unless defined?(Base64)
27
27
  require "filesize"
28
- require "socket"
28
+ require "socket" unless defined?(Socket)
29
29
  require "net/ssh/multi"
30
30
  require "readline"
31
31
  require "chef/json_compat"
@@ -8,7 +8,7 @@ class Chef::Knife::VsphereHostsList < Chef::Knife::BaseVsphereCommand
8
8
 
9
9
  deps do
10
10
  Chef::Knife::BaseVsphereCommand.load_deps
11
- require "netaddr"
11
+ require "netaddr" unless defined?(NetAddr)
12
12
  end
13
13
 
14
14
  common_options
@@ -7,7 +7,7 @@ class Chef::Knife::VspherePoolQuery < Chef::Knife::BaseVsphereCommand
7
7
 
8
8
  deps do
9
9
  Chef::Knife::BaseVsphereCommand.load_deps
10
- require "netaddr"
10
+ require "netaddr" unless defined?(NetAddr)
11
11
  end
12
12
 
13
13
  common_options
@@ -6,7 +6,7 @@ class Chef::Knife::VspherePoolShow < Chef::Knife::BaseVsphereCommand
6
6
 
7
7
  deps do
8
8
  Chef::Knife::BaseVsphereCommand.load_deps
9
- require "netaddr"
9
+ require "netaddr" unless defined?(NetAddr)
10
10
  end
11
11
 
12
12
  common_options
@@ -15,9 +15,9 @@ class Chef::Knife::VsphereVmClone < Chef::Knife::BaseVsphereCommand
15
15
 
16
16
  deps do
17
17
  Chef::Knife::BaseVsphereCommand.load_deps
18
- require "ipaddr"
19
- require "netaddr"
20
- require "securerandom"
18
+ require "ipaddr" unless defined?(IPAddr)
19
+ require "netaddr" unless defined?(NetAddr)
20
+ require "securerandom" unless defined?(SecureRandom)
21
21
  require "chef/json_compat"
22
22
 
23
23
  require_relative "helpers/search_helper"
@@ -25,7 +25,7 @@ class Chef::Knife::VsphereVmNetworkAdd < Chef::Knife::BaseVsphereCommand
25
25
  required: false
26
26
 
27
27
  deps do
28
- require "netaddr"
28
+ require "netaddr" unless defined?(NetAddr)
29
29
  end
30
30
 
31
31
  common_options
@@ -1,5 +1,5 @@
1
1
  # The main knife-vsphere module.
2
2
  module KnifeVsphere
3
3
  # The version of this gem.
4
- VERSION = "4.1.4".freeze
4
+ VERSION = "4.1.7".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-vsphere
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.4
4
+ version: 4.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezra Pagel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-31 00:00:00.000000000 Z
11
+ date: 2020-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: netaddr