uploadcare / uploadcare-ruby

Ruby API client that handles uploads and further operations with files by wrapping Uploadcare Upload and REST APIs.
https://uploadcare.com
MIT License
39 stars 28 forks source link

Let uploadcare work with tempfiles #57

Closed burlesona closed 6 years ago

burlesona commented 6 years ago

This is necessary for using uploadcare on platforms like Heroku that do not allow creation of real files. Plus most web frameworks return uploaded files as tempfiles and there's no easy way to transiently convert them to regular files.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.5%) to 99.502% when pulling 08dc5b5d895b6da3cf07359ce27c996b9c0b650e on burlesona:master into e02b825787c95c7fa975dffd33dcba8e8b085178 on uploadcare:master.

dmitry-mukhin commented 6 years ago

thanks!

vizvamitra commented 6 years ago

@burlesona thanks for your bug report and for this PR. It needs some specs in order to get merged, but I'll write them myself as far as I'll get some time for that, in a day or two probably

vizvamitra commented 6 years ago

fixed in #59