From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6939 64.71.128.0/18 X-Spam-Status: No, score=-1.9 required=3.0 tests=AWL,BAYES_00, MSGID_FROM_MTA_HEADER shortcircuit=no autolearn=unavailable version=3.3.2 Path: news.gmane.org!not-for-mail From: Eric Wong Newsgroups: gmane.comp.lang.ruby.io-splice.general Subject: [ANN] io_splice 4.1.0 - copy_stream enhancement for 1.9 Date: Mon, 16 May 2011 16:58:04 +0000 Message-ID: <20110516165804.GA10142@dcvr.yhbt.net> References: <20110516165804.GA10142@dcvr.yhbt.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1305565105 21533 80.91.229.12 (16 May 2011 16:58:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 May 2011 16:58:25 +0000 (UTC) To: ruby.io.splice@librelist.com Original-X-From: ruby.io.splice@librelist.com Mon May 16 18:58:20 2011 Return-path: Envelope-to: gclrig-ruby.io.splice@m.gmane.org In-Reply-To: <20110516165804.GA10142@dcvr.yhbt.net> List-Archive: List-Help: List-Id: List-Post: List-Subscribe: List-Unsubscribe: Precedence: list Original-Sender: ruby.io.splice@librelist.com Xref: news.gmane.org gmane.comp.lang.ruby.io-splice.general:32 Archived-At: Received: from zedshaw.xen.prgmr.com ([64.71.167.205]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QM17b-0007cE-4d for gclrig-ruby.io.splice@m.gmane.org; Mon, 16 May 2011 18:58:19 +0200 Received: from zedshaw.xen.prgmr.com (localhost [IPv6:::1]) by zedshaw.xen.prgmr.com (Postfix) with ESMTP id 6C68521C986 for ; Mon, 16 May 2011 16:58:10 +0000 (UTC) Changes: IO::Splice.copy_stream coerces based on the availability of the #to_path method in source and destination arguments. This is to be compatible with IO.copy_stream and also Rack::File since this may be used in web servers. This is NOT visible with Ruby 1.8 since File.open doesn't coerce with #to_path on the given object. * http://bogomips.org/ruby_io_splice/ * ruby.io.splice@librelist.com * git://bogomips.org/ruby_io_splice.git -- Eric Wong