summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/NegatedIfHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/aa95ee27a2
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/DefWithParenthesesHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/91391ceedf
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/SingleLineMethodsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/fa2e835ed2
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/NumericLiteralsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/860669b08a
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/RedundantInterpolationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/add44e56eb
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/ClassCheckHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/1c3356a872
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/NestedParenthesizedCallsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/a875fdb535
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/ParallelAssignmentHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/5c88c77873
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/StringLiteralsInInterpolationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/cb554f6eb7
2023-03-17[rubygems/rubygems] util/rubocop -A --only Style/AliasHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/fba6e94de9
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/SpaceInsideRangeLiteralHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/426dd97a31
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/MultilineBlockLayoutHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/9aa6101942
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/MultilineArrayBraceLayoutHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/f4f45ab27e
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/MultilineMethodCallBraceLayoutHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/acb0548bf6
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/FirstArgumentIndentationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/0542726fd3
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/AssignmentIndentationHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/8e64298989
2023-03-17[rubygems/rubygems] util/rubocop -A --only ↵Hiroshi SHIBATA
Layout/EmptyLinesAroundExceptionHandlingKeywords https://github.com/rubygems/rubygems/commit/ad1fe68d97
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/EmptyLinesAroundModuleBodyHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/48c88466b7
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/LeadingCommentSpaceHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/4d680320e3
2023-03-17[rubygems/rubygems] util/rubocop -A --only Layout/EmptyLineBetweenDefsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/00117e69cc
2023-03-17[rubygems/rubygems] util/rubocop -A --only Lint/UselessAccessModifierHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/5070f90987
2023-03-17[rubygems/rubygems] util/rubocop -A --only Lint/RedundantStringCoercionHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/58e4885493
2023-03-17[rubygems/rubygems] util/rubocop -A --only Lint/UnusedBlockArgumentHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d8efd919db
2023-03-17[rubygems/rubygems] util/rubocop -A --only Performance/TimesMapHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/976a351f8b
2023-03-17[rubygems/rubygems] util/rubocop -A --only Performance/DoubleStartEndWithHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/893da27e7c
2023-03-17[rubygems/rubygems] Removed rubocop:disable detected by ↵Hiroshi SHIBATA
Lint/RedundantCopDisableDirective https://github.com/rubygems/rubygems/commit/07b0da6c24
2023-03-17[rubygems/rubygems] Removed RUBY_PATCHLEVEL and modify condition for ↵Hiroshi SHIBATA
ruby_version https://github.com/rubygems/rubygems/commit/b420e287a3
2023-03-17[rubygems/rubygems] Also removed condition of RUBY_PATCHLEVELHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/16f381be4b
2023-03-17[rubygems/rubygems] RUBY_PATCHLEVEL was provided after Ruby 1.8.5Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/7750d5c460
2023-03-17[rubygems/rubygems] Remove ensure part in requireDavid Rodríguez
I've seen this error sometimes but never found it helpful, since the culprit has never been thread/monitor related, so it just adds noise. Right now I'm seeing an issue in CI where we seem to be crashing during ensure and showing a weird backtrace: ``` #<Thread:0x000055821d7a73b8 /home/runner/work/rubygems/rubygems/lib/rubygems/request_set.rb:167 run> terminated with exception (report_on_exception is true): /home/runner/work/rubygems/rubygems/lib/rubygems/platform.rb:141:in `==': undefined local variable or method `to_a' for false:FalseClass (NameError) Did you mean? to_s from /home/runner/work/rubygems/rubygems/lib/rubygems/core_ext/kernel_require.rb:168:in `!=' from /home/runner/work/rubygems/rubygems/lib/rubygems/core_ext/kernel_require.rb:168:in `require' from /home/runner/work/rubygems/rubygems/lib/rubygems.rb:441:in `block in ensure_subdirectories' from /home/runner/work/rubygems/rubygems/lib/rubygems.rb:437:in `each' from /home/runner/work/rubygems/rubygems/lib/rubygems.rb:437:in `ensure_subdirectories' from /home/runner/work/rubygems/rubygems/lib/rubygems.rb:413:in `ensure_gem_subdirectories' from /home/runner/work/rubygems/rubygems/lib/rubygems/resolver/specification.rb:110:in `download' from /home/runner/work/rubygems/rubygems/lib/rubygems/request_set.rb:173:in `block (2 levels) in install' ``` Let's get this out of the picture in case that helps clarify the culprit. https://github.com/rubygems/rubygems/commit/87ce40b70e
2023-03-17[rubygems/rubygems] Fix `gem uninstall` with `--install-dir`David Rodríguez
https://github.com/rubygems/rubygems/commit/ac23687353
2023-03-17[rubygems/rubygems] Fix incorrect error message when multiple platforms are ↵David Rodríguez
locked https://github.com/rubygems/rubygems/commit/24d2bf9cb2
2023-03-16[rubygems/rubygems] Improve TarHeader#calculate_checksumMau Magnaguagno
String#unpack("C*") is equivalent to String#bytes and Array#inject {|a,b| a + b } is equivalent to Array#sum. This is a minor enhancement in terms of speed and readability.
2023-03-16[rubygems/rubygems] Applied Layout/SpaceAroundOperators copHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/3139587be9
2023-03-16[rubygems/rubygems] Change enforce style with Layout/CaseIndentation on rubygemsHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d4938259c4
2023-03-15[rubygems/rubygems] OpenSSL::Digest is always provided after Ruby 2.4Hiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/4f2f2ad412
2023-03-15[rubygems/rubygems] Don't use full_required_path and extension_dir under the ↵Hiroshi SHIBATA
bundler https://github.com/rubygems/rubygems/commit/72169288ff
2023-03-15[rubygems/rubygems] Removed test forHiroshi SHIBATA
https://github.com/rubygems/rubygems/pull/6444, I have no idea to migrate this test to bundler example yet https://github.com/rubygems/rubygems/commit/0d869019bf
2023-03-15[rubygems/rubygems] Move build artifact detection logic for root gemspec to ↵Hiroshi SHIBATA
bundler from Gem::Specification. Gem::Specification#missing_extension? is heavily called from RubyGems. We should reduce extra method call from this place. https://github.com/rubygems/rubygems/commit/e24e59d44d
2023-03-13RJIT: Simplify how Capstone is used in testsTakashi Kokubun
2023-03-13Prevent a warning: assigned but unused variableYusuke Endoh
... which made a test fail http://rubyci.s3.amazonaws.com/debian10/ruby-master/log/20230313T213003Z.fail.html.gz ``` 1) Failure: TestRubyOptions#test_enable [/home/chkbuild/chkbuild/tmp/build/20230313T213003Z/ruby/test/ruby/test_rubyoptions.rb:176]: pid 1208 exit 0 | /home/chkbuild/chkbuild/tmp/build/20230313T213003Z/ruby/lib/ruby_vm/rjit/insn_compiler.rb:1257: warning: assigned but unused variable - argc | /home/chkbuild/chkbuild/tmp/build/20230313T213003Z/ruby/lib/ruby_vm/rjit/insn_compiler.rb:1258: warning: assigned but unused variable - flags . 1. [2/2] Assertion for "stderr" | <[]> expected but was | <["/home/chkbuild/chkbuild/tmp/build/20230313T213003Z/ruby/lib/ruby_vm/rjit/insn_compiler.rb:1257: warning: assigned but unused variable - argc", | "/home/chkbuild/chkbuild/tmp/build/20230313T213003Z/ruby/lib/ruby_vm/rjit/insn_compiler.rb:1258: warning: assigned but unused variable - flags"]>. ```
2023-03-13[ruby/irb] Replace METHOD_IS_A with ===Stan Lo
(https://github.com/ruby/irb/pull/542) https://github.com/ruby/irb/commit/edd6c30e16
2023-03-13[ruby/irb] Support inspecting BasicObjectStan Lo
(https://github.com/ruby/irb/pull/541) https://github.com/ruby/irb/commit/1dc2a406a3
2023-03-13[rubygems/rubygems] Removed `Gem.datadir`.Hiroshi SHIBATA
https://github.com/rubygems/rubygems/pull/2216 is imcomplete to remove this method. https://github.com/rubygems/rubygems/commit/34ef915d12
2023-03-12RJIT: Count invokeblock exit typesTakashi Kokubun
2023-03-12RJIT: Rename a side exit counterTakashi Kokubun
2023-03-12RJIT: Fix a typoTakashi Kokubun
and import a missing function
2023-03-12RJIT: Implement definedivarTakashi Kokubun
2023-03-12RJIT: Fix block param proxy on sendTakashi Kokubun
peek_at_stack was doubly accounting for C::VM_CALL_ARGS_BLOCKARG, which made that case always side-exit and hide this bug. When a block handler is block param proxy, you have to set LEP's specval as next specval instead of block param proxy itself.
2023-03-12RJIT: Fix block finding logicTakashi Kokubun
like YJIT does