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 from 2.1.1 to 2.2.0 #2140

Merged
merged 1 commit into from
Feb 12, 2022
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 11, 2022

Bumps pundit from 2.1.1 to 2.2.0.

Changelog

Sourced from pundit's changelog.

2.2.0 (2022-02-11)

Fixed

  • Using policy_class and a namespaced record now passes only the record when instantiating the policy. (#697, #689, #694, #666)

Changed

  • Require users to explicitly define Scope#resolve in generated policies (#711, #722)

Deprecated

  • Deprecate include Pundit in favor of include Pundit::Authorization (#621)
Commits
  • d569083 Release v2.2.0
  • a636019 Merge pull request #722 from varvet/kbs+dgms/test-generators
  • 5acf84c Merge pull request #710 from petergoldstein/feature/add_ruby_3_1_to_travis
  • 44cfa73 Require users to explicitly define Scope#resolve
  • 54675c6 Merge pull request #717 from drewmoore/update-documentation-for-headless-poli...
  • 856d74d Merge pull request #719 from varvet/kbs/add-documentation-note-to-README
  • 3aefb95 Add another note about API documentation
  • 67e0dd3 Remove Struct inheritance from headless policy example
  • 3c725c7 Merge pull request #708 from MarceloAGuimaraes/update-rubocop
  • 4bb0c7d Removing ruby 2.6 as required version because JRuby jruby-9.2 considers itsel...
  • 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 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)

Bumps [pundit](https://github.com/varvet/pundit) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/main/CHANGELOG.md)
- [Commits](varvet/pundit@v2.1.1...v2.2.0)

---
updated-dependencies:
- dependency-name: pundit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies changes or issues relating to a dependency label Feb 11, 2022
@nickcharlton nickcharlton merged commit a0003aa into main Feb 12, 2022
@nickcharlton nickcharlton deleted the dependabot/bundler/pundit-2.2.0 branch February 12, 2022 12:49
@sedubois
Copy link
Contributor

sedubois commented Feb 13, 2022

include Pundit should be changed to include Pundit::Authorization:

nickcharlton added a commit that referenced this pull request Feb 14, 2022
In #2140, we updated Pundit but it also needs the include changing.
nickcharlton added a commit that referenced this pull request Feb 15, 2022
In #2140, we updated Pundit but it also needs the include changing.

varvet/pundit@4d9b584
nickcharlton added a commit that referenced this pull request Feb 15, 2022
In #2140, we updated Pundit but it also needs the include changing.

varvet/pundit@4d9b584
nickcharlton added a commit that referenced this pull request Feb 15, 2022
In #2140, we updated Pundit but it also needs the include changing.

varvet/pundit@4d9b584
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies changes or issues relating to a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants