summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-03-25RJIT: Initial support of splatTakashi Kokubun
2023-03-25[rubygems/rubygems] Generate native gems with `-fvisibility=hidden`Jean Boussier
I recently ran into very nasty issues with dynamic symbols clashing between two native gems. I believe the overwhelming majority of native gems don't want to export their symbols, so hidding them by default would make sense to me. https://github.com/rubygems/rubygems/commit/449624aa54
2023-03-23[ruby/time] Update required ruby versionNobuyoshi Nakada
`Regexp#match?` which is introduced at ruby 2.4 is used since https://github.com/ruby/time/pull/1852. https://github.com/ruby/time/commit/b0a965dcaa
2023-03-23Don't suggest `--full-index` on API Response mismatch errorsDavid Rodríguez
I've never seen this error in real life, and if it was happening, I think it's either some server side issue that would need to be fixed or some transient issue. We should move away from the full index, since it's slow, so let's stop recommending it. Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Don't suggest retrying with `--full-index` on gemspec errorsDavid Rodríguez
We're actually already using the full index here, so it makes no sense to suggest retrying the same thing. Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Fix logging the fallback to the full index on GemspecError'sDavid Rodríguez
The debug message suggests retrying using `--full-index`, but the retry is happening automatically. Just log that we are falling back to the full index, like we do with other errors. Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Avoid intermediate array in TarHeader#calculate_checksumMau Magnaguagno
String#sum(0) sums the character bytes without a modulo. Follow-up of #6476 based on comment from @nobu. Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Fix flaky when making materialized specs uniqDavid Rodríguez
Sometimes we'll have an heterogenous array of specs which include `Gem::Specification` objects, which don't define `#identifier`. Let's use `#full_name` consistently. Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Refactor and fix usage of Gem.rubyなつき
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Move duplicated logic to parent classなつき
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Make sure native extensions are loaded correctly in ext_conf builderなつき
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Make sure native extensions are loaded correctly in rake builderなつき
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Reuse `SpecSet#materialize` logicDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Refactor incomplete specs handlingDavid Rodríguez
Recent bugs fixed made me realize we were relying on state too much here. We only need to keep incomplete specs to be able to expire them and retry resolution without them locked. If we use a separate class, we can do that more transparently and handle them just like we handle "missing specs". Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Don't remove RUBY platform when healing a lockfile with missing specsDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23Don't remove RUBY platform when healing a lockfile with missing specsDavid Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23util/rubocop -A --only Style/AsciiCommentsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23util/rubocop -A --only Layout/EmptyLineAfterMagicCommentHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23util/rubocop -A --only Style/FrozenStringLiteralCommentHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23util/rubocop -A --only Lint/NonLocalExitFromIteratorHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] Enabled Style/RedundantReturn copHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/05cc97bdf8 Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/VoidHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9d25906e44 Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/RequireParenthesesHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/ee6814afbc Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Style/NextHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e5868e92f7 Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Style/MultilineMemoizationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/c1f6e4a97b Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Style/MultilineTernaryOperatorHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/be853dfe3b Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/ShadowingOuterLocalVariableHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/82ed77178d Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/UnreachableCodeHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f06047f52a Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/UnderscorePrefixedVariableNameHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/6dc4bc3a5b Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/ReturnInVoidContextHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/021823a331 Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/RescueExceptionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/e8a5db50af Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/EmptyExpressionHiroshi SHIBATA
Thread.report_on_exception is always defined after Ruby 2.4 or later. https://github.com/rubygems/rubygems/commit/274da54f38 Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-23[rubygems/rubygems] util/rubocop -A --only Lint/DuplicateCaseConditionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/df2b192e47 Notes: Merged: https://github.com/ruby/ruby/pull/7582
2023-03-22[rubygems/rubygems] Use indented heredocNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/085d2776d8
2023-03-22[rubygems/rubygems] RUBY_REVISION is also provided by supported platformsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/71a237aeec
2023-03-22[rubygems/rubygems] Remove reference to `pry` gem from generated ↵Justin Searls
`bin/console` file This is just a suggestion, but since recent versions of Ruby have shipped with a `binding.irb` that provides almost all of the features that `pry` pioneered, it may be time to remove this suggestion in the name of simplicity and not confusing newer developers who aren't familiar with what to use.
2023-03-21RJIT: Follow a recent CALLER_SETUP_ARG changeTakashi Kokubun
2023-03-21RJIT: Split has_rest_or_post exit reasonsTakashi Kokubun
2023-03-21[ruby/erb] [DOC] Use indented heredocNobuyoshi Nakada
https://github.com/ruby/erb/commit/8ba8bb7acf
2023-03-21[ruby/reline] Add key bindings for PgUp and PgDnPhillip Hellewell
(https://github.com/ruby/reline/pull/509) * Add key bindings for PgUp, PgDn * Match behavior of readline 8.2 In the latest readline (8.2), page-up and page-down are bound to history-search-backward and history-search-forward by default. We would like reline to have the same default behavior.
2023-03-21RJIT: Fix invokesuperTakashi Kokubun
2023-03-19RJIT: Break up RJIT send_iseq_complex exit reasonsTakashi Kokubun
2023-03-19RJIT: Implement ifunc invokeblockTakashi Kokubun
2023-03-19RJIT: Support invokeblock arity mismatchesTakashi Kokubun
2023-03-19RJIT: Fix ISeq invokeblockTakashi Kokubun
2023-03-19RJIT: Disable ISeq invokeblock for nowTakashi Kokubun
since basictest is broken
2023-03-19RJIT: Implement invokeblock with ISeqTakashi Kokubun
2023-03-19RJIT: Remove an unneeded variableTakashi Kokubun
2023-03-19RJIT: Optimize Kernel#block_given?Takashi Kokubun
2023-03-19RJIT: Optimize Kernel#respond_to?Takashi Kokubun