diff --git a/NEWS b/NEWS index 3a393db06..b80f327e4 100644 --- a/NEWS +++ b/NEWS @@ -1,18 +1,24 @@ master: +5.0.0 (2016-07-01): + * Improvement: Add `read_timeout` configuration for URI Adapter download_content method. * README adjustments for Ruby beginners (add links, elucidate model in Quick Start) * Bugfix: Now it's possible to save images from URLs with special characters [#1932] +* Bugfix: Return false when file to copy is not present in cloud storage [#2173] +* Automatically close file while checking mime type [#2016] +* Add `read_timeout` option to `UriAdapter#download_content` method [#2232] * Fix a nil error in content type validation matcher [#1910] +* Documentation improvements -5.0.0.beta2 (2015-04-01): +5.0.0.beta2 (2016-04-01): * Bugfix: Dynamic fog directory option is now respected * Bugfix: Fixes cocaine duplicated paths [#2169] * Removal of dead code (older versions of Rails and AWS SDK) * README adjustments -5.0.0.beta1 (2015-03-13): +5.0.0.beta1 (2016-03-13): * Bug Fix: megabytes of mime-types info in logs when a spoofed media type is detected. * Drop support to end-of-life'd ruby 2.0. diff --git a/README.md b/README.md index ef9f79f4b..1c74d3f80 100644 --- a/README.md +++ b/README.md @@ -166,7 +166,7 @@ Paperclip is distributed as a gem, which is how it should be used in your app. Include the gem in your Gemfile: ```ruby -gem "paperclip", "~> 5.0.0.beta1" +gem "paperclip", "~> 5.0.0" ``` Or, if you want to get the latest, you can get master from the main paperclip repository: diff --git a/lib/paperclip/version.rb b/lib/paperclip/version.rb index b2dd8e4e9..f3402e4ae 100644 --- a/lib/paperclip/version.rb +++ b/lib/paperclip/version.rb @@ -1,3 +1,5 @@ module Paperclip - VERSION = "5.0.0.beta2" unless defined? Paperclip::VERSION + unless defined?(Paperclip::VERSION) + VERSION = "5.0.0".freeze + end end