3941 Commits
Author SHA1 Message Date
Takashi Kokubun 5761520495 Sync prism from its ruby-4.0 branch
ruby/prism's ruby-4.0 branch triggers sync_default_gems.yml on ruby_4_0
since ruby/prism#4005, but the sync only fetched prism's main branch.
The ruby-4.0 commits were never fetched, so every sync found no commits
to pick and finished successfully without syncing anything.
2026-10-21 23:03:43 -07:00
Hiroshi SHIBATAandClaude Opus 5 8c6c731547 Merge RubyGems/Bundler 4.0.20
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 09:25:43 -07:00
Hiroshi SHIBATAandClaude Opus 5 8aad2b9b57 Merge RubyGems/Bundler 4.0.19
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 09:25:43 -07:00
Hiroshi SHIBATAandClaude Opus 5 b667732024 Merge RubyGems/Bundler 4.0.18
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 09:25:43 -07:00
Hiroshi SHIBATAandClaude Opus 5 5853985383 Merge RubyGems/Bundler 4.0.17
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-08 09:25:43 -07:00
Takashi Kokubun 3928111078 Revert "Stop retrying tests in make test-all command by default"
This reverts commit 48b6c60969.

The effort is meant to be done in master branch where a lot more commits
are pushed every day. It doesn't seem like it would pay off for stable
branches.
2026-08-21 14:28:13 -07:00
Hiroshi SHIBATA 7329bd121e Merge RubyGems/Bundler 4.0.16 2026-07-13 17:20:58 -07:00
Hiroshi SHIBATA 66893ba75a Merge RubyGems/Bundler 4.0.15 2026-07-13 17:20:58 -07:00
Hiroshi SHIBATA 2bfa562097 Merge RubyGems/Bundler 4.0.14 2026-07-13 17:20:58 -07:00
Hiroshi SHIBATAandClaude Fable 5 f9b28fb915 Disable SimpleCov in bundled gem tests
net-imap's released test helper still calls the pre-1.0.0
`SimpleCov.formatters=` API, which raises NoMethodError with simplecov
1.0.0. Bundled gem coverage is not collected in CI, so opt out via
SIMPLECOV_DISABLE.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 19:38:15 +09:00
Takashi Kokubun b1a24f6bcc tool/redmine-backporter.rb: Authenticate GET requests
bugs.ruby-lang.org now rejects anonymous JSON API requests with
403 Forbidden. The backporter already requires a Redmine API key and
uses it for write requests, but the read-only issue and journal lookups
were still sent without credentials.

