Skip to content

v0.7.0: api changes

Compare
Choose a tag to compare
@tomichj tomichj released this 26 May 01:13
· 16 commits to master since this release

API Changes

  • controller#require_authentication is deprecated, use controller#require_login
  • controller#authenticated? is deprecated, use controller#logged_in?
  • added controller#logged_out?
    authenticated? and required_authentication will be removed in a future release.

Test support

  • Added login_as via middleware for feature/integration/system tests.
  • added rspec helpers for view and controller tests
  • added test-unit helpers for controller/view tests

Internal changes - will not affect normal apps

  • Session#initialize(request, cookies) is now Session#initialize(request)
  • Session API changes, #authenticated? renamed #logged_in?