Skip to content

Commit 469c3db

Browse files
authored
Merge pull request rails#50233 from rails/lock-json-gem
Lock json gem
2 parents b3b230c + a8e0792 commit 469c3db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ gem "bcrypt", "~> 3.1.11", require: false
4040
gem "terser", ">= 1.1.4", require: false
4141

4242
# Explicitly avoid 1.x that doesn't support Ruby 2.4+
43-
gem "json", ">= 2.0.0"
43+
gem "json", ">= 2.0.0", "!=2.7.0"
4444

4545
# Workaround until Ruby ships with cgi version 0.3.6 or higher.
4646
gem "cgi", ">= 0.3.6", require: false

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ DEPENDENCIES
593593
importmap-rails (>= 1.2.3)
594594
jbuilder
595595
jsbundling-rails
596-
json (>= 2.0.0)
596+
json (>= 2.0.0, != 2.7.0)
597597
libxml-ruby
598598
listen (~> 3.3)
599599
mdl

0 commit comments

Comments
 (0)