Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pundit-matchers from 2.3.0 to 3.1.2 #1407

Open
wants to merge 1 commit into
base: the-future
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2023

Bumps pundit-matchers from 2.3.0 to 3.1.2.

Changelog

Sourced from pundit-matchers's changelog.

3.1.2 (2023-06-28)

  • Fix namespace resolution under some circumstances

3.1.1 (2023-06-25)

  • Fix composability support

3.1.0 (2023-06-19)

  • Add *_attribute(s) matchers for uniformity with *_action(s)

3.0.1 (2023-06-17)

  • Allow to match dynamically defined actions

3.0.0 (2023-06-14)

  • Drop RSpec < 3.12 and Pundit < 2 compatibility
  • Eliminate ambiguity of negated matchers
  • Add support for configuring user alias per policy
  • Add support for nested attributes

Breaking changes

Default User Alias

In order to allow to specify user alias on a policy basis, the user_alias configuration has been renamed to default_user_alias. This will affect test suites setting config.user_alias.

  • Change config.user_alias to config.default_user_alias

Negated Matchers

The ambiguity of negated matchers has been eliminated, and this will affect test suites using not_to matchers.

The following matchers will raise an error because of their ambiguity and ask to switch to the opposite non-negated matcher:

  • not_to forbid_all_actions
  • not_to forbid_only_actions
  • not_to permit_all_actions
  • not_to permit_only_actions

The following matchers may fail, because there were ambiguous in the previous implementation, and the application policies should be fixed:

  • not_to forbid_edit_and_update_actions

... (truncated)

Commits
  • bd15a7f Release version 3.1.2
  • 6b89c13 Merge pull request #111 from punditcommunity/bugfix/110-require-composable
  • c1d5901 Force resolution at top level
  • 5c75f5a Merge pull request #109 from punditcommunity/release-version-3.1.1
  • c1dda8c Release version 3.1.1
  • ec7d6a6 Merge pull request #108 from punditcommunity/bugfix/fix-composability
  • 2b346e5 Add back composability support
  • b1942be Merge pull request #106 from punditcommunity/release-version-3.1.0
  • 3c0c3f3 Release version 3.1.0
  • e7ad09a Merge pull request #98 from tagliala/feature/94-introduce-permit-attributes
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@NuckChorris
Copy link
Member

@dependabot rebase

Bumps [pundit-matchers](https://github.com/punditcommunity/pundit-matchers) from 2.3.0 to 3.1.2.
- [Release notes](https://github.com/punditcommunity/pundit-matchers/releases)
- [Changelog](https://github.com/punditcommunity/pundit-matchers/blob/main/CHANGELOG.md)
- [Commits](pundit-community/pundit-matchers@v2.3.0...v3.1.2)

---
updated-dependencies:
- dependency-name: pundit-matchers
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/bundler/pundit-matchers-3.1.2 branch from 7f17708 to e0e2df3 Compare April 22, 2024 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant