lib/benchmark_driver/rbenv.rb in benchmark_driver-0.15.7 vs lib/benchmark_driver/rbenv.rb in benchmark_driver-0.15.8
- old
+ new
@@ -9,10 +9,10 @@
abort "Failed to execute 'rbenv which ruby'"
end
path
end
- # @param [String] full_spec - "2.5.0", "2.5.0,--jit", "JIT::2.5.0,--jit", etc.
+ # @param [String] full_spec - "2.5.0", "2.5.0 --jit", "JIT::2.5.0 --jit", etc.
def self.parse_spec(full_spec)
name, spec = full_spec.split('::', 2)
spec ||= name # if `::` is not given, regard whole string as spec
version, *args = spec.shellsplit
BenchmarkDriver::Config::Executable.new(