diff --git a/instrumentation/que/Appraisals b/instrumentation/que/Appraisals index 7792e4821..dc7c61668 100644 --- a/instrumentation/que/Appraisals +++ b/instrumentation/que/Appraisals @@ -6,12 +6,19 @@ appraise 'que-1.x' do gem 'que', '~> 1.4' + gem 'activerecord', '~> 7.1.0' end appraise 'que-2.x' do - gem 'que', '~> 2.3' + gem 'que', '~> 2.4' + 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' end diff --git a/instrumentation/que/Gemfile b/instrumentation/que/Gemfile index 1c201b285..1cf945c0a 100644 --- a/instrumentation/que/Gemfile +++ b/instrumentation/que/Gemfile @@ -9,7 +9,6 @@ source 'https://rubygems.org' gemspec group :test do - gem 'activerecord', '< 7.2.0', '> 7.0.0' gem 'pg' gem 'opentelemetry-helpers-sql-obfuscation', path: '../../helpers/sql-obfuscation' gem 'opentelemetry-instrumentation-base', path: '../base'