ztk 0.2.6 → 0.2.7

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.
Files changed (3) hide show
  1. data/lib/ztk/command.rb +1 -6
  2. data/lib/ztk/version.rb +1 -1
  3. metadata +3 -3
@@ -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)
@@ -19,5 +19,5 @@
19
19
  ################################################################################
20
20
 
21
21
  module ZTK
22
- VERSION = "0.2.6" unless const_defined?(:VERSION)
22
+ VERSION = "0.2.7" unless const_defined?(:VERSION)
23
23
  end
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.6
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: -2261439734103096284
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: -2261439734103096284
228
+ hash: 2970796941377044564
229
229
  requirements: []
230
230
  rubyforge_project:
231
231
  rubygems_version: 1.8.24