diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-15 21:59:37 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-15 21:59:37 +0000 |
commit | 9c66bad9f3d522d50d4a45ef8a3a92abbf93229f (patch) | |
tree | 8fc1ae219e41bdd711442b1d35149da4f45dfa8a /lib/rake/file_list.rb | |
parent | bfc95c6e1639edc909338ef4d20d990caf6f630e (diff) |
* 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
Diffstat (limited to 'lib/rake/file_list.rb')
-rw-r--r-- | lib/rake/file_list.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |