summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-11-18[ruby/rubygems] Progressively enhance if DidYouMean is availableAustin Pray
https://github.com/ruby/rubygems/commit/a02353fb96
2025-11-18[ruby/rubygems] RubocopAustin Pray
https://github.com/ruby/rubygems/commit/a6bc30a827
2025-11-18[ruby/rubygems] use DidYouMean::SpellChecker for gem suggestionsAustin Pray
replaces Bundler::SimilarityDetector with DidYouMean::SpellChecker https://github.com/ruby/rubygems/commit/959bea1506
2025-11-18Fixed conflict of vendor_gems.rbHiroshi SHIBATA
2025-11-18[DOC] Add documentation about Ruby's VM stackStan Lo
2025-11-18[ruby/json] Use #if instead of #ifdef when checking for JSON_DEBUG so ↵Scott Myron
debugging code is not generated when JSON_DEBUG=0. https://github.com/ruby/json/commit/4f1adb10d3
2025-11-18[ruby/resolv] Fix syntax error on older versionsNobuyoshi Nakada
https://github.com/ruby/resolv/commit/599f78c451
2025-11-18Update bundled gems list as of 2025-11-18git
2025-11-18Downgrade net-http 0.7.0 because JRuby is not workingHiroshi SHIBATA
2025-11-18Use released version of net-http-0.8.0Hiroshi SHIBATA
2025-11-18[ruby/rubygems] Update resolv-0.6.3Hiroshi SHIBATA
https://github.com/ruby/rubygems/commit/778426fb73
2025-11-18[ruby/rubygems] Update optparse-0.8.0Hiroshi SHIBATA
https://github.com/ruby/rubygems/commit/4e02243f66
2025-11-18[ruby/rubygems] Update fileutils-1.8.0Hiroshi SHIBATA
https://github.com/ruby/rubygems/commit/f8fe7a5208
2025-11-18[ruby/rubygems] Update timeout-0.4.4Hiroshi SHIBATA
https://github.com/ruby/rubygems/commit/b6deff99c9
2025-11-18[ruby/rubygems] Update URI-1.1.1Hiroshi SHIBATA
https://github.com/ruby/rubygems/commit/07f2daf51e
2025-11-18[ruby/rubygems] Use released version of net-http-persistent-4.0.6Hiroshi SHIBATA
https://github.com/ruby/rubygems/commit/b237f759b0
2025-11-18[ruby/rubygems] Undeprecate `Gem::Version.new(nil)`Aaron Patterson
It seems like we were trying to deprecate passing `nil` to Gem::Version.new. This breaks existing code, and I don't think there is a good reason to deprecate this usage. I believe what we want to prevent is the following code: ```ruby Gem::Specification.new do |spec| spec.version = nil # suddenly the spec version is 0! p spec.version end ``` This commit allows people to manually construct `Gem::Version.new(nil)`, but when someone assigns `nil` as the Gem specification version, it sets the spec version to `nil` (making the specification invalid). People who manually construct `Gem::Version` objects and use nil should be allowed to do it, and `Gem::Version.new(nil) == Gem::Version.new("0")`, but people who assign `nil` in a gemspec will get an invalid gemspec. I think deprecation started [here](https://github.com/ruby/rubygems/pull/2203) but there doesn't seem to be a reason to do it. Fixes https://github.com/ruby/rubygems/pull/9052 https://github.com/ruby/rubygems/commit/ded5e909c2
2025-11-17Bump actions/checkout from 5.0.0 to 5.0.1dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 5.0.1. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v5...v5.0.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 5.0.1 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17Unskip test_alternative_pattern_nested for MMTkPeter Zhu
2025-11-17Fix EnvUtil.current_parser for modular GCPeter Zhu
The regexp used in EnvUtil.current_parser did not allow square brackets for feature names. Modular GC uses square brackets for the GC name (such as +GC[mmtk]).
2025-11-18[ruby/rubygems] Removed deprecated -C option from gem buildHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/3471646d43
2025-11-17[ruby/rubygems] Removed unused deprecate loadingHiroshi SHIBATA
https://github.com/ruby/rubygems/commit/a49d315ecd
2025-11-17[DOC] Update GC.stat and GC.stat_heap documentationJean Boussier
I noticed some of the keys have been gone or renamed for a while.
2025-11-17[ruby/time] Defer default year for zone_offset until neededSander Verdonschot
While parsing ISO 8601 timestamps like `2025-11-13T19:34:23.681726000Z` I noticed that a lot of time was spent to compute a default `year` argument to `zone_offset`. For ISO 8601, that year is never used, as all valid time zone designators match one of the earlier cases. This commit moves the computation of the default `year` value to just before it is used. This results in a 15% speedup parsing ISO 8601 timestamps on Mac OS X. https://github.com/ruby/time/commit/4a0bcbe575
2025-11-18Fix improper termlen fill in `str_duplicate_setup_embed`.Luke Gruber
When term len != 1 (for example: Encoding::UTF32BE), term fill is wrong size.
2025-11-17[ruby/prism] Remove now obsolete todosEarlopain
https://github.com/ruby/prism/commit/b00d098f9a
2025-11-17Remove alternation pattern matching handling from the prism compilerEarlopain
Since https://github.com/ruby/ruby/pull/15212 these are proper syntax errors, so no need to handle this explicitly anymore. Also updated the example in the docs for this
2025-11-17remove old codeNARUSE, Yui
2025-11-17strnlen is not used nowv4.0.0-preview2NARUSE, Yui
2025-11-17Fix `RUBY_API_VERSION_NAME` fallback definitionNobuyoshi Nakada
2025-11-17The prev_ver of 4.0.0 is 3.4.0NARUSE, Yui
2025-11-17Skip TestCommitEmail if git is not available.Hiroshi SHIBATA
https://github.com/ruby/actions/actions/runs/19420968008/job/55558315338 ``` 1) Error: TestCommitEmail#test_sendmail_encoding: Test::Unit::ProxyError: No such file or directory - git /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:534:in 'Kernel#spawn' /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:534:in 'Open3.popen_run' /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:379:in 'Open3.popen2' /home/runner/work/actions/actions/ruby-4.0.0-preview2/lib/open3.rb:785:in 'Open3.capture2' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:89:in 'TestCommitEmail#git' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:13:in 'block in TestCommitEmail#setup' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:12:in 'Dir.chdir' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:12:in 'TestCommitEmail#setup' 2) Error: TestCommitEmail#test_sendmail_encoding: Test::Unit::ProxyError: no implicit conversion of nil into String /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:37:in 'File.unlink' /home/runner/work/actions/actions/ruby-4.0.0-preview2/tool/test/test_commit_email.rb:37:in 'TestCommitEmail#teardown' ```
2025-11-16Handle deeply nested capture variables syntax errKevin Newton
When there are nested capture variables inside of a pattern match that has an alternation pattern, it is a syntax error. Currently it only adds a syntax error when it is at the top level of the pattern.
2025-11-17vm_dump.c: unbreak unwind on powerpc (#14650)Sergey Fedorov
2025-11-16Avoid allocating intermediate string in zone_strJohn Hawthorn
2025-11-16[DOC] Tweaks for String#unicode_normalize!BurdetteLamar
2025-11-16[DOC] Tweaks for String#unicode_normalized?BurdetteLamar
2025-11-16[DOC] Tweaks for String#unpackBurdetteLamar
2025-11-16[DOC] Tweaks for String#unpack1BurdetteLamar
2025-11-15Remove dead IBF_OBJECT_INTERNALPeter Zhu
2025-11-15[ruby/stringio] [DOC] Fix #seek linkBurdette Lamar
(https://github.com/ruby/stringio/pull/174) Method #seek deserves (and will get) documentation independent of that in class IO. Meanwhile, the link should go someplace sensible and useful. https://github.com/ruby/stringio/commit/d026549719
2025-11-15[ruby/stringio] [DOC] Doc for StringIO.sizeBurdette Lamar
(https://github.com/ruby/stringio/pull/171) https://github.com/ruby/stringio/commit/95a111017a
2025-11-15[ruby/stringio] [DOC] Tweaks for StringIO#each_lineBurdette Lamar
(https://github.com/ruby/stringio/pull/165) Adds to "Position": pos inside a character. Makes a couple of minor corrections. --------- https://github.com/ruby/stringio/commit/ff332abafa Co-authored-by: Sutou Kouhei <kou@cozmixng.org>
2025-11-15[DOC] Remove an obsolete fileNobuyoshi Nakada
It has been merged into `doc/ruby/options.md` with `field_processing.md` at ruby/ruby#10138.
2025-11-15refactor io_each_codepointYO4
2025-11-15[Doc] Remove leftover references to namespace from box.mdHerwin
And fix the indentation a little bit, since `box` is one character longer than `ns`.
2025-11-14ZJIT: Add individual tests for complex arg pass countersRandy Stauner
Make it easier to see what happens when one is changed.
2025-11-15Add rubygems package to fix cygwin CIDaisuke Fujimura (fd0)
2025-11-14Skip tests in TestThreadLockNativeThread when using LSANPeter Zhu
These tests use NM threads but NT is not freed for MN thread, causing it to be reported as memory leaks in LSAN. For example: #1 0x62ee7bc67e99 in calloc1 gc/default/default.c:1495:12 #2 0x62ee7bc7ba00 in rb_gc_impl_calloc gc/default/default.c:8216:5 #3 0x62ee7bc631d1 in ruby_xcalloc_body gc.c:5221:12 #4 0x62ee7bc5cdbc in ruby_xcalloc gc.c:5215:34 #5 0x62ee7bdea4c6 in native_thread_alloc thread_pthread.c:2187:35 #6 0x62ee7bdec31b in native_thread_check_and_create_shared thread_pthread_mn.c:429:39 #7 0x62ee7bdea484 in native_thread_create_shared thread_pthread_mn.c:531:12 #8 0x62ee7bdea1da in native_thread_create thread_pthread.c:2403:16 #9 0x62ee7bdde2eb in thread_create_core thread.c:884:11 #10 0x62ee7bde4466 in thread_initialize thread.c:992:16
2025-11-14ZJIT: Support JIT-to-JIT calls to callees with optional parametersAlan Wu
* Correct JIT entry points for optionals so each optional start with nil before their initialization routine runs. Establish `jit_entry_points[filled_opts_num]` gives the appropriate entry point * Correct number of HIR block parameters for each JIT entry point * Entry points that share the same ISEQ PC get separate entries since they start with different state. No more deduplication. * Reject post parameters. Was hidden behind check for optionals. * Make sure to visit every BB in iseq_to_hir(). Some wasn't visited when the initialization routine for an optional terminates the block in a `SideExit`. Remove the now impossible `FailedOptionalArguments`.