Sha256: 468f1802df74a2cef57c6d80ef49644f1bfb53d50cfe4eff6c20405c7f44c7c5

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

rspec_version = begin
  require 'rspec/core/version'
  RSpec::Core::Version::STRING
rescue LoadError, NameError
  # ignore
end

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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tork-20.0.1 lib/tork/config/spec/worker.rb
tork-20.0.0 lib/tork/config/spec/worker.rb
tork-19.11.1 lib/tork/config/spec/worker.rb
tork-19.10.0 lib/tork/config/spec/worker.rb
tork-19.9.0 lib/tork/config/spec/worker.rb