lib/benchmark_driver/runner/block.rb in benchmark_driver-0.14.21 vs lib/benchmark_driver/runner/block.rb in benchmark_driver-0.14.22
- old
+ new
@@ -7,10 +7,10 @@
# JobParser returns this, `BenchmarkDriver::Runner.runner_for` searches "*::Job"
Job = Class.new(BenchmarkDriver::DefaultJob)
# Dynamically fetched and used by `BenchmarkDriver::JobParser.parse`
JobParser = BenchmarkDriver::DefaultJobParser.for(klass: Job, metrics: [METRIC]).extend(Module.new{
- def parse(*)
+ def parse(**)
jobs = super
jobs.map do |job|
job = job.dup
job.prelude = "#{job.prelude}\n__bmdv_script_block = proc { #{job.script} }"
job.script = '__bmdv_script_block.call'