Sha256: 6d44d0be792987392ab568008db2505398b64c7598c9451d5de8d02e8427690c

Contents?: true

Size: 897 Bytes

Versions: 262

Compression:

Stored size: 897 Bytes

Contents

# TODO: Remove in rake 11

# Local Rake override to fix bug in Ruby 0.8.2
module Test                     # :nodoc:
  # Local Rake override to fix bug in Ruby 0.8.2
  module Unit                   # :nodoc:
    # Local Rake override to fix bug in Ruby 0.8.2
    module Collector            # :nodoc:
      # Local Rake override to fix bug in Ruby 0.8.2
      class Dir                 # :nodoc:
        undef collect_file
        def collect_file(name, suites, already_gathered) # :nodoc:
          dir = File.dirname(File.expand_path(name))
          $:.unshift(dir) unless $:.first == dir
          if @req
            @req.require(name)
          else
            require(name)
          end
          find_test_cases(already_gathered).each do |t|
            add_suite(suites, t.suite)
          end
        ensure
          $:.delete_at $:.rindex(dir)
        end
      end
    end
  end
end

Version data entries

262 entries across 211 versions & 64 rubygems

Version Path
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
spec_fill-0.1.2 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
spec_fill-0.1.1 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
spec_fill-0.1.0 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
saikouda-0.1.0 vendor/bundle/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
nabea2-0.1.2 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
nabea2-0.1.1 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
nabea2-0.1.0 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
hatena_bookmark_client_for_ruby-0.1.3 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
hatena_bookmark_client_for_ruby-0.1.2 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb
hatena_bookmark_client_for_ruby-0.1.0 vendor/bundle/ruby/2.6.0/gems/rake-10.5.0/lib/rake/ruby182_test_unit_fix.rb