summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/net-protocol] Bump version to 0.2.1Hiroshi SHIBATA2022-12-081-1/+1
| | | | https://github.com/ruby/net-protocol/commit/06d1420936
* [ruby/net-protocol] Undo BufferedIO#rbuf_consume_all_shareable! optimizationJean Boussier2022-12-081-14/+4
| | | | | | | | | | | | | | | This optimization is unsafe because `dest` is allowed to be a custom object responding to `<<` (e.g. a block wrapped in `ReadAdapter`). So the receiver can hold onto the passed buffer for as long as it wants. If it was guaranteed that `ReadAdapter` was the only possible receiver we could dup the buffer there for mutation safety, but I'm not certain it's the case so I'd rather err on the safe side. Ref: https://github.com/shrinerb/shrine/issues/610 https://github.com/ruby/net-protocol/commit/7efa16d55d
* [rubygems/rubygems] Avoid deprecated Gem::Platform.match in ↵Benoit Daloze2022-12-081-1/+1
| | | | | | Gem::Resolver::InstallerSet https://github.com/rubygems/rubygems/commit/05cb5410cb
* [ruby/logger] Another performance improvement on the Formatter byAkira Matsuda2022-12-081-3/+2
| | | | | | using Kernel#sprintf over String#% (https://github.com/ruby/logger/pull/75) * Prefer Kernel#sprintf over String#% for formatting Strings
* [ruby/logger] Only assign to `@filename` if the path is valid.Samuel Williams2022-12-081-2/+4
| | | | | | (https://github.com/ruby/logger/pull/81) https://github.com/ruby/logger/commit/b41d7c699c
* [ruby/logger] Drop RDoc development dependency to avoid CI failures.Samuel Williams2022-12-081-1/+0
| | | | | | (https://github.com/ruby/logger/pull/82) https://github.com/ruby/logger/commit/8915627234
* [ruby/irb] Lazily load the multi-irb extensionStan Lo2022-12-071-5/+18
| | | | | | | | | | | | | | | | | | (https://github.com/ruby/irb/pull/472) * Lazily load the multi-irb extension We now have plan to implement a command that prints all commands' information, which will need to load all command files without actually running them. But because the `multi-irb` extension patches IRB's top-level methods, loading it would cause unintentional side-effects. So this commit moves related requires into command execution to avoid the problem. * Make extend_irb_context private Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com>
* [rubygems/rubygems] Always build in release modeIan Ker-Seymer2022-12-071-18/+2
| | | | https://github.com/rubygems/rubygems/commit/7b84fc1f19
* MJIT: Remove obsoleted MJIT countersTakashi Kokubun2022-12-061-9/+0
|
* [ruby/net-http] [DOC] Fix call-seq for Net::HTTP.startPeter Zhu2022-12-061-0/+1
| | | | | | | The lack of a newline between the call-seq and the documentation was causing the documentation to be parsed as a call-seq. https://github.com/ruby/net-http/commit/1a212e2065
* update Unicode normalization tables to version 15.0.0Martin Dürst2022-12-061-0/+77
|
* [ruby/irb] Allow disabling autocompletion withStan Lo2022-12-061-1/+1
| | | | | | | | | | | | | | | | | | | `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
* [ruby/did_you_mean] Do not suggest #name= for #name and vice versaMatthew Boeh2022-12-051-0/+7
| | | | | | | | | (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>
* [ruby/did_you_mean] Bump version to 1.6.2Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/did_you_mean/commit/f5b15128e2
* [ruby/uri] Bump version to 0.12.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/uri/commit/72f22716f8
* [ruby/un] Bump version to 0.2.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/un/commit/8f1c78e27c
* [ruby/tsort] Bump version to 0.1.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/tsort/commit/dd71002c65
* [ruby/tmpdir] Bump version to 0.1.3Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/tmpdir/commit/ee99c758fd
* [ruby/timeout] Bump version to 0.3.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/timeout/commit/4941e8c871
* Clean compiler intermediate files moreNobuyoshi Nakada2022-12-051-1/+8
|
* [ruby/securerandom] Bump version to 0.2.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/securerandom/commit/5bfe7d6c16
* [ruby/resolv] Bump version to 0.2.2Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/resolv/commit/261f049058
* [ruby/pstore] Bump version to 0.1.2Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/pstore/commit/2d95c19c43
* [ruby/pp] Bump version to 0.4.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/pp/commit/8870aa02df
* [ruby/optparse] Bump version to 0.3.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/optparse/commit/c80dfb1ebd
* [ruby/open-uri] Bump version to 0.3.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/open-uri/commit/783892ebb0
* [ruby/net-protocol] Bump version to 0.2.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/net-protocol/commit/3097bb4cc3
* [ruby/net-http] Bump version to 0.3.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/net-http/commit/09a9ea163a
* [ruby/mutex_m] Bump version to 0.1.2Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/mutex_m/commit/57f23978cd
* [ruby/logger] Bump version to 1.5.2Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/logger/commit/9c4ae3b81d
* [ruby/ipaddr] Bump version to 1.2.5Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/ipaddr/commit/d92acb3982
* [ruby/getoptlong] Bump version to 0.2.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/getoptlong/commit/71fbf2123f
* [ruby/forwardable] Bump version to 1.3.3Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/forwardable/commit/301687dbfa
* [ruby/fileutils] Bump version to 1.7.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/fileutils/commit/213e6a3d1f
* [ruby/drb] Bump version to 2.1.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/drb/commit/7c2d56e9f3
* [ruby/delegate] Bump version to 0.3.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/delegate/commit/420637be45
* [ruby/benchmark] Bump version to 0.2.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/benchmark/commit/303ac8f28b
* [ruby/rdoc] Bump version to 6.4.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/rdoc/commit/c5e7ee03ac
* [ruby/racc] Bump version to 1.6.1Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/racc/commit/1768ed252f
* [ruby/reline] Remove unapproved color setting APIsStan Lo2022-12-052-101/+5
| | | | | | | | | | | | | 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
* [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPBurdette Lamar2022-12-042-41/+317
| | | | | | (https://github.com/ruby/net-http/pull/84) https://github.com/ruby/net-http/commit/660046386f
* [rubygems/rubygems] Delete partial file and re-raise on Errno::ENOSPC.Ellen Marie Dash2022-12-021-0/+4
| | | | | | Add test for not leaving empty files if ENOSPC is raised during 'gem install' https://github.com/rubygems/rubygems/commit/8e0e20f079
* [ruby/reline] Fix misuse of kwarg in IO#rawHASUMI Hitoshi2022-12-021-1/+1
| | | | | | | | | | - 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
* [rubygems/rubygems] require bundler/setup only when Bundler is not definedYusuke Endoh2022-12-021-1/+1
| | | | | | | | | | | | | | | | | | | | | ... 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
* [ruby/syntax_suggest] Add temp support for 3.2.0-preview{3,2,1}schneems2022-12-021-1/+10
| | | | | | 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
* [ruby/syntax_suggest] No longer need PathnameFromMessage with SyntaxError#path.Hiroshi SHIBATA2022-12-021-7/+4
| | | | | | | | https://bugs.ruby-lang.org/issues/19138 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> https://github.com/ruby/syntax_suggest/commit/8e1e7b3298
* [ruby/net-http] [DOC] Enhanced RDoc for Net::HTTPHeaderBurdette Lamar2022-12-011-60/+103
| | | | | | (https://github.com/ruby/net-http/pull/83) https://github.com/ruby/net-http/commit/1ea5004098
* [ruby/delegate] Revert "Fix `DelegateClass` block "method redefined" warning"Nobuyoshi Nakada2022-12-011-2/+0
| | | | https://github.com/ruby/delegate/commit/2a91436284
* [ruby/rdoc] Fix `=end` delimiterNobuyoshi Nakada2022-12-011-1/+1
| | | | https://github.com/ruby/rdoc/commit/e1679fa7e4
* [ruby/rdoc] Non-RD part feature has not been imported to RDocNobuyoshi Nakada2022-12-011-0/+7
| | | | https://github.com/ruby/rdoc/commit/fe0159de2f