train-core 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/train/extras/command_wrapper.rb +2 -2
- 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: ff278846198210c45fe05daa6eaff50e05f71057bdae9e37c787bac254baa44c
|
4
|
+
data.tar.gz: 52fb5e70145c39ae35d6d6cfea4771a49b8fe4a6cdcdea1c0d3e7e2876e09d1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a76bbe2ff1923a243bfef8b788519e75533bc6697a9cc2b4a52dcec26accd6d6d7d184b3fcbc03b0210404775065972c30e4acd43b7c07e4d0807ffc6264a8a
|
7
|
+
data.tar.gz: eeadedc9f8afbddbe64a4e4f69821dbe976dde40c18bc7248ec34887cadab2911c4ad4c615effac0d5fc91f1d1fe81d0372b82135640e41c5bc132f3583123a5
|
@@ -169,8 +169,8 @@ module Train::Extras
|
|
169
169
|
res = LinuxCommand.new(transport, options)
|
170
170
|
verification_res = res.verify
|
171
171
|
if verification_res
|
172
|
-
msg,
|
173
|
-
raise Train::UserError
|
172
|
+
msg, reason = verification_res
|
173
|
+
raise Train::UserError.new("Sudo failed: #{msg}", reason)
|
174
174
|
end
|
175
175
|
res
|
176
176
|
elsif transport.platform.windows?
|
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.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominik Richter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|