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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c3894547b585c3286a8fda9cd855bf54e0dafae11783320311741726775f079
4
- data.tar.gz: 87df8817f2cc6259a7f1445fd7f0d2b00b923d05e432892854d814c86ca7d87d
3
+ metadata.gz: cd36160ed5b3b0fa8b2438edc6f7747dfa5f7ed159b8ddcb93bf998e064606fa
4
+ data.tar.gz: c676d7fe7703fd39e557e003cc995a02a52d223c1dea1e7cf94db77ca0e90356
5
5
  SHA512:
6
- metadata.gz: 65f63c1d55720378e88485c17b12cc8653d60ca91f71b83947ad296d06fb31415a0f56d1d11d67a6b246038661996905e6552c7f47d62c461717e163ce2541ab
7
- data.tar.gz: b1cde7a1ea69ba0810cc1ac8b35d846a57197e0acd6db5b82946a27f406300bed76f69ab6950a91794b933ce39dea2a653ecb9bc7c2bd7b0f371526ecd64be99
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, _reason = verification_res
173
- raise Train::UserError, "Sudo failed: #{msg}"
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?
@@ -3,5 +3,5 @@
3
3
  # Author:: Dominik Richter (<dominik.richter@gmail.com>)
4
4
 
5
5
  module Train
6
- VERSION = "3.0.2".freeze
6
+ VERSION = "3.0.3".freeze
7
7
  end
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.2
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-13 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json