Skip to content
This repository was archived by the owner on Jun 16, 2025. It is now read-only.

Bump pundit from 2.3.1 to 2.5.0 - #72

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/pundit-2.5.0
Open

Bump pundit from 2.3.1 to 2.5.0#72
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/pundit-2.5.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 31, 2025

Copy link
Copy Markdown
Contributor

Bumps pundit from 2.3.1 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

2.4.0 (2024-08-26)

Changed

  • Improve the NotAuthorizedError message to include the policy class. Furthermore, in the case where the record passed is a class instead of an instance, the class name is given. #812

Added

  • Add customizable permit matcher description #806
  • Add support for filter_run_when_matching :focus with permissions helper. #820

2.3.2 (2024-05-08)

  • Refactor: First pass of Pundit::Context #797

Changed

  • Update ApplicationPolicy generator to qualify the Scope class name #792
  • Policy generator uses NoMethodError to indicate #resolve is not implemented #776

Deprecated

  • Dropped support for Ruby 3.0 #796
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.3.1 to 2.5.0.
- [Changelog](https://github.com/varvet/pundit/blob/main/CHANGELOG.md)
- [Commits](varvet/pundit@v2.3.1...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 @github

dependabot Bot commented on behalf of github Mar 31, 2025

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants