From dbd7463adc70eded213bd4c2c6c800c5ae98b3b8 Mon Sep 17 00:00:00 2001
From: Andrew Vella <av603@cam.ac.uk>
Date: Tue, 18 Mar 2025 15:32:34 +0000
Subject: [PATCH] chore: upgrade rubocop to fix code quality issue

---
 Gemfile      |  1 +
 Gemfile.lock | 49 +++++++++++++++++++++++++++++++++++++++----------
 README.md    |  1 +
 3 files changed, 41 insertions(+), 10 deletions(-)

diff --git a/Gemfile b/Gemfile
index 52d3d52..0b94ff6 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,3 +6,4 @@ ruby '3.4.2'
 gem 'gitlab-triage', '~> 1.44', '>= 1.44.3'
 gem 'csv'
 gem 'racc'
+gem 'rubocop', '~> 1.60'
diff --git a/Gemfile.lock b/Gemfile.lock
index 212f763..8c6fca6 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -1,19 +1,20 @@
 GEM
   remote: https://rubygems.org/
   specs:
-    activesupport (7.1.5.1)
+    activesupport (8.0.2)
       base64
       benchmark (>= 0.3)
       bigdecimal
-      concurrent-ruby (~> 1.0, >= 1.0.2)
+      concurrent-ruby (~> 1.0, >= 1.3.1)
       connection_pool (>= 2.2.5)
       drb
       i18n (>= 1.6, < 2)
       logger (>= 1.4.2)
       minitest (>= 5.1)
-      mutex_m
       securerandom (>= 0.3)
-      tzinfo (~> 2.0)
+      tzinfo (~> 2.0, >= 2.0.5)
+      uri (>= 0.13.1)
+    ast (2.4.2)
     base64 (0.2.0)
     benchmark (0.4.0)
     bigdecimal (3.1.9)
@@ -29,7 +30,7 @@ GEM
       httparty (~> 0.20.0)
     globalid (1.2.1)
       activesupport (>= 6.1)
-    graphql (2.0.31)
+    graphql (2.0.32)
       base64
     graphql-client (0.25.0)
       activesupport (>= 3.0)
@@ -39,18 +40,45 @@ GEM
       multi_xml (>= 0.5.2)
     i18n (1.14.7)
       concurrent-ruby (~> 1.0)
+    json (2.10.2)
+    language_server-protocol (3.17.0.4)
+    lint_roller (1.1.0)
     logger (1.6.6)
-    mime-types (3.6.0)
+    mime-types (3.6.1)
       logger
       mime-types-data (~> 3.2015)
     mime-types-data (3.2025.0304)
-    minitest (5.25.4)
-    multi_xml (0.6.0)
-    mutex_m (0.3.0)
+    minitest (5.25.5)
+    multi_xml (0.7.1)
+      bigdecimal (~> 3.1)
+    parallel (1.26.3)
+    parser (3.3.7.1)
+      ast (~> 2.4.1)
+      racc
     racc (1.8.1)
-    securerandom (0.3.2)
+    rainbow (3.1.1)
+    regexp_parser (2.10.0)
+    rubocop (1.74.0)
+      json (~> 2.3)
+      language_server-protocol (~> 3.17.0.2)
+      lint_roller (~> 1.1.0)
+      parallel (~> 1.10)
+      parser (>= 3.3.0.2)
+      rainbow (>= 2.2.2, < 4.0)
+      regexp_parser (>= 2.9.3, < 3.0)
+      rubocop-ast (>= 1.38.0, < 2.0)
+      ruby-progressbar (~> 1.7)
+      unicode-display_width (>= 2.4.0, < 4.0)
+    rubocop-ast (1.39.0)
+      parser (>= 3.3.1.0)
+    ruby-progressbar (1.13.0)
+    securerandom (0.4.1)
     tzinfo (2.0.6)
       concurrent-ruby (~> 1.0)
+    unicode-display_width (3.1.4)
+      unicode-emoji (~> 4.0, >= 4.0.4)
+    unicode-emoji (4.0.4)
+    uri (1.0.3)
 
 PLATFORMS
   aarch64-linux
@@ -60,6 +88,7 @@ DEPENDENCIES
   csv
   gitlab-triage (~> 1.44, >= 1.44.3)
   racc
+  rubocop (~> 1.60)
 
 RUBY VERSION
    ruby 3.4.2p28
diff --git a/README.md b/README.md
index f9493f2..a992138 100644
--- a/README.md
+++ b/README.md
@@ -49,4 +49,5 @@ OR by building an image from the `base` target, mount the working directory cont
 docker build --target base -t gitlab-triage-base:latest .
 docker run -it -v "$(pwd):/usr/src/app" -w /usr/src/app gitlab-triage-base:latest /bin/bash
 bundle install --path vendor/bundle
+bundle update
 ```
-- 
GitLab