Commit 760a4e05 by Mike Burns

Bump to 2.7.0

parent 5078b563
2012-02-10 Mike Burns <mburns@thoughtbot.com>
* lib/paperclip/version.rb, ChangeLog, NEWS: Bump to 2.6.0.
2012-02-06 Kelley Reynolds <kelley@insidesystems.net>
* 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 <wlgriffiths@gmail.com>
* 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 <jyurek@thoughtbot.com>
* 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 <justin@kospecinc.com>
* lib/paperclip/railtie.rb (insert): Guard against the Rails constant not
existing.
2012-01-27 Prem Sichanugrist <psichanugrist@thoughtbot.com>
* 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 <s@sikachu.com>
* 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 <huettinger@kupferwerk.com>
* lib/paperclip/storage/fog.rb: fog_host, fog_credentials, and fog_directory
can be Proc objects.
2012-01-27 Mike Burns <mburns@thoughtbot.com>
* lib/paperclip/version.rb: Bump to 2.5.1.
2012-01-20 Jon Yurek <jyurek@thoughtbot.com>
* lib/paperclip/railtie.rb (insert): Hide ActiveRecord-specific stuff in
the Railtie
2012-01-18 Luke Griffiths <wlgriffiths@gmail.com>
* 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 <jeremy.mcnevin@thedolancompany.com> and ralph <ralph@rvdh.de>
* lib/paperclip/storage/fog.rb (flush_writes), fog_test.rb: Pass the
content type to Fog.
PATH PATH
remote: . remote: .
specs: specs:
paperclip (2.6.0) paperclip (2.7.0)
activerecord (>= 2.3.0) activerecord (>= 2.3.0)
activesupport (>= 2.3.2) activesupport (>= 2.3.2)
cocaine (>= 0.0.2) cocaine (>= 0.0.2)
...@@ -24,7 +24,7 @@ GEM ...@@ -24,7 +24,7 @@ GEM
appraisal (0.4.1) appraisal (0.4.1)
bundler bundler
rake rake
arel (3.0.0) arel (3.0.2)
aruba (0.4.6) aruba (0.4.6)
bcat (>= 0.6.1) bcat (>= 0.6.1)
childprocess (>= 0.2.0) childprocess (>= 0.2.0)
......
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: New in 2.6.0:
* Bug fix: Files are re-wound after reading. * Bug fix: Files are re-wound after reading.
......
module Paperclip module Paperclip
VERSION = "2.6.0" unless defined? Paperclip::VERSION VERSION = "2.7.0" unless defined? Paperclip::VERSION
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment