[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
194/229: gnu: ruby-shoulda: Honor #:tests?.
From: |
guix-commits |
Subject: |
194/229: gnu: ruby-shoulda: Honor #:tests?. |
Date: |
Tue, 28 Mar 2023 22:29:22 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 2a34881356ae60ea2426a4008bbae8a24f9a3468
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 17 22:07:34 2023 -0400
gnu: ruby-shoulda: Honor #:tests?.
* gnu/packages/ruby.scm (ruby-shoulda)
[arguments]: Honor #:tests? in check phase.
---
gnu/packages/ruby.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 24b5546ecf..f02ed79588 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -10152,9 +10152,11 @@ more complex, and error-prone.")
`(#:phases
(modify-phases %standard-phases
(replace 'check
- ;; Don't run tests to avoid circular dependence with rails. Instead
- ;; just import the library to test.
- (lambda _ (invoke "ruby" "-Ilib" "-r" "shoulda")))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ ;; Don't run tests to avoid circular dependence with rails.
+ ;; Instead just import the library to test.
+ (invoke "ruby" "-Ilib" "-r" "shoulda"))))
(add-after 'extract-gemspec 'relax-requirements
(lambda _
(substitute* "shoulda.gemspec"
- 161/229: gnu: Add ruby-bootsnap., (continued)
- 161/229: gnu: Add ruby-bootsnap., guix-commits, 2023/03/28
- 170/229: gnu: ruby-spring: Update to 4.1.1., guix-commits, 2023/03/28
- 187/229: gnu: ruby-terminal-table: Update to 3.0.2., guix-commits, 2023/03/28
- 193/229: gnu: ruby-shoulda: Update to 4.0.0., guix-commits, 2023/03/28
- 195/229: gnu: ruby-unf-ext: Update to 0.0.8.2., guix-commits, 2023/03/28
- 196/229: gnu: jekyll: Use gexps and remove input labels., guix-commits, 2023/03/28
- 203/229: gnu: Add ruby-version-gem., guix-commits, 2023/03/28
- 207/229: gnu: ruby-omniauth: Update to 2.1.1., guix-commits, 2023/03/28
- 209/229: gnu: ruby-cuke-modeler: Update to 3.19.0 and enable tests., guix-commits, 2023/03/28
- 191/229: gnu: ruby-shoulda-matchers: Update to 5.3.0., guix-commits, 2023/03/28
- 194/229: gnu: ruby-shoulda: Honor #:tests?.,
guix-commits <=
- 205/229: gnu: Add ruby-snaky-hash., guix-commits, 2023/03/28
- 206/229: gnu: ruby-oauth2: Update to 2.0.9 and enable tests., guix-commits, 2023/03/28
- 163/229: gnu: ruby-globalid: Move to (gnu packages rails)., guix-commits, 2023/03/28
- 175/229: gnu: Add perl-app-cpanminus., guix-commits, 2023/03/28
- 180/229: gnu: ruby-braintree: Update to 4.10.0., guix-commits, 2023/03/28
- 184/229: gnu: ruby-prawn-svg: Fix build., guix-commits, 2023/03/28
- 188/229: gnu: ruby-liquid: Update to 4.0.3., guix-commits, 2023/03/28
- 200/229: gnu: Add ruby-ruby-version., guix-commits, 2023/03/28
- 201/229: gnu: Add ruby-rspec-pending-for., guix-commits, 2023/03/28
- 219/229: gnu: Add ruby-spy., guix-commits, 2023/03/28