Skip to content

Bump the ruby-deps group in /ruby with 2 updates - #140

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/ruby/ruby-deps-d4541d269c
Open

Bump the ruby-deps group in /ruby with 2 updates#140
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/ruby/ruby-deps-d4541d269c

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 30, 2026

Copy link
Copy Markdown
Contributor

Bumps the ruby-deps group in /ruby with 2 updates: simplecov and yard.

Updates simplecov from 1.0.1 to 1.0.2

Release notes

Sourced from simplecov's releases.

v1.0.2

What's Changed

Full Changelog: simplecov-ruby/simplecov@v1.0.1...v1.0.2

Changelog

Sourced from simplecov's changelog.

1.0.2 (2026-07-18)

Bugfixes

  • The standalone simplecov CLI's colorizing subcommands (report, uncovered, coverage, diff) no longer crash with NoMethodError: undefined method 'color' when run in a project without a .simplecov file. The CLI deliberately loads only simplecov/cli rather than the full library, so SimpleCov.color was undefined unless a dotfile load had incidentally defined it — and --no-color was the only workaround, since the documented NO_COLOR env var was checked after the line that raised. Color.enabled? now treats missing configuration the same as its :auto default and falls through to NO_COLOR / FORCE_COLOR / TTY detection. Reported with an exemplary diagnosis by @​hasghari. See #1231.
  • Branch tuples synthesized for tracked-but-unloaded files now match Ruby's Coverage for a safe-navigation call that takes a block. For x&.foo { ... } (and the second link of a chain like x&.foo&.bar { ... }) the extractor keyed the branch on the call node's full source range, which extends through the attached block, while Coverage ends the range at the call itself — so a simulated entry merging with a real one produced a phantom, permanently-missed branch, the same failure mode as the elsif fix in 1.0.1. Reported with an exemplary diagnosis and a suggested fix by @​alexdeng-mp. See #1233.
  • Prompted by the two reports above, an exhaustive differential audit of StaticCoverageExtractor against Ruby's Coverage — a fuzzing harness that runs thousands of generated programs through both and diffs the branch tuples, now part of the spec suite (opt-in via SIMPLECOV_FUZZ=1) — surfaced and fixed four more mismatches of the same phantom-branch class. Conditions that are compile-time literals (if true, if 1, a ternary on a literal) are folded away by Ruby's compiler and no longer produce synthesized branches (while true still does — loops are not folded). On Ruby 3.3, three legacy conventions now match: the body range of a do-while (begin ... end while), the location of empty branch arms (which on 3.3 depends on whether the construct is in value or void position), and one-line pattern matching (x => pattern / x in pattern), which emits a :case branch on 3.3 and nothing on 3.4+. The audit also caught a crash on Ruby 3.3's stdlib Prism (0.19), which still exposes the else clause of UnlessNode / CaseNode / CaseMatchNode under its pre-1.3 name consequent: the extractor raised internally and silently dropped simulated branch and method data for any file containing unless/else or a case with an empty arm, unless a newer prism gem happened to be installed.
  • As a defensive layer against any future extractor drift, merging now treats an actually-executed file's branch and method data as authoritative: when a resultset that merely tracked a file (with simulated, statically-derived tuples) merges with one from a process that really loaded it, the synthesized tuples are dropped rather than unioned. This contains any undiscovered mismatch to denominator inflation on files no process loaded, instead of phantom misses on fully-covered ones. Line coverage still combines from both sides, so tracked-but-unloaded files keep contributing to the line denominator as before.
  • Method coverage no longer reports phantom uncovered methods for define_method / define_singleton_method blocks defined onto more than one receiver — e.g. a module's included hook defining the same block on every including class. Ruby records one method entry per receiver, all pointing at the same source location, so any receiver whose copy was never called showed as an uncovered method on a line with 100% line coverage. Entries are now aggregated by (name, source location) with hit counts summed, and cross-process merging matches methods on the same source identity rather than on the receiver class. Reported with an exemplary diagnosis by @​bkuhlmann. See #1234.
  • Branch coverage under enable_coverage :eval no longer inflates denominators or reports phantom missed branches for templates compiled more than once — e.g. hanami-view compiles each template once per view class, and every ERB.new(...).result is a fresh compile. Ruby's Coverage emits a fresh set of branch entries per compile of the same file (nondeterministically through Ruby 4.0, consistently on current ruby master — see https://bugs.ruby-lang.org/issues/22203), each counting only the renders that flowed through that compile, so a side exercised under one compile appeared as a permanently-missed branch in another compile's entry at the same location, and ignore_branches :implicit_else swung the report wildly by stripping only the synthetic-else halves of the duplicates. Duplicated conditions are now aggregated by source location with arm counts summed. Reported with an exemplary diagnosis by @​bkuhlmann. See #1235.
