1. 07 Feb, 2014 1 commit
    • Add a way to allow content_types that file misses · c5f2b145
      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.
      Jon Yurek committed
  2. 05 Feb, 2014 1 commit
  3. 31 Jan, 2014 3 commits
  4. 29 Jan, 2014 10 commits
  5. 27 Jan, 2014 1 commit
  6. 24 Jan, 2014 2 commits
  7. 15 Jan, 2014 1 commit
  8. 10 Jan, 2014 2 commits
  9. 08 Jan, 2014 1 commit
  10. 06 Jan, 2014 2 commits
  11. 03 Jan, 2014 7 commits
  12. 02 Jan, 2014 5 commits
  13. 20 Dec, 2013 4 commits