pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-simplecov



Module Name:    pkgsrc
Committed By:   taca
Date:           Tue Sep 15 14:36:33 UTC 2026

Modified Files:
        pkgsrc/devel/ruby-simplecov: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/ruby-simplecov: ALTERNATIVES

Log Message:
devel/ruby-simplecov: update to 1.3.0

pkgsrc changes:

* Add ALTERNATIVES.
* Install manpage with/without installation of ruby-manpages package.

1.3.0 (2026-09-12)

SimpleCov 1.3 raises the minimum Ruby to 3.3, brings the coverage directives
to ERB, Haml, and Slim templates, teaches simplecov patch and simplecov
uncovered to annotate CI hosts natively, and settles what the report says
about files and groups that hold nothing.

Highlights

* Ruby 3.2 is no longer supported. The minimum is Ruby 3.3, which bundles
  Prism, so the static coverage extractor stops probing for it and the
  emulation of 3.2's constant folding is gone.

* # simplecov:disable and # simplecov:enable work inside ERB, Haml, and Slim
  templates measured with cover_views, in each language's own comment syntax
  or as Ruby comments on a code line.

* --annotate KIND turns simplecov patch and simplecov uncovered into inline
  CI annotations for GitHub, GitLab, reviewdog, Azure, TeamCity, and
  Buildkite, so one CI step can both annotate and gate.

* Groups that match no files are omitted from the report instead of padding
  it at 100%, and the rails profile declares its groups alphabetically.

* cover_views is the only way to measure a template now: a cover glob that
  matches one warns and leaves it out, and ignore: :eval_generated no longer
  drops a template's real branches and methods.

* A file with nothing to cover reports the same percentage in the file list
  as it does in the source view.

Upgrade notes

* The minimum supported Ruby is now 3.3. Ruby 3.2 reached end of life in
  March 2026.  JRuby 10 remains supported for line coverage.

* A group that matched no files disappears from the HTML report,
  coverage.json, and the history file, and a per-group minimum on it passes
  silently rather than complaining that the group does not exist.

* The rails profile's group tabs come out in alphabetical order, so an
  existing project's tabs move.

* A never-loaded file with no branches or methods reports 100% for those
  criteria rather than 0%, so a per-file branch or method threshold that
  failed such a file passes now.  A file the report carries no branch or
  method table for at all is still unaccounted for, and keeps its 0%.

* A cover glob matching .erb, .haml, or .slim warns and drops those files
  from the report.  Measure templates with cover_views instead.

* coverage.json stays at schema 1.3, unchanged by this release.

Breaking Changes

* Dropped support for Ruby 3.2.  The minimum supported Ruby is now 3.3
  (required_ruby_version >= 3.3), with JRuby 10 still supported and
  TruffleRuby exercised only by the nightly unstable build.  Prism is
  bundled with every supported Ruby, so the static coverage extractor stops
  probing for it: StaticCoverageExtractor.available? and the empty-hash
  fallbacks for its absence are gone.  So is the emulation of Ruby 3.2's
  constant folding, where parentheses were transparent for every literal and
  a folded dead arm's branches survived in the branch table.

For Enhancements and Bugfixes section, please refer original release note:
<https://github.com/simplecov-ruby/simplecov/releases/tag/v1.3.0>.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-simplecov/ALTERNATIVES
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/ruby-simplecov/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/devel/ruby-simplecov/PLIST
cvs rdiff -u -r1.30 -r1.31 pkgsrc/devel/ruby-simplecov/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/ruby-simplecov/Makefile
diff -u pkgsrc/devel/ruby-simplecov/Makefile:1.34 pkgsrc/devel/ruby-simplecov/Makefile:1.35
--- pkgsrc/devel/ruby-simplecov/Makefile:1.34   Sat Sep 12 19:54:01 2026
+++ pkgsrc/devel/ruby-simplecov/Makefile        Tue Sep 15 14:36:32 2026
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2026/09/12 19:54:01 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2026/09/15 14:36:32 taca Exp $
 
-DISTNAME=      simplecov-1.2.0
-PKGREVISION=   1
+DISTNAME=      simplecov-1.3.0
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -13,5 +12,13 @@ USE_LANGUAGES=       # none
 
 RUBYGEM_OPTIONS+=      --format-executable
 
+INSTALLATION_DIRS=     ${PKGMANDIR}/man1
+
+post-install:
+       if ${TEST} ! -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/simplecov${RUBY_SUFFIX}.1; then \
+               ${INSTALL_MAN} ${WRKSRC}/man/simplecov.1 \
+                       ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/simplecov${RUBY_SUFFIX}.1; \
+       fi
+
 .include "../../lang/ruby/gem.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/ruby-simplecov/PLIST
