test-kitchen 2.4.0 → 2.5.0

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: 13209f8ae2db3d98eefbf14798a6ac583d867ce4f8e0dd19615ed6a2bdc3b2a7
4
- data.tar.gz: 9e4300e69c3873ef2310381ab3c4f52349683bf1635afa4ce7464d89d33c1874
3
+ metadata.gz: 16b0681a5bd595ed8f8ee5725ba989e5bfa4b7efb779cf87111408e28b6e676e
4
+ data.tar.gz: 61f44e79785bc67b7625f90b10540103c53dd3b019b2574ac54dafec99ad98ae
5
5
  SHA512:
6
- metadata.gz: f40db4a968197d9102ba4a651ce6dce9b5557cc6498a5fca8529fb0cad9c5467d99f3340f99ed6d25f1424c95edd3dda2676a16ea98ddc556d69514e6e7d9b9b
7
- data.tar.gz: 14ea562a570a3263111942233bc5bbd53aba4c75128284a8e84e295c612612b86293036cf7d56f9b5860a486d5f3d450b92934334c81cc6eb6b21754ae9ae8de
6
+ metadata.gz: 0c35a63439332192b1d3bb200c10bab08863924b9df033796348f8cdde3fd7db7c399dca2089dec475686813c2f5b2be1ad3f00ab20d3416d4e60dd4bd413993
7
+ data.tar.gz: 901c84feb84e15e9e83af8d33ed7c72ecb567bd11f0250eba2aa9ae368841ff07cb4b96cf49c64a5d723407c1d2c27e25dad93ec2792655ae8ca393110a34e2a
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ group :integration do
10
10
  end
11
11
 
12
12
  group :changelog do
13
- gem "github_changelog_generator", "1.15.0"
13
+ gem "github_changelog_generator", "1.15.2"
14
14
  end
15
15
 
16
16
  group :debug do
@@ -69,6 +69,7 @@ module Kitchen
69
69
  README.* VERSION metadata.{json,rb} attributes.rb recipe.rb
70
70
  attributes/**/* definitions/**/* files/**/* libraries/**/*
71
71
  providers/**/* recipes/**/* resources/**/* templates/**/*
72
+ ohai/**/*
72
73
  ).join(",")
73
74
  # to ease upgrades, allow the user to turn deprecation warnings into errors
74
75
  default_config :deprecations_as_errors, false
@@ -106,13 +106,17 @@ module Kitchen
106
106
 
107
107
  if config[:arguments] && !config[:arguments].empty?
108
108
  if config[:arguments].is_a?(Array)
109
- script = Shellwords.join([script] + config[:arguments])
109
+ if powershell_shell?
110
+ script = ([script] + config[:arguments]).join(" ")
111
+ else
112
+ script = Shellwords.join([script] + config[:arguments])
113
+ end
110
114
  else
111
115
  script.concat(" ").concat(config[:arguments].to_s)
112
116
  end
113
117
  end
114
118
 
115
- code = powershell_shell? ? %{& "#{script}"} : sudo(script)
119
+ code = powershell_shell? ? %{& #{script}} : sudo(script)
116
120
 
117
121
  prefix_command(wrap_shell_code(code))
118
122
  end
@@ -17,5 +17,5 @@
17
17
  # limitations under the License.
18
18
 
19
19
  module Kitchen
20
- VERSION = "2.4.0".freeze
20
+ VERSION = "2.5.0".freeze
21
21
  end
data/test-kitchen.gemspec CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |gem|
24
24
  gem.required_ruby_version = ">= 2.3"
25
25
 
26
26
  gem.add_dependency "mixlib-shellout", ">= 1.2", "< 4.0"
27
- gem.add_dependency "net-scp", ">= 1.1", "< 3.0" # pinning until we can confirm 3+ works
28
- gem.add_dependency "net-ssh", ">= 2.9", "< 6.0" # pinning until we can confirm 6+ works
27
+ gem.add_dependency "net-scp", ">= 1.1", "< 4.0" # pinning until we can confirm 4+ works
28
+ gem.add_dependency "net-ssh", ">= 2.9", "< 7.0" # pinning until we can confirm 7+ works
29
29
  gem.add_dependency "net-ssh-gateway", ">= 1.2", "< 3.0" # pinning until we can confirm 3+ works
30
30
  gem.add_dependency "ed25519", "~> 1.2" # ed25519 ssh key support
31
31
  gem.add_dependency "bcrypt_pbkdf", "~> 1.0" # ed25519 ssh key support
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: test-kitchen
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fletcher Nichol
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-04 00:00:00.000000000 Z
11
+ date: 2020-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout
@@ -39,7 +39,7 @@ dependencies:
39
39
  version: '1.1'
40
40
  - - "<"
41
41
  - !ruby/object:Gem::Version
42
- version: '3.0'
42
+ version: '4.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -49,7 +49,7 @@ dependencies:
49
49
  version: '1.1'
50
50
  - - "<"
51
51
  - !ruby/object:Gem::Version
52
- version: '3.0'
52
+ version: '4.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: net-ssh
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '2.9'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '6.0'
62
+ version: '7.0'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '2.9'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '6.0'
72
+ version: '7.0'
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: net-ssh-gateway
75
75
  requirement: !ruby/object:Gem::Requirement