Installing sorcery is broken. You are specifying yourself as a dependenc...
Be Mongoid forward & backwards compatible:
- In Mongoid 3, Criteria#and is provided via Origin, and is no longer an alias for #where. It is now used for providing $and selection in MongoDB queries. I've modified the get_current_users criteria to use #where for each chain, which will be both forwards and backwards compatible with Mongoid. - Also fixed 3 broken specs in the rails3_mongoid tests that could not cope with Time.now properly if in a timezone ahead of UTC, like I am in Berlin - Fixes #258.
Added unlock token sent by email for bruteforce protection
Login fails after call to current_user
Fixed spec readme. Used bundle exec with rake spec.
update sorcery version in rails projects at spec path
Change model_class_name behaviour
current_user returns false after login if it was called prior to login during a given request (e.g. in a before_filter). Setting @current_user to nil at start of login fixes this problem.
- Use classify instead of capitalize to make the behaviour of the generator more similar to Rails model generator. - Use underscore instead of downcase for consistency with the previous change
Improve README layout