diff mbox series

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

Message ID 0eedb8d9cdfe79c0de5e7f59c4d0bbf26ce6e55f.1731718899.git.gemmaro.dev@gmail.com
State New
Headers show
Series gnu: ruby-rubocop-ast: Update to 1.36.1. | expand

Commit Message

gemmaro Nov. 16, 2024, 1:31 a.m. UTC
* 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 mbox series

Patch

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")