README.md in clearance-1.0.0.rc6 vs README.md in clearance-1.0.0.rc7
- old
+ new
@@ -18,15 +18,15 @@
Install
-------
Clearance is a Rails engine tested against [Rails 3.x](/Appraisals) on Ruby
-1.9.x.
+1.9.x and Ruby 2.0.x.
Include the gem in your Gemfile:
- gem 'clearance', '1.0.0.rc6'
+ gem 'clearance', '1.0.0.rc7'
Bundle:
bundle --binstubs
@@ -49,16 +49,18 @@
Use [0.16.3](http://rubygems.org/gems/clearance/versions/0.16.3) for Ruby 1.8.7.
Configure
---------
-Override any of the defaults in `config/initializers/clearance.rb`:
+Override any of these defaults in `config/initializers/clearance.rb`:
Clearance.configure do |config|
config.cookie_expiration = lambda { 1.year.from_now.utc }
+ config.secure_cookie = false
config.mailer_sender = 'reply@example.com'
config.password_strategy = Clearance::PasswordStrategies::BCrypt
config.user_model = User
+ config.redirect_path = '/'
end
Use
---