ruby-changes:10598
From: knu <ko1@a...>
Date: Mon, 9 Feb 2009 12:16:12 +0900 (JST)
Subject: [ruby-changes:10598] Ruby:r22155 (ruby_1_8): r22144@crimson: knu | 2009-02-08 22:34:15 +0900
knu 2009-02-09 12:16:01 +0900 (Mon, 09 Feb 2009) New Revision: 22155 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=22155 Log: r22144@crimson: knu | 2009-02-08 22:34:15 +0900 (OpenURI::Buffer): use Meta ===. [ruby-core:14295] (r14609) Modified directories: branches/ruby_1_8/ Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/lib/open-uri.rb Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 22154) +++ ruby_1_8/ChangeLog (revision 22155) @@ -14,6 +14,7 @@ (:redirect) new option to disable redirection. (r13788) (OpenURI::HTTPRedirect): new exception class for redirection. (r13788) + (OpenURI::Buffer): use Meta ===. [ruby-core:14295] (r14609) Mon Feb 9 01:21:16 2009 Tanaka Akira <akr@f...> Index: ruby_1_8/lib/open-uri.rb =================================================================== --- ruby_1_8/lib/open-uri.rb (revision 22154) +++ ruby_1_8/lib/open-uri.rb (revision 22155) @@ -364,14 +364,14 @@ require 'tempfile' io = Tempfile.new('open-uri') io.binmode - Meta.init io, @io if @io.respond_to? :meta + Meta.init io, @io if Meta === @io io << @io.string @io = io end end def io - Meta.init @io unless @io.respond_to? :meta + Meta.init @io unless Meta === @io @io end end Property changes on: ruby_1_8 ___________________________________________________________________ Name: svk:merge - 050cfa88-b445-4b2e-b226-957b86f2c464:/local/ruby/1.8:22143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e:/trunk:5286 + 050cfa88-b445-4b2e-b226-957b86f2c464:/local/ruby/1.8:22144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e:/trunk:5286 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/