lib/tork/config/spec/worker.rb in tork-19.8.2 vs lib/tork/config/spec/worker.rb in tork-19.9.0

- old
+ new

@@ -3,10 +3,10 @@ RSpec::Core::Version::STRING rescue LoadError, NameError # ignore end -if $tork_test_file.start_with? 'spec/' and $tork_line_numbers.any? +if $tork_line_numbers.any? and $tork_test_file =~ $tork_config_spec_grep if rspec_version and rspec_version >= '3.0' ARGV.push [$tork_test_file, *$tork_line_numbers].join(':') else $tork_line_numbers.each do |line| ARGV.push '--line_number', line.to_s