ruby-changes:15094
From: naruse <ko1@a...>
Date: Thu, 18 Mar 2010 09:05:34 +0900 (JST)
Subject: [ruby-changes:15094] Ruby:r26971 (trunk): Add NEWS and fix ChangeLog.
naruse 2010-03-18 09:05:10 +0900 (Thu, 18 Mar 2010) New Revision: 26971 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26971 Log: Add NEWS and fix ChangeLog. * new methods: * URI.encode_www_form * URI.decode_www_form * URI.encode_www_form_component * URI.decode_www_form_component Modified files: trunk/ChangeLog trunk/NEWS Index: ChangeLog =================================================================== --- ChangeLog (revision 26970) +++ ChangeLog (revision 26971) @@ -27,22 +27,22 @@ Thu Mar 18 00:00:58 2010 NARUSE, Yui <naruse@r...> - * lib/uri/common.rb (URI#{en,de}code_www_form_component): - renamed from URI#{en,de}code_www_component. [ruby-dev:40672] + * lib/uri/common.rb (URI.{en,de}code_www_form_component): + renamed from URI.{en,de}code_www_component. [ruby-dev:40672] - * lib/uri/common.rb (URI#encode_www_form_component): %-encoded + * lib/uri/common.rb (URI.encode_www_form_component): %-encoded element should have always two hex. - * lib/uri/common.rb (URI#encode_www_form_component): + * lib/uri/common.rb (URI.encode_www_form_component): better treatment for ASCII incompatible encodings and encodings whose lead byte may use 7bit. - * lib/uri/common.rb (URI#decode_www_form_component): add %20. + * lib/uri/common.rb (URI.decode_www_form_component): add %20. - * lib/uri/common.rb (URI#decode_www_form_component): add + * lib/uri/common.rb (URI.decode_www_form_component): add result's encoding as 2nd argument. - * lib/uri/common.rb (URI#decode_www_form): added. + * lib/uri/common.rb (URI.decode_www_form): added. Wed Mar 17 16:25:53 2010 Nobuyoshi Nakada <nobu@r...> Index: NEWS =================================================================== --- NEWS (revision 26970) +++ NEWS (revision 26971) @@ -288,6 +288,11 @@ * SecureRandom.urlsafe_base64 * URI + * new methods: + * URI.encode_www_form + * URI.decode_www_form + * URI.encode_www_form_component + * URI.decode_www_form_component * Obsoleted methods: * URI#escape * URI#unescape -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/