ruby-changes:13798
From: yugui <ko1@a...>
Date: Sat, 31 Oct 2009 22:16:48 +0900 (JST)
Subject: [ruby-changes:13798] Ruby:r25595 (ruby_1_9_1): merges r24830 from trunk into ruby_1_9_1.
yugui 2009-10-31 22:05:18 +0900 (Sat, 31 Oct 2009) New Revision: 25595 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25595 Log: merges r24830 from trunk into ruby_1_9_1. -- * lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber, [ruby-core:18309]. 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 25594) +++ ruby_1_9_1/ChangeLog (revision 25595) @@ -1,3 +1,8 @@ +Fri Sep 11 01:14:00 2009 Marc-Andre Lafortune <ruby-core@m...> + + * lib/net/http.rb (fetch): rdoc fix, patch by Arthur Schreiber. + [ruby-core:18309]. + Thu Sep 10 21:22:01 2009 Tanaka Akira <akr@f...> * test/dl/test_cptr.rb (test_free=): test SEGV at first. Index: ruby_1_9_1/lib/net/http.rb =================================================================== --- ruby_1_9_1/lib/net/http.rb (revision 25594) +++ ruby_1_9_1/lib/net/http.rb (revision 25595) @@ -1289,8 +1289,9 @@ end # Returns the header field corresponding to the case-insensitive key. - # Returns the default value +args+, or the result of the block, or nil, - # if there's no header field named key. See Hash#fetch + # Returns the default value +args+, or the result of the block, or + # raises an IndexErrror if there's no header field named +key+ + # See Hash#fetch def fetch(key, *args, &block) #:yield: +key+ a = @header.fetch(key.downcase, *args, &block) a.join(', ') Index: ruby_1_9_1/version.h =================================================================== --- ruby_1_9_1/version.h (revision 25594) +++ ruby_1_9_1/version.h (revision 25595) @@ -1,5 +1,5 @@ #define RUBY_VERSION "1.9.1" -#define RUBY_PATCHLEVEL 320 +#define RUBY_PATCHLEVEL 321 #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/