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)
2.1.1 (from changelog)
Friday 13th-release!
Careful! The bugfix below (#626) could break existing code. If you rely on the
return value for authorize and namespaced policies you might need to do some
changes.
Fixed
.authorize and #authorize return the instance, even for namespaced
policies (#626)
Changed
Generate application scope with protected attr_readers. (#616)
Removed
Dropped support for Ruby end-of-life versions: 2.1 and 2.2. (#604)
Dropped support for Ruby end-of-life versions: 2.3 (#633)
Dropped support for Ruby end-of-life versions: 2.4, 2.5 and JRuby 9.1 (#676)
Fixed an incorrect InvalidTimezoneIdentifier exception raised when loading a zoneinfo file that includes rules specifying an additional transition to the final defined offset (for example, Africa/Casablanca in version 2018e of the Time Zone Database). #123.
Added support for handling "slim" format zoneinfo files that are produced by default by zic version 2020b and later. The POSIX-style TZ string is now used calculate DST transition times after the final defined transition in the file. The 64-bit section is now always used regardless of whether Time has support for 64-bit times. #120.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ pundit (1.1.0 → 2.2.0) · Repo · Changelog
Release Notes
2.2.0 (from changelog)
2.1.1 (from changelog)
2.1.0 (from changelog)
2.0.1 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ concurrent-ruby (indirect, 1.0.5 → 1.1.9) · Repo · Changelog
Release Notes
1.1.9 (from changelog)
1.1.8 (from changelog)
1.1.7 (from changelog)
1.1.6 (from changelog)
1.1.5 (from changelog)
1.1.4 (from changelog)
1.1.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ i18n (indirect, 1.1.0 → 1.9.1) · Repo · Changelog
Release Notes
Too many releases to show here. View the full release notes.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ minitest (indirect, 5.11.3 → 5.15.0) · Repo · Changelog
Release Notes
5.15.0 (from changelog)
5.14.4 (from changelog)
5.14.3 (from changelog)
5.14.2 (from changelog)
5.14.0 (from changelog)
5.13.0 (from changelog)
5.12.2 (from changelog)
5.12.1 (from changelog)
5.12.0 (from changelog)
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by more commits than we can show here.
↗️ tzinfo (indirect, 1.2.5 → 1.2.9) · Repo · Changelog
Release Notes
1.2.9
1.2.8
1.2.7
1.2.6
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 64 commits:
Preparing v1.2.9.
Remove JRuby 9.0.5.0.
Download GlobalSign Root CA - R3 for use with older Ruby versions.
Add 1.8.7-head, 1.9.2-p330, jruby-9.0.5.0 and ree to allow failures.
Update to JRuby 9.2.14.0.
Ignore generated transations that do not change the offset.
[ci skip] Add issue number reference.
Preparing v1.2.8.
Update time zone test fixtures based on tzdata 2020d.
Support "slim" zoneinfo files produced by default by zic >= 2020b.
Use up to date Linux distros to test (where possible).
Remove the deprecated sudo option.
Switch to travis-ci.com.
Update to Ruby 2.7.2 and JRuby 9.2.13.0.
Revert "Add Ruby 2.7 on AppVeyor."
Add Ruby 2.7 on AppVeyor.
Stop supporting Rubinius.
Update to Ruby 2.4.10.
Improve grammar.
Preparing v1.2.7.
Update to Ruby 2.7.1.
Revert to Ruby 2.4.9 and 2.7.0.
Update to Ruby 2.4.10, 2.5.8, 2.6.6, 2.7.1 and JRuby 9.2.11.1.
Use shields.io for badges.
Update copyright years.
Add a build status badge for AppVeyor.
Replace broken links.
Use https for links where available.
Update to JRuby 9.2.11.0.
Merge pull request #112.
Test for just the non-existence of #untaint.
Fix comments relating to taint/untaint removal.
Don't rely on lexicographic version comparisons.
Fix test failures on Ruby 1.8.7.
Fix erroneous 'wrong number of arguments' errors on JRuby 9.0.5.0.
`$VERBOSE = false` won't be worked since `rb_warning` is changed to `rb_warn`
Update to Ruby 2.7.0.
Update copyright years.
Preparing v1.2.6.
Replace expired gem signing certificate.
Fix a comment.
Ruby Enterprise Edition requires older versions of RubyGems and Bundler.
Fix block not being called by RubyCoreSupport.open_file on JRuby 9.2.
Revert "Try and fix an incorrect rake version being picked with JRuby 1.7."
Try and fix an incorrect rake version being picked with JRuby 1.7.
Convert to UNIX line endings.
Simplify minitest version constraint.
Update to Ruby v2.7.0-rc2.
Run CI tests on Windows with AppVeyor.
Enable verbose test output.
Update Travis CI Ruby versions.
Prevent bundler from attempting to use version minitest v5.12.0.
Allow newer versions of Rake that fix warnings with Ruby 2.7.
Eliminate a warning when calling File.open with keyword arguments.
Suppress deprecation warnings due to Object#untaint on Ruby 2.7.
Fix test failures on Ruby 1.8.7 caused by DateTime issues.
Remove the unused REQUIRE_PATH constant from RubyDataSource.
Fix SecurityErrors when loading data in safe mode.
Test that RUBY_ENGINE is defined.
Skip tests that fail due to Ruby bug 14060 on Ruby 2.4.4.
Update to the latest Ruby, JRuby and Rubinius releases.
Fix a documentation typo.
Return the correct seconds since the epoch value for strftime with %s.
Restrictions on timezones only apply to older (pre-1.9) Ruby releases.
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands