- Allow
permit_mass_assignment_of
andforbid_mass_assignment_of
to accept an array of attributes for testing the mass asignment of multiple attributes.
- Remove configuration from being in a seperate file (to get gem working again).
- Add support for configuring a custom user alias globally.
- Fix
permit_actions
andforbid_actions
matchers that were still not working with a singular action.
- Add a changelog going back to the 1.0.0 release.
- Remove requirement that
permit_actions
andforbid_actions
matchers check more than one action. - Add a list of which actions are mismatched to failure messages.
- Remove mention of
record
from error messages, since the record may be undefined.
- Add support for a second parameter in
permit_action
andforbid_action
matchers, containing arguments.
- Rollback the attempt to split matchers file into smaller files.
- Attempt to get split matchers file working inside of gem.
- Attempt to get split matchers file working inside of gem.
- Add RSpec to the project, along with specs for existing matchers.
- Add
permit_actions
andforbid_actions
matchers. - Prevent "instance variable not initialized" warnings from appearing in the test output.
- Attempt to split matchers file into smaller files.
- Add
for_action
matcher that can be chained tomass_assignment_of
matchers. - Change the word 'performing' to 'authorising' in failure messages.
- Fix
forbid_mass_assignment_of
matcher which was checking the opposite condition.
- Simplify gem dependencies to support RSpec 3.5 beta (and Rails 5).
- Require rspec/core explicitly.
- Initial stable release.