The NetBSD Project

CVS log for pkgsrc/devel/ruby-simplecov/ALTERNATIVES

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-simplecov

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1: download - view: text, markup, annotated - select for diffs
Tue Sep 15 14:36:32 2026 UTC (2 months ago) by taca
Branches: MAIN
CVS tags: pkgsrc-2026Q3-base, pkgsrc-2026Q3, HEAD
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>.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>