refactor httpfile and remove layering violation
commit37c6ee5d64d2cbdc739b4f4afcf55b3762234392
authorEric Wong <normalperson@yhbt.net>
Sat, 5 Nov 2011 01:54:14 +0000 (5 01:54 +0000)
committerEric Wong <normalperson@yhbt.net>
Sat, 5 Nov 2011 01:56:17 +0000 (5 01:56 +0000)
treec85e474dcf9c71bfc597a5bc92adc839c6b5df2e
parent8fefb8c07fdb69eb80c5aefbb0cdd74388cf908f
refactor httpfile and remove layering violation

Splitting calls to backend.create_open + create_close between
files is also extremely confusing and error-prone.

Hopefully nobody actually depends on some attributes
we've removed.
lib/mogilefs/httpfile.rb
lib/mogilefs/mogilefs.rb
test/test_mogilefs.rb