Nobuyoshi Nakada
2af63204de
[ruby/digest] [DOC] Missing documents
...
https://github.com/ruby/digest/commit/16b598d6f2
2025-11-10 08:38:45 +00:00
Olle Jonsson
bc177ff1ce
[ruby/timeout] Suppress warnings in two tests
...
Failed build in #70 .
Pre-3.0 versions of Ruby didn't support pattern matching, and power_assert warned.
https://github.com/ruby/timeout/commit/983cbf636a
2025-11-10 08:31:11 +00:00
Aaron Patterson
57daafc1da
[ruby/rubygems] Make verification methods private
...
I would like to start making some of the methods in Gem::Package
private so that we can refactor them better. Right now we have many
methods that are public, and since they are public we can't refactor
them. Historically, I think "private" methods have just been tagged
with :nodoc:, but I would like to be more strict about our APIs
https://github.com/ruby/rubygems/commit/fb352e9176
2025-11-10 08:24:04 +00:00
Nobuyoshi Nakada
57f2ac720d
[ruby/rubygems] [DOC] Fix markups
...
Use `<tt>` instead of `+` that cannot enclose punctuations.
https://github.com/ruby/rubygems/commit/f84035c0b6
2025-11-10 06:44:27 +00:00
Nobuyoshi Nakada
73339ff2a1
[ruby/rubygems] [DOC] Fix the location of Gem::Deprecate document
...
It was bound to `module Gem`, instead of `module Deprecate`.
https://github.com/ruby/rubygems/commit/da29f74ba1
2025-11-10 06:44:27 +00:00
Nobuyoshi Nakada
28f760bf70
[ruby/stringio] Suppress warnings against pattern matching on ruby 2.7
...
https://github.com/ruby/stringio/commit/cf58a203eb
2025-11-10 04:10:10 +00:00
Nobuyoshi Nakada
19295f5db3
[ruby/cgi] [DOC] Missing documents
...
https://github.com/ruby/cgi/commit/ebd04d1eb1
2025-11-10 03:58:43 +00:00
Hiroshi SHIBATA
40d6626bbf
[ruby/rubygems] Fixed with Lint/RedundantSplatExpansion
...
https://github.com/ruby/rubygems/commit/2078f3d351
2025-11-10 03:49:44 +00:00
Nobuyoshi Nakada
b1dfcd6507
[ruby/stringio] [DOC] Suppress documentation for internals
...
https://github.com/ruby/stringio/commit/27b2fb2fce
2025-11-10 03:45:08 +00:00
Nobuyoshi Nakada
3147df87ba
[ruby/net-http] [DOC] Suppress documentation for internals
...
https://github.com/ruby/net-http/commit/b7c586985a
2025-11-10 03:38:04 +00:00
dependabot[bot]
cb50ed2cc2
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-11-10 12:04:49 +09:00
Daisuke Aritomo
f29d772a73
[ruby/net-http] Remember if TCPSocket impl supports open_timeout
...
For open_timeout support detection, the previous implementation relied
on an ArgumentError being raised and then rescued. In Ruby, rescue is a
rather expensive operation and should be avoided when possible.
This patch reduces the number of begin-rescues by remembering if the
TCPSocket implementation supports open_timeout.
https://github.com/ruby/net-http/commit/06d982f3a1
2025-11-10 02:40:46 +00:00
Daisuke Aritomo
97efbc47d0
[ruby/net-http] Ruby 2 compat
...
https://github.com/ruby/net-http/commit/09bf573dd5
2025-11-10 02:40:46 +00:00
Daisuke Aritomo
f710e6bb54
[ruby/net-http] Replace Timeout.timeout with TCPSocket.open(open_timeout:) when available
...
This patch replaces the implementation of #open_timeout from Timeout.timeout from the builtin timeout in TCPSocket.open, which was introduced in Ruby 3.5 (https://bugs.ruby-lang.org/issues/21347 ).
The builtin timeout in TCPSocket.open is better in several ways than Timeout.timeout. It does not rely on a separate Ruby Thread for monitoring Timeout (which is what the timeout library internally does).
Furthermore, it is compatible with Ractors, as opposed to Timeout.timeout (it internally uses Thread::Mutex which can not be used in non-main Ractors).
This change allows the following code to work.
require 'net/http'
Ractor.new {
uri = URI('http://example.com/ ')
http = Net::HTTP.new(uri.host, uri.port)
http.open_timeout = 1
http.get(uri.path)
}.value
In Ruby <3.5 environments where `TCPSocket.open` does not have the `open_timeout` option, I have kept the behavior unchanged. net/http will use `Timeout.timeout { TCPSocket.open }`.
https://github.com/ruby/net-http/commit/728eb8fc42
2025-11-10 02:40:46 +00:00
Hiroshi SHIBATA
8fa29a75ab
Fix condition for Timeout Error with >= macOS 26.1
2025-11-10 11:10:23 +09:00
Nobuyoshi Nakada
a43acf9a3f
[ruby/resolv] [DOC] Resolv::LOC itself is undocumented
...
https://github.com/ruby/resolv/commit/7c5bfe7acd
2025-11-10 01:52:39 +00:00
Stan Lo
d05f23b51f
ZJIT: handle megamorphic and skewed megamorphic profiling results
2025-11-10 09:42:26 +09:00
Stan Lo
6902bc71b9
ZJIT: Refactor receiver type resolution
2025-11-10 09:42:26 +09:00
Peter Zhu
a731080f46
Make rb_gc_obj_optimal_size always return allocatable size
...
It may return sizes that aren't allocatable for arrays and strings.
2025-11-09 11:14:54 -08:00
Takashi Kokubun
17efb770c8
sync_default_gems.yml: Pull --rebase before push
...
It was supposed to update a local branch in case the remote branch was
updated between actions/checkout and the end of tool/sync_default_gems.rb.
Note that this `git pull` didn't exist in the original bin/update-default-gem.sh
d9e9bcc60d ,
so it was newly introduced at 3ba5cfd1cb .
But `git pull --no-ff` failed when master had updates in an unrelated
repository. I think we need to use `git pull --rebase` instead.
This fixes:
* https://github.com/ruby/ruby/actions/runs/19207693793/job/54905403070
* checkout: f08030e9dccf38d9ea5c9505203fe26484dc28d8
* ruby tool/sync_default_gems.rb net-http ec9c70a6fba75a63c128864ef3cb32c883665a33..e4d80bd609f22cad04a2e2c1d54c981bb853c938
* pull: 2bf82c627494e785737037bbaf9a6b98f3c6354c
2025-11-09 10:01:56 -08:00
Peter Zhu
f1b1899a74
[ruby/mmtk] Lock the VM when freeing objects in rb_gc_impl_shutdown_call_finalizer
...
https://github.com/ruby/mmtk/commit/1828f6596f
2025-11-09 17:29:03 +00:00
Takashi Kokubun
4639bbc8e9
auto_review_pr.rb: Tweak the review message
2025-11-09 07:35:28 -08:00
Takashi Kokubun
2b6580d44a
auto_review_pr.rb: Remove an unused variable
...
Follow-up: https://github.com/ruby/ruby/pull/15116
2025-11-09 07:34:32 -08:00
Takashi Kokubun
a7a4bb93fc
Automatically review default-gem pull requests ( #15116 )
2025-11-09 07:16:42 -08:00
Nobuyoshi Nakada
4fe0342a86
Reapply "[ruby/net-http] [DOC] Suppress documentation for internals"
...
This reverts commit af610e107c3a7515228843eb6b1c5978f2ee2685.
Reverted by a mistake.
2025-11-09 22:18:37 +09:00
Nobuyoshi Nakada
af610e107c
Revert "[ruby/net-http] [DOC] Suppress documentation for internals"
...
This reverts commit 155cdce539a95b510a80a19e3840cde6b293cd4d.
2025-11-09 22:11:40 +09:00
Nobuyoshi Nakada
26fc938b9f
[DOC] Sort undocumented items by locations
2025-11-09 22:11:40 +09:00
Nobuyoshi Nakada
87c39667bf
[DOC] ObjectSpace.trace_object_allocations_debug_start
2025-11-09 22:11:40 +09:00
Nobuyoshi Nakada
953fee11b3
[DOC] Document of Coverage.line_stub from NEWS-2.6.0
2025-11-09 22:11:39 +09:00
Nobuyoshi Nakada
4170b70d32
[ruby/net-http] [DOC] Fix too stopped documentations
...
https://github.com/ruby/net-http/commit/58685b78ab
2025-11-09 13:10:33 +00:00
Nobuyoshi Nakada
bf29ba452a
[ruby/resolv] [DOC] Fix documentations
...
https://github.com/ruby/resolv/commit/d8b8d36f63
2025-11-09 12:45:48 +00:00
Nobuyoshi Nakada
d79ff40782
[ruby/resolv] Require win32/resolv just once
...
And Use Win32::Resolv instead of a constant `WINDOWS`.
https://github.com/ruby/resolv/commit/b2c775cd80
2025-11-09 12:45:48 +00:00
Nobuyoshi Nakada
063aea8ce4
[ruby/resolv] Exclude unneeded files
...
https://github.com/ruby/resolv/commit/60bf151a1d
2025-11-09 12:45:48 +00:00
Nobuyoshi Nakada
79342334e0
[ruby/ipaddr] [DOC] Stop documentation for internals
...
https://github.com/ruby/ipaddr/commit/cb9f561883
2025-11-09 12:27:12 +00:00
Nobuyoshi Nakada
f23fab66c2
[ruby/ipaddr] gemspec files does not need to be included in spec.files
...
https://github.com/ruby/ipaddr/commit/ada04589fe
2025-11-09 12:27:12 +00:00
Nobuyoshi Nakada
6cac643487
[ruby/win32-registry] [DOC] Convert documents from RD2
...
https://github.com/ruby/win32-registry/commit/8680eedd43
2025-11-09 12:08:45 +00:00
Nobuyoshi Nakada
155cdce539
[ruby/net-http] [DOC] Suppress documentation for internals
...
https://github.com/ruby/net-http/commit/e4d80bd609
2025-11-09 21:06:24 +09:00
Nobuyoshi Nakada
001890b851
[ruby/net-http] Exclude unneeded files
...
https://github.com/ruby/net-http/commit/89e1ecb556
2025-11-09 21:06:23 +09:00
Nobuyoshi Nakada
2bf82c6274
[ruby/net-protocol] [DOC] Suppress documentation for internals
...
https://github.com/ruby/net-protocol/commit/6c5734dc1e
2025-11-09 11:18:09 +00:00
Nobuyoshi Nakada
44d19928b6
[ruby/net-protocol] Exclude unneeded files
...
https://github.com/ruby/net-protocol/commit/8286341e8c
2025-11-09 11:18:09 +00:00
Nobuyoshi Nakada
f08030e9dc
[ruby/optparse] [DOC] A constant for compatibility
...
https://github.com/ruby/optparse/commit/0125cb4918
2025-11-09 11:17:02 +00:00
Nobuyoshi Nakada
a4dff09be7
[Bug #21673 ] Fix resolving refined module-defined method
...
A method defined in a module has no `defined_class`, use the ICLASS
for it as the `defined_class`.
2025-11-09 16:39:38 +09:00
git
a88d7718f4
Update bundled gems list as of 2025-11-09
2025-11-09 06:50:26 +00:00
Takashi Kokubun
529dd8d76e
cygwin.yml: Disable a broken step
...
https://github.com/ruby/ruby/actions/runs/19201736990/job/54890646022
2025-11-08 19:49:32 -08:00
Peter Zhu
827f11fce3
Move rb_gc_verify_shareable to gc.c
...
rb_gc_verify_shareable is not GC implementation specific so it should live
in gc.c.
2025-11-08 17:58:25 -08:00
Burdette Lamar
79eed1158d
[DOC] Tweaks for String#to_i ( #15036 )
2025-11-08 17:27:26 -05:00
Burdette Lamar
75d25a42e6
[DOC] Tweaks for String#to_c
2025-11-08 10:08:09 -05:00
Joshua Young
4365c4fb6b
[DOC] Replace 3.5 reference in NEWS.md
2025-11-08 20:52:39 +09:00
Nobuyoshi Nakada
3a5e7e9580
Constify
2025-11-08 20:51:04 +09:00
Takashi Kokubun
aacd9f206a
Notify CI failures of Cygwin
2025-11-07 21:55:41 -08:00