Skip to content

Bump pundit from 1.1.0 to 2.1.0 - #136

Open
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/pundit-2.1.0
Open

Bump pundit from 1.1.0 to 2.1.0#136
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/bundler/pundit-2.1.0

Conversation

@dependabot-preview

@dependabot-preview dependabot-preview Bot commented Aug 15, 2019

Copy link
Copy Markdown
Contributor

⚠️ Dependabot Preview has been deactivated ⚠️

This pull request was created by Dependabot Preview, and you've upgraded to Dependabot. This means it won't respond to dependabot commands nor will it be automatically closed if a new version is found.

If you close this pull request, Dependabot will re-create it the next time it checks for updates and everything will work as expected.


Bumps pundit from 1.1.0 to 2.1.0.

Changelog

Sourced from pundit's changelog.

2.1.0 (2019-08-14)

Fixed

  • Avoid name clashes with the Error class. (#590)

Changed

  • Return a safer default NotAuthorizedError message. (#583)

2.0.1 (2019-01-18)

Breaking changes

None

Other changes

  • Improve exception handling for #policy_scope and #policy_scope!. (#550)
  • Add :policy metadata to RSpec template. (#566)

2.0.0 (2018-07-21)

No changes since beta1

2.0.0.beta1 (2018-07-04)

Breaking changes

  • Only pass last element of "namespace array" to policy and scope. (#529)
  • Raise InvalidConstructorError if a policy or policy scope with an invalid constructor is called. (#462)
  • Return passed object from #authorize method to make chaining possible. (#385)

Other changes

  • Add policy_class option to authorize to be able to override the policy. (#441)

  • Add policy_scope_class option to authorize to be able to override the policy scope. (#441)

  • Fix param_key issue when passed an array. (#529)

  • Allow specification of a NilClassPolicy. (#525)

  • Make sure policy_class override is called when passed an array. (#475)

  • Use action_name instead of params[:action]. (#419)

  • Add pundit_params_for method to make it easy to customize params fetching. (#502)

Commits

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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Aug 15, 2019
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from e90326e to db02403 Compare December 6, 2019 18:02
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch 4 times, most recently from d1271d1 to e4ed596 Compare January 21, 2020 14:58
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from e4ed596 to 7d7df08 Compare February 4, 2020 15:15
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from 7d7df08 to 0520025 Compare February 13, 2020 18:57
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch 3 times, most recently from 7f2eecf to 3b8f1c4 Compare March 26, 2020 13:11
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from 3b8f1c4 to 48fae09 Compare May 5, 2020 12:27
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch 2 times, most recently from fa278d6 to 7d2b8fa Compare May 23, 2020 21:42
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from 7d2b8fa to 8b661ba Compare June 16, 2020 12:31
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from 8b661ba to c1a677b Compare August 28, 2020 22:16
Comment thread Gemfile

# Auithorization
gem "pundit", "~> 1.1"
gem "pundit", "~> 2.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from c1a677b to 0fd92a3 Compare September 17, 2020 13:34
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch 3 times, most recently from be48f21 to 939e622 Compare February 2, 2021 13:05
Bumps [pundit](https://github.com/varvet/pundit) from 1.1.0 to 2.1.0.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview
dependabot-preview Bot force-pushed the dependabot/bundler/pundit-2.1.0 branch from 939e622 to 2d52dd5 Compare March 16, 2021 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants