From 0f6e6c8bbc4dd37868336019669582059edfda3f Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 22 Dec 2008 02:41:28 +0000 Subject: [PATCH] * lib/rake.rb (Rake::MultiTask): invoke_prerequisites should be private. a patch from okkez in [ruby-dev:37399] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 3 +++ lib/rake.rb | 1 + 2 files changed, 4 insertions(+) diff --git a/ChangeLog b/ChangeLog index aa514e7528..dcb34e573d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -60,6 +60,9 @@ Sat Dec 20 15:34:36 2008 Yukihiro Matsumoto encoding, e.g. FileList['*.rb'].egrep(/require/, encoding: "ascii-8bit") + * lib/rake.rb (Rake::MultiTask): invoke_prerequisites should be + private. a patch from okkez in [ruby-dev:37399] + Sat Dec 20 10:59:16 2008 Yuki Sonoda (Yugui) * lib/irb/locale.rb (IRB::Locale#initialize) diff --git a/lib/rake.rb b/lib/rake.rb index 63412b1531..a0685b4ab2 100755 --- a/lib/rake.rb +++ b/lib/rake.rb @@ -802,6 +802,7 @@ module Rake # parallel using Ruby threads. # class MultiTask < Task + private def invoke_prerequisites(args, invocation_chain) threads = @prerequisites.collect { |p| Thread.new(p) { |r| application[r].invoke_with_call_chain(args, invocation_chain) }