portagenetwork / roadmap

Developed by the the Alliance in collaboration with University of Alberta, DMP Assistant a data management planning tool, forking the DMP Roadmap codebase
MIT License
6 stars 1 forks source link

Bump pundit-matchers from 2.0.0 to 3.1.2 #655

Closed dependabot[bot] closed 5 months ago

dependabot[bot] commented 5 months ago

Bumps pundit-matchers from 2.0.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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
aaronskiba commented 5 months ago

Requires ruby >= 3

dependabot[bot] commented 5 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.