knife-cloud 4.0.2 → 4.0.4

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: ab894f4c13f8b1a6d3c12528fdaab52966a1a7190a0ac2d513c03b8c868f9721
4
- data.tar.gz: dedf79aebeee5a7d3c55d8363850891b1f0821a2d98569ec40f63abe5632673f
3
+ metadata.gz: 2d5c65f6de0c5da79309759a3728153d7febe21011e2137902264edb84e8f554
4
+ data.tar.gz: acdce0d3a3d78fb1e2c39f7b57dfc1c74440e0d566572b2db1bf2198b7598f93
5
5
  SHA512:
6
- metadata.gz: 12d02e53f211b9824c5dbb0e8bc0bec8630437cc9d6de8d88842fba4bb3e5f6c227e4bedd9894a8d6e959f85d03aa9281b480935f57e98e640df80b11545ccf9
7
- data.tar.gz: 2363fdea3d79b36750aa598a79cdff9ee3b8f1e59899af2f0ff916aeedcae992ecb6d3d2982ca86ebd97b59f8dde2c23ece4af61c930305dfebf90f9360b9243
6
+ metadata.gz: 739fdb670c5c07a9ed9be3fd4b11898413d4d0e16731cf1dbb567e6563223e5cc1175d068797ea05f7b67b018c77378888f7775b72926d54c2a943088aa02377
7
+ data.tar.gz: b3265b7ebc445b56806c5ad13a3fa90e9e6d90906197d4838e0d1996b72ba466c28eec4ad85f8c22070eb66b77d3be50bfaee600bfdb21d6ece83facbe7c30cd
@@ -30,8 +30,8 @@ class Chef
30
30
 
31
31
  deps do
32
32
  require "chef/json_compat"
33
- require "tempfile"
34
- require "net/ssh"
33
+ require "tempfile" unless defined?(Tempfile)
34
+ require "net/ssh" unless defined?(Net::SSH)
35
35
  require "chef/knife/ssh"
36
36
  Chef::Knife::Ssh.load_deps
37
37
  end
@@ -31,7 +31,7 @@ class Chef
31
31
  end
32
32
 
33
33
  def load_winrm_deps
34
- require "winrm"
34
+ require "winrm" unless defined?(WinRM::Connection)
35
35
  require "chef/knife/core/windows_bootstrap_context"
36
36
  end
37
37
 
@@ -1,6 +1,6 @@
1
1
  module Knife
2
2
  module Cloud
3
- VERSION = "4.0.2".freeze
3
+ VERSION = "4.0.4".freeze
4
4
  MAJOR, MINOR, TINY = VERSION.split(".")
5
5
  end
6
6
  end
@@ -1,6 +1,6 @@
1
- require "securerandom"
2
- require "tmpdir"
3
- require "fileutils"
1
+ require "securerandom" unless defined?(SecureRandom)
2
+ require "tmpdir" unless defined?(Dir.mktmpdir)
3
+ require "fileutils" unless defined?(FileUtils)
4
4
  require File.expand_path(File.dirname(__FILE__) + "/knife_test_utils")
5
5
  require File.expand_path(File.dirname(__FILE__) + "/matchers")
6
6
 
@@ -1,4 +1,4 @@
1
- require "mixlib/shellout"
1
+ require "mixlib/shellout" unless defined?(Mixlib::ShellOut)
2
2
 
3
3
  module RSpec
4
4
  module KnifeTestUtils
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knife-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaustubh Deorukhkar
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-07-15 00:00:00.000000000 Z
12
+ date: 2020-08-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: chef