train-core 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: fc412482ed0f718b661526c4322fb9820f78a00cc6ae134016a26c2760678875
4
- data.tar.gz: 15f5e5fb64c8a5ae82f00998c77c0e8022ee3c7f4e29224e15025638278e7e3f
3
+ metadata.gz: f63512b4f95a28d3c79c222c734ad3bff847e164b05352832bc9da532b3f84e5
4
+ data.tar.gz: 8501799371f1f1d19fd1752c87c3651b88d91302c6893639a2bd5bece0d46247
5
5
  SHA512:
6
- metadata.gz: 2d2095822f7c5fac05329fb14f39f16c0da669441990dffef2614fe6549d9b520adba18063538b40a5960a54dbc3fd711452ae9530d4387b5f40f366d93aaaf7
7
- data.tar.gz: 8854eb8744b9046c8c166b9e6d162fa6deb2e311adf2db8f2670706f066907564f5b6ad9876fde9a9fd6eab94392bc3deb9bb8a321f005e2a808b7e635d7a1dc
6
+ metadata.gz: 5bac93b4a2642ea624d07d5d4bc16be523c5942d0640a55619288314541a07dfa8167640fb1adc207b895a5709e0820dee34deb41f3afec74bdf75bd8f8d2922
7
+ data.tar.gz: 0c0b5e194dcc65263b12c66aa274bc5034522fc00a7e7868f45237aedb0dc96d2d0ff2486cda98fc4fa6b363ca989f2b86d1bd8468af35beaf4f5b7bb0f58cdf
@@ -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-core
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