rubysh 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -134,7 +134,7 @@ module Rubysh
134
134
  @exec_status.dump_json_and_close(msg)
135
135
  # Note: atexit handlers will fire in this case. May want to do
136
136
  # something about that.
137
- raise
137
+ exit(1)
138
138
  end
139
139
  end
140
140
 
@@ -149,6 +149,8 @@ module Rubysh
149
149
  else
150
150
  @exec_error = Rubysh::Error::BaseError.new("Invalid message received over the exec_status pipe: #{msg.inspect}")
151
151
  end
152
+
153
+ raise @exec_error if @exec_error
152
154
  end
153
155
  end
154
156
  end
@@ -1,3 +1,3 @@
1
1
  module Rubysh
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubysh
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -142,7 +142,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  segments:
144
144
  - 0
145
- hash: 4577335666745550264
145
+ hash: 737846493172444945
146
146
  required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  none: false
148
148
  requirements:
@@ -151,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  version: '0'
152
152
  segments:
153
153
  - 0
154
- hash: 4577335666745550264
154
+ hash: 737846493172444945
155
155
  requirements: []
156
156
  rubyforge_project:
157
157
  rubygems_version: 1.8.23