summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-12-06[ruby/irb] Allow disabling autocompletion withStan Lo
`IRB_USE_AUTOCOMPLETE=false` (https://github.com/ruby/irb/pull/469) * Allow using IRB_USE_AUTOCOMPLETE=false to disable autocompletion Currently, the only 2 ways to disable autocompletion are: 1. Create `.irbrc` and set `IRB.conf[:USE_AUTOCOMPLETE] = false` 2. Add the `--noautocomplete` flag when using the `irb` executable Both of them are less convenient than setting a env var and are lesser known to devs. And given the number of problems the autocompletion has (see #445), I think we should allow disabling it with a simple `IRB_USE_AUTOCOMPLETE=false`. * Mention some env var configs in the README
2022-12-05[ruby/did_you_mean] Do not suggest #name= for #name and vice versaMatthew Boeh
(https://github.com/ruby/did_you_mean/pull/180) * Do not suggest #name= for #name and vice versa * Avoid allocating unnecessary MatchData Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com> Co-authored-by: Jean byroot Boussier <jean.boussier+github@shopify.com>
2022-12-05[ruby/did_you_mean] Bump version to 1.6.2Hiroshi SHIBATA
https://github.com/ruby/did_you_mean/commit/f5b15128e2
2022-12-05[ruby/uri] Bump version to 0.12.0Hiroshi SHIBATA
https://github.com/ruby/uri/commit/72f22716f8
2022-12-05[ruby/un] Bump version to 0.2.1Hiroshi SHIBATA
https://github.com/ruby/un/commit/8f1c78e27c
2022-12-05[ruby/tsort] Bump version to 0.1.1Hiroshi SHIBATA
https://github.com/ruby/tsort/commit/dd71002c65
2022-12-05[ruby/tmpdir] Bump version to 0.1.3Hiroshi SHIBATA
https://github.com/ruby/tmpdir/commit/ee99c758fd
2022-12-05[ruby/timeout] Bump version to 0.3.1Hiroshi SHIBATA
https://github.com/ruby/timeout/commit/4941e8c871
2022-12-05Clean compiler intermediate files moreNobuyoshi Nakada
2022-12-05[ruby/securerandom] Bump version to 0.2.1Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/5bfe7d6c16
2022-12-05[ruby/resolv] Bump version to 0.2.2Hiroshi SHIBATA
https://github.com/ruby/resolv/commit/261f049058
2022-12-05[ruby/pstore] Bump version to 0.1.2Hiroshi SHIBATA
https://github.com/ruby/pstore/commit/2d95c19c43
2022-12-05[ruby/pp] Bump version to 0.4.0Hiroshi SHIBATA
https://github.com/ruby/pp/commit/8870aa02df
2022-12-05[ruby/optparse] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/optparse/commit/c80dfb1ebd
2022-12-05[ruby/open-uri] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/open-uri/commit/783892ebb0
2022-12-05[ruby/net-protocol] Bump version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/net-protocol/commit/3097bb4cc3
2022-12-05[ruby/net-http] Bump version to 0.3.1Hiroshi SHIBATA
https://github.com/ruby/net-http/commit/09a9ea163a
2022-12-05[ruby/mutex_m] Bump version to 0.1.2Hiroshi SHIBATA
https://github.com/ruby/mutex_m/commit/57f23978cd
2022-12-05[ruby/logger] Bump version to 1.5.2Hiroshi SHIBATA
https://github.com/ruby/logger/commit/9c4ae3b81d
2022-12-05[ruby/ipaddr] Bump version to 1.2.5Hiroshi SHIBATA
https://github.com/ruby/ipaddr/commit/d92acb3982
2022-12-05[ruby/getoptlong] Bump version to 0.2.0Hiroshi SHIBATA
https://github.com/ruby/getoptlong/commit/71fbf2123f
2022-12-05[ruby/forwardable] Bump version to 1.3.3Hiroshi SHIBATA
https://github.com/ruby/forwardable/commit/301687dbfa
2022-12-05[ruby/fileutils] Bump version to 1.7.0Hiroshi SHIBATA
https://github.com/ruby/fileutils/commit/213e6a3d1f
2022-12-05[ruby/drb] Bump version to 2.1.1Hiroshi SHIBATA
https://github.com/ruby/drb/commit/7c2d56e9f3
2022-12-05[ruby/delegate] Bump version to 0.3.0Hiroshi SHIBATA
https://github.com/ruby/delegate/commit/420637be45
2022-12-05[ruby/benchmark] Bump version to 0.2.1Hiroshi SHIBATA
https://github.com/ruby/benchmark/commit/303ac8f28b
2022-12-05[ruby/rdoc] Bump version to 6.4.0Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/c5e7ee03ac
2022-12-05[ruby/racc] Bump version to 1.6.1Hiroshi SHIBATA
https://github.com/ruby/racc/commit/1768ed252f
2022-12-05[ruby/reline] Remove unapproved color setting APIsStan Lo
These APIs/configs are not approved by the Ruby core, so they can't be released to the public. This means having them in the codebase will block other fixes/features from being released as well. So this commit removes those exposed interfaces to unblock the release. Hopefully when https://bugs.ruby-lang.org/issues/18996 is approved we can re-implement better APIs. https://github.com/ruby/reline/commit/f7a961c550
2022-12-04[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPBurdette Lamar
(https://github.com/ruby/net-http/pull/84) https://github.com/ruby/net-http/commit/660046386f
2022-12-02[rubygems/rubygems] Delete partial file and re-raise on Errno::ENOSPC.Ellen Marie Dash
Add test for not leaving empty files if ENOSPC is raised during 'gem install' https://github.com/rubygems/rubygems/commit/8e0e20f079
2022-12-02[ruby/reline] Fix misuse of kwarg in IO#rawHASUMI Hitoshi
- Obviously, `tim` is a typo for `time` - This didn't cause an exception because IO#raw is implemented in C and it doesn't check the keyword of the parameters - Though this typo doesn't produce any problems for now, I think it should be fixed just in case for the future - I've used this fixed version of Reline with IRB for several days and didn't find any new problems due to the fix - But I myself am not sure how to make sure this fix is completely robust https://github.com/ruby/reline/commit/e66a9696a1
2022-12-02[rubygems/rubygems] require bundler/setup only when Bundler is not definedYusuke Endoh
... to prevent "circular require" when `--disable-gems` is used. This is a simplified case of https://github.com/ruby/ruby/commit/e5a0abc5dedfd011986b16e8f8cf5cda476984c9 ``` $ bundle exec ruby -we 'system("ruby", "-w", "--disable-gems", "-e", "")' <internal:/home/mame/work/ruby/local/lib/ruby/3.2.0+3/rubygems/core_ext/kernel_require.rb>:85: warning: <internal:/home/mame/work/ruby/local/lib/ruby/3.2.0+3/rubygems/core_ext/kernel_require.rb>:85: warning: loading in progress, circular require considered harmful - /home/mame/work/ruby/local/lib/ruby/3.2.0+3/bundler/setup.rb ``` When bundler/setup is require'ed under --disable-gems mode, it loads rubygems by `require "rubygems" unless defined?(Gem)` in https://github.com/rubygems/rubygems/blob/0b1f682a6d65e57b86ba4853cba23cac361c769d/bundler/lib/bundler/rubygems_integration.rb#L3 In this case, require'ing bundler/setup from rubygems.rb is circular. This change makes rubygems.rb to require "bundler/setup" only when `Bundler` is not defined. https://github.com/rubygems/rubygems/commit/b4608dee5e
2022-12-02[ruby/syntax_suggest] Add temp support for 3.2.0-preview{3,2,1}schneems
This SyntaxError#path feature only exists in Ruby HEAD. Until it is released in a preview I want to continue to support existing releases of 3.2.0 (and also so CI will continue to work, as it still uses a preview version to execute tests). https://github.com/ruby/syntax_suggest/commit/9862032465
2022-12-02[ruby/syntax_suggest] No longer need PathnameFromMessage with SyntaxError#path.Hiroshi SHIBATA
https://bugs.ruby-lang.org/issues/19138 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/syntax_suggest/commit/8e1e7b3298
2022-12-01[ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeaderBurdette Lamar
(https://github.com/ruby/net-http/pull/83) https://github.com/ruby/net-http/commit/1ea5004098
2022-12-01[ruby/delegate] Revert "Fix `DelegateClass` block "method redefined" warning"Nobuyoshi Nakada
https://github.com/ruby/delegate/commit/2a91436284
2022-12-01[ruby/rdoc] Fix `=end` delimiterNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/e1679fa7e4 Notes: Merged: https://github.com/ruby/ruby/pull/6835
2022-12-01[ruby/rdoc] Non-RD part feature has not been imported to RDocNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/fe0159de2f Notes: Merged: https://github.com/ruby/ruby/pull/6835
2022-12-01[ruby/rdoc] Use TempfileNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/0b9dde5ab4 Notes: Merged: https://github.com/ruby/ruby/pull/6835
2022-11-30[ruby/irb] Use class methods of `File` over `Kernel.open`Nobuyoshi Nakada
https://github.com/ruby/irb/commit/e0ec5e1bd8
2022-11-30[ruby/un] wait_writable: close opened fileNobuyoshi Nakada
https://github.com/ruby/un/commit/b08aeb9c48
2022-11-29MJIT: Revert FL_EXIVAR check optimizationTakashi Kokubun
It seems to slow down optcarrot. I'll revisit this later.
2022-11-30[ruby/irb] Make sure ls doesn't return an arrayTakashi Kokubun
(https://github.com/ruby/irb/pull/461) https://github.com/ruby/irb/commit/367797bb05
2022-11-30Update SyntaxSuggest to use angle brackets `>`schneems
``` $ ruby tool/sync_default_gems.rb syntax_suggest Sync ruby/syntax_suggest ``` https://github.com/ruby/syntax_suggest/pull/161 Notes: Merged: https://github.com/ruby/ruby/pull/6831
2022-11-29MJIT: Refactor CDHASH handlingTakashi Kokubun
Converting a CDHASH into a safe Hash is a lot of work, but retrieving just values is much easier.
2022-11-28MJIT: Merge exivar guards as wellTakashi Kokubun
obviating status->merge_ivar_guards_p as refactoring
2022-11-28MJIT: Get rid of is_entries copyTakashi Kokubun
MJIT worker no longer exists, so we don't need this safeguard anymore.
2022-11-28MJIT: Make it parsable by Solargraph (#6827)Takashi Kokubun
* Revert "Revert "MJIT: Make it parsable by Solargraph"" This reverts commit 8e18761da1932df88bfb6505acbda4740e1b2930. * Call rb_gc_register_mark_object Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
2022-11-29[ruby/erb] Version 4.0.2Takashi Kokubun
https://github.com/ruby/erb/commit/8c8ff1551b