Skip to content

Commit

Permalink
test: pin sqlite3 to < 2.0 for now
Browse files Browse the repository at this point in the history
because the Rails adapter requires `~> 1.4` through v7.1.3.2

we can loosen this for later versions of Rails that contain rails/rails#51592
and any future releases of 7.1 that contain rails/rails#51636
  • Loading branch information
flavorjones committed Apr 24, 2024
1 parent 5e7fa34 commit 808659b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ platforms :jruby do
end

platforms :ruby do
gem 'sqlite3', '~> 1.4.0'
gem 'sqlite3', '~> 1.4', '< 2.0' # can allow 2.0 once Rails's sqlite adapter allows it
end

gem 'activerecord', '>= 5.0.0'
2 changes: 1 addition & 1 deletion gemfiles/rails_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ platform :jruby do
end

platform :ruby do
gem 'sqlite3'
gem 'sqlite3', '~> 1.4', '< 2.0' # can allow 2.0 once Rails's sqlite adapter allows it
end

gemspec :path => '../'
2 changes: 1 addition & 1 deletion gemfiles/rails_6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ platform :jruby do
end

platform :ruby do
gem 'sqlite3'
gem 'sqlite3', '~> 1.4', '< 2.0' # can allow 2.0 once Rails's sqlite adapter allows it
end

gemspec :path => '../'
2 changes: 1 addition & 1 deletion gemfiles/rails_7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ platform :jruby do
end

platform :ruby do
gem 'sqlite3'
gem 'sqlite3', '~> 1.4', '< 2.0' # can allow 2.0 once Rails's sqlite adapter allows it
end

gemspec :path => '../'
2 changes: 1 addition & 1 deletion gemfiles/rails_7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ platform :jruby do
end

platform :ruby do
gem 'sqlite3'
gem 'sqlite3', '~> 1.4', '< 2.0' # can allow 2.0 once Rails's sqlite adapter allows it
end

gemspec :path => '../'

0 comments on commit 808659b

Please sign in to comment.