ruby-changes:3542
From: ko1@a...
Date: Mon, 14 Jan 2008 10:59:13 +0900 (JST)
Subject: [ruby-changes:3542] nobu - Ruby:r15032 (trunk): * lib/rake/ruby182_test_unit_fix.rb: removed.
nobu 2008-01-14 10:59:03 +0900 (Mon, 14 Jan 2008)
New Revision: 15032
Removed files:
trunk/lib/rake/ruby182_test_unit_fix.rb
Modified files:
trunk/lib/rake/testtask.rb
Log:
* lib/rake/ruby182_test_unit_fix.rb: removed.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rake/ruby182_test_unit_fix.rb
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/lib/rake/testtask.rb?r1=15032&r2=15031&diff_format=u
Index: lib/rake/ruby182_test_unit_fix.rb
===================================================================
--- lib/rake/ruby182_test_unit_fix.rb (revision 15031)
+++ lib/rake/ruby182_test_unit_fix.rb (revision 15032)
@@ -1,23 +0,0 @@
-module Test
- module Unit
- module Collector
- class Dir
- undef collect_file
- def collect_file(name, suites, already_gathered)
- # loadpath = $:.dup
- 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{|t| add_suite(suites, t.suite)}
- ensure
- # $:.replace(loadpath)
- $:.delete_at $:.rindex(dir)
- end
- end
- end
- end
-end
Index: lib/rake/testtask.rb
===================================================================
--- lib/rake/testtask.rb (revision 15031)
+++ lib/rake/testtask.rb (revision 15032)
@@ -136,12 +136,7 @@
end
def fix # :nodoc:
- case RUBY_VERSION
- when '1.8.2'
- find_file 'rake/ruby182_test_unit_fix'
- else
- nil
- end || ''
+ ''
end
def rake_loader # :nodoc:
--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/