Skip to content

Commit

Permalink
chore: Match default sqlite3 version with Rails
Browse files Browse the repository at this point in the history
The default installed Rails version 8.0 requires sqlite3 ~> 2.0.
Concrete test suites for Rails versions override this as needed anyway,
but running specs without a specific Gemfile can fail.
  • Loading branch information
jgraichen committed Dec 13, 2024
1 parent f8c1441 commit aec235f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ group :test do
gem 'sidekiq'
gem 'webmock'

# Rails/ActiveRecord requires sqlite <2.0
gem 'sqlite3', '~> 1.4'
gem 'sqlite3', '~> 2.0'
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/core.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/faraday_10.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/faraday_20.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/redis_40.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/redis_50.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/sidekiq_60.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq", "~> 6.0"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down
2 changes: 1 addition & 1 deletion gemfiles/sidekiq_70.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ group :test do
gem "restify"
gem "sidekiq", "~> 7.0"
gem "webmock"
gem "sqlite3", "~> 1.4"
gem "sqlite3", "~> 2.0"
end

group :development do
Expand Down

0 comments on commit aec235f

Please sign in to comment.