From 9d022c4f199bb0525f766b2425dc87fd77db2f17 Mon Sep 17 00:00:00 2001
From: Stan Hu <stanhu@gmail.com>
Date: Thu, 9 Jan 2025 15:03:01 -0800
Subject: [PATCH] Add drb as an explicit dependency

Previously this gem was a default gem, but in Ruby 3.4 it is now a
bundled gem. Add this to eliminate warnings that are shown
in Ruby 3.3.
---
 Gemfile           | 2 ++
 Gemfile.checksum  | 1 +
 Gemfile.lock      | 2 ++
 Gemfile.next.lock | 1 +
 4 files changed, 6 insertions(+)

diff --git a/Gemfile b/Gemfile
index 5fa450caf6e17..32daa2acd11c4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -38,6 +38,8 @@ end
 gem 'activerecord-gitlab', path: 'gems/activerecord-gitlab', feature_category: :shared
 # This can be dropped after upgrading to Rails 7.2: https://github.com/rails/rails/pull/49674
 gem 'mutex_m', '~> 0.3', feature_category: :shared
+# Need by Rails
+gem 'drb', '~> 2.2', feature_category: :shared
 
 gem 'bootsnap', '~> 1.18.3', require: false, feature_category: :shared
 
diff --git a/Gemfile.checksum b/Gemfile.checksum
index 88bcf33bc76f8..743696bb8e1a1 100644
--- a/Gemfile.checksum
+++ b/Gemfile.checksum
@@ -132,6 +132,7 @@
 {"name":"doorkeeper-device_authorization_grant","version":"1.0.3","platform":"ruby","checksum":"94c3ac12a0d50942850ecd58ed64298b397a5e903e8880cb68d4085600932679"},
 {"name":"doorkeeper-openid_connect","version":"1.8.10","platform":"ruby","checksum":"b28efaa9b52cbe9aca4efc825a7ef63cc950ae6a96f4a72ed8362f278a453742"},
 {"name":"dotenv","version":"2.7.6","platform":"ruby","checksum":"2451ed5e8e43776d7a787e51d6f8903b98e446146c7ad143d5678cc2c409d547"},
+{"name":"drb","version":"2.2.1","platform":"ruby","checksum":"e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340"},
 {"name":"dry-cli","version":"1.0.0","platform":"ruby","checksum":"28ead169f872954dd08910eb8ead59cf86cd18b4aab321e8eeefe945749569f0"},
 {"name":"dry-core","version":"1.0.1","platform":"ruby","checksum":"f32f4245e0f54e787f3708584ed8f7545aaf8dd99072e36f169312468ec5450d"},
 {"name":"dry-inflector","version":"1.0.0","platform":"ruby","checksum":"6ad22361ca2d6f3f001ae3037ffcfea01163f644280d13a9195d3c3a94dd1626"},
diff --git a/Gemfile.lock b/Gemfile.lock
index d87d0fce6826a..b2e1fb211f8c7 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -556,6 +556,7 @@ GEM
       doorkeeper (>= 5.5, < 5.9)
       jwt (>= 2.5)
     dotenv (2.7.6)
+    drb (2.2.1)
     dry-cli (1.0.0)
     dry-core (1.0.1)
       concurrent-ruby (~> 1.0)
@@ -2049,6 +2050,7 @@ DEPENDENCIES
   doorkeeper (~> 5.8, >= 5.8.1)
   doorkeeper-device_authorization_grant (~> 1.0.0)
   doorkeeper-openid_connect (~> 1.8.10)
+  drb (~> 2.2)
   duo_api (~> 1.3)
   ed25519 (~> 1.3.0)
   elasticsearch-api (= 7.17.11)
diff --git a/Gemfile.next.lock b/Gemfile.next.lock
index 33f2b65d7a123..cbf83ff13e8a6 100644
--- a/Gemfile.next.lock
+++ b/Gemfile.next.lock
@@ -2081,6 +2081,7 @@ DEPENDENCIES
   doorkeeper (~> 5.8, >= 5.8.1)
   doorkeeper-device_authorization_grant (~> 1.0.0)
   doorkeeper-openid_connect (~> 1.8.10)
+  drb (~> 2.2)
   duo_api (~> 1.3)
   ed25519 (~> 1.3.0)
   elasticsearch-api (= 7.17.11)
-- 
GitLab