[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
119/229: gnu: Add ruby-covered.
From: |
guix-commits |
Subject: |
119/229: gnu: Add ruby-covered. |
Date: |
Tue, 28 Mar 2023 22:29:11 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit 159c9ee0efd5732621fd8596f5b413d6ca54578c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Jan 9 11:24:19 2023 -0500
gnu: Add ruby-covered.
* gnu/packages/ruby.scm (ruby-covered): New variable.
---
gnu/packages/ruby.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a266dd27f3..0d89a47ec0 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8695,6 +8695,48 @@ software development workflow.")
(native-inputs
'())))
+(define-public ruby-covered
+ (package
+ (name "ruby-covered")
+ (version "0.20.2")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "covered" version))
+ (sha256
+ (base32
+ "04fpj493jn23ah5fq93956a5h2xj3z0hrckvc26fxcfsg5pbwypa"))))
+ (build-system ruby-build-system)
+ (arguments
+ ;; XXX: The test suite is disabled to avoid dependency cycles with
+ ;; ruby-samovar, through ruby-bake.
+ (list #:tests? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'extract-gemspec 'relax-requirements
+ (lambda _
+ (substitute* ".gemspec"
+ (("\">= 3.2\"")
+ "\">= 2.7\"")))))))
+ (propagated-inputs (list ruby-console ruby-msgpack))
+ (synopsis "Modern approach to code coverage in Ruby")
+ (description "Covered uses modern Ruby features to generate comprehensive
+coverage, including support for templates which are compiled into Ruby. It
+has the following features:
+@itemize
+@item
+Incremental coverage -- if you run your full test suite, and the run a subset,
+it will still report the correct coverage - so you can incrementally work on
+improving coverage.
+@item
+Integration with RSpec, Minitest, Travis & Coveralls - no need to configure
+anything - out of the box support for these platforms.
+@item
+It supports coverage of views -- templates compiled to Ruby code can be
+tracked for coverage reporting.
+@end itemize")
+ (home-page "https://github.com/ioquatix/covered")
+ (license license:expat)))
+
(define-public ruby-coveralls
(package
(name "ruby-coveralls")
- 107/229: gnu: Add ruby-faraday-multipart., (continued)
- 107/229: gnu: Add ruby-faraday-multipart., guix-commits, 2023/03/28
- 109/229: gnu: Add ruby-fileutils., guix-commits, 2023/03/28
- 111/229: gnu: ruby-bandwidth-iris: Fix indentation., guix-commits, 2023/03/28
- 112/229: gnu: ruby-bandwidth-iris: Update to 7.0.0., guix-commits, 2023/03/28
- 113/229: gnu: ruby-octokit: Enable tests., guix-commits, 2023/03/28
- 114/229: gnu: Add ruby-mapping., guix-commits, 2023/03/28
- 115/229: gnu: Add ruby-fiber-local., guix-commits, 2023/03/28
- 116/229: gnu: Add ruby-console., guix-commits, 2023/03/28
- 117/229: gnu: Add ruby-ruby-memcheck., guix-commits, 2023/03/28
- 118/229: gnu: Add ruby-msgpack., guix-commits, 2023/03/28
- 119/229: gnu: Add ruby-covered.,
guix-commits <=
- 120/229: gnu: Add ruby-samovar., guix-commits, 2023/03/28
- 122/229: gnu: Add ruby-reline., guix-commits, 2023/03/28
- 123/229: gnu: Add ruby-irb., guix-commits, 2023/03/28
- 124/229: gnu: Add ruby-debug., guix-commits, 2023/03/28
- 127/229: gnu: Add ruby-bake-test., guix-commits, 2023/03/28
- 131/229: gnu: Add ruby-localhost., guix-commits, 2023/03/28
- 132/229: gnu: bundler: Update to 2.4.10., guix-commits, 2023/03/28
- 133/229: gnu: ruby-puma: Update to 6.1.1 and enable test suite., guix-commits, 2023/03/28
- 74/229: gnu: Add ruby-minitest-stub-const., guix-commits, 2023/03/28
- 81/229: gnu: ruby-rack-test: Honor #:tests? argument., guix-commits, 2023/03/28