ruby-changes:13801
From: yugui <ko1@a...>
Date: Sat, 31 Oct 2009 22:17:22 +0900 (JST)
Subject: [ruby-changes:13801] Ruby:r25598 (ruby_1_9_1): merges r24840 and r24841 from trunk into ruby_1_9_1.
yugui 2009-10-31 22:05:39 +0900 (Sat, 31 Oct 2009) New Revision: 25598 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25598 Log: merges r24840 and r24841 from trunk into ruby_1_9_1. -- * lib/net/http.rb (Net::HTTPHeader::encode_kvpair): also call to_s to k. A patch from swdyh <youhei@g...> http://github.com/swdyh/ruby/tree/c847f43c2ccb679b9ff728f8b1b16c6ceeb57f39 Modified files: branches/ruby_1_9_1/ChangeLog branches/ruby_1_9_1/lib/net/http.rb branches/ruby_1_9_1/version.h Index: ruby_1_9_1/ChangeLog =================================================================== --- ruby_1_9_1/ChangeLog (revision 25597) +++ ruby_1_9_1/ChangeLog (revision 25598) @@ -1,3 +1,9 @@ +Fri Sep 11 10:38:33 2009 URABE Shyouhei <shyouhei@r...> + + * lib/net/http.rb (Net::HTTPHeader::encode_kvpair): also call to_s + to k. A patch from swdyh <youhei@g...> + http://github.com/swdyh/ruby/tree/c847f43c2ccb679b9ff728f8b1b16c6ceeb57f39 + Fri Sep 11 09:45:11 2009 Nobuyoshi Nakada <nobu@r...> * dln.c (aix_loaderror): get rid of using uninitialized value in the Index: ruby_1_9_1/lib/net/http.rb =================================================================== --- ruby_1_9_1/lib/net/http.rb (revision 25597) +++ ruby_1_9_1/lib/net/http.rb (revision 25598) @@ -1522,7 +1522,7 @@ alias form_data= set_form_data def encode_kvpair(k, vs) - Array(vs).map {|v| "#{urlencode(k)}=#{urlencode(v.to_s)}" } + Array(vs).map {|v| "#{urlencode(k.to_s)}=#{urlencode(v.to_s)}" } end private :encode_kvpair Index: ruby_1_9_1/version.h =================================================================== --- ruby_1_9_1/version.h (revision 25597) +++ ruby_1_9_1/version.h (revision 25598) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 323 +#define RUBY_PATCHLEVEL 324 #define RUBY_VERSION_MAJOR 1 #define RUBY_VERSION_MINOR 9 #define RUBY_VERSION_TEENY 1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/