Skip to content
This repository
Browse code

Bump to 2.6.0.

  • Loading branch information...
commit 71d3f46ef52a942975369332af88e18a942fc076 1 parent 2206163
Mike Burns authored February 10, 2012
62  ChangeLog
... ...
@@ -1,12 +1,62 @@
  1
+2012-02-10  Mike Burns <mburns@thoughtbot.com>
  2
+
  3
+	* lib/paperclip/version.rb, ChangeLog, NEWS: Bump to 2.6.0.
  4
+
  5
+2012-02-06  Kelley Reynolds <kelley@insidesystems.net>
  6
+
  7
+	* filesystem.rb (to_file), fog.rb (to_file), s3.rb (to_file): Rewind after
  8
+	reading from the file.
  9
+	* filesystem.rb (flush_writes): Replace mv and unlink complication with a
  10
+	cp, since the unlink already happens elsewhere.
  11
+
  12
+2012-02-03  Luke Griffiths <wlgriffiths@gmail.com>
  13
+
  14
+	* lib/paperclip.rb (has_attached_file), lib/paperclip/attachment_options.rb,
  15
+	attachment_options_test.rb, test/helper.rb, paperclip_test.rb:
  16
+	Introduce Paperclip::AttachmentOptions, a hash-like object that knows about
  17
+	Paperclip-specific options, defaults, and deprecations.
  18
+
  19
+2012-02-03  Jon Yurek <jyurek@thoughtbot.com>
  20
+
  21
+	* lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
  22
+	(matches?, type_allowed?),
  23
+	lib/paperclip/matches/validate_attachment_presence_matcher.rb (matches?,
  24
+	error_when_not_valid?, no_error_when_valid?),
  25
+	lib/paperclip/matches/validate_attachment_size_matcher.rb (matches?,
  26
+	passes_validation_with_size),
  27
+	validate_attachment_content_type_matcher_test.rb,
  28
+	validate_attachment_presence_matcher_test.rb,
  29
+	validate_attachment_size_matcher_test.rb:
  30
+	Validation matchers respect conditionals.
  31
+
  32
+2012-02-01  Justin Ko <justin@kospecinc.com>
  33
+
  34
+	* lib/paperclip/railtie.rb (insert): Guard against the Rails constant not
  35
+	existing.
  36
+
1 37
 2012-01-27  Prem Sichanugrist <psichanugrist@thoughtbot.com>
2 38
 
3  
-* Introducing `:restricted_characters` in Paperclip::Attachment.default_options
4  
-  so people can override their blacklist characters by override that setting.
  39
+	* lib/paperclip/attachment.rb (assign), attachment_test.rb,
  40
+	filesystem_test.rb, s3_test.rb:
  41
+	Introduce :restricted_characters in Paperclip::Attachment.default_options as
  42
+	an overrideable blacklist of characters that will be replaced with an
  43
+	underscore.
  44
+
  45
+	* lib/paperclip/version.rb: Bump to 2.5.2.
  46
+
  47
+2012-01-27  Prem Sichanugrist <s@sikachu.com>
  48
+
  49
+	* test/storage/s3_live_test.rb, test/storage/s3_test.rb:
  50
+	Remove the questionmark filename test, for Windows compatibility.
  51
+
  52
+2012-01-19  Benjamin Hüttinger <huettinger@kupferwerk.com>
  53
+
  54
+	* lib/paperclip/storage/fog.rb: fog_host, fog_credentials, and fog_directory
  55
+	can be Proc objects.
  56
+
  57
+2012-01-27  Mike Burns <mburns@thoughtbot.com>
5 58
 
6  
-* Paperclip will now replace all the special characters in the filename to an
7  
-  underscore. This is a more desired behavior against having to deal with URL
8  
-  escaping and unescaping later. You can see the list of blacklist characters
9  
-  in `lib/paperclip/attachment.rb`
  59
+	* lib/paperclip/version.rb: Bump to 2.5.1.
10 60
 
11 61
 2012-01-20	Jon Yurek <jyurek@thoughtbot.com>
12 62
 
2  Gemfile.lock
... ...
@@ -1,7 +1,7 @@
1 1
 PATH
2 2
   remote: .
3 3
   specs:
4  
-    paperclip (2.5.2)
  4
+    paperclip (2.6.0)
5 5
       activerecord (>= 2.3.0)
6 6
       activesupport (>= 2.3.2)
7 7
       cocaine (>= 0.0.2)
12  NEWS
... ...
@@ -1,3 +1,15 @@
  1
+New in 2.6.0:
  2
+
  3
+* Bug fix: Files are re-wound after reading.
  4
+* Feature: Remove Rails dependency from specs that need Paperclip.
  5
+* Feature: Validation matchers support conditionals.
  6
+
  7
+New in 2.5.2:
  8
+
  9
+* Bug fix: Can be installed on Windows.
  10
+* Feature: The Fog bucket name, authentication, and host can be determined at runtime via Proc.
  11
+* Feature: Special characters are replaced with underscores in #url and #path.
  12
+
1 13
 New in 2.5.1:
2 14
 
3 15
 * Feature: After we've computed the content type, pass it to Fog.
2  lib/paperclip/version.rb
... ...
@@ -1,3 +1,3 @@
1 1
 module Paperclip
2  
-  VERSION = "2.5.2" unless defined? Paperclip::VERSION
  2
+  VERSION = "2.6.0" unless defined? Paperclip::VERSION
3 3
 end

0 notes on commit 71d3f46

Please sign in to comment.
Something went wrong with that request. Please try again.