1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rake*: Updated to rake 0.9.4

http://rake.rubyforge.org/doc/release_notes/rake-0_9_4_rdoc.html for
  a list of changes in 0.9.4.
* test/rake*:  ditto
* NEWS:  ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2012-11-15 22:32:34 +00:00
parent e9c28d0fce
commit 1b023030a8
13 changed files with 90 additions and 28 deletions

View file

@ -2,6 +2,7 @@ require 'shellwords'
require 'optparse'
require 'rake/task_manager'
require 'rake/file_list'
require 'rake/thread_pool'
require 'rake/thread_history_display'
require 'rake/win32'
@ -204,7 +205,7 @@ module Rake
def have_rakefile
@rakefiles.each do |fn|
if File.exist?(fn)
others = Rake.glob(fn, File::FNM_CASEFOLD)
others = FileList.glob(fn, File::FNM_CASEFOLD)
return others.size == 1 ? others.first : fn
elsif fn == ''
return fn
@ -609,7 +610,7 @@ module Rake
end
def glob(path, &block)
Rake.glob(path.gsub("\\", '/')).each(&block)
FileList.glob(path.gsub("\\", '/')).each(&block)
end
private :glob