[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
192/229: gnu: ruby-shoulda-matchers: Honor #:tests?.
From: |
guix-commits |
Subject: |
192/229: gnu: ruby-shoulda-matchers: Honor #:tests?. |
Date: |
Tue, 28 Mar 2023 22:29:22 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 7800103c8189cde3eebdc1c083fb104ced63ba59
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 17 22:06:43 2023 -0400
gnu: ruby-shoulda-matchers: Honor #:tests?.
* gnu/packages/ruby.scm (ruby-shoulda-matchers)
[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 0c7dc39d50..faf3dafdda 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10121,10 +10121,11 @@ names.")
`(#: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-matchers"))))))
+ (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-matchers")))))))
(propagated-inputs
(list ruby-activesupport))
(synopsis "Collection of testing matchers extracted from Shoulda")
- 159/229: gnu: ruby-sprockets: Move to (gnu packages rails)., (continued)
- 159/229: gnu: ruby-sprockets: Move to (gnu packages rails)., guix-commits, 2023/03/28
- 162/229: gnu: ruby-globalid: Update to 1.1.0., guix-commits, 2023/03/28
- 178/229: gnu: ruby-rubocop-rspec-minimal: Update source and home page URL., guix-commits, 2023/03/28
- 189/229: gnu: ruby-shoulda-context: Update to 2.0.0., guix-commits, 2023/03/28
- 134/229: gnu: Add ruby-capybara., guix-commits, 2023/03/28
- 160/229: gnu: ruby-sprockets-rails: Update to 3.4.2., guix-commits, 2023/03/28
- 171/229: gnu: Add ruby-dotenv-rails., guix-commits, 2023/03/28
- 173/229: gnu: Add ruby-pleaserun., guix-commits, 2023/03/28
- 177/229: gnu: ruby-minitest: Update to 5.18.0., guix-commits, 2023/03/28
- 183/229: gnu: ruby-slim: Update to 5.1.0., guix-commits, 2023/03/28
- 192/229: gnu: ruby-shoulda-matchers: Honor #:tests?.,
guix-commits <=
- 198/229: gnu: Add ruby-rspec-stubbed-env., guix-commits, 2023/03/28
- 204/229: gnu: ruby-hashie: Update to 5.0.0 and enable tests., guix-commits, 2023/03/28
- 208/229: gnu: ruby-omniauth-oauth2: Update to 1.8.0., guix-commits, 2023/03/28
- 217/229: gnu: Add ruby-truthy., guix-commits, 2023/03/28
- 218/229: gnu: ruby-coveralls: Propagate ruby-simplecov and enable tests., guix-commits, 2023/03/28
- 224/229: Revert "lint: Append "/info/refs" to git-reference-url.", guix-commits, 2023/03/28
- 227/229: services: fstrim: Fix schedule ungexp., guix-commits, 2023/03/28
- 228/229: gnu: geeqie: Update to 2.0.1., guix-commits, 2023/03/28
- 210/229: gnu: ruby-single-cov: Update to 1.9.1., guix-commits, 2023/03/28
- 168/229: gnu: Add ruby-turbo-rails., guix-commits, 2023/03/28