Releases: stephendolan/pundit
Releases · stephendolan/pundit
v0.10.0
v0.9.0
Support for Crystal 1.0
v0.8.0
Add support for Crystal 0.36.1
v0.7.1
Resolve an issue whereby a non-existent policy would still throw a compiler error, even if a policy override was provided.
v0.7.0
- Add inline documentation
- Refactor error structures to remove useless parent
v0.6.0
- Refactor test suite to be more robust and extensible
v0.5.0
authorize
now returns the object it was passed if authorization succeeds.true
is returned if authorization passes and no object was provided- Added tests
v0.4.0
Add the following Lucky tasks:
lucky pundit.init
to scaffold up yourApplicationPolicy
lucky gen.policy
to create a new entry insrc/policies/
v0.3.0
Renaming interface for authorize
.
Previously:
macro authorize(object = nil, policy_class_override = nil, method_name_override = nil)
New:
macro authorize(object = nil, policy = nil, query = nil)
v0.2.0
Bump version