Subject: [PATCH 14/88] gnu: ruby-minitest-stub-const: Update to 0.6-0.dbcaa18.

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

* gnu/packages/ruby-xyz.scm (ruby-minitest-stub-const): Update to 0.6-0.dbcaa18.
---
 gnu/packages/ruby-xyz.scm | 40 +++++++++++++++++++++------------------
 1 file changed, 22 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/ruby-xyz.scm b/gnu/packages/ruby-xyz.scm
index b6a2a42e95..c4cd843331 100644
--- a/gnu/packages/ruby-xyz.scm
+++ b/gnu/packages/ruby-xyz.scm
@@ -5374,24 +5374,28 @@ (define-public ruby-minitest-sprint
     (license license:expat)))
 
 (define-public ruby-minitest-stub-const
-  (package
-    (name "ruby-minitest-stub-const")
-    (version "0.6")                     ;for Rakefile
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/adammck/minitest-stub-const")
-                    (commit (string-append "v" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0cz4r9fxplx94c7wakx0998n2gv7l21prn8pfpw6z2c33k3g2xar"))))
-    (build-system ruby-build-system)
-    (synopsis "Stub constants for the duration of a block in MiniTest")
-    (description "This package provides a MiniTest extension to stub constants
-for the duration of a block in MiniTest.")
-    (home-page "https://github.com/adammck/minitest-stub-const")
-    (license license:expat)))
+  ;; XXX: Minitest update unreleased.
+  (let ((commit "dbcaa18249e48a4b0efa8b09f01a2b111db800e0")
+        (revision "0"))
+    (package
+      (name "ruby-minitest-stub-const")
+      (version (git-version "0.6" revision commit))  ;for Rakefile
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/adammck/minitest-stub-const")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "08avrpvk8yj1f6x1m8bcq7gdf08x1zcx9iamjysxnalrpwnw5lh6"))))
+      (build-system ruby-build-system)
+      (synopsis "Stub constants for the duration of a block in MiniTest")
+      (description
+       "This package provides a MiniTest extension to stub constants for the
+duration of a block in MiniTest.")
+      (home-page "https://github.com/adammck/minitest-stub-const")
+      (license license:expat))))
 
 (define-public ruby-minitest-bacon
   (package
-- 
2.49.0