pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ruby-simplecov devel/ruby-simplecov: update to ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e2427110dbc7
branches: trunk
changeset: 422898:e2427110dbc7
user: taca <taca%pkgsrc.org@localhost>
date: Wed Feb 05 15:22:28 2020 +0000
description:
devel/ruby-simplecov: update to 0.18.1
Update ruby-simplecov to 0.18.1.
0.18.1 (2020-01-31)
===================
Small Bugfix release.
## Bugfixes
* Just putting `# :nocov:` on top of a file or having an uneven number of them in general works again and acts as if ignoring until the end of the file. See
[#846](https://github.com/colszowka/simplecov/issues/846) and thanks [@DannyBen](https://github.com/DannyBen) for the report.
0.18.0 (2020-01-28)
===================
Huge release! Highlights are support for branch coverage (Ruby 2.5+) and dropping support for EOL'ed Ruby versions (< 2.4).
Please also read the other beta patch notes.
## Enhancements
* You can now define the minimum expected coverage by criterion like `minimum_coverage line: 90, branch: 80`
* Memoized some internal data structures that didn't change to reduce SimpleCov overhead
* Both `FileList` and `SourceFile` now have a `coverage` method that returns a hash that points from a coverage criterion to a `CoverageStatistics` object for uniform access to overall coverage
statistics for both line and branch coverage
## Bugfixes
* we were losing precision by rounding the covered strength early, that has been removed. **For Formatters** this also means that you may need to round it yourself now.
* Removed an inconsistency in how we treat skipped vs. irrelevant lines (see [#565](https://github.com/colszowka/simplecov/issues/565)) - SimpleCov's definition of 100% is now "You covered everything
that you could" so if coverage is 0/0 that's counted as a 100% no matter if the lines were irrelevant or ignored/skipped
## Noteworthy
* `FileList` stopped inheriting from Array, it includes Enumerable so if you didn't use Array specific methods on it in formatters you should be fine
0.18.0.beta3 (2020-01-20)
========================
## Enhancements
* Instead of ignoring old `.resultset.json`s that are inside the merge timeout, adapt and respect them
## Bugfixes
* Remove the constant warning printing if you still have a `.resultset.json` in pre 0.18 layout that is within your merge timeout
0.18.0.beta2 (2020-01-19)
===================
## Enhancements
* only turn on the requested coverage criteria (when activating branch coverage before SimpleCov would also instruct Ruby to take Method coverage)
* Change how branch coverage is displayed, now it's `branch_type: hit_count` which should be more self explanatory. See [#830](https://github.com/colszowka/simplecov/pull/830) for an example and feel
free to give feedback!
* Allow early running exit tasks and avoid the `at_exit` hook through the `SimpleCov.run_exit_tasks!` method. (thanks [@macumber](https://github.com/macumber))
* Allow manual collation of result sets through the `SimpleCov.collate` entrypoint. See the README for more details (thanks [@ticky](https://github.com/ticky))
* Within `case`, even if there is no `else` branch declared show missing coverage for it (aka no branch of it). See [#825](https://github.com/colszowka/simplecov/pull/825)
* Stop symbolizing all keys when loading cache (should lead to be faster and consume less memory)
* Cache whether we can use/are using branch coverage (should be slightly faster)
## Bugfixes
* Fix a crash that happened when an old version of our internal cache file `.resultset.json` was still present
0.18.0.beta1 (2020-01-05)
===================
This is a huge release highlighted by changing our support for ruby versions to 2.4+ (so things that aren't EOL'ed) and finally adding branch coverage support!
This release is still beta because we'd love for you to test out branch coverage and get your feedback before doing a full release.
On a personal note from [@PragTob](https://github.com/PragTob/) thanks to [ruby together](https://rubytogether.org/) for sponsoring this work on SimpleCov making it possible to deliver this and
subsequent releases.
## Breaking
* Dropped support for all EOL'ed rubies meaning we only support 2.4+. Simplecov can no longer be installed on older rubies, but older simplecov releases should still work. (thanks
[@deivid-rodriguez](https://github.com/deivid-rodriguez))
* Dropped the `rake simplecov` task that "magically" integreated with rails. It was always undocumented, caused some issues and [had some
issues](https://github.com/colszowka/simplecov/issues/689#issuecomment-561572327). Use the integration as described in the README please :)
## Enhancements
* Branch coverage is here! Please try it out and test it! You can activate it with `enable_coverage :branch`. See the README for more details. This is thanks to a bunch of people most notably
[@som4ik](https://github.com/som4ik), [@tycooon](https://github.com/tycooon), [@stepozer](https://github.com/stepozer), [@klyonrad](https://github.com/klyonrad) and your humble maintainers also
contributed ;)
* If the minimum coverage is set to be greater than 100, a warning will be shown. See [#737](https://github.com/colszowka/simplecov/pull/737) (thanks [@belfazt](https://github.com/belfazt))
* Add a configuration option to disable the printing of non-successful exit statuses. See [#747](https://github.com/colszowka/simplecov/pull/746) (thanks
[@JacobEvelyn](https://github.com/JacobEvelyn))
* Calculating 100% coverage is now stricter, so 100% means 100%. See [#680](https://github.com/colszowka/simplecov/pull/680) thanks [@gleseur](https://github.com/gleseur)
## Bugfixes
* Add new instance of `Minitest` constant. The `MiniTest` constant (with the capital T) will be removed in the next major release of Minitest. See
[#757](https://github.com/colszowka/simplecov/pull/757) (thanks [@adam12](https://github.com/adam12))
diffstat:
devel/ruby-simplecov/Makefile | 8 ++++----
devel/ruby-simplecov/PLIST | 18 +++++++++++++-----
devel/ruby-simplecov/distinfo | 10 +++++-----
3 files changed, 22 insertions(+), 14 deletions(-)
diffs (90 lines):
diff -r e5c2fb2ec606 -r e2427110dbc7 devel/ruby-simplecov/Makefile
--- a/devel/ruby-simplecov/Makefile Wed Feb 05 15:21:43 2020 +0000
+++ b/devel/ruby-simplecov/Makefile Wed Feb 05 15:22:28 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.23 2019/11/02 14:51:05 taca Exp $
+# $NetBSD: Makefile,v 1.24 2020/02/05 15:22:28 taca Exp $
-DISTNAME= simplecov-0.17.1
+DISTNAME= simplecov-0.18.1
CATEGORIES= devel
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -8,8 +8,8 @@
COMMENT= Code coverage for Ruby 1.9+
LICENSE= mit
-DEPENDS+= ${RUBY_PKGPREFIX}-simplecov-html>=0.10.0<0.11:../../devel/ruby-simplecov-html
-DEPENDS+= ${RUBY_PKGPREFIX}-docile>=1.1.0:../../devel/ruby-docile
+DEPENDS+= ${RUBY_PKGPREFIX}-simplecov-html>=0.11.0<0.12:../../devel/ruby-simplecov-html
+DEPENDS+= ${RUBY_PKGPREFIX}-docile>=1.1.0<2.0:../../devel/ruby-docile
USE_LANGUAGES= # none
diff -r e5c2fb2ec606 -r e2427110dbc7 devel/ruby-simplecov/PLIST
--- a/devel/ruby-simplecov/PLIST Wed Feb 05 15:21:43 2020 +0000
+++ b/devel/ruby-simplecov/PLIST Wed Feb 05 15:22:28 2020 +0000
@@ -1,6 +1,7 @@
-@comment $NetBSD: PLIST,v 1.13 2019/11/02 14:51:05 taca Exp $
+@comment $NetBSD: PLIST,v 1.14 2020/02/05 15:22:28 taca Exp $
${GEM_HOME}/cache/${GEM_NAME}.gem
${GEM_LIBDIR}/CHANGELOG.md
+${GEM_LIBDIR}/CODE_OF_CONDUCT.md
${GEM_LIBDIR}/CONTRIBUTING.md
${GEM_LIBDIR}/ISSUE_TEMPLATE.md
${GEM_LIBDIR}/LICENSE
@@ -9,8 +10,14 @@
${GEM_LIBDIR}/doc/commercial-services.md
${GEM_LIBDIR}/doc/editor-integration.md
${GEM_LIBDIR}/lib/simplecov.rb
+${GEM_LIBDIR}/lib/simplecov/combine.rb
+${GEM_LIBDIR}/lib/simplecov/combine/branches_combiner.rb
+${GEM_LIBDIR}/lib/simplecov/combine/files_combiner.rb
+${GEM_LIBDIR}/lib/simplecov/combine/lines_combiner.rb
+${GEM_LIBDIR}/lib/simplecov/combine/results_combiner.rb
${GEM_LIBDIR}/lib/simplecov/command_guesser.rb
${GEM_LIBDIR}/lib/simplecov/configuration.rb
+${GEM_LIBDIR}/lib/simplecov/coverage_statistics.rb
${GEM_LIBDIR}/lib/simplecov/defaults.rb
${GEM_LIBDIR}/lib/simplecov/exit_codes.rb
${GEM_LIBDIR}/lib/simplecov/file_list.rb
@@ -18,7 +25,6 @@
${GEM_LIBDIR}/lib/simplecov/formatter.rb
${GEM_LIBDIR}/lib/simplecov/formatter/multi_formatter.rb
${GEM_LIBDIR}/lib/simplecov/formatter/simple_formatter.rb
-${GEM_LIBDIR}/lib/simplecov/jruby_fix.rb
${GEM_LIBDIR}/lib/simplecov/last_run.rb
${GEM_LIBDIR}/lib/simplecov/lines_classifier.rb
${GEM_LIBDIR}/lib/simplecov/load_global_config.rb
@@ -29,11 +35,13 @@
${GEM_LIBDIR}/lib/simplecov/profiles/rails.rb
${GEM_LIBDIR}/lib/simplecov/profiles/root_filter.rb
${GEM_LIBDIR}/lib/simplecov/profiles/test_frameworks.rb
-${GEM_LIBDIR}/lib/simplecov/railtie.rb
-${GEM_LIBDIR}/lib/simplecov/railties/tasks.rake
-${GEM_LIBDIR}/lib/simplecov/raw_coverage.rb
${GEM_LIBDIR}/lib/simplecov/result.rb
+${GEM_LIBDIR}/lib/simplecov/result_adapter.rb
${GEM_LIBDIR}/lib/simplecov/result_merger.rb
+${GEM_LIBDIR}/lib/simplecov/simulate_coverage.rb
${GEM_LIBDIR}/lib/simplecov/source_file.rb
+${GEM_LIBDIR}/lib/simplecov/source_file/branch.rb
+${GEM_LIBDIR}/lib/simplecov/source_file/line.rb
+${GEM_LIBDIR}/lib/simplecov/useless_results_remover.rb
${GEM_LIBDIR}/lib/simplecov/version.rb
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff -r e5c2fb2ec606 -r e2427110dbc7 devel/ruby-simplecov/distinfo
--- a/devel/ruby-simplecov/distinfo Wed Feb 05 15:21:43 2020 +0000
+++ b/devel/ruby-simplecov/distinfo Wed Feb 05 15:22:28 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.18 2019/11/02 14:51:05 taca Exp $
+$NetBSD: distinfo,v 1.19 2020/02/05 15:22:28 taca Exp $
-SHA1 (simplecov-0.17.1.gem) = 1a3c15badd49fdd640014a5ca20fded41c3da531
-RMD160 (simplecov-0.17.1.gem) = 7c9af178383d02f06d76a5ad23c5a04dd8824f15
-SHA512 (simplecov-0.17.1.gem) = 8937c0532c08048649414c512091d88841a4b881d78186562515392f4d3b92bd0b2d2291f3a61e765bb550a132d7041c970f8f7d37a5cff0c8e89e1a4ec75f85
-Size (simplecov-0.17.1.gem) = 39936 bytes
+SHA1 (simplecov-0.18.1.gem) = 8f3272685690ac706d4a1f169ac6f08b59df2af2
+RMD160 (simplecov-0.18.1.gem) = 346b81acc95ec3d4f0658f95a852b86645b21c8d
+SHA512 (simplecov-0.18.1.gem) = 5fe6e5ddc3b30e239a359d86f40a249fcde4e39556bcc4c98b6a00e94d4ff0fb0991566da9dabc5422a4086b5cbd5ef48e6a2b2cf05a75beca721229a263e831
+Size (simplecov-0.18.1.gem) = 51712 bytes
Home |
Main Index |
Thread Index |
Old Index