train 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: cd36160ed5b3b0fa8b2438edc6f7747dfa5f7ed159b8ddcb93bf998e064606fa
|
4
|
+
data.tar.gz: c676d7fe7703fd39e557e003cc995a02a52d223c1dea1e7cf94db77ca0e90356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23ec80fdd4e13921f06cc2b288a55f951eb977c8127db09f364f3c5eeebfcb1f0f4df31fe1123c50b17f7d67c2d6c6df6c5795116edbcb8fd043b2230e6d71c2
|
7
|
+
data.tar.gz: 278d82b9b2203c0af3672ebd391a948f7e87fb3c36821d297a29602bef96368ecae994e2145688d8ce7e0a6d9bb24cb474e1392c7b888ac402cca925a0ffccbc
|
@@ -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
|
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
|