Skip to content
This repository

Aug 19, 2010

  1. Jon Yurek

    Include a module other than top-level Paperclip to prevent namespace …

    …collisions.
    jyurek authored

Aug 16, 2010

  1. Mike Bailey

    Added fingerprinting support

    Leverage browser caching and proxy caching by setting far future Expires
    headers and changing filenames when file contents change. This can make
    your web app faster for users and also reduce your bandwidth costs.
    
    By adding the column :avatar_fingerprint to our db table and including
    :fingerprint in the attachment filename, we ensure the filename will
    change whenever the file contents do.
    
      has_attached_file :avatar,
        :styles => { :medium => "300x300>", :thumb => "100x100>" },
        :path => "users/:id/:attachment/:fingerprint-:style.:extension",
        :storage => :s3,
        :s3_headers => {'Expires' => 1.year.from_now.httpdate},
        :s3_credentials => "#{RAILS_ROOT}/config/s3.yml",
        :include_updated_timestamp => false
    
    This enables us to set far future expire headers so that browsers
    don't need to check for a newer version. If a change does occur,
    say because a user uploads a new avatar, the new filename will
    be rendered in your html and the cached version will be ignored.
    
    The example above will set Expires headers in S3. If you're using
    local storage you can configure your webserver to do something similar.
    
    We disable the timestamped query string because some proxies refuse
    to cache items with query strings.
    
    For more info on optimizing for caching:
    
    http://code.google.com/speed/page-speed/docs/caching.html
    mbailey authored jyurek committed
  2. Jon Yurek

    Change Logger for ActiveSupport::BufferedLogger

    jyurek authored

Aug 01, 2010

  1. Jon Yurek

    Removed inexplicable dependencies on action_controller and action_pack

    jyurek authored

Jul 11, 2010

  1. Jon Yurek

    Replaced the old Paperclip.run with the new CommandLine class.

    jyurek authored
  2. Jon Yurek

    Added a CommandLine class to handle all the running and the whatnot.

    jyurek authored

Jun 07, 2010

  1. Joshua Clayton

    Clean up whitespace

  2. Joshua Clayton

    Fix spelling error

Apr 27, 2010

  1. Jon Yurek

    Added a rake task for testing all versions. Changed gem statements to…

    … use ~> instead of hard versions.
    jyurek authored

Apr 26, 2010

  1. Jon Yurek

    Removed vestigial bundler requirement.

    jyurek authored
  2. Jon Yurek

    Removed support for Rails 2.0.*, ensured support for 2.1.2

    jyurek authored
  3. Jon Yurek

    Backporting the modifications for Rails 3 to Rails 2.3

    jyurek authored
  4. Dan Croak

    replace deprecated RAILS_ENV and RAILS_ROOT with Rail.env and Rails.root

    croaky authored jyurek committed

Mar 17, 2010

  1. Joe Ferris

    Changed rspec matchers to accept an instance or a class

    jferris authored

Nov 04, 2009

  1. Jon Yurek

    Fixed an error where ImageMagick wasn't identifying images because th…

    …e Tempfiles did not have the right extension.
    jyurek authored

Aug 10, 2009

  1. Damian Janowski

    Make the build more friendly.

    (cherry picked from commit f58f732)
    djanowski authored jyurek committed

Jun 30, 2009

  1. Nick Quaranto

    Unlocking from thoughtbot-shoulda >= 2.9.0

    qrush authored
  2. Nick Quaranto

    Setting encodings and fixing arity so the tests actually run

    qrush authored

May 11, 2009

  1. Jon Yurek

    Fixed extension interpolation bug when relying on default_style

    jyurek authored
  2. Jon Yurek

    Changed ENV['RAILS_ENV'] to plain RAILS_ENV

    jyurek authored

May 08, 2009

  1. Jon Yurek

    Verified :url interpolation. Added FakeModel for testing. Fixed defau…

    …lt_options merging race test problem.
    jyurek authored
  2. Jon Yurek

    Removed a call to defined? in place of Object.const_defined?

    jyurek authored

May 06, 2009

  1. Jon Yurek

    Moved interpolations out of attachment

    jyurek authored

Feb 17, 2009

  1. Jon Yurek

    Reversed commit 8778382, removed :relative_url_root for now

    jyurek authored

Feb 08, 2009

  1. Jon Yurek

    Added :relative_root interpolation

    jyurek authored
  2. Jon Yurek

    Updated thoughtbot-shoulda requirement

    jyurek authored

Feb 07, 2009

  1. Jon Yurek

    has_attached_file and validate_attachment_presence matchers

    jyurek authored

Jan 08, 2009

  1. Jon Yurek

    Added requirement for thoughtbot-shoulda >=2.0.0 in test_helper

    jyurek authored

Jan 07, 2009

  1. Jon Yurek

    There's no reason to load anything but test for the database.yml

    jyurek authored

Dec 15, 2008

  1. Jon Yurek

    Readded the gem sqlite-ruby line

    jyurek authored

Dec 10, 2008

  1. Jon Yurek

    Fields other than <name>_file_name are not required for operation.

    jyurek authored

Nov 25, 2008

  1. Jon Yurek

    Removed sqlite3

    jyurek authored
  2. Jon Yurek

    Required sqlite3-ruby to fix tests on Rails 2.2

    jyurek authored

Sep 05, 2008

  1. Added :rails_env as a path/url interpolation variable. Useful for net…

    …worked storage.
    Brian Tatnall authored

Jul 02, 2008

  1. Henrik Nyh

    Add _updated_at. To be used for cache busting.

    No tests yet since I had problems getting the suite to run :/
    henrik authored
Something went wrong with that request. Please try again.