train 3.0.1 → 3.0.2

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: 56414a1d391e0ec6270aa9c1eb8ca6290853b29c625c3d50c470137b926f1310
4
- data.tar.gz: 9d2c8c113e94437e2f1bf83aaa95f3026d7cd73730dc454bb20df119b6b62696
3
+ metadata.gz: 4c3894547b585c3286a8fda9cd855bf54e0dafae11783320311741726775f079
4
+ data.tar.gz: 87df8817f2cc6259a7f1445fd7f0d2b00b923d05e432892854d814c86ca7d87d
5
5
  SHA512:
6
- metadata.gz: fdbc3b04c1c952e349745b46f9ec48b59584e3d6fdc017a9f8c25803921ff1148258746028b14df37f54a17d6797f2079429ea64985081beb665aa61a8e8bf55
7
- data.tar.gz: 5274d2b0c833dd4d3644eac562b89b56516e3476c74788e946c492428375ee4e26ff9e986e40cc1222972eeeca868e83a43f6886ee6c0b4292b865d371578f9e
6
+ metadata.gz: 65f63c1d55720378e88485c17b12cc8653d60ca91f71b83947ad296d06fb31415a0f56d1d11d67a6b246038661996905e6552c7f47d62c461717e163ce2541ab
7
+ data.tar.gz: b1cde7a1ea69ba0810cc1ac8b35d846a57197e0acd6db5b82946a27f406300bed76f69ab6950a91794b933ce39dea2a653ecb9bc7c2bd7b0f371526ecd64be99
@@ -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}", reason
172
+ msg, _reason = verification_res
173
+ raise Train::UserError, "Sudo failed: #{msg}"
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.1".freeze
6
+ VERSION = "3.0.2".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.1
4
+ version: 3.0.2
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-06 00:00:00.000000000 Z
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json