Releases: thoughtbot/clearance
Releases · thoughtbot/clearance
v0.16.2
v0.16.0
v0.15.0
Added
- The
User
model can be swapped out using theClearance.configure
method.
Removed
- Remove
User::InstanceMethods
to silence a Rails 3.2 deprecation warning.
v0.14.0
v0.13.2
v0.13.0
Changed
- In Clearance's optional generated features, use pure Capybara instead of
depending on Cucumber's removedweb_steps
, paths, and selectors. - Extract SHA-1-specific code out of
User
intoPasswordStrategies
module. - Extract sign in form so that other methods can be added easily.
- Test against Rails 3.1. Required upgrades to Diesel and Appraisal.
v0.12.0
Changed
- Denying access redirects to
root_url
when signed in,sign_in_url
when
signed out. - Using flash
:notice
key everywhere now instead of:success
and:failure
.
More in line with Rails conventions. redirect_back_or
on sign up.- Resetting password no longer redirects to sign in page. It displays a message
telling them to look for an email. - Removed redundant flash messages. ("Signed in.", "Signed out.", and "You are
now signed up.")
v0.11.2
Added
- Rails 3.1.rc compatible.
- RSpec and Test::Unit compliant test matcher (
should deny_access
, etc)
Removed
- No more Clearance
shoulda_macros
. Instead providing RSpec and
Test::Unit-compliant test matchers (should deny_access
, etc).
v0.11.1
Added
- Redirect to home page after sign up.
Fixed
- Removing
:case_sensitive
option fromvalidates_uniqueness_of
. It was
unnecessary and causes a small performance problem on some apps.
Removed
- Remove dependency on
dynamic_form
. Replaced with flashes due to limited number
of failure cases.
v0.11.0
Added
- New
controller#authenticate(params)
method. Redefine username & password or
other styles of authentication.
Changed
before_filter :authenticate
API replaced with more aptly-namedbefore_filter :authorize
.
Removed
- Removing password confirmation.