Skip to content

Commit

Permalink
chore: Restrain pg and que to use Rails < 7.2.0
Browse files Browse the repository at this point in the history
There is also a bottom constraint of Rails
(or Rails-related gems) 6.1.0 to prevent
cases where Rails 3.2.0 was installed instead.

The gems need updates to support Rails 7.2.
  • Loading branch information
kaylareopelle committed Aug 12, 2024
1 parent 30457ce commit 79d3c1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'opentelemetry-helpers-sql-obfuscation'
spec.add_dependency 'opentelemetry-instrumentation-base', '~> 0.22.1'

spec.add_development_dependency 'activerecord'
spec.add_development_dependency 'activerecord', '< 7.2.0', '> 6.1.0'
spec.add_development_dependency 'appraisal', '~> 2.5'
spec.add_development_dependency 'bundler', '~> 2.4'
spec.add_development_dependency 'minitest', '~> 5.0'
Expand Down
2 changes: 1 addition & 1 deletion instrumentation/que/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source 'https://rubygems.org'
gemspec

group :test do
gem 'activerecord'
gem 'activerecord', '< 7.2.0', '> 6.1.0'
gem 'pg'
gem 'opentelemetry-helpers-sql-obfuscation', path: '../../helpers/sql-obfuscation'
gem 'opentelemetry-instrumentation-base', path: '../base'
Expand Down

0 comments on commit 79d3c1c

Please sign in to comment.