Send the existing X-Redmine-API-Key header for those GET requests too,
so ls/show/done/last can keep using the JSON API.
2026-07-09 15:17:53 -07:00
Hiroshi SHIBATA 6c080d71bc Merge RubyGems/Bundler 4.0.13 2026-06-03 16:56:21 -07:00
Hiroshi SHIBATA c74ca5c5c1 Merge RubyGems/Bundler 4.0.12 2026-06-03 16:56:21 -07:00
Hiroshi SHIBATA 56058d238b Merge RubyGems/Bundler 4.0.11 2026-06-03 16:56:21 -07:00
Hiroshi SHIBATA 4edfd93c0a Merge RubyGems/Bundler 4.0.10 2026-04-08 15:49:38 -07:00
Hiroshi SHIBATA dc13b5adc9 Merge RubyGems/Bundler 4.0.9 2026-04-08 15:49:38 -07:00
Hiroshi SHIBATA 36084c2457 Merge RubyGems/Bundler 4.0.8 2026-04-08 15:49:38 -07:00
Hiroshi SHIBATA f13b391174 Merge RubyGems/Bundler 4.0.7 2026-04-08 15:49:38 -07:00
Hiroshi SHIBATA e025c839ac Merge RubyGems/Bundler 4.0.6 2026-02-09 17:38:24 -08:00
Hiroshi SHIBATA 87b544b8c4 Merge RubyGems/Bundler 4.0.5 2026-02-09 17:38:24 -08:00
Hiroshi SHIBATA 91a4926c9a Merge RubyGems/Bundler 4.0.4 2026-02-09 17:38:24 -08:00
Takashi Kokubun 3601b6c2c1 merge revision(s) 9824724b2f: [Backport #21815]
[PATCH] Skip test_write_binary(GemSingletonTest) at rbs tests

	```
	Errno::EACCES: Permission denied @ rb_file_s_rename
	...
	D:/a/ruby/ruby/src/lib/rubygems/util/atomic_file_writer.rb:42:in 'File.rename'
	```

	It may caused with atomic_file_writer.rb
2026-01-12 17:11:36 -08:00
Takashi Kokubun e52aee688b redmine-backporter.rb: Check remote-tracking branch
on `has_commit` check for the `backport` command.

I don't maintain local "master" branch on my ruby repository for stable
branch maintenance. I want just running `git fetch origin` to make it
work. It should work for those who pull origin/master into their local
master too.
2026-01-12 16:59:42 -08:00
Soutaro Matsumoto 8caea03213 rbs_skip_tests_windows 2025-12-25 05:46:44 +09:00
Soutaro Matsumoto b92bc96541 Skip test to avoid NoMemoryError 2025-12-25 05:46:44 +09:00
yui-knk fc19ce0a01 Lrama v0.7.1 2025-12-24 13:10:51 +08:00
Hiroshi SHIBATA 202028aea1 Update the latest results of test-bundled-gems 2025-12-24 12:24:50 +09:00
YO4 ceea8060e4 Properly handle test cases terminated by signals in test-bundled-gems
Process::Status#exitstatus turn into nil when child process is signeled.
When exit_code was unchanged, test-bundled-gems.rb returned 0 and make was unable to detect the failure. Fix this.
2025-12-24 10:59:56 +09:00
Soutaro Matsumoto 2ed9a7bde2 Bundle RBS 3.10.0 (#15701)
* Bundle RBS 3.10.0
* Unskip BigDecimal tests
2025-12-23 08:51:32 +00:00
Hiroshi SHIBATA 1c3ef27191 Merge RubyGems 4.0.3 and Bundler 4.0.3 2025-12-23 16:10:04 +09:00
Nobuyoshi Nakada 7b19f1a1ef Skip RBS Ractor test on Windows
It seems hunging up.
2025-12-19 16:36:44 +09:00
Nobuyoshi Nakada bfba65d8c1 Extract Test::JobServer module
A placeholder to handle GNU make jobserver option.
spec/default.mspec didn't handle the jobserver using a FIFO.
2025-12-19 13:36:42 +09:00
Takashi Kokubun f7120860b0 test_sync_default_gems.rb: Omit if git is v2.43 or older 2025-12-17 10:45:57 -08:00
Takashi Kokubun dc2a62e14c test_commit_email.rb: Ensure #teardown doesn't fail
if test is omitted.

Follow up c4e090def1
2025-12-17 10:22:00 -08:00
tomoya ishidaandSoutaro Matsumoto 7e13fbc0ed Update bundled bigdecimal and rbs (#15611)
* Bundle rbs-3.10.0.pre.1

* Update rbs gem entry with commit hash

Updated rbs entry to include commit hash.

* Fix rbs entry in bundled_gems

* Update rbs gem to version 3.10.0.pre.2

Updated rbs gem version from 3.10.0.pre.1 to 3.10.0.pre.2.

* Update bundled bigdecimal to v4.0.1

---------

Co-authored-by: Soutaro Matsumoto <matsumoto@soutaro.com>
2025-12-18 03:04:49 +09:00
Hiroshi SHIBATA 3b66efda52 Bundle RubyGems 4.0.2 and Bundler 4.0.2 2025-12-17 12:12:34 +09:00
Max Bernstein 9581d6c898 ZJIT: Add iongraph-generating Ruby script (#15466)
Run like so:

    $ ../tool/zjit_iongraph.rb ../build-dev/miniruby --zjit-call-threshold=2 tmp/ghbug.rb
    false
    false
    tmp/ghbug.rb:3:in 'Object#doit': this shouldnt ever be nil (RuntimeError)
            from tmp/ghbug.rb:10:in '<main>'
    W, [2025-12-09T11:00:32.070382 #67400]  WARN -- : Command failed with exit status 1
    zjit_iongraph_67405.html
    $

Then open zjit_iongraph_67405.html with your browser.
2025-12-15 16:52:35 +00:00
Nobuyoshi Nakada 0159a98bc1 [Feature #20925] Skip infinite loop test 2025-12-14 05:30:53 +09:00
Takashi Kokubun be43ad37b7 release.yml: Fix tag conversion for Ruby 4.0
and PREVIOUS_RELEASE_TAG for any .0 releases
2025-12-11 17:57:38 -08:00
Takashi Kokubun 8fba4b0f60 tool/format-release: Fix a wrong method reference 2025-12-11 17:54:48 -08:00
Takashi Kokubun ec4c46709b tool/format-release: Carve out the version format logic
to share it with tool/releng/update-www-meta.rb and another place I'm
going to modify next.
2025-12-11 17:50:29 -08:00
Takashi Kokubun faac344d16 make-snapshot: Fix Psych::DisallowedClass with newer psych
```
$ tool/format-release ../www.ruby-lang.org 4.0.0-preview2 .
/opt/rubies/3.4.6/lib/ruby/3.4.0/psych/class_loader.rb:99:in 'Psych::ClassLoader::Restricted#find': Tried to load unspecified class: Date (Psych::DisallowedClass)
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/class_loader.rb:28:in 'Psych::ClassLoader#load'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/class_loader.rb:40:in 'Psych::ClassLoader#date'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/scalar_scanner.rb:65:in 'Psych::ScalarScanner#tokenize'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:65:in 'Psych::Visitors::ToRuby#deserialize'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:129:in 'Psych::Visitors::ToRuby#visit_Psych_Nodes_Scalar'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:30:in 'Psych::Visitors::Visitor#visit'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:6:in 'Psych::Visitors::Visitor#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:35:in 'Psych::Visitors::ToRuby#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:346:in 'block in Psych::Visitors::ToRuby#revive_hash'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:344:in 'Array#each'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:344:in 'Enumerable#each_slice'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:344:in 'Psych::Visitors::ToRuby#revive_hash'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:168:in 'Psych::Visitors::ToRuby#visit_Psych_Nodes_Mapping'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:30:in 'Psych::Visitors::Visitor#visit'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:6:in 'Psych::Visitors::Visitor#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:35:in 'Psych::Visitors::ToRuby#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:339:in 'block in Psych::Visitors::ToRuby#register_empty'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:339:in 'Array#each'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:339:in 'Psych::Visitors::ToRuby#register_empty'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:147:in 'Psych::Visitors::ToRuby#visit_Psych_Nodes_Sequence'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:30:in 'Psych::Visitors::Visitor#visit'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:6:in 'Psych::Visitors::Visitor#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:35:in 'Psych::Visitors::ToRuby#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:319:in 'Psych::Visitors::ToRuby#visit_Psych_Nodes_Document'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:30:in 'Psych::Visitors::Visitor#visit'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/visitor.rb:6:in 'Psych::Visitors::Visitor#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych/visitors/to_ruby.rb:35:in 'Psych::Visitors::ToRuby#accept'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych.rb:336:in 'Psych.safe_load'
        from /opt/rubies/3.4.6/lib/ruby/3.4.0/psych.rb:371:in 'Psych.load'
        from tool/format-release:80:in 'Tarball.parse'
        from tool/format-release:269:in 'Object#main'
        from tool/format-release:272:in '<main>'
```
2025-12-11 17:45:14 -08:00
Takashi Kokubun 1f0ca55750 make-snapshot: Update the tag format for Ruby 4.0+ (#15514) 2025-12-11 16:59:26 -08:00
Takashi Kokubun 06a6ad44f6 make-snapshot: Remove an unnecessary variable
This is a refactoring change, which should have no impact on behaviors.

Now, if patchlevel is true, tag is empty. So `if patchlevel` always does
nothing. Given that prerelease is false and tag is not nil, removing
`if patchlevel` should have no impact.
2025-12-11 16:45:04 -08:00
Takashi Kokubun 6601640c68 make-snapshot: Branch if it's X.Y.Z or X.Y using when
It just seems like a completely different input, so it makes more sense
to me to have it as a separate case.

Also, we don't need to support Ruby 2.0 or older.
2025-12-11 16:45:04 -08:00
Takashi Kokubun 0ecf689635 make-snapshot: Make preview/rc match stricter
to make it a bit more consistent with the other branch
2025-12-11 16:45:04 -08:00
Takashi Kokubun 58f9aca0cc make-snapshot: Drop X.Y.Z-pN support
We no longer make patchlevel releases.
2025-12-11 16:45:04 -08:00
Takashi Kokubun 12bf3a99d7 update-www-meta.rb: Update the tag format for Ruby 4.0+
Just copied format-release fixes in
a973526c05 to this file.
2025-12-11 16:18:37 -08:00
Takashi Kokubun aff0c6dad2 tool/merger.rb: Support the new format in remove_tag 2025-12-11 15:52:46 -08:00
Takashi Kokubun a973526c05 tool/format-release: Fix the tag format for Ruby 4.0+ 2025-12-11 14:49:17 -08:00