[前][次][番号順一覧][スレッド一覧]

ruby-changes:33476

From: knu <ko1@a...>
Date: Thu, 10 Apr 2014 23:46:42 +0900 (JST)
Subject: [ruby-changes:33476] knu:r45555 (trunk): * lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for

knu	2014-04-10 23:46:37 +0900 (Thu, 10 Apr 2014)

  New Revision: 45555

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45555

  Log:
    * lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
      anonymous login was changed to "anonymous@" in r25313.

  Modified files:
    trunk/ChangeLog
    trunk/lib/net/ftp.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 45554)
+++ ChangeLog	(revision 45555)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Apr 10 23:41:21 2014  Akinori MUSHA  <knu@i...>
+
+	* lib/net/ftp.rb (Net::FTP#login): [DOC] The default password for
+	  anonymous login was changed to "anonymous@" in r25313.
+
 Thu Apr 10 19:22:58 2014  Koichi Sasada  <ko1@a...>
 
 	* test/ruby/test_array.rb: remove useless `assert'.
Index: lib/net/ftp.rb
===================================================================
--- lib/net/ftp.rb	(revision 45554)
+++ lib/net/ftp.rb	(revision 45555)
@@ -443,12 +443,12 @@ module Net https://github.com/ruby/ruby/blob/trunk/lib/net/ftp.rb#L443
     private :transfercmd
 
     #
-    # Logs in to the remote host. The session must have been previously
-    # connected.  If +user+ is the string "anonymous" and the +password+ is
-    # +nil+, a password of <tt>user@host</tt> is synthesized. If the +acct+
-    # parameter is not +nil+, an FTP ACCT command is sent following the
-    # successful login.  Raises an exception on error (typically
-    # <tt>Net::FTPPermError</tt>).
+    # Logs in to the remote host.  The session must have been
+    # previously connected.  If +user+ is the string "anonymous" and
+    # the +password+ is +nil+, "anonymous@" is used as a password.  If
+    # the +acct+ parameter is not +nil+, an FTP ACCT command is sent
+    # following the successful login.  Raises an exception on error
+    # (typically <tt>Net::FTPPermError</tt>).
     #
     def login(user = "anonymous", passwd = nil, acct = nil)
       if user == "anonymous" and passwd == nil

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]