diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 09:57:53 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-08-24 09:57:53 +0000 |
commit | 320553cda48fac77e8cc2284b10b0f091a51722e (patch) | |
tree | a6cd8b6ecfb5e2f52f04cbbe29e4fd9f3adbd59e /lib | |
parent | a9d73d360df0d3bc6b738cb10858ae63f24f847a (diff) | |
download | ruby-320553cda48fac77e8cc2284b10b0f091a51722e.tar.gz ruby-320553cda48fac77e8cc2284b10b0f091a51722e.tar.xz ruby-320553cda48fac77e8cc2284b10b0f091a51722e.zip |
* test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string.
* lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize):
initialize @workdir to stop warning.
* lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block):
replace funcall by send!. other files in the distribution as well.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/drb/drb.rb | 2 | ||||
-rw-r--r-- | lib/net/imap.rb | 10 | ||||
-rw-r--r-- | lib/net/smtp.rb | 2 | ||||
-rw-r--r-- | lib/test/unit/autorunner.rb | 1 |
4 files changed, 8 insertions, 7 deletions
diff --git a/lib/drb/drb.rb b/lib/drb/drb.rb index d62fead59..e7686801f 100644 --- a/lib/drb/drb.rb +++ b/lib/drb/drb.rb @@ -1553,7 +1553,7 @@ module DRb end ary.collect(&@obj)[0] else - @obj.funcall(@msg_id, *@argv) + @obj.send!(@msg_id, *@argv) end end diff --git a/lib/net/imap.rb b/lib/net/imap.rb index c6be5030b..b8239a8ab 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -1231,7 +1231,7 @@ module Net class RawData # :nodoc: def send_data(imap) - imap.funcall(:put_string, @data) + imap.send!(:put_string, @data) end private @@ -1243,7 +1243,7 @@ module Net class Atom # :nodoc: def send_data(imap) - imap.funcall(:put_string, @data) + imap.send!(:put_string, @data) end private @@ -1255,7 +1255,7 @@ module Net class QuotedString # :nodoc: def send_data(imap) - imap.funcall(:send_quoted_string, @data) + imap.send!(:send_quoted_string, @data) end private @@ -1267,7 +1267,7 @@ module Net class Literal # :nodoc: def send_data(imap) - imap.funcall(:send_literal, @data) + imap.send!(:send_literal, @data) end private @@ -1279,7 +1279,7 @@ module Net class MessageSet # :nodoc: def send_data(imap) - imap.funcall(:put_string, format_internal(@data)) + imap.send!(:put_string, format_internal(@data)) end private diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 3c69846d1..58cce32a7 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -719,7 +719,7 @@ module Net def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE) check_auth_method authtype check_auth_args user, secret - funcall auth_method(authtype), user, secret + send! auth_method(authtype), user, secret end def auth_plain(user, secret) diff --git a/lib/test/unit/autorunner.rb b/lib/test/unit/autorunner.rb index dadf080d1..861b50e00 100644 --- a/lib/test/unit/autorunner.rb +++ b/lib/test/unit/autorunner.rb @@ -81,6 +81,7 @@ module Test @filters = [] @to_run = [] @output_level = UI::NORMAL + @workdir = false yield(self) if(block_given?) end |