- Fixed special characters in the filename (credits to @dilshod)
- Fix dropbox credentials not working when set with Pathname or String
:dropbox_credentials
can now be a Proc (credits to @dukz)
- Fixed
undefined method \
genreate' for nil:NilClasswhen the
:access_type` option is not set.
- Allow Paperclip 4 to be used with this gem.
- Add ability to provide any directory in Full Dropbox mode (Thanks, @dougbradbury).
- Fix gem not defaulting to "full dropbox" access type.
#exists?
now returnsfalse
when the attachment is not present
:default_url
is now interpolated.
- Enable usage of Paperclip's
:path
option.
- In Attachment#exists? made the
style
argument optional.
- An error is now raised when any of the credentials are
nil
.
- The
:default_url
option is now used when the attachment is blank.
New stuff:
- Added support for apps with the "App folder" access type (previously only "Full Dropbox" apps were supported).
Bug fixes:
-
Fixed a bug where an error was raised when calling
#url
on a blank attachment. -
The Rake task is now properly loaded in non-Rails applications.