summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-13[DOC] Tweaks for String#tr!BurdetteLamar
2025-11-14Skip null check for `brace_block`yui-knk
`brace_block` is `'{' brace_body '}'` or `k_do do_body k_end`. Both of them are not null so no need to check `$5`.
2025-11-14[ruby/rubygems] Suppress gem build message of bundler like this:Hiroshi SHIBATA
``` $ rake spec:regular Successfully built RubyGem Name: bundler Version: 4.0.0.dev File: bundler-4.0.0.dev.gem ``` https://github.com/ruby/rubygems/commit/8f0ca5eefa
2025-11-14Remove `include` prefix from include pathsisuckatcs
2025-11-14[ruby/rubygems] Re-generate lockfile with double spacesHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/a65a4b775e
2025-11-14[ruby/rubygems] Fix triple spacing when generating lockfileJimmy Lin
https://github.com/ruby/rubygems/commit/d3baf4110e
2025-11-13ext/socket: Set raddrinfo thread as detached before thread start (#15142)Luke Gruber
We were seeing segfaults when calling `pthread_detach`. Apparently in some versions of glibc there is a race between when this is called (usually right after starting a thread) and a short-lived thread's shutdown routine. The bug has been reported to glibc: https://sourceware.org/bugzilla/show_bug.cgi?id=19951 I haven't been able to reproduce it on my Linux desktop but apparently it's easier to reproduce on certain kinds of servers. As a workaround, we can set the thread's detach state before thread start. I don't know of a platform that doesn't have `pthread_attr_setdetachstate`, but to be safe we check for it in `extconf.rb` and use `pthread_detach` as a backup if it isn't available. Fixes [Bug #21679]
2025-11-13Update default gems list at 244a4bedc25a402af8f5112ce35b4d [ci skip]git
2025-11-13[ruby/net-http] releng v0.8.0Sorah Fukumori
https://github.com/ruby/net-http/commit/9d65391f54
2025-11-13[ruby/net-http] Drop support for Ruby 2.6Taketo Takashima
https://github.com/ruby/net-http/commit/a3a5bc45f6
2025-11-13[ruby/net-http] Fix handling of IPv6 literal hosts in `Net::HTTPGenericRequest`Taketo Takashima
Update uri dependency to version 0.11.0 or later to use `URI::HTTP#authority` and `URI#parse` without scheme https://github.com/ruby/net-http/commit/3d4f06bd7f Co-authored-by: 0x1eef <0x1eef@users.noreply.github.com> Co-authored-by: Sorah Fukumori <sora134@gmail.com>
2025-11-13Add size checks to Range#to_set and Enumerator#to_set [Bug #21654]Akinori Musha
These two class are most common sources of infinite sequences. This change should effectively prevent accidental infinite loops when calling to_set on them. [Bug #21513]
2025-11-13Revert "[Bug #21513] Raise on converting endless range to set"Akinori Musha
This reverts commit d4020dd5faf28486123853e7f00c36139fc07793, which introduced performance regression for objects like ActiveRecord::Relation by calling the costly #size method on them.
2025-11-13Exclude lib/unicode_normalize from lib/unNobuyoshi Nakada
2025-11-13[ruby/rubygems] Fixed with Performance/RegexpMatch copHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/93b8492bc0
2025-11-13Ractor support Windows platform. We need to skip only failing tests of RubyGemsHiroshi SHIBATA
2025-11-13[Bug #21683] Respect reading encoding at `each_codepoint`Nobuyoshi Nakada
2025-11-13[ruby/rubygems] We don't need to allow some warning because:David Rodríguez
Always build gems with RubyGems programmatically https://github.com/ruby/rubygems/commit/5cc0c34e64
2025-11-13Use omit instead of return in assertionHiroshi SHIBATA
2025-11-13Omit assert_ractor with Windows platformHiroshi SHIBATA
2025-11-13[ruby/rubygems] Add debug logging information:Edouard CHIN
- I'd like to be able to see how long bundler takes for basic operations such as downloading a gem from Rubygems.org and installing a gem. It will now be possible with this commit by running `DEBUG=true bundle install` and have output that looks like: Fetching rack-test 2.2.0 Downloaded rack-test in: 50.523s Installing rack-test 2.2.0 Installed rack-test in: : 0.003s https://github.com/ruby/rubygems/commit/46386d43e1
2025-11-13Use path in tmpdir instead of IO::NULLKazuhiro NISHIYAMA
The path already used in tool/test/test_sync_default_gems.rb . Try to fix errors on Windows. https://github.com/ruby/ruby/actions/runs/19316448613/job/55248700110
2025-11-13[ruby/rubygems] Adjust the API_REQUEST_LIMIT:Edouard CHIN
- ### Problem This limit is used when Bundler fallback to getting a dependency list from a server `/dependencies?gem=` endpoint. Bundler uses this API endpoint fallback when a server doesn't expose the compact index API. This is not used for Rubygems.org, only private servers. This limit is then divided by the number of dependency to get and the result is the number of request we'll be doing. The bottleneck on the client is the network roundtrip. On the server, getting the info of 50 or 100 gems is a bit more expensive but this operation is heavily cached. This is an example of Rubygems.org implementation at the time the dependencies API wasn't deprecated https://github.com/rubygems/rubygems.org/blob/5a3a3ec02acc3a4e3aba077953a393ad20a06842/app/models/gem_dependent.rb#L15 ### Context This limit used to be 100 a while ago but got changed to 50 in https://github.com/ruby/rubygems/commit/e745f8dc901dd419e7dc8aede3e8d49569fc7b1e I don't know why. ### Solution 50 gems to query seems arbitrary low. By doubling this number, we make twice as less API requests which ultimately can shove up to two seconds on application relying on a large number of gems. https://github.com/ruby/rubygems/commit/831894043c
2025-11-13Revert "include ruby.h to avoid load failures"Hiroshi SHIBATA
This reverts commit 35783854244f8dc6a9f7fb4dfae752f8361c66bd.
2025-11-12ZJIT: Revert patch_point_count counter (#15160)Takashi Kokubun
2025-11-13Ignore ~/.gitconfigKazuhiro NISHIYAMA
I use `commit.gpgsign=true`, so I want to ignore it in tests.
2025-11-12ZJIT: Add standalone JSON implementation (#15162)Aiden Fox Ivey
I split this off from https://github.com/ruby/ruby/pull/14999 to land the JSON component earlier. Iongraph's viewer is (as mentioned in the article above) a few notches above graphviz for viewing large CFGs. It also allows easily inspecting different compiler optimization passes and multiple functions in the same browser window. Since Spidermonkey is using this format, it may be beneficial to use it for our own JIT development. The requirement for JSON is downstream from that of the Iongraph format. As for writing the implementation myself, ZJIT leans towards having fewer dependencies, so this is the preferred approach.
2025-11-12Increase default stack sizes for LSANPeter Zhu
2025-11-12[ruby/rubygems] Re-use assert_headers_equal from Gem::Package::TarTestCaseHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/0cf49e22af
2025-11-12[ruby/io-wait] Define ABI versionNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/ad6f47fd3a
2025-11-12[ruby/rubygems] Add documentation for pattern matching methodsBrandon Weaver
https://github.com/ruby/rubygems/commit/18f64c6b29
2025-11-12[ruby/rubygems] Add pattern matching support to Gem::PlatformBrandon Weaver
https://github.com/ruby/rubygems/commit/b59917447c
2025-11-12erb/new_spec.rb: Fix a missing doTakashi Kokubun
2025-11-12[DOC] Tweaks for String#trBurdetteLamar
2025-11-12[DOC] Tweaks for String#to_sBurdetteLamar
2025-11-12erb/new_spec.rb: Update a version guardTakashi Kokubun
to the released version
2025-11-12Update default gems list at e25fdc3d0048cd2ab5c92add8fb76c [ci skip]git
2025-11-12[ruby/erb] Version 6.0.0Takashi Kokubun
https://github.com/ruby/erb/commit/bbaaf1f51b
2025-11-12[ruby/erb] Drop a deprecated constant ERB::RevisionTakashi Kokubun
https://github.com/ruby/erb/commit/1f83b2578f
2025-11-12[ruby/erb] Drop an obsolete constant ERB::NOT_GIVENTakashi Kokubun
and update some documentation https://github.com/ruby/erb/commit/9da628f21c
2025-11-12erb/new_spec.rb: Fetch private ERB::VERSIONTakashi Kokubun
for erb v4.0.4 or older
2025-11-12spec_guards.yml: Add `fail-fast: false`Takashi Kokubun
fail-fast is never a good idea for master branch.
2025-11-12Reapply "[ruby/erb] Reapply "Remove safe_level and further positional"Takashi Kokubun
This reverts commit 5b6658a406b5f1c535aed4cb68e8e18a3cbabb81. With a ruby spec fix.
2025-11-12Revert "[ruby/erb] Reapply "Remove safe_level and further positional"Takashi Kokubun
This reverts commit 6ea4f36716f8970f418f32837575405ddeea75aa. I'll fix ruby/spec shortly. For now, let me just revert it for ruby/ruby.
2025-11-12[ruby/erb] Reapply "Remove safe_level and further positionalTakashi Kokubun
arguments (https://github.com/ruby/erb/pull/7)" (https://github.com/ruby/erb/pull/95) This reverts commit https://github.com/ruby/erb/commit/1c02d23dc618. https://github.com/ruby/erb/commit/4162a24ecc
2025-11-12Use patched rbs aware of io/wait method removalsAlan Wu
2025-11-13include ruby.h to avoid load failuresKoichi Sasada
``` .../io/wait.so: undefined symbol: ruby_abi_version - ruby_abi_version ```
2025-11-12[ruby/io-wait] No method definition is always ractor-safeNobuyoshi Nakada
https://github.com/ruby/io-wait/commit/44b68fc51b
2025-11-12[ruby/io-wait] Drop support for ruby 3.1Nobuyoshi Nakada
https://github.com/ruby/io-wait/commit/33efb55d0e
2025-11-12[ruby/io-wait] Drop support for ruby 3.0Nobuyoshi Nakada
https://github.com/ruby/io-wait/commit/62626dae8c