summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2019-12-10base64.rb: improve performance of Base64.urlsafe_encode64Konstantin Papkovskiy
* lib/base64.rb: avoid unnecessary memory allocations
2019-12-10lib/net/http.rb: align the indentationYusuke Endoh
2019-12-10Stop Thread.new in `DRb::TimerIdConv::TimerHolder2#on_gc`Kazuhiro NISHIYAMA
and add more stop_pool after stop_service
2019-12-10Support completion with case-insensitive fashionaycabta
Reline performs completion in a case-insensitive fashon if Readline.completion_case_fold or completion-ignore-case of .inputrc are set "on".
2019-12-09fix typo of 54072e329cab7207fba133caba4fc12b45add8f9NARUSE, Yui
2019-12-09Add ipaddr optional parameter to Net::HTTP#startNARUSE, Yui
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
2019-12-09Merge the upstream changes for test-unit on ruby/logger.Hiroshi SHIBATA
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
2019-12-09[ruby/logger] 1.4.1sonots
https://github.com/ruby/logger/commit/5987f518d1
2019-12-09[ruby/logger] Fixes #38Hiroshi SHIBATA
https://github.com/ruby/logger/commit/31efbb29ff
2019-12-09[ruby/logger] 1.4.0sonots
https://github.com/ruby/logger/commit/8127ce0b56
2019-12-09[ruby/logger] Avoid creating [] and "" when logging an Exception that has no ↵Akira Matsuda
backtrace https://github.com/ruby/logger/commit/75fd308053
2019-12-09[ruby/logger] frozen_string_literal: truesonots
https://github.com/ruby/logger/commit/a057eede7b
2019-12-09[ruby/logger] Fix typoAlan Wu
https://github.com/ruby/logger/commit/5f70168ac5
2019-12-09Fix encoding compatibility checking of completion correctlyaycabta
2019-12-07[ruby/irb] Version 1.2.0aycabta
https://github.com/ruby/irb/commit/da6577a88c
2019-12-07[ruby/irb] New IRB needs Ruby 2.5 or lateraycabta
https://github.com/ruby/irb/commit/4be3158358
2019-12-07[ruby/irb] Revert "Reidline mode needs Reline what needs ↵aycabta
String#grapheme_clusters" This reverts commit 2b0b19b87c60d2cdb329979acbb96e12a1f940e7. New IRB parser needs new Ripper what has lex_state too. The new Ripper is adopted by Ruby 2.5 or later. https://github.com/ruby/irb/commit/9ab6e35a2c
2019-12-07[ruby/irb] Reidline mode needs Reline what needs String#grapheme_clustersaycabta
https://github.com/ruby/irb/commit/2b0b19b87c
2019-12-07[ruby/reline] Support Ruby 2.5 or later for String#grapheme_clustersaycabta
https://github.com/ruby/reline/commit/33e8c8f15b
2019-12-06Do not start thread when `require 'drb/drb'` onlyKazuhiro NISHIYAMA
2019-12-05lib/drb/drb.rb: suppress warning: instance variable @pool_proxy not initializedYusuke Endoh
2019-12-05Fix `warning: already initialized constant DidYouMean::VERSION`Kazuhiro NISHIYAMA
``` .../gems/did_you_mean-1.3.1/lib/did_you_mean/version.rb:2: warning: already initialized constant DidYouMean::VERSION .../lib/did_you_mean/version.rb:2: warning: previous definition of VERSION was here ```
2019-12-05debug.rb: expand filenames in breakpointsAntonio Terceiro
When debugging some local code, specifying a breakpoint to a local filename does not work, i.e. break lib/foo.rb:10 Expanding the filename makes it work. FWIW byebug has the same behavior. Notes: Merged: https://github.com/ruby/ruby/pull/2694
2019-12-04Do not attempt to call methods on the receiver if it is a basic objectYuki Nishijima
2019-12-05Support disable-completionaycabta
2019-12-05Fix variable catchaycabta
2019-12-04Fix thread leak in drbKazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2724
2019-12-03Fix auto-indent behavior correctlyaycabta
2019-12-03Support incremental search by last determined wordaycabta
In the incremental search by C-r, search word is saved when it's determined. In the next incremental search by C-r, if a user presses C-r again with the empty search word, the determined previous search word is used to search.
2019-12-03The C-r in vi command mode is also incremental searchaycabta
2019-12-02Support incremental search again by C-r in incremental searchaycabta
2019-12-02Process Backspace key in incremental search correctlyaycabta
2019-12-02Search history to back in the middle of historiesaycabta
2019-12-01The ed_search_prev_history should always search to backwardaycabta
2019-12-01Reline::HISTORY can take Range objectaycabta
2019-11-30Promote did_you_mean to default gemKevin Deisz
At the moment, there are some problems with regard to bundler + did_you_mean because of did_you_mean being a bundled gem. Since the vendored version of thor inside bundler and ruby itself explicitly requires did_you_mean, it can become difficult to load it when using Bundler.setup. See this issue: https://github.com/yuki24/did_you_mean/issues/117#issuecomment-482733159 for more details. Notes: Merged: https://github.com/ruby/ruby/pull/2689
2019-11-30[ruby/fileutils] Bump version to 1.4.1Hiroshi SHIBATA
https://github.com/ruby/fileutils/commit/da15e3ce06
2019-11-30Revert "[ruby/fileutils] Fix #install with "X" mode option"Hiroshi SHIBATA
This reverts commit eab88d20eaa925d5e61a2a65820a099b46ccf3f8. The some CI was broken with this.
2019-11-30[ruby/webrick] Enabled chunked encoding if Transfer-Encoding: chunked header ↵Jeremy Evans
is set Patch from Leonard Garvey. Fixes Ruby Bug 9986. https://github.com/ruby/webrick/commit/8cff7f3995
2019-11-30[ruby/webrick] Bump version to 1.6.0Hiroshi SHIBATA
https://github.com/ruby/webrick/commit/c5635fa5e2
2019-11-30[ruby/webrick] Allow WEBrick::HTTPServlet::CGIHandler :CGIInterpreter option ↵Jeremy Evans
to be array This way you don't need to escape each entry. Implements Ruby Feature 15170. https://github.com/ruby/webrick/commit/d8086e600c
2019-11-30[ruby/webrick] Document HTTPResponse#body callable optionzverok
https://github.com/ruby/webrick/commit/d51836d03d
2019-11-30[ruby/fileutils] Bump version to 1.4.0Hiroshi SHIBATA
https://github.com/ruby/fileutils/commit/f92145b10b
2019-11-30Move gemspec of fileutils under the toplevel of lib directory.Hiroshi SHIBATA
2019-11-30[ruby/fileutils] Fix #install with "X" mode optionNobuyoshi Nakada
`FileUtils#install` methed raises an unexpected `TypeError`, when called with `mode:` option which has `"X"`. ``` $ ruby -rfileutils -e 'FileUtils.install("tmp/a", "tmp/b", mode: "o+X")' /opt/local/lib/ruby/2.7.0/fileutils.rb:942:in `directory?': no implicit conversion of File::Stat into String (TypeError) from /opt/local/lib/ruby/2.7.0/fileutils.rb:942:in `block (3 levels) in symbolic_modes_to_i' from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `each_char' from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `each' from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `inject' from /opt/local/lib/ruby/2.7.0/fileutils.rb:933:in `block (2 levels) in symbolic_modes_to_i' from /opt/local/lib/ruby/2.7.0/fileutils.rb:931:in `each' from /opt/local/lib/ruby/2.7.0/fileutils.rb:931:in `each_slice' from /opt/local/lib/ruby/2.7.0/fileutils.rb:931:in `block in symbolic_modes_to_i' from /opt/local/lib/ruby/2.7.0/fileutils.rb:926:in `each' from /opt/local/lib/ruby/2.7.0/fileutils.rb:926:in `inject' from /opt/local/lib/ruby/2.7.0/fileutils.rb:926:in `symbolic_modes_to_i' from /opt/local/lib/ruby/2.7.0/fileutils.rb:973:in `fu_mode' from /opt/local/lib/ruby/2.7.0/fileutils.rb:883:in `block in install' from /opt/local/lib/ruby/2.7.0/fileutils.rb:1588:in `block in fu_each_src_dest' from /opt/local/lib/ruby/2.7.0/fileutils.rb:1604:in `fu_each_src_dest0' from /opt/local/lib/ruby/2.7.0/fileutils.rb:1586:in `fu_each_src_dest' from /opt/local/lib/ruby/2.7.0/fileutils.rb:877:in `install' from -e:1:in `<main>' ``` In spite of that `symbolic_modes_to_i` considers the `File::Stat` `path` case at the beginning, in `"X"` case, `path` is passed to `FileTest.directory?` method which requires a `String`. In such case, the mode in `path` should be examined instead. https://github.com/ruby/fileutils/commit/2ea54ade2f
2019-11-30[ruby/fileutils] Remove version.rbNobuyoshi Nakada
Loading separate version.rb unnecessary increases every start-up time. In the other hand, the gemspec file is parsed only when building the gem file. https://github.com/ruby/fileutils/commit/8359cf7cce
2019-11-30[ruby/forwardable] Bump version to 1.3.0Hiroshi SHIBATA
https://github.com/ruby/forwardable/commit/e56f0f83c6
2019-11-30[ruby/forwardable] Fix keyword argument separation warnings on Ruby 2.7+Jeremy Evans
Do so in a way that is also compatible with previous versions. https://github.com/ruby/forwardable/commit/b2dd340988
2019-11-30Use @eof variable for ReidlineInputMethod#eof?aycabta
"IRB::InputMethod#eof?" requires eof status each user input but "ReidlineInputMethod#eof?" used "Reline.eof?" what is singleton data. "ReidlineInputMethod#eof?" is changed to use the result of user input.
2019-11-30Simplified ErrDimensionMismatch classHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2699