Skip to content

Update RDoc comments with Ruby 4.0.6 - #3035

Merged
soutaro merged 3 commits into
masterfrom
claude/rdoc-comments-update-be6d28
Jul 27, 2026
Merged

Update RDoc comments with Ruby 4.0.6#3035
soutaro merged 3 commits into
masterfrom
claude/rdoc-comments-update-be6d28

Conversation

@soutaro

@soutaro soutaro commented Jul 27, 2026

Copy link
Copy Markdown
Member

Updates the RDoc comments in core and stdlib based on Ruby 4.0.6, the latest stable release.

This PR consists of three commits:

  1. bundle update rdoc -- rdoc 7.2.0 to 8.0.0 (and erb 6.0.4 to 6.0.6)
  2. Bump the Ruby version of the RBS Comments workflow from 4.0.1 to 4.0.6
  3. Re-run rake annotate

Notes on the annotation diff

  • core/rubygems/version.rbs loses all of its comments. This comes from an upstream change: lib/rubygems/version.rb now has module Gem; end before class Gem::Version, so the long class comment is attached to Gem instead of Gem::Version. You can see the counterpart in core/rubygems/rubygems.rbs and core/rubygems/errors.rbs, which gain the "Workaround for directly loading Gem::Version in some cases" comment. I confirmed rdoc 7.2.0 produces the same .ri output for this file, so it is not a regression of rdoc 8.
  • Empty comment blocks on aliases are gone (Pathname#/, Ractor#<<, Thread::SizedQueue#<<, ...) -- rdoc no longer emits a bare <!-- rdoc-file=... --> block with no description.
  • The rest are upstream documentation fixes: Thread::Mutex#unlock no longer describes lock, Digest::SHA2#finish and Delegator#freeze/#method_missing get their descriptions, and OpenSSL::PKey::DHError/DSAError/ECError/RSAError are now documented as aliases of PKeyError.

🤖 Generated with Claude Code

soutaro and others added 3 commits July 27, 2026 12:43
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@soutaro soutaro added this to the RBS 4.1 milestone Jul 27, 2026
@soutaro
soutaro added this pull request to the merge queue Jul 27, 2026
Merged via the queue into master with commit f4ecb8b Jul 27, 2026
26 of 27 checks passed
@soutaro
soutaro deleted the claude/rdoc-comments-update-be6d28 branch July 27, 2026 03:53
@soutaro soutaro added the Released PRs already included in the released version label Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Released PRs already included in the released version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant