librelist archives

« back to archive

[ANN] io_splice 4.1.0 - copy_stream enhancement for 1.9

[ANN] io_splice 4.1.0 - copy_stream enhancement for 1.9

From:
Eric Wong
Date:
2011-05-16 @ 16:58
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