Skip to content

Commit c0d2b72

Browse files
committed
chore: Constrain activesupport < 7.2 for Grape 1.8.0 compatibility
Grape 1.8.0 is incompatible with activesupport >= 7.2 due to deprecation API changes. Add conditional constraint to allow testing with Grape 1.8.0 while maintaining compatibility with Grape 2.x and 3.x.
1 parent 1e002a3 commit c0d2b72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ group :development, :test do
2424
if grape_version == 'HEAD' || Gem::Version.new(grape_version) >= Gem::Version.new('2.0.0')
2525
gem 'rack', '>= 3.0'
2626
else
27+
gem 'activesupport', '< 7.2'
2728
gem 'rack', '< 3.0'
2829
end
2930

0 commit comments

Comments
 (0)