Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump to 2.5.0

  • Loading branch information...
commit 071c93871465db9daad1718945b9ef1b4bf6291d 1 parent 3fd4c96
@mike-burns mike-burns authored
Showing with 31 additions and 8 deletions.
  1. +7 −7 Gemfile.lock
  2. +23 −0 NEWS
  3. +1 −1  lib/paperclip/version.rb
View
14 Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
- paperclip (2.4.5)
+ paperclip (2.5.0)
activerecord (>= 2.3.0)
activesupport (>= 2.3.2)
cocaine (>= 0.0.2)
@@ -10,16 +10,16 @@ PATH
GEM
remote: http://rubygems.org/
specs:
- activemodel (3.1.2)
- activesupport (= 3.1.2)
+ activemodel (3.1.3)
+ activesupport (= 3.1.3)
builder (~> 3.0.0)
i18n (~> 0.6)
- activerecord (3.1.2)
- activemodel (= 3.1.2)
- activesupport (= 3.1.2)
+ activerecord (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
- activesupport (3.1.2)
+ activesupport (3.1.3)
multi_json (~> 1.0)
appraisal (0.4.0)
bundler
View
23 NEWS
@@ -0,0 +1,23 @@
+New in 2.5.0:
+
+* Performance: Only connect to S3 when absolutely needed.
+* Bug fix: STI with cached classes respect new options.
+* Bug fix: conditional validations broke, and now work again.
+* Feature: URL generation is now parameterized and can be changed with plugins or custom code.
+* Feature: :convert_options and :source_file_options to control the ImageMagick processing.
+* Performance: String geometry specifications now parse more quickly.
+* Bug fix: Handle files with question marks in the filename.
+* Bug fix: Don't raise an error when generating an expiring URL on an unassigned attachment.
+* Bug fix: The rake task runs over all instances of an ActiveRecord model, ignoring default scopes.
+* Feature: DB migration has_attached_file and drop_attached_file methods.
+* Bug fix: Switch from AWS::S3 to AWS::SDK for the S3 backend.
+* Bug fix: URL generator uses '?' in the URL unless it already appears and there is no prior '='.
+* Bug fix: Always convert the content type to a string before stripping blanks.
+* Feature: The :keep_old_files option preserves the files in storage even when the attachment is cleared or changed.
+* Performance: Optimize Fog's public_url access by avoiding it when possible.
+* Bug fix: Avoid a runtime error when generating the ID partition for an unsaved attachment.
+* Performance: Do not calculate the fingerprint if it is never persisted.
+* Bug fix: Process the :original style before all others, in case of a dependency.
+* Feature: S3 headers can be set at runtime by passing a proc object as the value.
+* Bug fix: Generating missing attachment styles for a model which has had its attachment changed should not raise.
+* Bug fix: Do not collide with the built-in Ruby hashing method.
View
2  lib/paperclip/version.rb
@@ -1,3 +1,3 @@
module Paperclip
- VERSION = "2.4.5" unless defined? Paperclip::VERSION
+ VERSION = "2.5.0" unless defined? Paperclip::VERSION
end
Please sign in to comment.
Something went wrong with that request. Please try again.