Subject: [bug#74376] [PATCH 2/2] gnu: ruby-rubocop-ast: Update to 1.36.1.

From: gemmaro <[email-masked]>
Date: Sat, 16 Nov 2024 10:31:43 +0900

* gnu/packages/ruby.scm (ruby-rubocop-ast): Update to 1.36.1.
[arguments]<#:phases>: Remove the relax-dependencies phase since SimpleCov
version constraint has been updated.
Remove the Prism gem entry from the Gemfile.

Change-Id: I20b51226b697eeb87aa1bef1837967b55edc3dd9
---
 gnu/packages/ruby.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5a736d0980..afb0a6426e 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -9109,7 +9109,7 @@ (define-public ruby-rest-client
 (define-public ruby-rubocop-ast
   (package
     (name "ruby-rubocop-ast")
-    (version "1.28.0")
+    (version "1.36.1")
     (source
      (origin
        (method git-fetch)               ;no test suite in distributed gem
@@ -9119,16 +9119,15 @@ (define-public ruby-rubocop-ast
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1dp09gcmahmdfi3s6xsksr3ka9dddjpy9ymhr9wjwv67y1falffr"))))
+         "17qln4pwc3x09l17k6sb4bjkxb16qbv194bi3fkwfgs9jmyvh9yn"))))
     (build-system ruby-build-system)
     (arguments
      `(#:test-target "spec"
        #:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'relax-dependencies
+                  (add-after 'extract-gemspec 'remove-dependencies
                     (lambda _
                       (substitute* "Gemfile"
-                        (("gem 'simplecov', '~> 0.10', '< 0.18'")
-                         "gem 'simplecov', '~> 0.10'"))))
+                        (("gem 'prism'.*") "")))) ;Prism gem has not yet been packaged.
                   (add-before 'build 'generate-lexer
                     (lambda _
                       (setenv "RUBOCOP_VERSION" "none")
-- 
2.46.0