support MogileFS::MogileFS#get_file_data to dest path
commitf8156e239ea4da4cbcd020f24bf06c4fb9e7cde7
authorEric Wong <normalperson@yhbt.net>
Sat, 19 Nov 2011 08:45:07 +0000 (19 08:45 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 19 Nov 2011 08:45:07 +0000 (19 08:45 +0000)
tree31d084283c7e1a9adf98b1754f397c3e7a89f509
parent381044eeda55a5ca7edcccd87d27c30a287723e1
support MogileFS::MogileFS#get_file_data to dest path

Destination path will be created with 0600 permissions to
be consistent with IO.copy_stream [ruby-core:41151]
lib/mogilefs/copy_stream.rb
lib/mogilefs/mogilefs.rb
test/test_mogilefs_integration.rb