redo IO.copy_stream usage
commit283050fc283868f79796f05901bd9149713ae282
authorEric Wong <normalperson@yhbt.net>
Sat, 5 Nov 2011 02:34:35 +0000 (5 02:34 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 5 Nov 2011 02:34:35 +0000 (5 02:34 +0000)
tree60b5f97790421689e2e84f709f7a22d61c7ff9da
parentf057a82730d252c509f8c590430dbf4507d17601
redo IO.copy_stream usage

Avoid deepening stack depth and make it easier to migrate
fully to 1.9 in the future (dropping 1.8 support).
bin/mog
lib/mogilefs.rb
lib/mogilefs/bigfile.rb
lib/mogilefs/copy_stream.rb [new file with mode: 0644]
lib/mogilefs/http_file.rb
lib/mogilefs/http_reader.rb
lib/mogilefs/mogilefs.rb
lib/mogilefs/util.rb
test/test_mogilefs.rb