ztk 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ztk/command.rb +1 -6
- data/lib/ztk/version.rb +1 -1
- metadata +3 -3
data/lib/ztk/command.rb
CHANGED
@@ -155,17 +155,12 @@ module ZTK
|
|
155
155
|
end
|
156
156
|
|
157
157
|
Process.waitpid(pid)
|
158
|
+
exit_code = $?.exitstatus
|
158
159
|
direct_log(:debug) { log_header("STOPPED") }
|
159
160
|
|
160
161
|
parent_stdout_reader.close
|
161
162
|
parent_stderr_reader.close
|
162
163
|
|
163
|
-
if RUBY_VERSION >= "1.9"
|
164
|
-
exit_code = $?.exitstatus
|
165
|
-
else
|
166
|
-
exit_code = $?
|
167
|
-
end
|
168
|
-
|
169
164
|
config.logger.debug { "exit_code(#{exit_code})" }
|
170
165
|
|
171
166
|
if !config.ignore_exit_status && (exit_code != options.exit_code)
|
data/lib/ztk/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ztk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -216,7 +216,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
216
216
|
version: '0'
|
217
217
|
segments:
|
218
218
|
- 0
|
219
|
-
hash:
|
219
|
+
hash: 2970796941377044564
|
220
220
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
221
|
none: false
|
222
222
|
requirements:
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
version: '0'
|
226
226
|
segments:
|
227
227
|
- 0
|
228
|
-
hash:
|
228
|
+
hash: 2970796941377044564
|
229
229
|
requirements: []
|
230
230
|
rubyforge_project:
|
231
231
|
rubygems_version: 1.8.24
|