All Versions
95
Latest Version
Avg Release Cycle
114 days
Latest Release
912 days ago
Changelog History
Page 4
Changelog History
Page 4
-
v1.5.0 Changes
October 17, 2014โ Added
- Disable clearance routes by setting
config.routes = false
. - 0๏ธโฃ Running
rails generate clearance:routes
will dump the default set of routes to your application's routes file for modification.
- Disable clearance routes by setting
-
v1.4.3 Changes
October 03, 2014๐ Fixed
- Routing constraints act appropriately when session data is missing.
-
v1.4.2 Changes
September 13, 2014๐ Fixed
- ๐ Eliminate deprecation message when using DenyAccess matcher with RSpec 3.
-
v1.4.1 Changes
September 05, 2014๐ Fixed
- ๐ป Prevent BCrypt strategy from raising an exception when
encypted_password
is nil.
- ๐ป Prevent BCrypt strategy from raising an exception when
-
v1.4.0 Changes
July 18, 2014โ Added
user_params
method was added toClearance::UsersController
which provides a convenient place to override the parameters used when creating users.- Controllers now inherit from
Clearance::BaseController
to allow for easily adding behavior to all of them.
๐ Changed
- 0๏ธโฃ The sign out link in the default application layout has been replaced with a semantically correct sign out button. This also removes an unnecessary JavaScript dependency.
๐ Fixed
- Clearance now uses
original_fullpath
when redirecting to a saved URL after login. This should improve the behavior in mounted engines.
-
v1.3.0 Changes
March 14, 2014โ Added
- Installing Clearance with an existing User model will now create a migration that includes adding remember tokens to all existing user records.
-
v1.2.1 Changes
March 06, 2014๐ Fixed
- Query string is now included in the redirect URL when Clearance redirects to a previously stored URL.
-
v1.2.0 Changes
February 28, 2014โ Added
- ๐ Support for Rails 4.1.0.rc1
- Sign in can now be disabled with
config.allow_sign_in = false
๐ Changed
- Sign in failure message is now customized exclusively via I18n.
SessionsController#flash_failure_after_create
is no longer called. To customize the message, change theclearance.controllers.sessions.bad_email_or_password
orflashes.failure_after_create
key.
๐ Deprecated
- โ
clearance/testing
is now deprecated. Requireclearance/rspec
orclearance/test_unit
as appropriate.
-
v1.1.0 Changes
November 21, 2013โ Added
- Validate email with
EmailValidator
strict mode. - ๐ง The
cookie_expiration
configuration lambda can now be called with acookies
parameter. Allows the Clearance cookie expiration to be set according to the value of another cookie (such asremember_me
). - ๐ Allow cookie domain and path configuration.
- โ Add sign in guards.
๐ Fixed
- Don't allow logins with blank
remember_token
.
๐ Deprecated
- A
cookie_expiration
lambda that does not accept thiscookies
parameter has been deprecated.
- Validate email with
-
v1.0.1 Changes
August 09, 2013๐ Fixed
- ๐ Fix an issue when trying to sign in with
nil
- ๐ Fix an issue when trying to sign in with