CHANGELOG.markdown in authority-2.3.2 vs CHANGELOG.markdown in authority-2.4.0
- old
+ new
@@ -1,6 +1,20 @@
# Changelog
+Authority does its best to use [semantic versioning](http://semver.org).
+
+## v2.4.0
+
+Controller method `authorize_actions_for` can now be given a method name to dynamically determine the class to authorize. For example, `authorize_actions_for :model_class` will call the `model_class` method on the controller instance at request time.
+
+## v2.3.2
+
+- Updated `can?` to only pass options if it was given options.
+
+## v2.3.1
+
+- Had second thought and reworked `can?(:action)` to call `Application_authorizer.authorizes_to_#{action}?`. Ensured it's backwards compatible for the few people who started using this in the last day or so.
+
## v2.3.0
- Added generic `current_user.can?(:mimic_lemurs)` for cases where there is no resource to work with. This calls a corresponding class method on `ApplicationAuthorizer`, like `ApplicationAuthorizer.can_mimic_lemurs?`.
- Renamed `authority_action` to `authority_actions` (plural) to reflect the fact that you can set multiple actions at once. Use of the old method will raise a deprecation warning.
- Lots of test cleanup so that test output is clearer - run rspec with `--format doc --order default` to see it.