summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-02Update to ruby/spec@f8987acAndrew Konchin
2024-07-02[ruby/rdoc] Group code object files into the same directoryStan Lo
(https://github.com/ruby/rdoc/pull/1114) It's hard to distinguish code object classes by their file names alone. And given that we have 18 such classes, it'd make the codebase a lot easier to understand if we grouped them into a single directory. Given that these classes are all autoloaded in `lib/rdoc.rb` instead of required individually, this change should have minimum impact on projects using RDoc as they generally just require `rdoc`, not individual files. An example is Rails' `sdoc`: https://github.com/rails/sdoc/blob/main/lib/sdoc/rdoc_monkey_patches.rb https://github.com/ruby/rdoc/commit/4211292ffe
2024-07-02[ruby/fiddle] Pick ruby/ruby changes forHiroshi SHIBATA
`test/fiddle/test_function.rb` (https://github.com/ruby/fiddle/pull/141) https://github.com/ruby/ruby/pull/11048#issuecomment-2185630854 --------- https://github.com/ruby/fiddle/commit/a245f19763 Co-authored-by: Yusuke Endoh <[email protected]>
2024-07-02[win32] Fallback release date when revision.h is not presentNobuyoshi Nakada
2024-07-01[ruby/prism] Fix up find and array patterns with multiple restsKevin Newton
https://github.com/ruby/prism/commit/035890a839
2024-07-01[ruby/prism] Properly support parsing regexp in extended modeKevin Newton
https://github.com/ruby/prism/commit/bedc4585ed
2024-07-01maximum showing line number on btest failureKoichi Sasada
Some tests in btest uses long src for btest and it is harmful to check the results. This patch introducing the limitation how many lines of code is shown on failure.
2024-06-30Bump ruby/setup-ruby from 1.180.1 to 1.183.0dependabot[bot]
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.180.1 to 1.183.0. - [Release notes](https://github.com/ruby/setup-ruby/releases) - [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb) - [Commits](https://github.com/ruby/setup-ruby/compare/3783f195e29b74ae398d7caca108814bbafde90e...1d0e911f615a112e322369596f10ee0b95b010ae) --- updated-dependencies: - dependency-name: ruby/setup-ruby dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
2024-06-30Bump github/codeql-action from 3.25.10 to 3.25.11dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.10 to 3.25.11. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/23acc5c183826b7a8a97bce3cecc52db901f8251...b611370bb5703a7efb587f9d136a52ea24c5c38c) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
2024-07-01[ruby/irb] fix typos in the `Index of Command-Line Options`Anatoly Busygin
https://github.com/ruby/irb/commit/3512020f1c
2024-07-01[ruby/rdoc] Fix some typos (https://github.com/ruby/rdoc/pull/1129)Yudai Takada
* constist ==> consist * Tidyness ==> Tidiness * Currentry ==> Currently * valus ==> values https://github.com/ruby/rdoc/commit/8412705721
2024-07-01Skip to copy .so/.bundle files generated by rake-compilerHiroshi SHIBATA
2024-06-30[ruby/irb] Allow assigning and using local variable name conflictingtomoya ishida
with command (https://github.com/ruby/irb/pull/961) https://github.com/ruby/irb/commit/00603d470f
2024-06-30Update bundled gems list as of 2024-06-29git
2024-06-30Add RB_GC_GUARD for ast_valueyui-knk
I think this change fixes the following assertion failure: ``` [BUG] unexpected rb_parser_ary_data_type (2114076960) for script lines ``` It seems that `ast_value` is collected then `rb_parser_build_script_lines_from` touches invalid memory address. This change prevents `ast_value` from being collected by RB_GC_GUARD.
2024-06-29[YJIT] Don't expand kwargs on forwardingAaron Patterson
Similarly to splat arrays, we shouldn't expand splat kwargs. [ruby-core:118401]
2024-06-29Doc for Integer#ceilBurdetteLamar
2024-06-28YJIT: Fix `cargo doc --document-private-items` warnings [ci skip]Alan Wu
Mostly putting angle brackets around links to follow markdown syntax.
2024-06-28YJIT: Move `ocb` parameters into `JITState`Alan Wu
Many functions take an outlined code block but do nothing more than passing it along; only a couple of functions actually make use of it. So, in most cases the `ocb` parameter is just boilerplate. Most functions that take `ocb` already also take a `JITState` and this commit moves `ocb` into `JITState` to remove the visual noise of the `ocb` parameter.
2024-06-28Fix missing macOS version in Slack notificationsTakashi Kokubun
matrix.os is not set for some jobs.
2024-06-28Synchronize Bundler & RubyGems (#11071)David Rodríguez
2024-06-28Fix comment for VM_CALL_ARGS_SIMPLE (#11067)Gabriel Lacroix
* Set VM_CALL_KWARG flag first and reuse it to avoid checking kw_arg twice * Fix comment for VM_CALL_ARGS_SIMPLE * Make VM_CALL_ARGS_SIMPLE set-site match its comment
2024-06-28[rubygems/rubygems] Protect binstub access during creation with a flockDavid Rodríguez
https://github.com/rubygems/rubygems/commit/88e3f1d23c
2024-06-28[rubygems/rubygems] Move flock logic to its own methodDavid Rodríguez
https://github.com/rubygems/rubygems/commit/91274128a8
2024-06-28[rubygems/rubygems] More compact `open_file` fallback on WindowsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8f34396af6
2024-06-28[rubygems/rubygems] Avoid concurrent builds of Bundler when running specsDavid Rodriguez
Instead, build it during setup when in CI. This should avoid some Windows specific test failures when Bundler copies the same files from multiple processes and runs into EACESS errors. https://github.com/rubygems/rubygems/commit/c194a1d753
2024-06-27Fix corruption of internal encoding stringPeter Zhu
[Bug #20598] Just like [Bug #20595], Encoding#name_list and Encoding#aliases can have their strings corrupted when Encoding.default_internal is set to nil. Co-authored-by: Matthew Valentine-House <[email protected]>
2024-06-27[ruby/openssl] rewriting most of the asn1 init code in rubyHoneyryderChuck
to have as much of the lib in ruby as possible https://github.com/ruby/openssl/commit/8305051728
2024-06-27Fix corruption of encoding name stringPeter Zhu
[Bug #20595] enc_set_default_encoding will free the C string if the encoding is nil, but the C string can be used by the encoding name string. This will cause the encoding name string to be corrupted. Consider the following code: Encoding.default_internal = Encoding::ASCII_8BIT names = Encoding.default_internal.names p names Encoding.default_internal = nil p names It outputs: ["ASCII-8BIT", "BINARY", "internal"] ["ASCII-8BIT", "BINARY", "\x00\x00\x00\x00\x00\x00\x00\x00"] Co-authored-by: Matthew Valentine-House <[email protected]>
2024-06-27[rubygems/rubygems] Print a proper error when bin dir does not have writable ↵David Rodríguez
permission bit https://github.com/rubygems/rubygems/commit/979cd898f9
2024-06-27[rubygems/rubygems] Reword some specs to disambiguate `chmod -x` from `chmod -w`David Rodríguez
https://github.com/rubygems/rubygems/commit/2954ab79a9
2024-06-27[rubygems/rubygems] Only override `pre_install_checks` when necessaryDavid Rodríguez
RubyGems >= 3.5 no longer raises `Gem::FilePermissionError` explicitly. https://github.com/rubygems/rubygems/commit/df54b9fd90
2024-06-27[DOC] Fix a link in NEWS.mdKazuhiro NISHIYAMA
2024-06-26[ruby/prism] Handle block exits under modifiersKevin Newton
https://github.com/ruby/prism/commit/6b78f5309b
2024-06-26[YJIT] Fix block and splat handling when forwardingAaron Patterson
This commit fixes splat and block handling when calling in to a forwarding iseq. In the case of a splat we need to avoid expanding the array to the stack. We need to also ensure the CI write is flushed to the SP, otherwise it's possible for a block handler to clobber the CI [ruby-core:118360]
2024-06-26[DOC] Doc for exceptions (#11008)Burdette Lamar
2024-06-26[rubygems/rubygems] Don't print warning about nil versions being discouraged ↵David Rodríguez
during tests https://github.com/rubygems/rubygems/commit/39a47c264e
2024-06-26Use `File.open` instead of `IO.sysopen` (backport to 3.5) (#11061)Soutaro Matsumoto
Use backport to 3.5
2024-06-26[rubygems/rubygems] Add --no-test, --no-ci, and --no-linter optionsJerome Dalbert
https://github.com/rubygems/rubygems/commit/f58660ffcc
2024-06-26[ruby/date] Update zonetab.h at 2024-06-26Nobuyoshi Nakada
https://github.com/ruby/date/commit/ef5a0dac5b
2024-06-26Mentioned new mswin tasks related with vcpkgHiroshi SHIBATA
2024-06-26Added git for requirements of Windows buildHiroshi SHIBATA
2024-06-26Update bundled gems list as of 2024-06-26git
2024-06-26Test rbs-gem with unreleased version (#11060)Soutaro Matsumoto
Use rbs#1912
2024-06-26We couldn't use nmake before configure.batHiroshi SHIBATA
2024-06-26Link dll files on install-vcpkg tasksHiroshi SHIBATA
2024-06-26Change `enum rb_parser_ary_data_type` default value to 1 for easy debugyui-knk
We face `[BUG] unexpected rb_parser_ary_data_type (0) for script lines` on master branch recently. This commit changes `enum rb_parser_ary_data_type` to start with `1` and `0` to be invalid then it makes clear `rb_parser_ary_data_type (0)` is not intentional.
2024-06-25[ruby/prism] Fix documentation comment in generated with templates filesAndrew Konchin
Fix warning ``` /******************************************************************************/ ^ warning: [dangling-doc-comments] documentation comment is not attached to any declaration ``` in Nodes.java and AbstractNodeVisitor.java files. /** is treated as a starting of a javadoc comment. https://github.com/ruby/prism/commit/c83d7844b8
2024-06-25[rubygems/rubygems] Only validate resolution info in BundlerThomas Marshall
This commit switches out the full gemspec validation for a partial one which only performs resolution related checks. This will allow gem authors to run `bundle` commands immediately after creating a new gem with Bundler, rather than having to fix metadata validation issues in the default gemspec. https://github.com/rubygems/rubygems/commit/d5aa9cae9d
2024-06-25[rubygems/rubygems] Add Specification#validate_for_resolutionThomas Marshall
This method validates only what is required for resolution, skipping any irrelevant metadata validation. This will be used by Bundler instead of doing a full validation, allowing gem authors to use `bundle` commands immediately in newly created gems without first having to fix invalid metafata fields in the default gemspec. https://github.com/rubygems/rubygems/commit/da7704cfc0