summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-06-03[ruby/date] Alias value to take in old RubyHiroshi SHIBATA
https://github.com/ruby/date/commit/1ce29a26dd
2025-06-03Remove hardcoded version of rake from Bundler testsDavid Rodríguez
Let them run against the version resolved by the `test_gems.rb` gemfile. This should fix ruby-core CI job that was broken by the release of rake 13.3.0.
2025-06-03[rubygems/rubygems] Follow coding styleTangRufus
https://github.com/rubygems/rubygems/commit/bfac93100e
2025-06-03[rubygems/rubygems] Test `bin/` is included in the ignore listTangRufus
https://github.com/rubygems/rubygems/commit/7afe81fd45
2025-06-03[rubygems/rubygems] Only ignore `.gitignore` when generating gems with gitTangRufus
https://github.com/rubygems/rubygems/commit/aec5a7887d
2025-06-03[rubygems/rubygems] Ignore `Gemfile`, `gems.rb` & `gems.locked` according to ↵TangRufus
`init_gems_rb` preference https://github.com/rubygems/rubygems/commit/88aeb66f41
2025-06-03[rubygems/rubygems] Extract `ignore_paths` helper methodTangRufus
https://github.com/rubygems/rubygems/commit/d45710ee53
2025-06-03[rubygems/rubygems] Remove `.git` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/4f96e12ff3
2025-06-03[rubygems/rubygems] Rename `ignore_files` to `ignore_paths`TangRufus
https://github.com/rubygems/rubygems/commit/c07e3a88aa
2025-06-03[rubygems/rubygems] Add `.gitignore`, `gems.rb` & `gems.locked` into ↵TangRufus
`spec.files` default ignore list https://github.com/rubygems/rubygems/commit/6390ed7a2b
2025-06-03[rubygems/rubygems] Remove `features/` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/77ba4192a7
2025-06-03[rubygems/rubygems] Only ignore `test/` when generating gems with `minitest` ↵TangRufus
or `test-unit` https://github.com/rubygems/rubygems/commit/c464f2036a
2025-06-03[rubygems/rubygems] Test it does not add any CI config files into ignore ↵TangRufus
list when not generating any CI config https://github.com/rubygems/rubygems/commit/018bb19244
2025-06-03[rubygems/rubygems] Extract `before` blocksTangRufus
https://github.com/rubygems/rubygems/commit/ff51a51d1a
2025-06-03[rubygems/rubygems] Suffix `.circleci` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://github.com/rubygems/rubygems/commit/e48c6beaf6
2025-06-03[rubygems/rubygems] Suffix `.github` with `/` in `spec.files` in the ↵TangRufus
`.gemspec` template https://github.com/rubygems/rubygems/commit/edf13f7e60
2025-06-03[rubygems/rubygems] Exclude `spec` from `spec.files` in the `.gemspec` ↵TangRufus
template only when using RSpec https://github.com/rubygems/rubygems/commit/a42387b8be
2025-06-03[rubygems/rubygems] Exclude `.rspec` from `spec.files` in the `.gemspec` ↵TangRufus
template https://github.com/rubygems/rubygems/commit/331901941d
2025-06-03[rubygems/rubygems] Exclude `.rubocop.yml` and `.standard.yml` from ↵TangRufus
`spec.files` in the `.gemspec` template https://github.com/rubygems/rubygems/commit/9d937d4f7f
2025-06-03[rubygems/rubygems] Remove `appveyor` from `spec.files` default ignore listTangRufus
https://github.com/rubygems/rubygems/commit/2f2046c97b
2025-06-03[rubygems/rubygems] Refactor `spec.files` ignore list generationTangRufus
https://github.com/rubygems/rubygems/commit/c11539f325
2025-06-03[rubygems/rubygems] Fix English grammarTangRufus
https://github.com/rubygems/rubygems/commit/160938e75c
2025-06-03[rubygems/rubygems] Moved the REMEMBERING OPTIONS section to be after ↵Matthew Hively
CONFIGURATION KEYS Since the remembering options are discouraged, the preferred method should be explained first. Slight tweak to wording Fix documentation spec test as per suggested patch https://github.com/rubygems/rubygems/commit/9f082ccf31
2025-06-03[rubygems/rubygems] Clarify how BUNDLE_DEPLOYMENT, BUNDLE_FROZEN and ↵Matthew Hively
BUNDLE_PATH are connected https://github.com/rubygems/rubygems/commit/9ed20bddab
2025-06-03[rubygems/rubygems] Remove unnecessary duplicate x64-mingw-ucrt entryNicholas La Roux
https://github.com/rubygems/rubygems/commit/d6f1f96585
2025-06-03[rubygems/rubygems] Partially phase out x64-mingw32 in favour of ↵Nicholas La Roux
x64-mingw-ucrt (platforms) - the x64-mingw32 platform has been superseded by x64-mingw-ucrt - the mingw-ucrt platform is present as of Windows 10, which was released 10 years ago in 2015 and all versions prior to 10 are end-of-life and 10 will be by mid October 2025 - newer rubies use the mingw-ucrt platform instead of the mingw32 platform, meaning using the deprecated platform can cause issues during gem installation https://github.com/rubygems/rubygems/commit/b9d871022e
2025-06-03[rubygems/rubygems] misc: fix spellingJohn Bampton
https://github.com/rubygems/rubygems/commit/0e40e7d938
2025-06-02Update to ruby/spec@4d2fc4dAndrew Konchin
Notes: Merged: https://github.com/ruby/ruby/pull/13495
2025-06-02Fix test_loading_kwargs_memory_leakPeter Zhu
The test fails with: TestISeq#test_loading_kwargs_memory_leak [test/ruby/test_iseq.rb:882]: pid 18222 exit 1 | -:2:in '<main>': undefined method 'iseq_to_binary' for main (NoMethodError) Notes: Merged: https://github.com/ruby/ruby/pull/13494
2025-06-02Make FrozenCore a plain T_CLASSJohn Hawthorn
Notes: Merged: https://github.com/ruby/ruby/pull/13458
2025-06-02Pin shape->edgesJean Boussier
Notes: Merged: https://github.com/ruby/ruby/pull/13441
2025-06-02shape.c: Implement a lock-free version of get_next_shape_internalJean Boussier
Whenever we run into an inline cache miss when we try to set an ivar, we may need to take the global lock, just to be able to lookup inside `shape->edges`. To solve that, when we're in multi-ractor mode, we can treat the `shape->edges` as immutable. When we need to add a new edge, we first copy the table, and then replace it with CAS. This increases memory allocations, however we expect that creating new transitions becomes increasingly rare over time. ```ruby class A def initialize(bool) @a = 1 if bool @b = 2 else @c = 3 end end def test @d = 4 end end def bench(iterations) i = iterations while i > 0 A.new(true).test A.new(false).test i -= 1 end end if ARGV.first == "ractor" ractors = 8.times.map do Ractor.new do bench(20_000_000 / 8) end end ractors.each(&:take) else bench(20_000_000) end ``` The above benchmark takes 27 seconds in Ractor mode on Ruby 3.4, and only 1.7s with this branch. Co-Authored-By: Étienne Barrié <[email protected]> Notes: Merged: https://github.com/ruby/ruby/pull/13441
2025-06-02Remove unused RBASIC_RESET_FLAGSPeter Zhu
Notes: Merged: https://github.com/ruby/ruby/pull/13476
2025-06-02Remove dependancy of default.c on internal/object.hPeter Zhu
We don't want the default GC to depend on Ruby internals so we can build it as a modular GC. Notes: Merged: https://github.com/ruby/ruby/pull/13476
2025-06-02[DOC] Mention vsdevcmd.batNobuyoshi Nakada
2025-06-02compile.c: Handle anonymous variables in `outer_variable_cmp`Jean Boussier
[Bug #21370] Notes: Merged: https://github.com/ruby/ruby/pull/13436
2025-06-02Fix compatibility with fiber schedulers that don't implement ↵Samuel Williams
`#fiber_interrupt`. (#13492) Notes: Merged-By: ioquatix <[email protected]>
2025-06-02Handle test failure of mock objectHiroshi SHIBATA
Fixup 4c26a38ed3c https://rubyci.s3.amazonaws.com/amazon2/ruby-master/log/20250601T213003Z.fail.html.gz ``` 1) An exception occurred during: Mock.verify_count File.birthtime accepts an object that has a #to_path method FAILED Mock 'path' expected to receive to_path(:any_args) exactly 1 times but received it 0 times /home/chkbuild/chkbuild/tmp/build/20250601T213003Z/ruby/spec/ruby/core/file/birthtime_spec.rb:4:in 'block in <top (required)>' /home/chkbuild/chkbuild/tmp/build/20250601T213003Z/ruby/spec/ruby/core/file/birthtime_spec.rb:3:in '<top (required)>' ```
2025-06-01Update bundled gems list as of 2025-06-01git
2025-06-01Skip birthtime failures on old linuxNobuyoshi Nakada
`statx(2)` is available since Linux 4.11 and glibc 2.28. Notes: Merged: https://github.com/ruby/ruby/pull/13491
2025-06-01Win: Use `VsDevCmd.bat` instead of old `vcvarsall.bat`Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13490
2025-06-01Win: Fix `winget` command to `install`Nobuyoshi Nakada
2025-05-31Update rake version in bundler testsNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13484
2025-05-31Update rake version in lock filesNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/13484
2025-05-31Update bundled gems list as of 2025-05-31git
2025-05-31Bump bundled bigdecimal to 3.2.1 (#13482)tomoya ishida
Notes: Merged-By: tompng <[email protected]>
2025-05-31Fix typo (s/ractore/ractor/)Daisuke Aritomo
Notes: Merged: https://github.com/ruby/ruby/pull/13477
2025-05-31prepare IDs for `Ractor::monitor`Koichi Sasada
To prevent the following strange error, prepare IDs at first. ``` <internal:ractor>:596:in 'Ractor#monitor': symbol :exited is already registered with 98610c (fatal) from <internal:ractor>:550:in 'Ractor#join' from <internal:ractor>:574:in 'Ractor#value' from bootstraptest.test_ractor.rb_2013_1309.rb:12:in '<main>' ``` BTW, the error should be fixed on ID management system. Notes: Merged: https://github.com/ruby/ruby/pull/13481
2025-05-31rake 13.3.0 -> 13.2.1Koichi Sasada
`make test-bundler-parallel` prints many errors, so try to downgrade rake version. ``` 219) bundle install --standalone run in a subdirectory with --binstubs creates stubs that can be symlinked Failure/Error: raise <<~ERROR #{error_header} ---------------------------------------------------------------------- #{stdboth} ---------------------------------------------------------------------- ERROR RuntimeError: Commands: $ /home/ko1/ruby/build/trunk/ruby -I/home/ko1/ruby/src/trunk/spec/bundler -r/home/ko1/ruby/src/trunk/spec/bundler/support/artifice/compact_index.rb -r/home/ko1/ruby/src/trunk/spec/bundler/support/hax.rb /home/ko1/ruby/src/trunk/tmp/2.13/gems/system/bin/bundle config set --local path /home/ko1/ruby/src/trunk/tmp/2.13/bundled_app/bundle # $? => 0 Invoking `/home/ko1/ruby/build/trunk/ruby -I/home/ko1/ruby/src/trunk/spec/bundler -r/home/ko1/ruby/src/trunk/spec/bundler/support/artifice/compact_index.rb -r/home/ko1/ruby/src/trunk/spec/bundler/support/hax.rb /home/ko1/ruby/src/trunk/tmp/2.13/gems/system/bin/bundle install --standalone --binstubs` failed with output: ---------------------------------------------------------------------- [DEPRECATED] The --binstubs option will be removed in favor of `bundle binstubs --all` Could not find compatible versions Because every version of rails depends on rake = 13.3.0 and rake = 13.3.0 could not be found in rubygems repository https://gem.repo1/ or installed locally, rails cannot be used. So, because Gemfile depends on rails >= 0, version solving has failed. Fetching gem metadata from https://gem.repo1/... Resolving dependencies... ---------------------------------------------------------------------- Shared Example Group: "bundle install --standalone" called from ./spec/bundler/install/gems/standalone_spec.rb:532 # /home/ko1/ruby/src/trunk/spec/bundler/support/command_execution.rb:26:in 'Spec::CommandExecution#raise_error!' # /home/ko1/ruby/src/trunk/spec/bundler/support/subprocess.rb:66:in 'Spec::Subprocess#sh' # /home/ko1/ruby/src/trunk/spec/bundler/support/helpers.rb:216:in 'Spec::Helpers#sys_exec' # /home/ko1/ruby/src/trunk/spec/bundler/support/helpers.rb:107:in 'Spec::Helpers#bundle' # /home/ko1/ruby/src/trunk/spec/bundler/install/gems/standalone_spec.rb:482:in 'block (3 levels) in <top (required)>' # /home/ko1/ruby/src/trunk/spec/bundler/spec_helper.rb:107:in 'block (4 levels) in <top (required)>' # /home/ko1/ruby/src/trunk/spec/bundler/spec_helper.rb:107:in 'block (3 levels) in <top (required)>' # /home/ko1/ruby/src/trunk/spec/bundler/support/helpers.rb:355:in 'block in Spec::Helpers#with_gem_path_as' # /home/ko1/ruby/src/trunk/spec/bundler/support/helpers.rb:369:in 'Spec::Helpers#without_env_side_effects' # /home/ko1/ruby/src/trunk/spec/bundler/support/helpers.rb:350:in 'Spec::Helpers#with_gem_path_as' # /home/ko1/ruby/src/trunk/spec/bundler/spec_helper.rb:106:in 'block (2 levels) in <top (required)>' ``` Notes: Merged: https://github.com/ruby/ruby/pull/13483
2025-05-31[DOC] Fix indentationNobuyoshi Nakada
RDoc markdown parser requires exact 4 spaces or tab as indentation. Also the first nested bullet list must be separated from the enclosing bullet list item by a blank line.