[bug#78826,14/88] gnu: ruby-minitest-stub-const: Update to 0.6-0.dbcaa18.

Message ID 20250618142822.27945-14-ngraves@ngraves.fr
State New
Headers
Series Switch to ruby@3.3 and build -P1 ruby@3.3 |

Commit Message

Nicolas Graves June 18, 2025, 2:27 p.m. UTC
  * 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(-)
  

Patch

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