Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

Latest revisions

# Date Author Comment
95b02c82 08/03/2026 07:04 AM ko1 (Koichi Sasada)

gc/default: make stress GC honor gc_allowed in TRY_WITH_GC

TRY_WITH_GC guards its retry-GC branch with gc_allowed (which reflects
the current ractor's malloc_gc_disabled, set while a ractor lock is
held), but called objspace_malloc_gc_stress() unconditionally. Under...

1f48cf8a 08/03/2026 05:00 AM Hiroshi SHIBATA

[ruby/rubygems] Adapt the plugin index to Gem::YAMLSerializer semantics

The stub serializer dumped an empty hash as a bare "key:" line and loaded
such a line back as an empty hash. Gem::YAMLSerializer dumps it as
"key: {}" and correctly loads a bare key as nil, so index files written...

3ad19fac 08/03/2026 05:00 AM hsbt (Hiroshi SHIBATA)

[ruby/rubygems] Drop Bundler's stub YAML serializer

Bundler::YAMLSerializer is no longer referenced anywhere now that Bundler
uses Gem::YAMLSerializer everywhere.

https://github.com/ruby/rubygems/commit/b74a1987db

Co-Authored-By: Claude Fable 5

f71a863c 08/03/2026 05:00 AM hsbt (Hiroshi SHIBATA)

[ruby/rubygems] Port Bundler's YAML serializer specs to the RubyGems test suite

The RubyGems test suite already covers almost all of the Bundler
yaml_serializer spec through test_gem_safe_yaml.rb. Port the two missing
cases (URL mapping keys as used by mirror settings, and Psych...

9f7e05ce 08/03/2026 05:00 AM hsbt (Hiroshi SHIBATA)

[ruby/rubygems] Use RubyGems' YAML serializer in Bundler

Bundler now uses Gem::YAMLSerializer unconditionally for settings and the
plugin index instead of falling back to its own stub serializer. The
fallback is no longer reachable because the Bundler gem ships a copy of...

5f07e13d 08/03/2026 05:00 AM hsbt (Hiroshi SHIBATA)

[ruby/rubygems] Ship RubyGems' YAML serializer in the Bundler gem

Add lib/rubygems/yaml_serializer.rb to the gem's file list so the Bundler
gem carries its own copy of Gem::YAMLSerializer. This keeps Bundler
self-contained on RubyGems versions that predate it, the same way the...

8d75afff 08/03/2026 05:00 AM hsbt (Hiroshi SHIBATA)

[ruby/rubygems] Guard RubyGems' YAML serializer against double loading

When the same Gem::YAMLSerializer copy is shipped in two gems (RubyGems and
Bundler) and required from different paths, the second load redefines its
constants and emits "already initialized constant" warnings. Add an...

53b70874 08/03/2026 04:47 AM Jun Aruga

[ruby/rubygems] Remove #private? check from open_private_key and check in Gem::Security.sign

Remove the OpenSSL::PKey::{RSA,DSA,EC}#private? check in open_private_key. This
makes the code ML-DSA compatible since OpenSSL::PKey::PKey used for ML-DSA
doesn't have #private?....

01a05971 08/03/2026 04:47 AM Jun Aruga

[ruby/rubygems] Remove hardcoded key-dependent values from tests

Because these hardcoded values make the tests fail when recreating the keys.
This is not convenient.

  • Remove hardcoded subjectKeyIdentifier value assertions.
  • In test_sign, replace assertion with hardcoded value with...
f2740146 08/03/2026 04:47 AM Jun Aruga

[ruby/rubygems] Recreated testing .pem files.

As I modified logic related to output format in tool/create_certs.rb and
tool/create_encrypted_key.rb at the last commit, I ran these scripts to
recreate the testing .pem files as follows. Now the private .pem files are...

View all revisions | View revisions

Also available in: Atom