From 9c66bad9f3d522d50d4a45ef8a3a92abbf93229f Mon Sep 17 00:00:00 2001 From: drbrain Date: Thu, 15 Nov 2012 21:59:37 +0000 Subject: * lib/rake*: Updated to rake 0.9.3 * test/rake*: ditto * bin/rake: ditto * NEWS: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rake/file_list.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rake/file_list.rb') diff --git a/lib/rake/file_list.rb b/lib/rake/file_list.rb index e49ccd0147..b74ecac4cc 100644 --- a/lib/rake/file_list.rb +++ b/lib/rake/file_list.rb @@ -286,7 +286,7 @@ module Rake matched = 0 each do |fn| begin - open(fn, "r:ascii-8bit", *options) do |inf| + open(fn, "r", *options) do |inf| count = 0 inf.each do |line| count += 1 @@ -340,7 +340,7 @@ module Rake # Add matching glob patterns. def add_matching(pattern) - Dir[pattern].each do |fn| + Rake.glob(pattern).each do |fn| self << fn unless exclude?(fn) end end -- cgit v1.2.3