Permalink
Commits on May 5, 2012
  1. Bump to 3.0.3

    sikachu committed May 5, 2012
Commits on May 4, 2012
  1. Force Tempfile extension when creating a Tempfile

    This should fix the problem on animated file detection.
    
    Fixes #851
    sikachu committed May 4, 2012
  2. Fix typos in the NEWS file

    sikachu committed May 4, 2012
  3. Update NEWS file

    sikachu committed May 4, 2012
  4. Fix a potential bug when user turn on AWS logging

    This should fix an error when the user has turn on AWS logging while
    and upload a file with non-English filename, as `aws-sdk` logger is not
    encoding aware.
    
    The problem was that the string returned from another logger methods
    is in `US-ASCII`, while the string returned from Paperclip would be in
    `UTF-8`. When the logger calls `#join` on those strings, Ruby would
    raise an exception.
    
    This solution is not the best, as it involves a monkey-patching, but
    should make sure that the upload goes through without any hiccup. For
    the long run, I'm going to send a patch to `aws-sdk` and also make
    Paperclip require at least `aws-sdk > 1.4.1`
    sikachu committed May 4, 2012
  5. Cleanup integration test

    We've changed some of the setting and some of the S3 tests got ignored.
    This should make sure that the tests are really passing, after the
    changes to IO Adapter.
    sikachu committed May 4, 2012
  6. Symbolize all the style keys

    This will prevent a pitfall as sometime the style's name can be a string.
    sikachu committed May 4, 2012
Commits on May 1, 2012
Commits on Apr 27, 2012
Commits on Apr 25, 2012
Commits on Apr 24, 2012
  1. Unlock Appraisal dependency

    sikachu committed Apr 24, 2012
  2. Update development dependency

    `aws-sdk` has been updated to support newer version of nokogiri, so we
    should loosen our dependency.
    sikachu committed Apr 24, 2012
Commits on Apr 23, 2012
  1. Update test helpers

    * Force column reset in Rails >= 3.1
    * Reuse another helper method
    sikachu committed Apr 23, 2012
Commits on Apr 20, 2012
Commits on Apr 17, 2012
  1. Fix content_type validator to support blank/nil

    ContentTypeValidator now honors the `:allow_nil` and `:allow_blank` option.
    sikachu committed Apr 16, 2012
  2. Call #content_type on MimeType object

    This will ensure that the content type is a String.
    
    Fixes #805
    sikachu committed Apr 17, 2012
  3. Close ALL the files

    Make sure that we close opened files after we're done with them.
    sikachu committed Apr 17, 2012
  4. Remove unused code

    AttachmentAdapter now handles this for us.
    sikachu committed Apr 17, 2012
  5. Fix whitespace errors

    sikachu committed Apr 17, 2012