Subject: [bug#78826] [PATCH 32/88] gnu: ruby-ruby-version: Update to 1.0.3.

From: Nicolas Graves <[email-masked]>
Date: Wed, 18 Jun 2025 16:27:19 +0200

* gnu/packages/ruby-xyz.scm (ruby-ruby-version): Update to 1.0.3.
  [arguments]{phases}: Remove uneeded phase 'delete-gem-files.
---
 gnu/packages/ruby-xyz.scm | 15 ++-------------
 1 file changed, 2 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index 9c67bc6f81..3348469b61 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -6359,28 +6359,17 @@ (define-public ruby-ruby-parser
 (define-public ruby-ruby-version
   (package
     (name "ruby-ruby-version")
-    (version "1.0.2")
+    (version "1.0.3")
     (source (origin
               (method url-fetch)
               (uri (rubygems-uri "ruby_version" version))
               (sha256
                (base32
-                "0lvc7bd5ps3w2vq2wb02i0pi3vfcx2rnckx2ix4rjym1qf52kb2j"))))
+                "1dfcy4bz7kgmp4i7kvqg2w5l9rsf6vp9hhqqfg4ydds60yazjc2r"))))
     (build-system ruby-build-system)
     (arguments
      (list #:phases
            #~(modify-phases %standard-phases
-               (add-after 'extract-gemspec 'delete-gem-files
-                 ;; There are some pre-built files in the source, and
-                 ;; registered in the .gemspec (see:
-                 ;; https://github.com/janlelis/ruby_version/issues/1).
-                 (lambda _
-                   (delete-file-recursively "pkg")
-                   (substitute* "ruby_version.gemspec"
-                     (("\"pkg/ruby_version-1.0.0.gem\".freeze, ")
-                      "")
-                     (("\"pkg/ruby_version-1.0.1.gem\".freeze, ")
-                      ""))))
                (add-after 'extract-gemspec 'relax-requirements
                  (lambda _
                    (delete-file "Gemfile.lock")
-- 
2.49.0