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

ruby-changes:26961

From: mame <ko1@a...>
Date: Sat, 2 Feb 2013 12:18:51 +0900 (JST)
Subject: [ruby-changes:26961] mame:r39013 (trunk): * lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not

mame	2013-02-02 12:18:40 +0900 (Sat, 02 Feb 2013)

  New Revision: 39013

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

  Log:
    * lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not
      well tested yet.  [Bug #7301]

  Modified files:
    trunk/ChangeLog
    trunk/lib/uri/ftp.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 39012)
+++ ChangeLog	(revision 39013)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Feb  2 12:15:36 2013  Yusuke Endoh  <mame@t...>
+
+	* lib/uri/ftp.rb (URI::FTP.new2): remove the rdoc because it is not
+	  well tested yet.  [Bug #7301]
+
 Sat Feb  2 12:07:41 2013  Yusuke Endoh  <mame@t...>
 
 	* ChangeLog: Forgot to add a reference to the ChangeLog of the
Index: lib/uri/ftp.rb
===================================================================
--- lib/uri/ftp.rb	(revision 39012)
+++ lib/uri/ftp.rb	(revision 39013)
@@ -45,16 +45,11 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/ftp.rb#L45
     #  ';type='
     TYPECODE_PREFIX = ';type='.freeze
 
-    # alternate initialization
-    # Creates a new URI::FTP object.
-    #
-    # Unlike build(), this method does not escape the path component as
-    # required by RFC1738; instead it is treated as per RFC2396.
-    #
-    # Arguments are user, password, host, port, path, typecode,
-    # and arg_check, in that order.
     def self.new2(user, password, host, port, path,
                   typecode = nil, arg_check = true)
+      # Do not use this method!  Not tested.  [Bug #7301]
+      # This methods remains just for compatibility,
+      # Keep it undocumented until the active maintainer is assigned.
       typecode = nil if typecode.size == 0
       if typecode && !TYPECODE.include?(typecode)
         raise ArgumentError,

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

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