Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Jun 3, 2014
  1. @Manfred

    Fix gemspec.

    Manfred authored
  2. @Manfred

    Merge branch 'v2'

    Manfred authored
    Conflicts:
    	Rakefile
    	attachment-san.gemspec
    	lib/attachment_san.rb
    	lib/attachment_san/mime_types.rb
  3. @Manfred
  4. @Manfred

    We can't File.exist?(UploadedFile).

    Manfred authored
    When trying to check if a ActionDispatch::Http::UploadedFile we need to
    explicitly call #path on it to make it work.
  5. @Manfred

    Generate Gemfile.lock.

    Manfred authored
  6. @Manfred
  7. @Manfred
  8. @Manfred
  9. @Manfred
  10. @Manfred
  11. @Manfred

    Set polymorphic source for all attachments.

    Manfred authored
    In the tests we need to set the polymorphic source for all attachments or Rails
    will try to find the foreign key.
  12. @Manfred

    Fix tests for difference with Peck.

    Manfred authored
    Peck has some assertions which work a little bit different from test/spec so we
    need to make some changes here and there.
  13. @Manfred

    Only try upload when there is an original file.

    Manfred authored
    When someone tries to create assets without an upload we don't want it to
    break.
  14. @Manfred

    Don't memoize filename methods.

    Manfred authored
    It's not a slow operation and can only make problems in the future.
  15. @Manfred
  16. @Manfred

    Add support for instrumentation.

    Manfred authored
    Adds an instrument for attachement_san.process_variant and .process_original.
    This allows you to catch these events and log them in your Rails app if wanted.
  17. @Manfred

    Don't use #class_method for attachment options.

    Manfred authored
    For some reason defining the global attachment options as a class_variable mis-
    behaves on Rails 4.1. Because the options are copied over to subclasses when
    defining them anyway we use a regular class accessor.
  18. @Manfred
  19. @Manfred
  20. @Manfred

    Rename the test schema file.

    Manfred authored
Commits on Apr 30, 2014
  1. @jeffkreeftmeijer
Commits on Apr 24, 2014
  1. @jeffkreeftmeijer
Commits on Apr 22, 2014
  1. @jeffkreeftmeijer
  2. @jeffkreeftmeijer
  3. @jeffkreeftmeijer
Commits on Apr 16, 2014
  1. @jeffkreeftmeijer
  2. @jeffkreeftmeijer
Commits on Apr 15, 2014
  1. @jeffkreeftmeijer

    Add gemspec

    jeffkreeftmeijer authored
  2. @jeffkreeftmeijer

    Remove Nap gem tasks

    jeffkreeftmeijer authored
Commits on Dec 15, 2009
  1. @alloy
  2. @alloy
  3. @alloy

    More docs...

    alloy authored
Commits on Dec 14, 2009
  1. @alloy

    Started writing docs…

    alloy authored
Commits on Nov 25, 2009
  1. @alloy

    Any options given to has_attachment(s) that matches MODEL_OPTIONS wil…

    alloy authored
    …l be merged on the attachment model subclasses's attachment_san_options.
    
    Drops support for defining variants with an Array for now.
  2. @alloy
Something went wrong with that request. Please try again.