forked from carrierwaveuploader/carrierwave
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for fog streaming uploads
Fog supports streaming uploads if passed a File object. Added SanitizedFile#to_file method that returns a File object. This works for file system based SanitizedFile (File, Tempfile, Hash, etc) StringIO must still be read into memory before being passed to fog.
- Loading branch information
1 parent
2a1d3fc
commit 7cafd3f
Showing
4 changed files
with
225 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.