From 382ab70ae84eeb4dd661428478159f3dff20c1e6 Mon Sep 17 00:00:00 2001 From: Chris Banks Date: Tue, 17 Oct 2023 16:54:24 +0100 Subject: [PATCH] Add appropriate version contraint for mongoid. `mongoid` 7 is the last major version that's compatible with `mongo` driver 2.15 (which is the last version that's compatible with MongoDB 2, which we're stuck with for at least a few more weeks). https://www.mongodb.com/docs/mongoid/current/reference/compatibility/ Hoping this also fixes the unexpected Dependabot behaviour in #592 where it tries to downgrade `mongoid` all the way to version 1. --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index b31f371..4459b8b 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,7 @@ gem "gds-sso" gem "govuk_app_config" gem "mongo", "~> 2.15.1" -gem "mongoid" +gem "mongoid", "~> 7.5" group :development, :test do gem "brakeman"