From 5e1b6370d134d2d06cc4a859654f53c94a99434c Mon Sep 17 00:00:00 2001 From: Thomas Burkhalter Date: Thu, 8 Feb 2024 02:49:39 +0100 Subject: [PATCH] Update to a patched nulldb adapter Since the old version did not support t.unique_constraint, the build failed before. --- Gemfile | 2 +- Gemfile.lock | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 7a46c1dc..775e2140 100644 --- a/Gemfile +++ b/Gemfile @@ -6,7 +6,7 @@ git_source(:github) { |name| "https://github.com/#{name}.git" } gem 'rails', '~> 7.0.x' -gem 'activerecord-nulldb-adapter' +gem 'activerecord-nulldb-adapter', github: 'puzzle/nulldb' gem 'pg' gem 'nochmal', github: 'puzzle/nochmal' diff --git a/Gemfile.lock b/Gemfile.lock index 9f7a7dba..858f936b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,6 +6,13 @@ GIT pastel rails (>= 6.0) +GIT + remote: https://github.com/puzzle/nulldb.git + revision: 06088c94b496f3ecd6017c759bc0b2353b50e89a + specs: + activerecord-nulldb-adapter (1.0.1) + activerecord (>= 5.2.0, < 7.2) + GEM remote: https://rubygems.org/ specs: @@ -71,8 +78,6 @@ GEM activemodel (= 7.1.3) activesupport (= 7.1.3) timeout (>= 0.4.0) - activerecord-nulldb-adapter (1.0.1) - activerecord (>= 5.2.0, < 7.2) activeresource (6.0.0) activemodel (>= 6.0) activemodel-serializers-xml (~> 1.0) @@ -691,7 +696,7 @@ PLATFORMS x86_64-linux DEPENDENCIES - activerecord-nulldb-adapter + activerecord-nulldb-adapter! acts_as_tree airbrake annotate