From aec235f8aee4d2f98695df0c414c34178dc56b9c Mon Sep 17 00:00:00 2001 From: Jan Graichen Date: Fri, 13 Dec 2024 02:22:21 +0100 Subject: [PATCH] chore: Match default sqlite3 version with Rails 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. --- Gemfile | 3 +-- gemfiles/core.gemfile | 2 +- gemfiles/faraday_10.gemfile | 2 +- gemfiles/faraday_20.gemfile | 2 +- gemfiles/redis_40.gemfile | 2 +- gemfiles/redis_50.gemfile | 2 +- gemfiles/sidekiq_60.gemfile | 2 +- gemfiles/sidekiq_70.gemfile | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index dbd074e..768895c 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/gemfiles/core.gemfile b/gemfiles/core.gemfile index cb13af9..dff8b9c 100644 --- a/gemfiles/core.gemfile +++ b/gemfiles/core.gemfile @@ -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 diff --git a/gemfiles/faraday_10.gemfile b/gemfiles/faraday_10.gemfile index 60c163d..ebe1ad5 100644 --- a/gemfiles/faraday_10.gemfile +++ b/gemfiles/faraday_10.gemfile @@ -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 diff --git a/gemfiles/faraday_20.gemfile b/gemfiles/faraday_20.gemfile index d23240a..bbab813 100644 --- a/gemfiles/faraday_20.gemfile +++ b/gemfiles/faraday_20.gemfile @@ -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 diff --git a/gemfiles/redis_40.gemfile b/gemfiles/redis_40.gemfile index 399d644..9223197 100644 --- a/gemfiles/redis_40.gemfile +++ b/gemfiles/redis_40.gemfile @@ -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 diff --git a/gemfiles/redis_50.gemfile b/gemfiles/redis_50.gemfile index e4922d3..9418587 100644 --- a/gemfiles/redis_50.gemfile +++ b/gemfiles/redis_50.gemfile @@ -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 diff --git a/gemfiles/sidekiq_60.gemfile b/gemfiles/sidekiq_60.gemfile index 78b04bf..2999431 100644 --- a/gemfiles/sidekiq_60.gemfile +++ b/gemfiles/sidekiq_60.gemfile @@ -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 diff --git a/gemfiles/sidekiq_70.gemfile b/gemfiles/sidekiq_70.gemfile index 3083a09..2105487 100644 --- a/gemfiles/sidekiq_70.gemfile +++ b/gemfiles/sidekiq_70.gemfile @@ -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