test-kitchen 3.2.1 → 3.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/kitchen/configurable.rb +1 -1
- data/lib/kitchen/errors.rb +13 -0
- data/lib/kitchen/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b57d5ccdfe054fcd290b2a6f4490f92e626d93d3b7c7bdc8704b3029e723392
|
|
4
|
+
data.tar.gz: 4d20fdf60ea362f63918232cf57bcbaebc8cc61d5732d71a80cbbf20961a057e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: adc9ea69942bc0938b8da3340ae0abe1ce78f409170c9d3e1d081179121db9508d072fb18232982e16e377d8f5bddbee9b90b887c22cc9039729b3cdc5daf494
|
|
7
|
+
data.tar.gz: eb8caaaf52882d104ff01f46283325f5455cfaf4f0e8a8a4cfa4792430dac560c2fb556727f8cc9f0fc6af877ba06fee687f763b58c0f3f17cac77841526f968
|
data/lib/kitchen/configurable.rb
CHANGED
|
@@ -241,7 +241,7 @@ module Kitchen
|
|
|
241
241
|
#{deprecated_config.keys.join("\n")}
|
|
242
242
|
Run 'kitchen doctor' for details.
|
|
243
243
|
MSG
|
|
244
|
-
|
|
244
|
+
Error.warn_on_stderr(warning)
|
|
245
245
|
|
|
246
246
|
# Set global var that the deprecation message has been printed
|
|
247
247
|
@@has_been_warned_of_deprecations = true
|
data/lib/kitchen/errors.rb
CHANGED
|
@@ -94,6 +94,19 @@ module Kitchen
|
|
|
94
94
|
"".center(22, "-"),
|
|
95
95
|
]
|
|
96
96
|
end
|
|
97
|
+
|
|
98
|
+
# Log a warn message on STDERR device.
|
|
99
|
+
# This will help to distinguish between the errors and
|
|
100
|
+
# output when parsing the output from the commands like
|
|
101
|
+
# kitchen diagnose.
|
|
102
|
+
#
|
|
103
|
+
# @params lines [Array<String>] Array of lines that needs to be printed
|
|
104
|
+
def self.warn_on_stderr(lines)
|
|
105
|
+
Array(lines).each do |line|
|
|
106
|
+
line = Color.colorize(line, :blue) if Kitchen.tty?
|
|
107
|
+
$stderr.puts(line)
|
|
108
|
+
end
|
|
109
|
+
end
|
|
97
110
|
end
|
|
98
111
|
|
|
99
112
|
# Base exception class from which all Kitchen exceptions derive. This class
|
data/lib/kitchen/version.rb
CHANGED
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: 3.2.
|
|
4
|
+
version: 3.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fletcher Nichol
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-12-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mixlib-shellout
|
|
@@ -520,7 +520,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
520
520
|
- !ruby/object:Gem::Version
|
|
521
521
|
version: '0'
|
|
522
522
|
requirements: []
|
|
523
|
-
rubygems_version: 3.2.
|
|
523
|
+
rubygems_version: 3.2.32
|
|
524
524
|
signing_key:
|
|
525
525
|
specification_version: 4
|
|
526
526
|
summary: Test Kitchen is an integration tool for developing and testing infrastructure
|