train-core 3.2.27 → 3.2.28

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: '0294ba420fc7a8186d1e22a77ea60a4ad747d10d6e92606b76d1c78f7bd687cb'
4
- data.tar.gz: ba6e6b7c0992ec69db612c7d935b89e5582e818e013d09474604eb496ba1edfc
3
+ metadata.gz: 3cfdc185e0d7c0d0b9271fb1ccd626cac1ef57d56988660727f1b04fa2551446
4
+ data.tar.gz: a9a030b0fd0bd204d2fa3e628dbffe182a52bbf75e4382fbd44de8dba684ac35
5
5
  SHA512:
6
- metadata.gz: 0040ab59e434093b9d37e8fb275261de763085445735a39b183c9b41c8b9f7acac7e1a98aa7da56e49a95d56f72da07d75d5f5a12a61c8339c8c9a5faef21ba3
7
- data.tar.gz: d7cd7b1bf445175ab96e3ee80f7de6557867b6cb9d8efc60526359d0a1ffecc5877c88ad79816fea34a5b429c1c9480bd26bb97e23c2612c4e3e536b19b4b7a7
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 "Sorry, try again"
75
+ when /Sorry, try again/
76
76
  ["Wrong sudo password.", :bad_sudo_password]
77
- when "sudo: no tty present and no askpass program specified"
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 "sudo: command not found"
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 "sudo: sorry, you must have a tty to run sudo"
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
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = "3.2.27".freeze
6
+ VERSION = "3.2.28".freeze
7
7
  end
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.27
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-08 00:00:00.000000000 Z
11
+ date: 2020-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable