diff options
| author | gemmaro <gemmaro.dev@gmail.com> | 2026-08-24 16:50:32 +0900 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-28 16:40:52 +0200 |
| commit | 65821e9daf5b0bb7a728e63c1ccfc1d0a3ab2e75 (patch) | |
| tree | 904f13897888ba93943794afea65c96f031edd29 /gnu | |
| parent | 60c66e5a7b9f0dda59d89a6abb47e999fcfb4b70 (diff) | |
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 <andreas@enge.fr>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/ruby-check.scm | 22 |
1 files 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: | |||
| 818 | (define-public ruby-multi-test | 818 | (define-public ruby-multi-test |
| 819 | (package | 819 | (package |
| 820 | (name "ruby-multi-test") | 820 | (name "ruby-multi-test") |
| 821 | (version "0.1.2") | 821 | (version "1.1.0") |
| 822 | (source | 822 | (source |
| 823 | (origin | 823 | (origin |
| 824 | (method url-fetch) | 824 | (method git-fetch) ;for tests |
| 825 | (uri (rubygems-uri "multi_test" version)) | 825 | (uri (git-reference |
| 826 | (url "https://github.com/cucumber/multi_test") | ||
| 827 | (commit (string-append "v" version)))) | ||
| 828 | (file-name (git-file-name name version)) | ||
| 826 | (sha256 | 829 | (sha256 |
| 827 | (base32 | 830 | (base32 |
| 828 | "1sx356q81plr67hg16jfwz9hcqvnk03bd9n75pmdw8pfxjfy1yxd")))) | 831 | "1y5vi5s8q3bzq0n04gq68fpaig38r65mfaq1fzcxi1h3prglz1xa")))) |
| 829 | (build-system ruby-build-system) | 832 | (build-system ruby-build-system) |
| 830 | (arguments | 833 | (arguments |
| 831 | '(;; Tests require different sets of specific gem versions to be available, | 834 | (list |
| 832 | ;; and there is no gemfile that specifies the newest versions of | 835 | #:phases |
| 833 | ;; dependencies to be tested. | 836 | #~(modify-phases %standard-phases |
| 834 | #:tests? #f)) | 837 | (replace 'check |
| 838 | (lambda* (#:key tests? #:allow-other-keys) | ||
| 839 | (when tests? | ||
| 840 | (invoke "./test-gemfile" "test/gemfiles/plain-ruby"))))))) | ||
| 835 | (synopsis | 841 | (synopsis |
| 836 | "Interface to testing libraries loaded into a running Ruby process") | 842 | "Interface to testing libraries loaded into a running Ruby process") |
| 837 | (description | 843 | (description |
