thor-ssh 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,7 +22,7 @@ module ThorSsh
22
22
  stderr_data = stderr.read.strip
23
23
  end
24
24
 
25
- exit_code = status.exitstatus
25
+ exit_code = status ? status.exitstatus : 0
26
26
 
27
27
  return stdout_data, stderr_data, exit_code, exit_signal
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module ThorSsh
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor-ssh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -207,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
207
207
  version: '0'
208
208
  segments:
209
209
  - 0
210
- hash: 2812887104444648608
210
+ hash: -3424361872212654297
211
211
  required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  none: false
213
213
  requirements:
@@ -216,7 +216,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
216
216
  version: '0'
217
217
  segments:
218
218
  - 0
219
- hash: 2812887104444648608
219
+ hash: -3424361872212654297
220
220
  requirements: []
221
221
  rubyforge_project:
222
222
  rubygems_version: 1.8.22