train-core 3.2.22 → 3.2.23
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/train/extras/command_wrapper.rb +2 -3
- data/lib/train/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8833b9ed7f5a514eeea468cfa0864297f20a189310da62c63adbdb97ff6c68bb
|
|
4
|
+
data.tar.gz: f059ae5832a58daa8d45da3a27816097e8eabb7728f63207e4ef94a9fb4b161e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4d7fb1e26cb9a08eb9ce0c854dae087f732b804e1b8f8ba226c0c52b7e9a2214f1ebdd630597de3da28c5c65546a7bb5873225ecd314b16ee9ae7ca7a565a0e4
|
|
7
|
+
data.tar.gz: 4d89339a331457c22b45fe6ace83efcf7ca93b57c506d8cb4cd84179b4e553afb257242ca2e0976de73da715f11dbf24634f0c69c43a742b7a4b77a590bab166
|
|
@@ -55,11 +55,10 @@ module Train::Extras
|
|
|
55
55
|
|
|
56
56
|
# (see CommandWrapperBase::verify)
|
|
57
57
|
def verify
|
|
58
|
+
# Do nothing, successfully. Don't use "true", that's not available on Windows.
|
|
58
59
|
cmd = if @sudo
|
|
59
60
|
# Wrap it up. It needs /dev/null on the outside to disable stdin
|
|
60
|
-
|
|
61
|
-
# See test-kitchen's use of this variable for conflict.
|
|
62
|
-
"sh -c '(sudo -v) < /dev/null'"
|
|
61
|
+
"sh -c '(#{run("echo")}) < /dev/null'"
|
|
63
62
|
else
|
|
64
63
|
run("echo")
|
|
65
64
|
end
|
data/lib/train/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: train-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.2.
|
|
4
|
+
version: 3.2.23
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Chef InSpec Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-02
|
|
11
|
+
date: 2020-03-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|