diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-15 22:32:34 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-15 22:32:34 +0000 |
commit | 1b023030a88a35118875b068a1fd725c58a32083 (patch) | |
tree | 07bbdc25e71d98bfa4091f617d82fc87541364c5 /lib/rake/application.rb | |
parent | e9c28d0fce1fa34bd83e910273981190932ebf63 (diff) | |
download | ruby-1b023030a88a35118875b068a1fd725c58a32083.tar.gz |
* 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
Diffstat (limited to 'lib/rake/application.rb')
-rw-r--r-- | lib/rake/application.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/rake/application.rb b/lib/rake/application.rb index 50930938bf..54796312d8 100644 --- a/lib/rake/application.rb +++ b/lib/rake/application.rb @@ -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 |