ruby-changes:6416
From: shyouhei <ko1@a...>
Date: Mon, 7 Jul 2008 16:21:24 +0900 (JST)
Subject: [ruby-changes:6416] Ruby:r17932 (ruby_1_8_6): merge revision(s) 17839:
shyouhei 2008-07-07 16:21:13 +0900 (Mon, 07 Jul 2008) New Revision: 17932 Modified files: branches/ruby_1_8_6/ChangeLog branches/ruby_1_8_6/lib/net/smtp.rb branches/ruby_1_8_6/version.h Log: merge revision(s) 17839: * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of 'localhost.localdomain'. [ruby-dev:35333] * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=17932 Index: ruby_1_8_6/ChangeLog =================================================================== --- ruby_1_8_6/ChangeLog (revision 17931) +++ ruby_1_8_6/ChangeLog (revision 17932) @@ -1,3 +1,10 @@ +Mon Jul 7 16:14:05 2008 Yukihiro Matsumoto <matz@r...> + + * lib/net/smtp.rb (Net::SMTP::start): use 'localhost' instead of + 'localhost.localdomain'. [ruby-dev:35333] + + * lib/net/smtp.rb (Net::SMTP::SMTP.start): ditto. + Mon Jul 7 12:07:28 2008 Masaki Suketa <masaki.suketa@n...> * ext/win32ole/win32ole.c: avoid creating Ruby object during Index: ruby_1_8_6/version.h =================================================================== --- ruby_1_8_6/version.h (revision 17931) +++ ruby_1_8_6/version.h (revision 17932) @@ -2,7 +2,7 @@ #define RUBY_RELEASE_DATE "2008-07-07" #define RUBY_VERSION_CODE 186 #define RUBY_RELEASE_CODE 20080707 -#define RUBY_PATCHLEVEL 268 +#define RUBY_PATCHLEVEL 269 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 8 Index: ruby_1_8_6/lib/net/smtp.rb =================================================================== --- ruby_1_8_6/lib/net/smtp.rb (revision 17931) +++ ruby_1_8_6/lib/net/smtp.rb (revision 17932) @@ -289,7 +289,7 @@ # +port+ is the port to connect to; it defaults to port 25. # # +helo+ is the _HELO_ _domain_ provided by the client to the - # server (see overview comments); it defaults to 'localhost.localdomain'. + # server (see overview comments); it defaults to 'localhost'. # # The remaining arguments are used for SMTP authentication, if required # or desired. +user+ is the account name; +secret+ is your password @@ -310,7 +310,7 @@ # * TimeoutError # def SMTP.start( address, port = nil, - helo = 'localhost.localdomain', + helo = 'localhost', user = nil, secret = nil, authtype = nil, &block) # :yield: smtp new(address, port).start(helo, user, secret, authtype, &block) @@ -371,7 +371,7 @@ # * IOError # * TimeoutError # - def start( helo = 'localhost.localdomain', + def start( helo = 'localhost', user = nil, secret = nil, authtype = nil ) # :yield: smtp if block_given? begin -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/