ruby-changes:6419
From: shyouhei <ko1@a...>
Date: Mon, 7 Jul 2008 16:22:06 +0900 (JST)
Subject: [ruby-changes:6419] Ruby:r17934 (ruby_1_8_7): merge revision(s) 17839:
shyouhei 2008-07-07 16:21:51 +0900 (Mon, 07 Jul 2008)
New Revision: 17934
Modified files:
branches/ruby_1_8_7/ChangeLog
branches/ruby_1_8_7/lib/net/smtp.rb
branches/ruby_1_8_7/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=17934
Index: ruby_1_8_7/ChangeLog
===================================================================
--- ruby_1_8_7/ChangeLog (revision 17933)
+++ ruby_1_8_7/ChangeLog (revision 17934)
@@ -1,3 +1,10 @@
+Mon Jul 7 16:21:38 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 15:02:13 2008 Nobuyoshi Nakada <nobu@r...>
* eval.c (rb_longjmp): duplicate the thrown exception to set backtrace
Index: ruby_1_8_7/version.h
===================================================================
--- ruby_1_8_7/version.h (revision 17933)
+++ ruby_1_8_7/version.h (revision 17934)
@@ -2,7 +2,7 @@
#define RUBY_RELEASE_DATE "2008-07-07"
#define RUBY_VERSION_CODE 187
#define RUBY_RELEASE_CODE 20080707
-#define RUBY_PATCHLEVEL 49
+#define RUBY_PATCHLEVEL 50
#define RUBY_VERSION_MAJOR 1
#define RUBY_VERSION_MINOR 8
Index: ruby_1_8_7/lib/net/smtp.rb
===================================================================
--- ruby_1_8_7/lib/net/smtp.rb (revision 17933)
+++ ruby_1_8_7/lib/net/smtp.rb (revision 17934)
@@ -437,7 +437,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
@@ -457,7 +457,7 @@
# * IOError
# * TimeoutError
#
- def SMTP.start(address, port = nil, helo = 'localhost.localdomain',
+ def SMTP.start(address, port = nil, helo = 'localhost',
user = nil, secret = nil, authtype = nil,
&block) # :yield: smtp
new(address, port).start(helo, user, secret, authtype, &block)
@@ -518,7 +518,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/