lib/pork/mode/parallel.rb in pork-1.4.4 vs lib/pork/mode/parallel.rb in pork-1.5.0

- old
+ new

@@ -6,9 +6,10 @@ def cores 8 end def parallel stat=Stat.new, paths=all_paths + stat.prepare(paths) paths.shuffle.each_slice(cores).map do |paths_slice| Thread.new do execute(:shuffled, Stat.new(stat.reporter, stat.protected_exceptions), paths_slice)