Repository navigation
Commit c651634
committed
chore: drop the json < 3 pin from the ActiveAdmin 4.0 gemfile
The pin worked around json 3.0 removing the `quirks_mode` keyword that
ActiveSupport::JSON passed to JSON.parse/JSON.generate. activesupport
8.1 no longer passes it -- `quirks_mode` does not appear anywhere in
activesupport 8.1.4's lib/, while 7.2.3 and 8.0.5.1 both pass it in
lib/active_support/json/{decoding,encoding}.rb. Now that this gemfile
is on Rails 8.1 the workaround is dead weight.
Verified rather than assumed: with the pin removed and no lockfile
(as on CI) bundler resolves json 3.0.2, and all four suites pass on
Ruby 3.4.10 -- 161, 7, 8 and 6 examples, 0 failures, no
"unknown keyword: quirks_mode" anywhere.
gemfiles/activeadmin_3.5.gemfile keeps its pin and its comment: that
leg runs an older activesupport, which still passes the keyword.
Removing the pin there resolves json 3.0.2 and produces 59 failures.1 parent 18442ad commit c651634
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
0 commit comments