From 8fbcc6b5934ec660e332de98053ca7a0ae4fa93a Mon Sep 17 00:00:00 2001 From: Jan Graichen Date: Wed, 10 Jul 2024 12:38:12 +0200 Subject: [PATCH] fix: Rails/AR requiring sqlite3 <2.0 --- Gemfile | 4 +++- gemfiles/core.gemfile | 2 +- gemfiles/faraday_10.gemfile | 2 +- gemfiles/faraday_20.gemfile | 2 +- gemfiles/rails_61.gemfile | 2 +- gemfiles/rails_70.gemfile | 2 +- gemfiles/rails_71.gemfile | 2 +- gemfiles/redis_40.gemfile | 2 +- gemfiles/redis_50.gemfile | 2 +- gemfiles/sidekiq_60.gemfile | 2 +- gemfiles/sidekiq_70.gemfile | 2 +- 11 files changed, 13 insertions(+), 11 deletions(-) diff --git a/Gemfile b/Gemfile index a224465..1b0faf6 100644 --- a/Gemfile +++ b/Gemfile @@ -19,8 +19,10 @@ group :test do gem 'redis-client' gem 'restify' gem 'sidekiq' - gem 'sqlite3' gem 'webmock' + + # Rails/ActiveRecord requires sqlite <2.0 + gem 'sqlite3', '~> 1.4' end group :development do diff --git a/gemfiles/core.gemfile b/gemfiles/core.gemfile index b1d678a..cb13af9 100644 --- a/gemfiles/core.gemfile +++ b/gemfiles/core.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/faraday_10.gemfile b/gemfiles/faraday_10.gemfile index a694269..60c163d 100644 --- a/gemfiles/faraday_10.gemfile +++ b/gemfiles/faraday_10.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/faraday_20.gemfile b/gemfiles/faraday_20.gemfile index c1a7717..d23240a 100644 --- a/gemfiles/faraday_20.gemfile +++ b/gemfiles/faraday_20.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/rails_61.gemfile b/gemfiles/rails_61.gemfile index a096eaa..9021016 100644 --- a/gemfiles/rails_61.gemfile +++ b/gemfiles/rails_61.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3", "~> 1.4" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/rails_70.gemfile b/gemfiles/rails_70.gemfile index e48c9ef..b792735 100644 --- a/gemfiles/rails_70.gemfile +++ b/gemfiles/rails_70.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3", "~> 1.4" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/rails_71.gemfile b/gemfiles/rails_71.gemfile index 084f08a..74eed9a 100644 --- a/gemfiles/rails_71.gemfile +++ b/gemfiles/rails_71.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3", "~> 1.4" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/redis_40.gemfile b/gemfiles/redis_40.gemfile index 896825f..399d644 100644 --- a/gemfiles/redis_40.gemfile +++ b/gemfiles/redis_40.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/redis_50.gemfile b/gemfiles/redis_50.gemfile index d97facf..e4922d3 100644 --- a/gemfiles/redis_50.gemfile +++ b/gemfiles/redis_50.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/sidekiq_60.gemfile b/gemfiles/sidekiq_60.gemfile index e0975f3..78b04bf 100644 --- a/gemfiles/sidekiq_60.gemfile +++ b/gemfiles/sidekiq_60.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq", "~> 6.0" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do diff --git a/gemfiles/sidekiq_70.gemfile b/gemfiles/sidekiq_70.gemfile index d06e3e1..3083a09 100644 --- a/gemfiles/sidekiq_70.gemfile +++ b/gemfiles/sidekiq_70.gemfile @@ -14,8 +14,8 @@ group :test do gem "redis-client" gem "restify" gem "sidekiq", "~> 7.0" - gem "sqlite3" gem "webmock" + gem "sqlite3", "~> 1.4" end group :development do