mihaibuzgau
ffa7ceceaf
[rubygems/rubygems] Move `require uri` to source_list
...
https://github.com/rubygems/rubygems/commit/c6b4df5bfc
2019-12-17 22:33:44 +09:00
Kazuhiro NISHIYAMA
299db37957
Use while instead of loop
2019-12-17 21:56:09 +09:00
mihaibuzgau
b226a68141
[rubygems/rubygems] require `uri` in source.rb
...
https://github.com/rubygems/rubygems/commit/8de4d0272e
2019-12-17 16:56:04 +09:00
aycabta
d616926af9
Remove an unnecessary variable
2019-12-17 14:21:07 +09:00
aycabta
4f9a4c1a8f
Remove unnecessary branches
2019-12-17 13:59:19 +09:00
Thomas Leitner
a1713bedb1
[ruby/reline] Implement completion_append_character
...
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
2019-12-17 13:19:37 +09:00
Nobuyoshi Nakada
11db4d3a3b
[ruby/reline] Disable any implementation-defined special control characters
...
Including dsusp, lnext, and so on.
https://github.com/ruby/reline/commit/a44abe586b
2019-12-17 13:19:37 +09:00
aycabta
618d091151
Support change search direction
2019-12-17 13:10:39 +09:00
aycabta
a14a0244b4
Support forward-search-history by C-s
2019-12-17 13:07:19 +09:00
NARUSE, Yui
5be34d6a33
ensure to close the data connection [Bug #16413 ]
2019-12-17 08:24:47 +09:00
Richard Viney
6a75a46053
Make prettyprint’s cycle detection aware of Delegator instances
...
Fixes [Bug #13144 ]
Co-Authored-By: Nobuyoshi Nakada <nobu@ruby-lang.org>
2019-12-16 23:43:49 +09:00
Yusuke Endoh
251f5d8226
Revert "lib/net/http/response.rb: support raw deflate correctly"
...
This reverts commit 5105240b1e
.
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 ]
2019-12-16 23:39:10 +09:00
Yusuke Endoh
5105240b1e
lib/net/http/response.rb: support raw deflate correctly
...
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 ]
2019-12-16 23:20:42 +09:00
Hiroshi SHIBATA
d8db343a21
Merge RubyGems 3.1.1 and update the NEWS entry for RubyGems
2019-12-16 20:47:04 +09:00
Hiroshi SHIBATA
980ddca47e
Prepare to release rubygems-3.1.0
2019-12-15 16:48:52 +09:00
David Rodríguez
0fab900538
Vendor thor 1.0.0
2019-12-15 16:41:10 +09:00
Hiroshi SHIBATA
38002a8adb
Prepare to release bundler-2.1.0
2019-12-15 16:41:10 +09:00
Yuki Nishijima
e2708068ad
Drop delegate dependency
...
Original comment:
2f26c9ee77
2019-12-13 21:40:52 -05:00
Nobuyoshi Nakada
eb512c5a95
warn should be a global function
2019-12-13 21:38:50 +09:00
Hiroshi SHIBATA
82cc2843a9
Prepare to release RubyGems 3.1.0 final version.
2019-12-13 20:19:33 +09:00
aycabta
c2dfc6d869
Show a menu before a document
...
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.
2019-12-13 08:54:22 +09:00
aycabta
7d991a0571
Suppress to crash IRB if completed list has nil
2019-12-12 08:40:50 +09:00
Jeremy Evans
49ffae7ca6
[ruby/forwardable] Bump version to 1.3.1
...
https://github.com/ruby/forwardable/commit/aa07c55f3f
2019-12-11 20:23:53 +09:00
Jeremy Evans
0dcd3340fb
[ruby/forwardable] Make def_*_delegator return name of method defined ( Fixes #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
2019-12-11 20:23:53 +09:00
aycabta
6a7af800db
Add a message for CompatibilityError
2019-12-11 11:36:40 +09:00
aycabta
ec54ac9381
Support Readline.completion_quote_character by Reline
2019-12-11 11:13:05 +09:00
Hiroshi SHIBATA
95f570d0d3
[ruby/logger] bump version to 1.4.2
...
https://github.com/ruby/logger/commit/d6c01cc652
2019-12-10 21:03:36 +09:00
Jeremy Evans
7a1c56f978
[ruby/logger] Document that shift_age of 0 disables log file rotation
...
Fixes Ruby Bug 16349.
https://github.com/ruby/logger/commit/b1b6d06f2d
2019-12-10 20:59:36 +09:00
Jeremy Evans
38722fa179
[ruby/logger] Raise ArgumentError for invalid shift_age
...
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
2019-12-10 20:59:02 +09:00
George Claghorn
eb18cb3e47
[ruby/logger] Honor Logger#level overrides
...
https://github.com/ruby/logger/commit/7365c995bf
2019-12-10 20:58:25 +09:00
NARUSE, Yui
af11efd377
fix ipaddr parameter of Net::HTTP.start to support proxy
...
54072e329c
2019-12-10 19:12:21 +09:00
aycabta
fe0df7dcfc
Change encoding of completion strings
2019-12-10 17:28:09 +09:00
Hiroshi SHIBATA
e27d2013db
Import racc-1.4.1 from ruby/racc.
2019-12-10 17:04:03 +09:00
Konstantin Papkovskiy
1bdabaa6b1
base64.rb: improve performance of Base64.urlsafe_encode64
...
* lib/base64.rb: avoid unnecessary memory allocations
2019-12-10 14:32:35 +09:00
Yusuke Endoh
3ca3c8d768
lib/net/http.rb: align the indentation
2019-12-10 14:15:35 +09:00
Kazuhiro NISHIYAMA
7be550d046
Stop Thread.new in `DRb::TimerIdConv::TimerHolder2#on_gc`
...
and add more stop_pool after stop_service
2019-12-10 12:43:49 +09:00
aycabta
6a22b2a091
Support completion with case-insensitive fashion
...
Reline performs completion in a case-insensitive fashon if
Readline.completion_case_fold or completion-ignore-case of .inputrc are set
"on".
2019-12-10 07:07:43 +09:00
NARUSE, Yui
c2dc27d643
fix typo of 54072e329c
2019-12-09 20:48:35 +09:00
NARUSE, Yui
54072e329c
Add ipaddr optional parameter to Net::HTTP#start
...
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-09 20:21:49 +09:00
Hiroshi SHIBATA
4b36832ba6
Merge the upstream changes for test-unit on ruby/logger.
...
This commits are based with:
f067f7d1aa
86058f420d
02db6e8ed8
2019-12-09 19:17:32 +09:00
sonots
ff7cc0dc34
[ruby/logger] 1.4.1
...
https://github.com/ruby/logger/commit/5987f518d1
2019-12-09 19:17:32 +09:00
Hiroshi SHIBATA
895f86c81b
[ruby/logger] Fixes #38
...
https://github.com/ruby/logger/commit/31efbb29ff
2019-12-09 19:17:31 +09:00
sonots
0fe1b05082
[ruby/logger] 1.4.0
...
https://github.com/ruby/logger/commit/8127ce0b56
2019-12-09 19:17:31 +09:00
Akira Matsuda
6158e28f8d
[ruby/logger] Avoid creating [] and "" when logging an Exception that has no backtrace
...
https://github.com/ruby/logger/commit/75fd308053
2019-12-09 19:17:31 +09:00
sonots
0aafc32995
[ruby/logger] frozen_string_literal: true
...
https://github.com/ruby/logger/commit/a057eede7b
2019-12-09 19:17:31 +09:00
Alan Wu
22548195d5
[ruby/logger] Fix typo
...
https://github.com/ruby/logger/commit/5f70168ac5
2019-12-09 19:17:31 +09:00
aycabta
a14c01441b
Fix encoding compatibility checking of completion correctly
2019-12-09 14:21:20 +09:00
aycabta
0ff84eda4e
[ruby/irb] Version 1.2.0
...
https://github.com/ruby/irb/commit/da6577a88c
2019-12-07 21:56:23 +09:00
aycabta
2e595c2d78
[ruby/irb] New IRB needs Ruby 2.5 or later
...
https://github.com/ruby/irb/commit/4be3158358
2019-12-07 21:56:06 +09:00
aycabta
ad6837dd60
[ruby/irb] Revert "Reidline mode needs Reline what needs 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 21:55:31 +09:00