[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62196] [PATCH 119/223] gnu: Add ruby-covered.
From: |
Maxim Cournoyer |
Subject: |
[bug#62196] [PATCH 119/223] gnu: Add ruby-covered. |
Date: |
Mon, 20 Mar 2023 13:22:05 -0400 |
* 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 db4e88ca05..a9922e1f3c 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8695,6 +8695,48 @@ (define ruby-cucumber-without-tests
(native-inputs
'())))
+(define-public ruby-covered
+ (package
+ (name "ruby-covered")
+ (version "0.20.1")
+ (source (origin
+ (method url-fetch)
+ (uri (rubygems-uri "covered" version))
+ (sha256
+ (base32
+ "09ka39rrnhv7460hzm3inmdny8lrkj8slfc9wwi3x19n1v517grc"))))
+ (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")
--
2.39.1
- [bug#62196] [PATCH 196/223] gnu: jekyll: Use gexps and remove input labels., (continued)
- [bug#62196] [PATCH 196/223] gnu: jekyll: Use gexps and remove input labels., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 125/223] gnu: Add ruby-rspec-debug., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 133/223] gnu: ruby-puma: Update to 6.1.1 and enable test suite., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 169/223] gnu: ruby-rails: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 155/223] gnu: Add ruby-net-smtp., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 182/223] gnu: ruby-temple: Update to 0.10.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 191/223] gnu: ruby-shoulda-matchers: Update to 5.3.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 167/223] gnu: Add ruby-stimulus-rails., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 143/223] gnu: ruby-actioncable: Update to 7.0.4.3 and enable tests., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 148/223] gnu: ruby-activestorage: Update to 7.0.4.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 119/223] gnu: Add ruby-covered.,
Maxim Cournoyer <=
- [bug#62196] [PATCH 160/223] gnu: ruby-sprockets-rails: Update to 3.4.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 181/223] gnu: ruby-protobuf: Update to 3.10.3., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 185/223] gnu: ruby-web-console: Update to 4.2.0., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 124/223] gnu: Add ruby-debug., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 161/223] gnu: Add ruby-bootsnap., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 128/223] gnu: Add ruby-bake-test-external., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 201/223] gnu: Add ruby-rspec-pending-for., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 144/223] gnu: ruby-mini-mime: Update to 1.1.2., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 131/223] gnu: Add ruby-localhost., Maxim Cournoyer, 2023/03/20
- [bug#62196] [PATCH 154/223] gnu: Add ruby-net-pop., Maxim Cournoyer, 2023/03/20