marks/truevault.rb — pull request #2 by nopio (2014-04-14 13:29:12+00:00)
Title: Added fix for cases of sending binary and text files

Hi,

A small update to the previous version. Since TrueVault operates on binary content I added the binmode flag to the Tempfile instance. Also, when sending text files one needs to rewind the file after writing.

Best,
Piotrek