rails-profiler 0.44.21 → 0.44.22
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/app/assets/builds/profiler.js +6 -6
- data/lib/profiler/test_runner/runner.rb +3 -3
- data/lib/profiler/version.rb +1 -1
- metadata +1 -1
|
@@ -165,11 +165,11 @@ module Profiler
|
|
|
165
165
|
Profiler::TestRunner.run_store.update(run.id, pid: io.pid)
|
|
166
166
|
|
|
167
167
|
begin
|
|
168
|
-
while (chunk = io.
|
|
169
|
-
break if chunk.empty?
|
|
170
|
-
|
|
168
|
+
while (chunk = io.readpartial(4096))
|
|
171
169
|
Profiler::TestRunner.run_store.append_output(run.id, chunk)
|
|
172
170
|
end
|
|
171
|
+
rescue EOFError
|
|
172
|
+
# End of stream reached
|
|
173
173
|
ensure
|
|
174
174
|
# The process printed everything, killed or not: what was held back can be shown.
|
|
175
175
|
Profiler::TestRunner.run_store.finish_output(run.id)
|
data/lib/profiler/version.rb
CHANGED