[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
190/229: gnu: ruby-shoulda-context: Honor #:tests?.
From: |
guix-commits |
Subject: |
190/229: gnu: ruby-shoulda-context: Honor #:tests?. |
Date: |
Tue, 28 Mar 2023 22:29:22 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit d2b8af9b827d6a67ff999a5f672ba190dfa97e44
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 17 22:06:10 2023 -0400
gnu: ruby-shoulda-context: Honor #:tests?.
* gnu/packages/ruby.scm (ruby-shoulda-context)
[arguments]: Honor #:tests? in check phase.
---
gnu/packages/ruby.scm | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 100df594e7..e2093161d7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10091,10 +10091,11 @@ engine.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- (lambda _
- ;; Do not run tests to avoid circular dependence with rails.
- ;; Instead just import the library to test.
- (invoke "ruby" "-Ilib" "-r" "shoulda-context"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Do not run tests to avoid circular dependence with rails.
+ ;; Instead just import the library to test.
+ (invoke "ruby" "-Ilib" "-r" "shoulda-context")))))))
(synopsis "Test::Unit context framework extracted from Shoulda")
(description
"@code{shoulda-context} is the context framework extracted from Shoulda.
- 176/229: gnu: ruby-minitest: Update home page URL., (continued)
- 176/229: gnu: ruby-minitest: Update home page URL., guix-commits, 2023/03/28
- 213/229: gnu: Add ruby-ammeter-bootstrap., guix-commits, 2023/03/28
- 166/229: gnu: Add ruby-propshaft., guix-commits, 2023/03/28
- 167/229: gnu: Add ruby-stimulus-rails., guix-commits, 2023/03/28
- 169/229: gnu: ruby-rails: Update to 7.0.4.3., guix-commits, 2023/03/28
- 172/229: gnu: Add ruby-flores., guix-commits, 2023/03/28
- 215/229: gnu: Add ruby-ammeter., guix-commits, 2023/03/28
- 214/229: gnu: ruby-rspec-rails: Update to 6.0.1 and enable tests., guix-commits, 2023/03/28
- 156/229: gnu: ruby-actionmailbox: Update to 7.0.4.3., guix-commits, 2023/03/28
- 165/229: gnu: ruby-railties: Enable test suite., guix-commits, 2023/03/28
- 190/229: gnu: ruby-shoulda-context: Honor #:tests?.,
guix-commits <=
- 229/229: gnu: geeqie: Enable most features, add doc., guix-commits, 2023/03/28
- 211/229: gnu: ruby-parallel-tests: Update to 4.2.0., guix-commits, 2023/03/28