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.4.0 to 2.5.0 #3034

Merged
merged 1 commit into from
Mar 4, 2025
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 4, 2025

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps pundit from 2.4.0 to 2.5.0.

Changelog

Sourced from pundit's changelog.

2.5.0 (2025-03-03)

Added

  • Add Pundit::Authorization#pundit_reset! hook to reset the policy and policy scope cache. #830
  • Add links to gemspec. #845
  • Register policies directories for Rails 8 code statistics #833
  • Added an example for how to use pundit with Rails 8 authentication generator #850

Changed

  • Deprecated Pundit::SUFFIX, moved it to Pundit::PolicyFinder::SUFFIX #835
  • Explicitly require less of active_support #837
  • Using permit matcher without a surrouding permissions block now raises a useful error. #836

Fixed

  • Using a hash as custom cache in Pundit.authorize now works as documented. #838
Commits
  • be91242 Merge pull request #851 from varvet/kbs/new-release
  • 37f8099 Bump to v2.5.0
  • 56941c3 Update issue links in CHANGELOG
  • 51ce6a9 Merge pull request #850 from SuzukiRyuichiro/current-user-for-rails-8-auth
  • b117d41 rephrase the sentence for better readability
  • f8c9f45 chore: update changelog;'
  • 9f3e70e feat: add some documentation to provide hints for how to use pundit when peop...
  • 5507430 Merge pull request #833 from javierav/rails-stats
  • 8dfc38f Merge branch 'main' into rails-stats
  • cbaa0ab Merge pull request #845 from eizengan/patch-1
  • 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 <dependency name> 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)

Bumps [pundit](https://github.com/varvet/pundit) from 2.4.0 to 2.5.0.
- [Changelog](https://github.com/varvet/pundit/blob/main/CHANGELOG.md)
- [Commits](varvet/pundit@v2.4.0...v2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Mar 4, 2025
Copy link

github-actions bot commented Mar 4, 2025

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

Copy link
Contributor

@govuk-ci govuk-ci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR has been scanned and automatically approved by govuk-dependabot-merger.

@govuk-ci govuk-ci merged commit 736e32b into main Mar 4, 2025
12 checks passed
@govuk-ci govuk-ci deleted the dependabot/bundler/pundit-2.5.0 branch March 4, 2025 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant