[ruby/rubygems] Probe socket errors via SO_ERROR in TCPSocketProbe
Calling connect_nonblock a second time to confirm a non-blocking connect is not portable. On BSD-based systems such as macOS the second connect returns EISCONN even after the asynchronous connect failed with...
Bump taiki-e/install-action
Bumps the github-actions group with 1 update in the / directory: taiki-e/install-action.
Updates taiki-e/install-action from 2.81.11 to 2.82.0
taiki-e/install-action
ZJIT: Support inlining methods that dispatch to blocks (GH-17376)
Previously, the inliner conservatively refused any callee that interacted with a block. can_inline rejected callees whose parameters included a block parameter, and separately scanned the callee bytecode and bailed on invokeblock, getblockparam, and getblockparamproxy. Together these excluded the common case of a small method that simply yields to a passed block....
can_inline
invokeblock
getblockparam
getblockparamproxy
[ruby/rubygems] Parse compact index created_at strictly as ISO8601
Time.new accepts a bare year like "2026" and returns a local-time value instead of raising, so a malformed created_at was silently turned into a wrong timestamp. Use Time.iso8601 so anything that is...
[ruby/rubygems] Clean up the compact index tmpdir when the cache is not writable
When the gem home is not writable, compact_index_cache_dir falls back to Dir.mktmpdir but never removed it, leaking a directory under the system temp on every gem command. Remove it at process exit....
[ruby/rubygems] Skip malformed versions instead of dropping the compact index
A single unparseable version line in /versions made Gem::Source#load_specs raise ArgumentError and fall back to the Marshal indexes for the whole source. Guard each row with Gem::Version.correct? so only the bad version is skipped....
[ruby/rubygems] Write compact index test fixtures in binary mode
Pathname#write uses text mode, so on Windows the LF in fixture data became CRLF, shifting the file size the Range header is computed from and breaking the MD5/SHA-256 checksums. The client itself is...
[ruby/rubygems] Guard pathname require with defined?(Pathname)
Pathname is built into Ruby 4.0+, so only require the library when the constant is not already available.
https://github.com/ruby/rubygems/commit/e5b9b15646
Co-Authored-By: Claude Fable 5 noreply@anthropic.com
[ruby/rubygems] Reuse compact_index_uri in new_dependency_resolver_set
Both methods computed the rubygems.org to index.rubygems.org rewrite independently; keep the logic in one place.
https://github.com/ruby/rubygems/commit/22103a6bcc
[ruby/rubygems] Follow 308 redirects in compact index HTTPFetcher
https://github.com/ruby/rubygems/commit/7b03be2c0d
View all revisions | View revisions
Also available in: Atom