diff -u pkgsrc/devel/ruby-simplecov/PLIST:1.22 pkgsrc/devel/ruby-simplecov/PLIST:1.23
--- pkgsrc/devel/ruby-simplecov/PLIST:1.22      Sat Sep 12 19:54:01 2026
+++ pkgsrc/devel/ruby-simplecov/PLIST   Tue Sep 15 14:36:32 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.22 2026/09/12 19:54:01 wiz Exp $
+@comment $NetBSD: PLIST,v 1.23 2026/09/15 14:36:32 taca Exp $
 bin/simplecov${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/LICENSE
@@ -15,6 +15,7 @@ ${GEM_LIBDIR}/lib/simplecov/cli.rb
 ${GEM_LIBDIR}/lib/simplecov/cli/affected.rb
 ${GEM_LIBDIR}/lib/simplecov/cli/affected/changed_files.rb
 ${GEM_LIBDIR}/lib/simplecov/cli/affected/selection.rb
+${GEM_LIBDIR}/lib/simplecov/cli/annotations.rb
 ${GEM_LIBDIR}/lib/simplecov/cli/badge.rb
 ${GEM_LIBDIR}/lib/simplecov/cli/badge/svg.rb
 ${GEM_LIBDIR}/lib/simplecov/cli/clean.rb
@@ -96,6 +97,11 @@ ${GEM_LIBDIR}/lib/simplecov/current_run.
 ${GEM_LIBDIR}/lib/simplecov/defaults.rb
 ${GEM_LIBDIR}/lib/simplecov/deprecation.rb
 ${GEM_LIBDIR}/lib/simplecov/directive.rb
+${GEM_LIBDIR}/lib/simplecov/directive/erb.rb
+${GEM_LIBDIR}/lib/simplecov/directive/haml.rb
+${GEM_LIBDIR}/lib/simplecov/directive/indented_template.rb
+${GEM_LIBDIR}/lib/simplecov/directive/slim.rb
+${GEM_LIBDIR}/lib/simplecov/directive/template.rb
 ${GEM_LIBDIR}/lib/simplecov/exit_codes.rb
 ${GEM_LIBDIR}/lib/simplecov/exit_codes/baseline_check.rb
 ${GEM_LIBDIR}/lib/simplecov/exit_codes/check.rb
@@ -199,3 +205,4 @@ ${GEM_LIBDIR}/lib/simplecov_json_formatt
 ${GEM_LIBDIR}/man/simplecov.1
 ${GEM_LIBDIR}/sig/simplecov.rbs
 ${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+man/man1/simplecov${RUBY_SUFFIX}.1

Index: pkgsrc/devel/ruby-simplecov/distinfo
diff -u pkgsrc/devel/ruby-simplecov/distinfo:1.30 pkgsrc/devel/ruby-simplecov/distinfo:1.31
--- pkgsrc/devel/ruby-simplecov/distinfo:1.30   Sun Sep  6 16:33:48 2026
+++ pkgsrc/devel/ruby-simplecov/distinfo        Tue Sep 15 14:36:32 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2026/09/06 16:33:48 taca Exp $
+$NetBSD: distinfo,v 1.31 2026/09/15 14:36:32 taca Exp $
 
-BLAKE2s (simplecov-1.2.0.gem) = 0523adb873342e7dc98be7f2075e8c086828dcdf6b9f19a32f279eafcce89c45
-SHA512 (simplecov-1.2.0.gem) = 5d1b586f7c78ccc92262cdea52cadb52c7118a8eadc53f7abe35af36c52602147565525c3c5861f34cfbcc81795b57b72cb72a3ce59f5ba4e8553d8a42176426
-Size (simplecov-1.2.0.gem) = 212992 bytes
+BLAKE2s (simplecov-1.3.0.gem) = 1a131e878e9f33451c8a8df6a6cf7dde076a8c2a19caabbdb19df371ffbfa210
+SHA512 (simplecov-1.3.0.gem) = c24b81985222e18fed44a7cdb3b75039b64ba47ca3eae4faaebefd7c262979da5c665ea8a54de8467016b4676e904eda73f37373802dc3e691e0cf6aa5184ea5
+Size (simplecov-1.3.0.gem) = 217600 bytes

Added files:

Index: pkgsrc/devel/ruby-simplecov/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/ruby-simplecov/ALTERNATIVES:1.1
--- /dev/null   Tue Sep 15 14:36:33 2026
+++ pkgsrc/devel/ruby-simplecov/ALTERNATIVES    Tue Sep 15 14:36:32 2026
@@ -0,0 +1 @@
+bin/simplecov @PREFIX@/bin/simplecov@RUBY_SUFFIX@



Home | Main Index | Thread Index | Old Index