aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove TODO commentaycabta2019-12-221-1/+1
|
* [ruby/irb] Make nesting level up for `1.times do`Yusuke Endoh2019-12-221-1/+1
| | | | | | Follow up of the previous commit https://github.com/ruby/irb/commit/ab207353d3
* [ruby/irb] Fix auto-indent for `1.times do`Yusuke Endoh2019-12-221-1/+1
| | | | | | Fixes #47 https://github.com/ruby/irb/commit/6b8eca4635
* [ruby/reline] Preserve the input buffer across cursor_posYusuke Endoh2019-12-221-1/+5
| | | | | | | | | The old version of cursor_pos discards the input buffer, which made IRB ignore the input immediately after IRB is invoked. This change keeps the input before cursor_pos by using ungetc. https://github.com/ruby/reline/commit/4a8cca331f
* [ruby/reline] Consider Reline::ANSI.input at prepNobuyoshi Nakada2019-12-221-7/+16
| | | | https://github.com/ruby/reline/commit/b111cde3c3
* Fixed misspellingsNobuyoshi Nakada2019-12-2010-10/+10
| | | | Fixed misspellings reported at [Bug #16437], for default gems.
* Merge RubyGems 3.1.2Hiroshi SHIBATA2019-12-203-15/+74
|
* Add `URI#open` to warning messageKazuhiro NISHIYAMA2019-12-201-1/+1
|
* Merge bundler-2.1.1 from bundler/bundlerHiroshi SHIBATA2019-12-184-13/+17
|
* [rubygems/rubygems] Move `require uri` to source_listmihaibuzgau2019-12-172-1/+2
| | | | https://github.com/rubygems/rubygems/commit/c6b4df5bfc
* Use while instead of loopKazuhiro NISHIYAMA2019-12-171-12/+4
|
* [rubygems/rubygems] require `uri` in source.rbmihaibuzgau2019-12-171-0/+1
| | | | https://github.com/rubygems/rubygems/commit/8de4d0272e
* Remove an unnecessary variableaycabta2019-12-171-6/+1
|
* Remove unnecessary branchesaycabta2019-12-171-24/+6
|
* [ruby/reline] Implement completion_append_characterThomas Leitner2019-12-172-2/+5
| | | | | | | There is already the possibility to set Reline.completion_append_character. However, it is not used by the line editor. https://github.com/ruby/reline/commit/ab798931b9
* [ruby/reline] Disable any implementation-defined special control charactersNobuyoshi Nakada2019-12-171-5/+1
| | | | | | Including dsusp, lnext, and so on. https://github.com/ruby/reline/commit/a44abe586b
* Support change search directionaycabta2019-12-171-7/+30
|
* Support forward-search-history by C-saycabta2019-12-173-26/+74
|
* ensure to close the data connection [Bug #16413]NARUSE, Yui2019-12-171-16/+28
|
* Make prettyprint’s cycle detection aware of Delegator instancesRichard Viney2019-12-161-0/+4
| | | | | | Fixes [Bug #13144] Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
* Revert "lib/net/http/response.rb: support raw deflate correctly"Yusuke Endoh2019-12-161-3/+3
| | | | | | | | | | | | | | | | This reverts commit 5105240b1e851410020b3b3f1a2bead7ffdd4291. In RFC 2616: ``` deflate The "zlib" format defined in RFC 1950 [31] in combination with the "deflate" compression mechanism described in RFC 1951 [29]. ``` So "Content-Encoding: deflate" means zlib format, not raw deflate. [Bug #11268]
* lib/net/http/response.rb: support raw deflate correctlyYusuke Endoh2019-12-161-3/+3
| | | | | | | | | | | | | | Net::HTTP had used `Zlib::Inflate.new(32 + Zlib::MAX_WBITS)` for all content encoding (deflate, zlib, and gzip). But the argument `32 + Zlib::MAX_WBITS` means zlib and gzip decoding with automatic header detection, so (raw) deflate compression had not been supported. This change makes it support raw deflate correctly by passing an argument `-Zlib::MAX_WBITS` (which means raw deflate) to `Zlib::Inflate.new`. All deflate-mode tests are fixed too. [Bug #11268]
* Merge RubyGems 3.1.1 and update the NEWS entry for RubyGemsHiroshi SHIBATA2019-12-161-1/+1
|
* Prepare to release rubygems-3.1.0Hiroshi SHIBATA2019-12-151-1/+1
|
* Vendor thor 1.0.0David Rodríguez2019-12-153-9/+44
|
* Prepare to release bundler-2.1.0Hiroshi SHIBATA2019-12-1549-158/+4363
|
* Drop delegate dependencyYuki Nishijima2019-12-131-4/+3
| | | | | Original comment: https://github.com/ruby/did_you_mean/commit/2f26c9ee770f28da0942c42cbc9e5800535b75e1
* warn should be a global functionNobuyoshi Nakada2019-12-131-2/+2
|
* Prepare to release RubyGems 3.1.0 final version.Hiroshi SHIBATA2019-12-1314-90/+193
|
* Show a menu before a documentaycabta2019-12-131-5/+15
| | | | | | IRB should show a menu first if a completed list has plural items. But just shows document without menu if a completed list with plural items includes a perfect matched item. The behavior is a bug. This commit fixes it.
* Suppress to crash IRB if completed list has nilaycabta2019-12-121-1/+1
|
* [ruby/forwardable] Bump version to 1.3.1Jeremy Evans2019-12-111-1/+1
| | | | https://github.com/ruby/forwardable/commit/aa07c55f3f
* [ruby/forwardable] Make def_*_delegator return name of method defined (Fixes ↵Jeremy Evans2019-12-111-2/+6
| | | | | | | | | | #10) This restores compatibility with previous versions. This behavior was previously undefined, but it makes sense for the name of the defined method to be returned. https://github.com/ruby/forwardable/commit/a52ef3451e
* Add a message for CompatibilityErroraycabta2019-12-111-1/+1
|
* Support Readline.completion_quote_character by Relineaycabta2019-12-112-8/+28
|
* [ruby/logger] bump version to 1.4.2Hiroshi SHIBATA2019-12-101-1/+1
| | | | https://github.com/ruby/logger/commit/d6c01cc652
* [ruby/logger] Document that shift_age of 0 disables log file rotationJeremy Evans2019-12-101-3/+4
| | | | | | Fixes Ruby Bug 16349. https://github.com/ruby/logger/commit/b1b6d06f2d
* [ruby/logger] Raise ArgumentError for invalid shift_ageJeremy Evans2019-12-101-2/+6
| | | | | | | | | Consider 'now' and 'everytime' as valid values for the previous behavior of rotating everytime. Fixes Ruby Bug 15977 https://github.com/ruby/logger/commit/f92979a376
* [ruby/logger] Honor Logger#level overridesGeorge Claghorn2019-12-101-6/+6
| | | | https://github.com/ruby/logger/commit/7365c995bf
* fix ipaddr parameter of Net::HTTP.start to support proxyNARUSE, Yui2019-12-101-1/+1
| | | | 54072e329cab7207fba133caba4fc12b45add8f9
* Change encoding of completion stringsaycabta2019-12-101-1/+1
|
* Import racc-1.4.1 from ruby/racc.Hiroshi SHIBATA2019-12-106-26/+28
|
* base64.rb: improve performance of Base64.urlsafe_encode64Konstantin Papkovskiy2019-12-101-2/+3
| | | | * lib/base64.rb: avoid unnecessary memory allocations
* lib/net/http.rb: align the indentationYusuke Endoh2019-12-101-2/+2
|
* Stop Thread.new in `DRb::TimerIdConv::TimerHolder2#on_gc`Kazuhiro NISHIYAMA2019-12-101-0/+1
| | | | and add more stop_pool after stop_service
* Support completion with case-insensitive fashionaycabta2019-12-102-9/+26
| | | | | | Reline performs completion in a case-insensitive fashon if Readline.completion_case_fold or completion-ignore-case of .inputrc are set "on".
* fix typo of 54072e329cab7207fba133caba4fc12b45add8f9NARUSE, Yui2019-12-091-1/+1
|
* Add ipaddr optional parameter to Net::HTTP#startNARUSE, Yui2019-12-091-8/+21
| | | | | | | | | | | | | | | | to replace the address for TCP/IP connection [Feature #5180] There're 3 layers of hostname: * host address for TCP/IP * TLS server name * HTTP Host header value To test DNS round robin or check server certificate from server local, people sometimes want to connect server with given IP address but keep TLS server name and HTTP Host header value. closes [Feature #15215] closes https://github.com/ruby/ruby/pull/1893 closes https://github.com/ruby/ruby/pull/1977
* Merge the upstream changes for test-unit on ruby/logger.Hiroshi SHIBATA2019-12-091-1/+2
| | | | | | | This commits are based with: https://github.com/ruby/logger/commit/f067f7d1aa743b467d633ec6d1790bd93ed9e25b https://github.com/ruby/logger/commit/86058f420d8f6909500cccceb24f58bef0597b4d https://github.com/ruby/logger/commit/02db6e8ed85d1f4ba974f08fee292bad400d9fc2
* [ruby/logger] 1.4.1sonots2019-12-091-1/+1
| | | | https://github.com/ruby/logger/commit/5987f518d1