From 760a4e05924b23064c5116f14a8b484a9b2a56fe Mon Sep 17 00:00:00 2001 From: Mike Burns Date: Fri, 24 Feb 2012 13:29:01 -0500 Subject: [PATCH] Bump to 2.7.0 --- ChangeLog | 74 ---------------------------------------- Gemfile.lock | 4 +-- NEWS | 9 +++++ lib/paperclip/version.rb | 2 +- 4 files changed, 12 insertions(+), 77 deletions(-) delete mode 100644 ChangeLog diff --git a/ChangeLog b/ChangeLog deleted file mode 100644 index 18249a2f3..000000000 --- a/ChangeLog +++ /dev/null @@ -1,74 +0,0 @@ -2012-02-10 Mike Burns - - * lib/paperclip/version.rb, ChangeLog, NEWS: Bump to 2.6.0. - -2012-02-06 Kelley Reynolds - - * filesystem.rb (to_file), fog.rb (to_file), s3.rb (to_file): Rewind after - reading from the file. - * filesystem.rb (flush_writes): Replace mv and unlink complication with a - cp, since the unlink already happens elsewhere. - -2012-02-03 Luke Griffiths - - * lib/paperclip.rb (has_attached_file), lib/paperclip/attachment_options.rb, - attachment_options_test.rb, test/helper.rb, paperclip_test.rb: - Introduce Paperclip::AttachmentOptions, a hash-like object that knows about - Paperclip-specific options, defaults, and deprecations. - -2012-02-03 Jon Yurek - - * lib/paperclip/matchers/validate_attachment_content_type_matcher.rb - (matches?, type_allowed?), - lib/paperclip/matches/validate_attachment_presence_matcher.rb (matches?, - error_when_not_valid?, no_error_when_valid?), - lib/paperclip/matches/validate_attachment_size_matcher.rb (matches?, - passes_validation_with_size), - validate_attachment_content_type_matcher_test.rb, - validate_attachment_presence_matcher_test.rb, - validate_attachment_size_matcher_test.rb: - Validation matchers respect conditionals. - -2012-02-01 Justin Ko - - * lib/paperclip/railtie.rb (insert): Guard against the Rails constant not - existing. - -2012-01-27 Prem Sichanugrist - - * lib/paperclip/attachment.rb (assign), attachment_test.rb, - filesystem_test.rb, s3_test.rb: - Introduce :restricted_characters in Paperclip::Attachment.default_options as - an overrideable blacklist of characters that will be replaced with an - underscore. - - * lib/paperclip/version.rb: Bump to 2.5.2. - -2012-01-27 Prem Sichanugrist - - * test/storage/s3_live_test.rb, test/storage/s3_test.rb: - Remove the questionmark filename test, for Windows compatibility. - -2012-01-19 Benjamin Hüttinger - - * lib/paperclip/storage/fog.rb: fog_host, fog_credentials, and fog_directory - can be Proc objects. - -2012-01-27 Mike Burns - - * lib/paperclip/version.rb: Bump to 2.5.1. - -2012-01-20 Jon Yurek - - * lib/paperclip/railtie.rb (insert): Hide ActiveRecord-specific stuff in - the Railtie - -2012-01-18 Luke Griffiths - - * lib/paperclip/storage/s3.rb (self.extended), - test/storage/s3_live_test.rb, test/storage/s3_test.rb: Add S3 encryption - -2012-01-16 Jeremy McNevin and ralph - - * lib/paperclip/storage/fog.rb (flush_writes), fog_test.rb: Pass the - content type to Fog. diff --git a/Gemfile.lock b/Gemfile.lock index 0b511afae..1fcd104f2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - paperclip (2.6.0) + paperclip (2.7.0) activerecord (>= 2.3.0) activesupport (>= 2.3.2) cocaine (>= 0.0.2) @@ -24,7 +24,7 @@ GEM appraisal (0.4.1) bundler rake - arel (3.0.0) + arel (3.0.2) aruba (0.4.6) bcat (>= 0.6.1) childprocess (>= 0.2.0) diff --git a/NEWS b/NEWS index 9bd91d015..92be4a4ed 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,12 @@ +New in 2.7.0: + +* Bug fix: Checking the existence of a file on S3 handles all AWS errors. +* Bug fix: Clear the fingerprint when removing an attachment. +* Bug fix: Attachment size validation message reads more nicely now. +* Feature: Style names can be either symbols or strings. +* Compatibility: Support for ActiveSupport < 2.3.12. +* Compatibility: Support for Rails 3.2. + New in 2.6.0: * Bug fix: Files are re-wound after reading. diff --git a/lib/paperclip/version.rb b/lib/paperclip/version.rb index 9fe682a8e..913366e04 100644 --- a/lib/paperclip/version.rb +++ b/lib/paperclip/version.rb @@ -1,3 +1,3 @@ module Paperclip - VERSION = "2.6.0" unless defined? Paperclip::VERSION + VERSION = "2.7.0" unless defined? Paperclip::VERSION end