From 9ac89368ef2d5ab1d65e7c4fbc3b0e6c7dd9bb00 Mon Sep 17 00:00:00 2001 From: Joseph Kotanchik Date: Thu, 5 Sep 2024 10:47:23 -0400 Subject: [PATCH] MAT-7584: Lock mongoid to 8.x. 9.x versions caused runtime errors, unable to find Time.zone.parse(). --- Gemfile | 1 + Gemfile.lock | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index d61d928..486b33f 100644 --- a/Gemfile +++ b/Gemfile @@ -7,6 +7,7 @@ gem 'cqm-reports', '4.1.2' gem 'rackup', '~> 2.1' gem 'rack-contrib', '~> 2.5', '>= 2.5.0' gem 'jwt' +gem 'mongoid', '~> 8.1.5' gem 'cqm-models', :git => 'https://github.com/projecttacoma/cqm-models', :branch => 'master' diff --git a/Gemfile.lock b/Gemfile.lock index 5df8807..f6c38c2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -8,9 +8,9 @@ GIT GEM remote: https://rubygems.org/ specs: - activemodel (7.1.3.4) - activesupport (= 7.1.3.4) - activesupport (7.1.3.4) + activemodel (7.1.4) + activesupport (= 7.1.4) + activesupport (7.1.4) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -59,10 +59,11 @@ GEM minitest (5.22.2) mongo (2.20.1) bson (>= 4.14.1, < 6.0.0) - mongoid (9.0.1) + mongoid (8.1.5) activemodel (>= 5.1, < 7.2, != 7.0.0) concurrent-ruby (>= 1.0.5, < 2.0) mongo (>= 2.18.0, < 3.0.0) + ruby2_keywords (~> 0.0.5) mongoid-tree (2.3.0) mongoid (>= 4.0, < 10) mustache (1.1.1) @@ -128,6 +129,7 @@ DEPENDENCIES cqm-reports (= 4.1.2) jwt minitest + mongoid (~> 8.1.5) passenger rack-contrib (~> 2.5, >= 2.5.0) rack-test