From 65821e9daf5b0bb7a728e63c1ccfc1d0a3ab2e75 Mon Sep 17 00:00:00 2001 From: gemmaro Date: Mon, 24 Aug 2026 16:50:32 +0900 Subject: gnu: ruby-multi-test: Update to 1.1.0. * gnu/packages/ruby-check.scm (ruby-multi-test): Update to 1.1.0. [source]: Use Git repository. [arguments]<#:tests>: Enable it. <#:phases>{check}: Replace with the simplest case. Signed-off-by: Andreas Enge --- gnu/packages/ruby-check.scm | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/gnu/packages/ruby-check.scm b/gnu/packages/ruby-check.scm index 2d5517cf94c..6535d8fd6e4 100644 --- a/gnu/packages/ruby-check.scm +++ b/gnu/packages/ruby-check.scm @@ -818,20 +818,26 @@ for Minitest. This gem provides: (define-public ruby-multi-test (package (name "ruby-multi-test") - (version "0.1.2") + (version "1.1.0") (source (origin - (method url-fetch) - (uri (rubygems-uri "multi_test" version)) + (method git-fetch) ;for tests + (uri (git-reference + (url "https://github.com/cucumber/multi_test") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "1sx356q81plr67hg16jfwz9hcqvnk03bd9n75pmdw8pfxjfy1yxd")))) + "1y5vi5s8q3bzq0n04gq68fpaig38r65mfaq1fzcxi1h3prglz1xa")))) (build-system ruby-build-system) (arguments - '(;; Tests require different sets of specific gem versions to be available, - ;; and there is no gemfile that specifies the newest versions of - ;; dependencies to be tested. - #:tests? #f)) + (list + #:phases + #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "./test-gemfile" "test/gemfiles/plain-ruby"))))))) (synopsis "Interface to testing libraries loaded into a running Ruby process") (description -- cgit v1.2.3