Permalink
Commits on Dec 2, 2016
  1. Updated the capitalization in the titles

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

    tute committed on GitHub Dec 2, 2016
    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
Commits on Dec 1, 2016
  1. Merge pull request #2331 from thoughtbot/tc-fix-ci

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

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

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

    tute committed Oct 31, 2016
    - Updates cucumber (cucumber-attic/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
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)

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

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

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

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

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

    cjcaj committed with tute Aug 30, 2016
    Allows `s3_host_alias` to be set to CDNs which support S3 Bucket prefix.
    
    [fixes #2287]
  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)

    morgoth committed with tute Aug 28, 2016
  2. Instead of copying files in adapters, create hard links where possible (

    cbeckr committed with tute Aug 28, 2016
    #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.
  3. Add `:use_accelerate_endpoint` option when using S3

    gagoit committed with tute Aug 26, 2016
    [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]
Commits on Aug 24, 2016
  1. S3 specs fixes

    betesh committed with tute Aug 21, 2015
    * 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]
  2. Make fingerprint digest configurable (#2229)

    bdewater committed with tute Aug 24, 2016
    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.
  3. Ignore invalid Content-Disposition header (#2284)

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

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

    pbrisbin committed with tute Aug 23, 2016
    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.
Commits on Aug 19, 2016
  1. README and NEWS update

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

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

    ivanoblomov committed with tute Aug 19, 2016
    * Add default `content_type_detector` to `UploadedFileAdapter`
  4. Fix CI

    tute committed Aug 19, 2016