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

ruby-changes:44385

From: hsbt <ko1@a...>
Date: Thu, 20 Oct 2016 17:03:12 +0900 (JST)
Subject: [ruby-changes:44385] hsbt:r56458 (trunk): * lib/uri/common.rb: added documentation for deprecated method.

hsbt	2016-10-20 17:03:01 +0900 (Thu, 20 Oct 2016)

  New Revision: 56458

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56458

  Log:
    * lib/uri/common.rb: added documentation for deprecated method.
      [Misc #11960][ruby-core:72733][ci skip]

  Modified files:
    trunk/ChangeLog
    trunk/lib/uri/common.rb
Index: lib/uri/common.rb
===================================================================
--- lib/uri/common.rb	(revision 56457)
+++ lib/uri/common.rb	(revision 56458)
@@ -81,6 +81,10 @@ module URI https://github.com/ruby/ruby/blob/trunk/lib/uri/common.rb#L81
     #
     # Escapes the string, replacing all unsafe characters with codes.
     #
+    # This method is obsolete and should not be used. Instead, use
+    # CGI.escape, URI.www_form_encode or URI.www_form_encode_component
+    # depending on your specific use case.
+    #
     # == Usage
     #
     #   require 'uri'
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 56457)
+++ ChangeLog	(revision 56458)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Oct 20 17:02:56 2016  SHIBATA Hiroshi  <hsbt@r...>
+
+	* lib/uri/common.rb: added documentation for deprecated method.
+	  [Misc #11960][ruby-core:72733][ci skip]
+
 Thu Oct 20 16:57:23 2016  SHIBATA Hiroshi  <hsbt@r...>
 
 	* ext/digest/digest.c: Add documentation for Digest.

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

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