From 877ebe5b89addd75f8b4b0e5593cfb0e66342428 Mon Sep 17 00:00:00 2001 From: Burdette Lamar Date: Thu, 23 Oct 2025 20:13:39 -0500 Subject: [PATCH 1/8] [ruby/stringio] [DOC] Tweaks for StringIO#close (https://github.com/ruby/stringio/pull/148) Make examples do more work (instead of text). https://github.com/ruby/stringio/commit/7f4662438f --- ext/stringio/stringio.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/ext/stringio/stringio.c b/ext/stringio/stringio.c index 18a9ef1523ec5d..965355df67d87c 100644 --- a/ext/stringio/stringio.c +++ b/ext/stringio/stringio.c @@ -549,11 +549,16 @@ strio_set_string(VALUE self, VALUE string) * call-seq: * close -> nil * - * Closes +self+ for both reading and writing. + * Closes +self+ for both reading and writing; returns +nil+: * - * Raises IOError if reading or writing is attempted. + * strio = StringIO.new + * strio.closed? # => false + * strio.close # => nil + * strio.closed? # => true + * strio.read # Raises IOError: not opened for reading + * strio.write # Raises IOError: not opened for writing * - * Related: StringIO#close_read, StringIO#close_write. + * Related: StringIO#close_read, StringIO#close_write, StringIO.closed?. */ static VALUE strio_close(VALUE self) From daca69c8e922da693d45e71db8cb96c06cc1907f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Oct 2025 11:14:29 +0900 Subject: [PATCH 2/8] Restore primary maintainer name at the bundled gems --- doc/maintainers.md | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/doc/maintainers.md b/doc/maintainers.md index 353909fe152baa..ffd3f84bb1c916 100644 --- a/doc/maintainers.md +++ b/doc/maintainers.md @@ -396,34 +396,42 @@ have commit right, others don't. ### minitest +* Ryan Davis ([zenspider]) * https://github.com/minitest/minitest ### power_assert +* Tsujimoto Kenta ([k-tsj]) * https://github.com/ruby/power_assert ### rake +* Hiroshi SHIBATA ([hsbt]) * https://github.com/ruby/rake ### test-unit +* Kouhei Sutou ([kou]) * https://github.com/test-unit/test-unit ### rexml +* Kouhei Sutou ([kou]) * https://github.com/ruby/rexml ### rss +* Kouhei Sutou ([kou]) * https://github.com/ruby/rss ### net-ftp +* Shugo Maeda ([shugo]) * https://github.com/ruby/net-ftp ### net-imap +* Nicholas A. Evans ([nevans]) * https://github.com/ruby/net-imap ### net-pop @@ -432,10 +440,12 @@ have commit right, others don't. ### net-smtp +* TOMITA Masahiro ([tmtm]) * https://github.com/ruby/net-smtp ### matrix +* Marc-André Lafortune ([marcandre]) * https://github.com/ruby/matrix ### prime @@ -444,18 +454,22 @@ have commit right, others don't. ### rbs +* Soutaro Matsumoto ([soutaro]) * https://github.com/ruby/rbs ### typeprof +* Yusuke Endoh ([mame]) * https://github.com/ruby/typeprof ### debug +* Koichi Sasada ([ko1]) * https://github.com/ruby/debug ### racc +* Yuichi Kaneko ([yui-knk]) * https://github.com/ruby/racc #### mutex_m @@ -468,10 +482,12 @@ have commit right, others don't. #### base64 +* Yusuke Endoh ([mame]) * https://github.com/ruby/base64 #### bigdecimal +* Kenta Murata ([mrkn]) * https://github.com/ruby/bigdecimal #### observer @@ -480,34 +496,42 @@ have commit right, others don't. #### abbrev +* Akinori MUSHA ([knu]) * https://github.com/ruby/abbrev #### resolv-replace +* Akira TANAKA ([akr]) * https://github.com/ruby/resolv-replace #### rinda +* Masatoshi SEKI ([seki]) * https://github.com/ruby/rinda #### drb +* Masatoshi SEKI ([seki]) * https://github.com/ruby/drb #### nkf +* Naruse Yusuke ([nurse]) * https://github.com/ruby/nkf #### syslog +* Akinori Musha ([knu]) * https://github.com/ruby/syslog #### csv +* Kouhei Sutou ([kou]) * https://github.com/ruby/csv #### ostruct +* Marc-André Lafortune ([marcandre]) * https://github.com/ruby/ostruct #### pstore @@ -520,22 +544,34 @@ have commit right, others don't. #### logger +* Naotoshi Seo ([sonots]) * https://github.com/ruby/logger #### rdoc +* Stan Lo ([st0012]) +* Nobuyoshi Nakada ([nobu]) * https://github.com/ruby/rdoc #### win32ole +* Masaki Suketa ([suketa]) * https://github.com/ruby/win32ole #### irb +* Tomoya Ishida ([tompng]) +* Stan Lo ([st0012]) +* Mari Imaizumi ([ima1zumi]) +* HASUMI Hitoshi ([hasumikin]) * https://github.com/ruby/irb #### reline +* Tomoya Ishida ([tompng]) +* Stan Lo ([st0012]) +* Mari Imaizumi ([ima1zumi]) +* HASUMI Hitoshi ([hasumikin]) * https://github.com/ruby/reline #### readline @@ -544,6 +580,7 @@ have commit right, others don't. #### fiddle +* Kouhei Sutou ([kou]) * https://github.com/ruby/fiddle ## Platform Maintainers @@ -625,3 +662,12 @@ have commit right, others don't. [tompng]: https://github.com/tompng [unak]: https://github.com/unak [yuki24]: https://github.com/yuki24 +[zenspider]: https://github.com/zenspider +[k-tsj]: https://github.com/k-tsj +[nevans]: https://github.com/nevans +[tmtm]: https://github.com/tmtm +[shugo]: https://github.com/shugo +[soutaro]: https://github.com/soutaro +[yui-knk]: https://github.com/yui-knk +[hasumikin]: https://github.com/hasumikin +[suketa]: https://github.com/suketa From f31cd3759b9b30d8b01bf613cfdc81ffc07cd1ed Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Oct 2025 11:29:52 +0900 Subject: [PATCH 3/8] Revised unmaintained to reflect the current situation --- doc/maintainers.md | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/doc/maintainers.md b/doc/maintainers.md index ffd3f84bb1c916..084e8851636fc9 100644 --- a/doc/maintainers.md +++ b/doc/maintainers.md @@ -28,6 +28,10 @@ not have authority to change/add a feature on his/her part. They need consensus on ruby-core/ruby-dev before changing/adding. Some of submaintainers have commit right, others don't. +No maintainer means that there is no specific maintainer for the part now. +The member of ruby core team can fix issues at anytime. But major changes need +consensus on ruby-core/ruby-dev. + ### Language core features including security * Yukihiro Matsumoto ([matz]) @@ -46,7 +50,7 @@ have commit right, others don't. #### lib/mkmf.rb -* *unmaintained* +* *No maintainer* #### lib/rubygems.rb, lib/rubygems/* @@ -78,15 +82,15 @@ have commit right, others don't. #### ext/objspace -* *unmaintained* +* *No maintainer* #### ext/pty -* *unmaintained* +* *No maintainer* #### ext/ripper -* *unmaintained* +* *No maintainer* #### ext/socket @@ -109,17 +113,17 @@ have commit right, others don't. #### lib/cgi/escape.rb -* *unmaintained* +* *No maintainer* #### lib/English.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/English * https://rubygems.org/gems/English #### lib/delegate.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/delegate * https://rubygems.org/gems/delegate @@ -150,7 +154,7 @@ have commit right, others don't. #### lib/fileutils.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/fileutils * https://rubygems.org/gems/fileutils @@ -185,13 +189,13 @@ have commit right, others don't. #### lib/net/protocol.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/net-protocol * https://rubygems.org/gems/net-protocol #### lib/open3.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/open3 * https://rubygems.org/gems/open3 @@ -246,7 +250,7 @@ have commit right, others don't. #### lib/tempfile.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/tempfile * https://rubygems.org/gems/tempfile @@ -270,7 +274,7 @@ have commit right, others don't. #### lib/tmpdir.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/tmpdir * https://rubygems.org/gems/tmpdir @@ -301,7 +305,7 @@ have commit right, others don't. #### lib/weakref.rb -* *unmaintained* +* *No maintainer* * https://github.com/ruby/weakref * https://rubygems.org/gems/weakref @@ -313,19 +317,19 @@ have commit right, others don't. #### ext/date -* *unmaintained* +* *No maintainer* * https://github.com/ruby/date * https://rubygems.org/gems/date #### ext/etc -* *unmaintained* +* *No maintainer* * https://github.com/ruby/etc * https://rubygems.org/gems/etc #### ext/fcntl -* *unmaintained* +* *No maintainer* * https://github.com/ruby/fcntl * https://rubygems.org/gems/fcntl @@ -619,7 +623,7 @@ have commit right, others don't. ### cygwin, ... -* none. (Maintainer WANTED) +* **No maintainer** ### WebAssembly/WASI From b58b89b92088bff4fceb8c417502762ed7a3ddfc Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Oct 2025 11:41:07 +0900 Subject: [PATCH 4/8] Revised structure of maintenance policy --- doc/maintainers.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/doc/maintainers.md b/doc/maintainers.md index 084e8851636fc9..2813afb6b85510 100644 --- a/doc/maintainers.md +++ b/doc/maintainers.md @@ -44,9 +44,7 @@ consensus on ruby-core/ruby-dev. * Yukihiro Matsumoto ([matz]) -## Standard Library Maintainers - -### Libraries +### Standard Library Maintainers #### lib/mkmf.rb @@ -62,7 +60,7 @@ consensus on ruby-core/ruby-dev. * Martin J. Dürst ([duerst]) -### Extensions +### Standard Library(Extensions) Maintainers #### ext/continuation @@ -101,9 +99,7 @@ consensus on ruby-core/ruby-dev. * NAKAMURA Usaku ([unak]) -## Default gems Maintainers - -### Libraries +### Default gems(Libraries) Maintainers #### lib/bundler.rb, lib/bundler/* @@ -309,7 +305,7 @@ consensus on ruby-core/ruby-dev. * https://github.com/ruby/weakref * https://rubygems.org/gems/weakref -### Extensions +### Default gems(Extensions) Maintainers #### ext/cgi @@ -396,7 +392,7 @@ consensus on ruby-core/ruby-dev. * https://github.com/ruby/zlib * https://rubygems.org/gems/zlib -## Bundled gems upstream repositories +## Bundled gems upstream repositories and maintainers ### minitest From f388647ecc0a3157047f3356c88096327808f224 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Oct 2025 11:42:04 +0900 Subject: [PATCH 5/8] Added policy of bundled gems --- doc/maintainers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/maintainers.md b/doc/maintainers.md index 2813afb6b85510..afd6e99d946aa1 100644 --- a/doc/maintainers.md +++ b/doc/maintainers.md @@ -394,6 +394,12 @@ consensus on ruby-core/ruby-dev. ## Bundled gems upstream repositories and maintainers +The maintanance policy of bundled gems is different from Module Maintainers above. +Please check the policies for each repository. + +The ruby core team tries to maintain the repositories with no maintainers. +It may needs to make consensus on ruby-core/ruby-dev before making major changes. + ### minitest * Ryan Davis ([zenspider]) From 7aac92abe899525efb4f53934e475263e76412ee Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Oct 2025 11:43:24 +0900 Subject: [PATCH 6/8] Update the primary maintainer of rubygems --- doc/maintainers.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/maintainers.md b/doc/maintainers.md index afd6e99d946aa1..891a58b0d169d7 100644 --- a/doc/maintainers.md +++ b/doc/maintainers.md @@ -52,7 +52,6 @@ consensus on ruby-core/ruby-dev. #### lib/rubygems.rb, lib/rubygems/* -* Eric Hodel ([drbrain]) * Hiroshi SHIBATA ([hsbt]) * https://github.com/ruby/rubygems From 0eaea7bdd30e21977f0f959e5b35bbf060ca3304 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 24 Oct 2025 11:56:21 +0900 Subject: [PATCH 7/8] thwait has been extracted to http://github.com/ruby/thwait --- doc/maintainers.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/doc/maintainers.md b/doc/maintainers.md index 891a58b0d169d7..9aa1a03bf62682 100644 --- a/doc/maintainers.md +++ b/doc/maintainers.md @@ -261,12 +261,6 @@ consensus on ruby-core/ruby-dev. * https://github.com/ruby/timeout * https://rubygems.org/gems/timeout -#### lib/thwait.rb - -* Keiju ISHITSUKA ([keiju]) -* https://github.com/ruby/thwait -* https://rubygems.org/gems/thwait - #### lib/tmpdir.rb * *No maintainer* From f8ccc0afb9e6a1687c181aad8df617c513760c75 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 23 Oct 2025 13:35:46 +0900 Subject: [PATCH 8/8] [ruby/rubygems] Forcely activate irb if that isn't available when running with bundle console https://github.com/ruby/rubygems/commit/42e22fd367 --- lib/bundler/cli/console.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/bundler/cli/console.rb b/lib/bundler/cli/console.rb index f6389e8ea00484..2d1a2ce458dd44 100644 --- a/lib/bundler/cli/console.rb +++ b/lib/bundler/cli/console.rb @@ -21,6 +21,11 @@ def get_console(name) get_constant(name) rescue LoadError if name == "irb" + if defined?(Gem::BUNDLED_GEMS) && Gem::BUNDLED_GEMS.respond_to?(:force_activate) + Gem::BUNDLED_GEMS.force_activate "irb" + require name + return get_constant(name) + end Bundler.ui.error "#{name} is not available" exit 1 else