rubysh 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/rubysh/subprocess.rb +3 -1
- data/lib/rubysh/version.rb +1 -1
- metadata +3 -3
data/lib/rubysh/subprocess.rb
CHANGED
|
@@ -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
|
-
|
|
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
|
data/lib/rubysh/version.rb
CHANGED
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.
|
|
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:
|
|
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:
|
|
154
|
+
hash: 737846493172444945
|
|
155
155
|
requirements: []
|
|
156
156
|
rubyforge_project:
|
|
157
157
|
rubygems_version: 1.8.23
|