Skip to content

Commit

Permalink
Add appropriate version contraint for mongoid.
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
sengi committed Oct 17, 2023
1 parent 7b10cea commit 382ab70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 382ab70

Please sign in to comment.