parallel_tests 0.11.4 → 0.11.5
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/Gemfile.lock +1 -1
- data/lib/parallel_tests/test/runner.rb +3 -5
- data/lib/parallel_tests/version.rb +1 -1
- metadata +3 -3
data/Gemfile.lock
CHANGED
@@ -64,7 +64,8 @@ module ParallelTests
|
|
64
64
|
cmd = "#{exports};#{cmd}"
|
65
65
|
|
66
66
|
output, errput, exitstatus = nil
|
67
|
-
|
67
|
+
|
68
|
+
if RUBY_VERSION =~ /^1\.8/ or ENV["TEAMCITY_RAKE_RUNNER_MODE"] # fix #207
|
68
69
|
open("|#{cmd}", "r") do |output|
|
69
70
|
output, errput = capture_output(output, nil, silence)
|
70
71
|
end
|
@@ -125,10 +126,7 @@ module ParallelTests
|
|
125
126
|
begin
|
126
127
|
read = input.readpartial(1000000) # read whatever chunk we can get
|
127
128
|
results[index] << read
|
128
|
-
if index == 1 || !silence
|
129
|
-
output.print read
|
130
|
-
output.flush
|
131
|
-
end
|
129
|
+
output.print read if index == 1 || !silence
|
132
130
|
rescue EOFError
|
133
131
|
raise if index == 0 # we only care about the end of stdout
|
134
132
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: parallel_tests
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -96,7 +96,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
96
96
|
version: '0'
|
97
97
|
segments:
|
98
98
|
- 0
|
99
|
-
hash:
|
99
|
+
hash: 3716285998925814124
|
100
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
101
101
|
none: false
|
102
102
|
requirements:
|
@@ -105,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
segments:
|
107
107
|
- 0
|
108
|
-
hash:
|
108
|
+
hash: 3716285998925814124
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
111
|
rubygems_version: 1.8.25
|