From 1f28341aea792f9450ddb32e9d2a8b329f3d885b Mon Sep 17 00:00:00 2001 From: Derek Prior Date: Thu, 2 Nov 2017 18:55:25 -0400 Subject: [PATCH] v1.16.1 --- Gemfile.lock | 17 +++++++++-------- NEWS.md | 14 ++++++++++++++ lib/clearance/version.rb | 2 +- 3 files changed, 24 insertions(+), 9 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index e649c0228..86decd2f4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - clearance (1.16.0) + clearance (1.16.1) bcrypt email_validator (~> 1.4) rails (>= 3.1) @@ -64,7 +64,7 @@ GEM rack-test (>= 0.5.4) xpath (~> 2.0) coderay (1.1.1) - concurrent-ruby (1.0.4) + concurrent-ruby (1.0.5) database_cleaner (1.5.3) diff-lcs (1.2.5) email_validator (1.6.0) @@ -75,18 +75,19 @@ GEM factory_bot_rails (4.8.2) factory_bot (~> 4.8.2) railties (>= 3.0.0) - globalid (0.3.7) - activesupport (>= 4.1.0) + globalid (0.4.1) + activesupport (>= 4.2.0) i18n (0.7.0) json (1.8.6) loofah (2.0.3) nokogiri (>= 1.5.9) - mail (2.6.4) - mime-types (>= 1.16, < 4) + mail (2.7.0) + mini_mime (>= 0.1.1) method_source (0.8.2) mime-types (3.1) mime-types-data (~> 3.2015) mime-types-data (3.2016.0521) + mini_mime (0.1.4) mini_portile2 (2.1.0) minitest (5.10.1) nokogiri (1.6.8.1) @@ -146,7 +147,7 @@ GEM sprockets (3.7.1) concurrent-ruby (~> 1.0) rack (> 1, < 3) - sprockets-rails (3.2.0) + sprockets-rails (3.2.1) actionpack (>= 4.0) activesupport (>= 4.0) sprockets (>= 3.0.0) @@ -179,4 +180,4 @@ DEPENDENCIES timecop (~> 0.6) BUNDLED WITH - 1.13.6 + 1.15.4 diff --git a/NEWS.md b/NEWS.md index 46ed5011d..2db788111 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,20 @@ The noteworthy changes for each Clearance version are included here. For a complete changelog, see the git history for each version via the version links. +## [1.16.1] - November 2, 2017 + +### Fixed +- Fixed issue where tokens from abandoned password reset attempts were stored in + the session, preventing newly generated password reset tokens from working. +- Improve compatibility with Rails API projects by calling `helper_method` only + when it is defined. +- URL fragment in server-set `session[:return_to]` values are preserved when + redirecting to the stored value. +- Eliminated deprecation in Clearance test helpers that were related to the + renaming of FactoryGirl to FactoryBot. + +[1.16.1]: https://github.com/thoughtbot/clearance/compare/v1.16.0...v1.16.1 + ## [1.16.0] - January 16, 2017 ### Security diff --git a/lib/clearance/version.rb b/lib/clearance/version.rb index 814d573ca..02b5e0745 100644 --- a/lib/clearance/version.rb +++ b/lib/clearance/version.rb @@ -1,3 +1,3 @@ module Clearance - VERSION = "1.16.0".freeze + VERSION = "1.16.1".freeze end