Update copyright to 2014
Travis build: retry bundle install
Add media-type spoof detection
Add stub to fix HasAttachedFile tests
Calculate data-uri file names off the validated content-type
Remove test invalidated by better content-type detection semantics
Fix s3 test for new file naming and content type detection semantics
Fix stringio name in tests
A missing content_type validator shows deprecation warning
We can't work with isolated attachment objects anymore
We can't work with isolated attachment objects anymore
StringIOs have different names by default now
Raise unless content type or name validation

It is now a requirement for attachments to do one of three things:
  1. Have a content_type validation (e.g. "image/*")
  2. Have a filename validation (e.g. *.png, *.gif)
  3. Explicitly *not* have one of those validations

The intent is to make the default more secure, and you have to
explicitly reject the security of a validation in order to not have one.
Remove a file.close: users reporting problems
v4.0.0
Added a link to Egor in the README
Add a way to allow content_types that file misses

There are some file types that the file command doesn't understand.
Notably, files that have a format, but are ASCII-text based (like ruby,
certificates, etc), show up as text/plain. This presents a problem,
because the mime-types gem either doesn't report them at all (as for
.pem files) or reports them differently (as for .rb files).

This change allows a Paperclip.options[:content_type_mapping] hash,
which allows for a mapping of { :pem => "text/plain" } which tells the
spoof detector that this is an OK matchup and to allow it.
Memoize result of identify command in order to avoid multiple calls to ImageMagick
Correct spelling of 'improvement' in NEWS
Merge pull request #1427 from marcoow/travis

Travis build: retry bundle install on e.g. timeout