train-core 3.2.27 → 3.2.28
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 +4 -4
- 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: 3cfdc185e0d7c0d0b9271fb1ccd626cac1ef57d56988660727f1b04fa2551446
|
|
4
|
+
data.tar.gz: a9a030b0fd0bd204d2fa3e628dbffe182a52bbf75e4382fbd44de8dba684ac35
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 821492e02d6b61f758b5e5532474bf24d3751f8d0eb1a6632b752151b337d832ad5206afa895496c6c21f2ea713eb27c5aba7af091daaab9a145536c88f6d8c5
|
|
7
|
+
data.tar.gz: e52413eef52213b2ba746a60b3ac56771a230ce56e00dc7ae83225c8b46e1ad6ff8cb1125d0536b20a930b8210e4c0fdbc827a92ed903a052d907bf786cfa8ea
|
|
@@ -72,14 +72,14 @@ module Train::Extras
|
|
|
72
72
|
rawerr = "#{res.stdout} #{res.stderr}".strip
|
|
73
73
|
|
|
74
74
|
case rawerr
|
|
75
|
-
when
|
|
75
|
+
when /Sorry, try again/
|
|
76
76
|
["Wrong sudo password.", :bad_sudo_password]
|
|
77
|
-
when
|
|
77
|
+
when /sudo: no tty present and no askpass program specified/
|
|
78
78
|
["Sudo requires a password, please configure it.", :sudo_password_required]
|
|
79
|
-
when
|
|
79
|
+
when /sudo: command not found/
|
|
80
80
|
["Can't find sudo command. Please either install and "\
|
|
81
81
|
"configure it on the target or deactivate sudo.", :sudo_command_not_found]
|
|
82
|
-
when
|
|
82
|
+
when /sudo: sorry, you must have a tty to run sudo/
|
|
83
83
|
["Sudo requires a TTY. Please see the README on how to configure "\
|
|
84
84
|
"sudo to allow for non-interactive usage.", :sudo_no_tty]
|
|
85
85
|
else
|
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.28
|
|
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-04-
|
|
11
|
+
date: 2020-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|