Skip to content

Commit

Permalink
Bump version to 2.3.0
Browse files Browse the repository at this point in the history
Use the latest Pundit version.

TL;DR: load order is complicated

Godmin was not usable with the previous Pundit version because that
introduced a deprecation warning which relied on ActiveSupport. Due to
the way that gem loading works, this caused problems with Godmin, since
the relevant part of ActiveSupport was not loaded when Pundit tried to
show the deprecation message.

This should in the worst case result in deprecation warnings being shown
for projects which want to upgrade Godmin, but without making the
(trivial) change from `include Pundit` to `include
Pundit::Authorization`.
  • Loading branch information
dgmstuart committed Mar 9, 2022
1 parent 6b94b44 commit b270f37
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

### 2.3.0 - 2022-03-09

Other
- Upgrade to latest Pundit: 2.2.0 (https://github.com/varvet/godmin/pull/266)

### 2.2.2 - 2021-11-08

Fix
Expand Down
2 changes: 1 addition & 1 deletion lib/godmin/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Godmin
VERSION = "2.2.2"
VERSION = "2.3.0"
end

0 comments on commit b270f37

Please sign in to comment.