Skip to content

Commit

Permalink
test: Add Ruby version constraint to activerecord
Browse files Browse the repository at this point in the history
  • Loading branch information
kaylareopelle committed Nov 21, 2024
1 parent 3b9224f commit df52944
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions instrumentation/que/Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ end

appraise 'que-2.x' do
gem 'que', '~> 2.4'
gem 'activerecord', '~> 7.2.0'
end
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.1.0')
gem 'activerecord', '~> 7.2.0'
else
gem 'activerecord'
end
end

appraise 'que-latest' do
gem 'que'
gem 'activerecord'
appraise 'que-latest' do
gem 'que'
gem 'activerecord'
end
end

0 comments on commit df52944

Please sign in to comment.