ruby-changes:11741
From: matz <ko1@a...>
Date: Mon, 11 May 2009 08:56:47 +0900 (JST)
Subject: [ruby-changes:11741] Ruby:r23387 (trunk): * lib/net/smtp.rb (Net::SMTP#check_auth_args): should not change
matz 2009-05-11 08:56:22 +0900 (Mon, 11 May 2009) New Revision: 23387 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=23387 Log: * lib/net/smtp.rb (Net::SMTP#check_auth_args): should not change number of methods for the sake of compatibility. Modified files: trunk/ChangeLog trunk/lib/net/smtp.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 23386) +++ ChangeLog (revision 23387) @@ -1,3 +1,8 @@ +Mon May 11 04:39:45 2009 Yukihiro Matsumoto <matz@r...> + + * lib/net/smtp.rb (Net::SMTP#check_auth_args): should not change + number of methods for the sake of compatibility. + Sun May 10 11:36:11 2009 Nobuyoshi Nakada <nobu@r...> * ext/dl/cfunc.c (rb_dlcfunc_instance_p): new function to check if Index: lib/net/smtp.rb =================================================================== --- lib/net/smtp.rb (revision 23386) +++ lib/net/smtp.rb (revision 23387) @@ -769,7 +769,7 @@ "auth_#{type.to_s.downcase}".intern end - def check_auth_args(user, secret) + def check_auth_args(user, secret, authtype = DEFAULT_AUTH_TYPE) unless user raise ArgumentError, 'SMTP-AUTH requested but missing user name' end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/