Permalink
Commits on Mar 10, 2017
  1. Update thoughtbot logo

    tysongach committed on GitHub Mar 10, 2017
Commits on Dec 2, 2016
  1. Updated the capitalization in the titles

    Some of the titles were inconsistent in capitalization.
    elliefichtelman committed with tute Nov 2, 2016
  2. Fix JRuby binary operator warning (#2352)

    Fixes the following warning shown by JRuby 9.1.6.0:
    
    > gems/paperclip-5.1.0/lib/paperclip/storage/filesystem.rb:49: warning: `&' after local variable or literal is interpreted as binary operator even though it seems like argument prefix
    tute committed on GitHub Dec 2, 2016
  3. Merge branch 'master' of https://github.com/thoughtbot/paperclip

    dzsibi committed Dec 2, 2016
Commits on Dec 1, 2016
  1. Merge pull request #2331 from thoughtbot/tc-fix-ci

    Fix Travis CI
    tute committed on GitHub Dec 1, 2016
  2. Drop Rails 5 warning

    Thanks for the tip, @brendon!
    #2331 (comment)
    tute committed Dec 1, 2016
  3. Use bundler v1.12.5 for Ruby 2.2.2 not to fail

    Otherwise cucumber doesn't load development dependencies.
    tute committed Nov 30, 2016
  4. Fix cucumber tests

    - Updates cucumber (cucumber/gherkin2#320 (comment))
    - Removes `bundle exec` from commands ran in cucumber steps
    - Simplifies framework_major_version (we can assume it always is 4 or
      higher)
    - Inline unneeded methods
    - Fix some Ruby warnings
    tute committed Oct 31, 2016
Commits on Nov 29, 2016
  1. Fix JRuby binary operator warning

    dzsibi committed Nov 29, 2016
Commits on Nov 14, 2016
  1. Remove Tempfile tests from Thumbnail spec (#2338)

    * Remove old Tempfile tests from Thumbnail spec
    * Move Tempfile tests to tempfile_spec.rb
    tute committed on GitHub Nov 14, 2016
  2. (hound) Use double quotes

    farisj committed Nov 14, 2016
  3. Move Tempfile tests to tempfile_spec.rb

    farisj committed Nov 14, 2016
Commits on Nov 11, 2016
  1. Remove old Tempfile tests from Thumbnail spec

    farisj committed Nov 11, 2016
Commits on Nov 3, 2016
Commits on Oct 14, 2016
  1. Fix typo in README (#2323)

    Fix typo in README
    sdogruyol committed with tute Oct 14, 2016
Commits on Sep 28, 2016
  1. Update docs for s3_permissions (#2310)

    s3_permissions can no longer be a symbol. Must be a string.
    Providing a string causes hard to debug errors in AWS.
    HormyAJP committed with tute Sep 28, 2016
Commits on Sep 13, 2016
Commits on Sep 12, 2016
Commits on Sep 5, 2016
  1. fix broken anchor (#2297)

    header was changed recently (5202acb#diff-04c6e90faac2675aa89e2176d2eec7d8L740), but link was not and now it's broken
    jbmeerkat committed with tute Sep 5, 2016
Commits on Aug 30, 2016
  1. Support s3 host alias with prefixes

    Allows `s3_host_alias` to be set to CDNs which support S3 Bucket prefix.
    
    [fixes #2287]
    cjcaj committed with tute Aug 30, 2016
  2. Fix CI: use aws-sdk ~> 2.3.0

    tute committed Aug 28, 2016
Commits on Aug 28, 2016
  1. Fixed only_process option with proc (#2289)

    Bug introduced in 1c7d7f6
    
    Per 1c7d7f6#commitcomment-18765681 request
    morgoth committed with tute Aug 28, 2016
  2. Instead of copying files in adapters, create hard links where possible (

    #2290)
    
    Rebased #2120 to master.
    Paperclip duplicates the original files quite a lot as part of its validation process. (#1642, #1326).
    When uploading large files (several hundred megabytes to gigabyte range), this becomes a problem: The web server will be busy creating 3 - 4 duplicates on disk, while the app (and potentially the user) are waiting for the upload operation to complete.
    This pull request introduces hard links instead of ```FileUtil.cp``` where possible to keep the logic as-is but save time and disk space.
    cbeckr committed with tute Aug 28, 2016
  3. Add `:use_accelerate_endpoint` option when using S3

    [Amazon S3 Transfer
    Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html)
    enables fast, easy, and secure transfers of files over long distances
    between your client and an S3 bucket. And
    [aws-sdk](https://github.com/aws/aws-sdk-ruby) has allowed us to enable
    this feature in version 2.3.0 (more detail is
    [here](aws/aws-sdk-ruby#1163)).
    
    You can now pass a configuration option (:use_accelerate_endpoint) when
    config Paperclip with S3. You can enable the [Amazon S3 Transfer
    Acceleration](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html)
    by set this option:
    ```:use_accelerate_endpoint => true```
    
    [fixes #2291]
    gagoit committed with tute Aug 26, 2016
Commits on Aug 24, 2016
  1. S3 specs fixes

    * correct S3 specs to use the correct keys in the s3_credentials hash
    * S3 tests work with a region that requires s3_domain_url
    
    [fixes #1985]
    betesh committed with tute Aug 21, 2015
  2. Make fingerprint digest configurable (#2229)

    Adapters now accept an options parameter, that currently specifies
    the type of hash digest to use.  The default value remains MD5, but
    can be specified to be any OpenSSL-supported digest.  The specs are
    modified to reflect that.
    
    The task just reassigns all of the attachments, thereby regenerating
    their fingerprints.
    bdewater committed with tute Aug 24, 2016
  3. Ignore invalid Content-Disposition header (#2284)

    * ignore invalid content-disposition header
    
    [fixes #2283]
    sandfoxme committed with tute Aug 24, 2016
Commits on Aug 23, 2016
  1. Add note on using S3's url option

    Fix typo.
    
    Progress on #2071.
    
    [closes #2282]
    
    [ci skip]
    andyatkinson committed with tute Aug 19, 2016
  2. Add Code Climate Config (#2275)

    Adds a Code Climate configuration enabling Fixme, Rubocop, and
    Duplication.
    
    The Code Climate RuboCop engine uses a newer version of RuboCop than the
    current Hound config, so .hound.yml was modified to work for both. The
    only notable change was removing PreferredHashMethods because there is
    no syntax for that cop that works with bout Hound and Code Climate.
    pbrisbin committed with tute Aug 23, 2016
Commits on Aug 19, 2016
  1. README and NEWS update

    [ci skip]
    tute committed Aug 19, 2016
  2. Release v5.1.0

    Update NEWS file.
    
    [ci skip]
    tute committed Aug 19, 2016
  3. Default to Paperclip::ContentTypeDetector (#2270)

    * Add default `content_type_detector` to `UploadedFileAdapter`
    ivanoblomov committed with tute Aug 19, 2016