Commits
  • 803dcbc Bump version to 1.0.2
  • 177b0cc Restore a clean Steep check for the post-1.0.1 code
  • b57bf8d Aggregate runtime-duplicated coverage entries by source location
  • 9599343 Drop a simulated file's branches when a real run covered it
  • 25d1ab5 Add a differential fuzzer for the static coverage extractor
  • 2aff8fe Match Coverage's legacy branch conventions and survive stdlib Prism
  • bbb4737 Skip synthesizing branches for constant-folded conditions
  • 6669cbf Match Coverage's safe-navigation range when the call takes a block
  • 21a8a08 Fix NoMethodError in the standalone CLI's colorizing subcommands
  • e27cfd0 Bump step-security/harden-runner from 2.19.4 to 2.20.0
  • Additional commits viewable in compare view

Updates yard from 0.9.44 to 0.9.45

Release notes

Sourced from yard's releases.

Release v0.9.45

  • Use @param types to document generated Struct.new and Data.define members (#1684)
  • Add compatibility with RDoc 8
  • Fix TypesExplainer parsing of types following Hash collections (#1688)
  • Fix HTML generation for RBS constants without source values (#1686)
  • Fix method redefinition warnings when loading YARD with Ruby warnings enabled (#1687)
  • Improve sanitization of yard server request paths
Changelog

Sourced from yard's changelog.

0.9.45 - July 14th, 2026

  • Use @param types to document generated Struct.new and Data.define members (#1684)
  • Add compatibility with RDoc 8
  • Fix TypesExplainer parsing of types following Hash collections (#1688)
  • Fix HTML generation for RBS constants without source values (#1686)
  • Fix method redefinition warnings when loading YARD with Ruby warnings enabled (#1687)
  • Improve sanitization of yard server request paths
Commits
  • 2659ecd Release: v0.9.45
  • 2b467e0 Create a gh-fix skill
  • 2842ba7 Update changelog
  • 00fe9b1 Refactor server sanitization logic
  • c6fd371 Use @​param types for Struct and Data members (#1695)
  • d2a8883 Merge remote-tracking branch 'origin/main' into fix/issue-1684-struct-data-pa...
  • 674d0cf Fix parser method redefinition warnings (#1694)
  • 9483cd3 Use param types for Struct and Data members
  • 12ed8b7 Merge main into fix/issue-1687-method-redefined-warnings
  • 9b874e2 Fix HTML generation for RBS constants
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by cubic

Update dev dependencies in /ruby: simplecov to 1.0.2 and yard to 0.9.45 to improve coverage accuracy and docs tooling with no runtime impact.

  • Dependencies
    • simplecov 1.0.1 → 1.0.2 — fixes CLI color crash without a .simplecov file; improves branch/method coverage merging; reduces phantom branches.
    • yard 0.9.44 → 0.9.45 — adds RDoc 8 compatibility; better Struct/Data param types; fixes warnings; tighter server path sanitization.

Written for commit 7f21ad5. Summary will update on new commits.

Review in cubic

Bumps the ruby-deps group in /ruby with 2 updates: [simplecov](https://github.com/simplecov-ruby/simplecov) and [yard](https://github.com/lsegal/yard).


Updates `simplecov` from 1.0.1 to 1.0.2
- [Release notes](https://github.com/simplecov-ruby/simplecov/releases)
- [Changelog](https://github.com/simplecov-ruby/simplecov/blob/main/CHANGELOG.md)
- [Commits](simplecov-ruby/simplecov@v1.0.1...v1.0.2)

Updates `yard` from 0.9.44 to 0.9.45
- [Release notes](https://github.com/lsegal/yard/releases)
- [Changelog](https://github.com/lsegal/yard/blob/main/CHANGELOG.md)
- [Commits](lsegal/yard@v0.9.44...v0.9.45)

---
updated-dependencies:
- dependency-name: simplecov
  dependency-version: 1.0.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ruby-deps
- dependency-name: yard
  dependency-version: 0.9.45
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: ruby-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jul 30, 2026
Copilot AI review requested due to automatic review settings July 30, 2026 09:23
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Jul 30, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant