lib/pork/mode/shuffled.rb in pork-1.4.4 vs lib/pork/mode/shuffled.rb in pork-1.5.0
- old
+ new
@@ -1,10 +1,9 @@
-require 'pork/isolate'
-
module Pork
module Shuffled
def shuffled stat=Stat.new, paths=all_paths
+ stat.prepare(paths)
paths.shuffle.inject(stat, &method(:isolate))
end
end
Executor.extend(Shuffled)