summaryrefslogtreecommitdiff
path: root/tool
AgeCommit message (Collapse)Author
2024-05-28redmine-backporter.rb: Print help on wrong usageTakashi Kokubun
2024-05-23Introduce a specialize instruction for Array#packNobuyoshi Nakada
Instructions for this code: ```ruby # frozen_string_literal: true [a].pack("C") ``` Before this commit: ``` == disasm: #<ISeq:<main>@test.rb:1 (1,0)-(3,13)> 0000 putself ( 3)[Li] 0001 opt_send_without_block <calldata!mid:a, argc:0, FCALL|VCALL|ARGS_SIMPLE> 0003 newarray 1 0005 putobject "C" 0007 opt_send_without_block <calldata!mid:pack, argc:1, ARGS_SIMPLE> 0009 leave ``` After this commit: ``` == disasm: #<ISeq:<main>@test.rb:1 (1,0)-(3,13)> 0000 putself ( 3)[Li] 0001 opt_send_without_block <calldata!mid:a, argc:0, FCALL|VCALL|ARGS_SIMPLE> 0003 putobject "C" 0005 opt_newarray_send 2, :pack 0008 leave ``` Co-authored-by: Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> Co-authored-by: Aaron Patterson <tenderlove@ruby-lang.org>
2024-05-20Re-use strscan with ruby repoHiroshi SHIBATA
2024-05-20[Bug #20494] Search non-default directories for GMPNobuyoshi Nakada
Co-Authored-by: lish82 (Hiroki Katagiri)
2024-05-09Revert "Update revision.h if branch unmatch not only revision"Nobuyoshi Nakada
This reverts commit 5a332940ed2f809cb17af7e4d068089b6e1fa6ca. Something does not work well on Github Actions.
2024-05-08Update revision.h if branch unmatch not only revision [ci skip]Nobuyoshi Nakada
2024-05-08Show the caller location of assertion methodsNobuyoshi Nakada
Not only defined in `Test::Unit` or `CoreAssertions`, also show the caller location of assertion methods defined in the current class or ancestors.
2024-05-07[PRISM] Enable test_methoddef_endless_commandKevin Newton
2024-05-02Lrama v0.6.9yui-knk
2024-04-29Lrama v0.6.8yui-knk
2024-04-28Lrama v0.6.7yui-knk
2024-04-27Lrama v0.6.6yui-knk
2024-04-26Set executable on rdoc-srcdir [ci skip]Nobuyoshi Nakada
2024-04-25[Bug #20450] Remove rubyarchdir from bootsnap pathsEugene Kenny
2024-04-23Remove newlines of MIME encoded subject lineNARUSE, Yui
2024-04-23exit 1 if failedNARUSE, Yui
2024-04-23Traverse tmpdir under chdirNobuyoshi Nakada
2024-04-23Shorten tmpdir pathNobuyoshi Nakada
2024-04-22[DOC] Tweek a commentNobuyoshi Nakada
2024-04-22Extract `list_tree` as a method and separate from removalsNobuyoshi Nakada
2024-04-22Show left tmpdir recursivelyNobuyoshi Nakada
2024-04-22Windows does not have "/tmp" path usuallyNobuyoshi Nakada
2024-04-20Fix method nameNobuyoshi Nakada
2024-04-19Show left files infoNobuyoshi Nakada
2024-04-19Use isolated temporary directory in test-all too for RubyGems testsNobuyoshi Nakada
2024-04-19Extract tmpdir templateNobuyoshi Nakada
2024-04-19Make `Output.new` accepts keyword argumentsNobuyoshi Nakada
2024-04-19Update turbo_tests to 2.2.3 or higherilyazub
commands/pristine_spec.rb is passed with the turbo_tests 2.2.3 because it the removed json dependency. Related to https://github.com/ruby/ruby/pull/10496 Related to d60b2caa95b01f37d35db9ef8be1d035d14b408d
2024-04-18Explicily lock turbo_tests to 2.2.0 in GemfileNobuyoshi Nakada
Ruby-core CI is having issues with turbo_tests 2.2.1. This version adds json as a dependency and the `bundle install` command ruby-core uses is not able to compile it for some reason. I was not able to reproduce the issue locally, so this needs more investigation. We're already locked to 2.2.0, but ruby-core does not use a `Gemfile.lock` so we need to lock explicitly in the Gemfile for now.
2024-04-18Support Misc tracker [ci skip]Kazuhiro NISHIYAMA
2024-04-15Add --with-shared-gc build flagMatt Valentine-House
2024-04-15show warning for unused blockKoichi Sasada
With verbopse mode (-w), the interpreter shows a warning if a block is passed to a method which does not use the given block. Warning on: * the invoked method is written in C * the invoked method is not `initialize` * not invoked with `super` * the first time on the call-site with the invoked method (`obj.foo{}` will be warned once if `foo` is same method) [Feature #15554] `Primitive.attr! :use_block` is introduced to declare that primitive functions (written in C) will use passed block. For minitest, test needs some tweak, so use https://github.com/minitest/minitest/commit/ea9caafc0754b1d6236a490d59e624b53209734a for `test-bundled-gems`.
2024-04-11Lock turbo_tests to 2.1.0 provisionallyNobuyoshi Nakada
turbo_tests 2.1.1 adds json to its dependency and the current bundler does not take the standard library json and fails to build as a gem before the installation.
2024-04-08Added test case for bundled gems warning with -r option.Hiroshi SHIBATA
This is for 76914d474d93b7485973c3bca4fa43b59f5bd383
2024-04-03Launchable: Add lineNumber fieldNaoto Ono
2024-04-02Launchable: Refactor the logic of JsonStreamWriterNaoto Ono
2024-04-02[DOC] Fix wheather -> whether typos in configure.Matt Valentine-House
2024-03-31Manage required baseruby version in one placeNobuyoshi Nakada
Add a Ruby script mode to `tool/missing-baseruby.bat` that checks if `RUBY_VERSION` meets the required version. This will enable similar checks on mswin as well.
2024-03-28Use www.rfc-editor.org for RFC text.Hiroshi SHIBATA
We use the following site for that now: * https://tools.ietf.org/ or http * https://datatracker.ietf.org or http Today, IETF said the official site of RFC is www.rfc-editor.org. FYI: https://authors.ietf.org/en/references-in-rfcxml I replaced them to www.rfc-editor.org.
2024-03-28Make TestParallel#test_retry_workers consider RUBY_TEST_TIMEOUT_SCALEKJ Tsanaktsidis
This test currently fails if RUBY_TEST_TIMEOUT_SCALE is set, because the worker timeout is scaled out but the duration of the sleep does not; thus, the test-test-case does not timeout when it should.
2024-03-28Read as binary regardless localeNobuyoshi Nakada
2024-03-27Ignore errors on prerelease gemsNobuyoshi Nakada
2024-03-27Update vendored resolv to 0.4.0Hiroshi SHIBATA
2024-03-26Fix extension installer for out-of-place buildHiroshi SHIBATA
https://github.com/ruby/ruby/pull/9673#issuecomment-2019028293
2024-03-25Use load_gemspec instead of Gem::Specification.load.Hiroshi SHIBATA
We need to purge `git ls-files` from gemspec in default gems.
2024-03-25Guard makefile target at cross-buildHiroshi SHIBATA
http://rubyci.s3.amazonaws.com/crossruby/crossruby-master-aarch64/log/20240325T041917Z.fail.html.gz
2024-03-25Partly Revert "Show the chilled status of a String [ci skip]"Hiroshi SHIBATA
This reverts commit e720a6b48582900efd1bd326210644b2fc0f2c5d.
2024-03-25Show the chilled status of a String [ci skip]Nobuyoshi Nakada
2024-03-25Bootsnap and Zeitwerk are working correctly nowHiroshi SHIBATA
2024-03-25Add newline each test scriptHiroshi SHIBATA