Hiroshi SHIBATA
757e185cee
Revert "[ruby/webrick] Allow empty POST and PUT requests without content length"
...
This reverts commit ed12019ce6abe87aac87ec77ac081d37b25180a2.
https://github.com/ruby/ruby/runs/1160423667?check_suite_focus=true#step:14:752
2020-09-24 22:20:02 +09:00
John W Higgins
f64bea6d66
[ruby/webrick] Allow shutdown_pipe to be passed in via @config
...
https://github.com/ruby/webrick/commit/30152b4bf9
2020-09-24 21:37:06 +09:00
Jeremy Evans
ed12019ce6
[ruby/webrick] Allow empty POST and PUT requests without content length
...
RFC 7230 section 3.3.3 allows for this.
Fixes #30
https://github.com/ruby/webrick/commit/069e9b1908
2020-09-24 21:34:07 +09:00
John W Higgins
4715a24dd2
[ruby/webrick] Ensure server port numbers are numeric and ensure they are stored as integers
...
https://github.com/ruby/webrick/commit/86ed621e11
2020-09-24 21:31:55 +09:00
John W Higgins
96da24f279
[ruby/webrick] Make readpartial limit chunk to appropriate size
...
https://github.com/ruby/webrick/commit/e693f501bd
2020-09-24 21:22:20 +09:00
Hiroshi SHIBATA
b717f73402
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636 "
...
31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
2020-09-23 22:01:44 +09:00
Hiroshi SHIBATA
a46841612c
bump Bundler's version to 2.2.0.rc.1
2020-09-23 21:06:29 +09:00
Hiroshi SHIBATA
31a6eaabc1
Manually merged from https://github.com/rubygems/rubygems/pull/2636
...
Enable Style/EmptyLinesAroundClassBody rubocop cop.
2020-09-23 21:02:56 +09:00
aycabta
e193dd1e3d
[ruby/irb] Version 1.2.7
...
https://github.com/ruby/irb/commit/0eaa06838b
2020-09-19 05:13:08 +09:00
aycabta
555ea83344
[ruby/irb] Drop OMIT_ON_ASSIGNMENT and add :truncate option for ECHO_ON_ASSIGNMENT
...
https://github.com/ruby/irb/commit/4c89b0775b
2020-09-19 05:13:08 +09:00
aycabta
305c430603
[ruby/rdoc] Add man/ri.1 for distribution files
...
https://github.com/ruby/rdoc/commit/7cb5c3611f
2020-09-18 14:57:58 +09:00
Dorian Marié
0d56aec1dd
[ruby/rdoc] Fix spelling error in parser comment
...
https://github.com/ruby/rdoc/commit/f237c9e223
2020-09-18 14:57:58 +09:00
Nobuyoshi Nakada
e23f0f29da
[ruby/rdoc] update all files if any file is newer
...
Cross references need parse all files which define the subject
names. This commit makes `--force-update` option enforce to parse
all files if any file is newer than the previous parse, not only
updated files.
https://github.com/ruby/rdoc/commit/13e9a44896
2020-09-18 14:57:58 +09:00
aycabta
b5db9b8a31
[ruby/rdoc] Support full filename to make a link for a text file
...
https://github.com/ruby/rdoc/commit/41db49c485
2020-09-18 14:57:57 +09:00
Kazuhiro NISHIYAMA
e4dbb91f4c
Fix typos [ci skip]
...
s/overriden/overridden/
2020-09-17 20:34:59 +09:00
Jeremy Evans
abbd324152
[ruby/uri] Remove deprecated URI.escape/URI.unescape
...
https://github.com/ruby/uri/commit/61c6a47ebf
2020-09-15 21:17:20 +09:00
Ashwin Maroli
3dd9e12b51
[ruby/fileutils] Reduce iteration through list for :mkdir_p
...
By calling the instruction to `list.map` within `list.each` itself.
https://github.com/ruby/fileutils/commit/e690eec937
2020-09-15 20:32:13 +09:00
Marc-Andre Lafortune
60f5d38482
[ruby/ostruct] Fix dup/clone
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
125605abd9
[ruby/ostruct] method_missing is private
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
606c009ce2
[ruby/ostruct] Avoid self calling our public methods.
...
Found because `json` has a bad example in its test suite.
This implementation still offers better encapsulation.
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
67e5f7a9e5
[ruby/ostruct] Reinstate recent changes
...
This reverts commit 28e60b0045b5732bca11012d81a5223001faa6b2.
2020-09-14 16:10:37 -04:00
Marc-Andre Lafortune
28e60b0045
[ruby/ostruct] Revert recent changes
...
This reverts commit e026e186f4..12a2e32d43.
2020-09-14 13:29:54 -04:00
Marc-Andre Lafortune
867f0c6793
[ruby/rdoc] Prefer require_relative
2020-09-14 12:59:11 -04:00
Marc-Andre Lafortune
12a2e32d43
[ruby/ostruct] Add access to public instance methods in case they are overriden
2020-09-14 12:46:51 -04:00
Marc-Andre Lafortune
12a13eef49
[ruby/ostruct] Tweak doc
2020-09-14 12:46:49 -04:00
Marc-Andre Lafortune
8eefa8f373
[ruby/ostruct] Allow overriding public methods
...
[Fixes https://bugs.ruby-lang.org/issues/15409 ]
2020-09-14 12:46:47 -04:00
Marc-Andre Lafortune
ebb8de7302
[ruby/ostruct] Refactor handling of frozen OpenStruct. Simplify new_ostruct_member!
2020-09-14 12:46:45 -04:00
Marc-Andre Lafortune
e026e186f4
[ruby/ostruct] Revert "ostruct.rb: deferred accessors"
...
This reverts commits:
dc38e99813
22c082fcfd
b499e0f9ff
58e5876646
Add test for overriden private methods
[Fixes https://bugs.ruby-lang.org/issues/12136 ]
2020-09-14 12:46:27 -04:00
Nobuyoshi Nakada
edb5c67195
[ruby/tmpdir] Warn when environment variables skipped ( fixes #2 )
...
https://github.com/ruby/tmpdir/commit/af7b020a89
2020-09-14 18:22:37 +09:00
nicholas a. evans
f1d32010e6
[ruby/net-smtp] Add SNI support to net/smtp
...
https://github.com/ruby/net-smtp/commit/b706942392
2020-09-14 17:26:36 +09:00
TOMITA Masahiro
141404e898
[ruby/net-smtp] Net::SMTP.start arguments are keyword arguments
...
The helo argument is not important, but the helo argument must be
specified to specify the user and secret arguments.
If helo, user, secret, and authtype arguments are keyword arguments,
it is not necessary to specify the helo argument.
https://github.com/ruby/net-smtp/commit/269774deac
2020-09-14 17:23:41 +09:00
TOMITA Masahiro
888e04ae05
[ruby/net-smtp] TLS should not check the host name by default.
...
In tlsconnect(), the host name is checked when
@ssl_context.verify_mode is not OpenSSL::SSL::VERIFY_NONE, but the
verify_mode of @ssl_context generated by default is nil.
https://github.com/ruby/net-smtp/commit/bde75a15b5
2020-09-14 17:22:35 +09:00
Hiroshi SHIBATA
cdb85142f9
[ruby/erb] Use libexec same as ruby core repository
...
https://github.com/ruby/erb/commit/660255cf24
2020-09-14 17:15:44 +09:00
Hiroshi SHIBATA
78ef7eeb36
Manually picked 724bdb8e1d
2020-09-14 14:07:37 +09:00
Hiroshi SHIBATA
eace12c25b
Fixup 8f71bb0e4f76ab12e469d33bc560bd76cc3aaf90
2020-09-14 14:06:02 +09:00
aycabta
b682e0fc21
[ruby/irb] Version 1.2.6
...
https://github.com/ruby/irb/commit/5a7dd8c3bf
2020-09-14 02:14:02 +09:00
aycabta
5bb9e12573
[ruby/irb] Need calculate_width and split_by_width of Reline::Unicode of reline 0.1.5 or later
...
https://github.com/ruby/irb/commit/c05bc9e595
2020-09-14 02:13:32 +09:00
aycabta
8f9b1902f4
[ruby/irb] Omit output if first line of multiline is too long
...
https://github.com/ruby/irb/commit/0feeae38c5
2020-09-14 02:13:18 +09:00
aycabta
e468d9f49c
[ruby/irb] Add OMIT_ON_ASSIGNMENT
...
Omit the results evaluated at assignment if they are too long.
The behavior of ECHO_ON_ASSIGNMENT being on by default is hard to understand,
so I change it to off by default. Instead, we turn OMIT_ON_ASSIGNMENT on by
default. The result is displayed on assignment, but it will always be short
and within one line of the screen.
https://github.com/ruby/irb/commit/c5ea79d5ce
2020-09-14 02:13:11 +09:00
aycabta
5d841f5631
[ruby/irb] Version 1.2.5
...
https://github.com/ruby/irb/commit/07beb3964d
2020-09-14 02:12:58 +09:00
aycabta
3a3e933033
[ruby/reline] Version 0.1.5
...
https://github.com/ruby/reline/commit/c8a419beb5
2020-09-14 02:12:12 +09:00
aycabta
ae508633b7
Suppress "assigned but unused variable" warning
2020-09-12 10:07:18 +09:00
aycabta
777d536749
[ruby/reline] Support for word movement escape sequences in iTerm2
...
https://github.com/ruby/reline/commit/187235f88c
2020-09-12 08:35:52 +09:00
aycabta
f36dc2b6de
[ruby/reline] Treat prompt correctly when Reline.prompt_proc isn't set
...
https://github.com/ruby/reline/commit/9c9ba0eff3
2020-09-12 08:35:52 +09:00
aycabta
ce389ade45
[ruby/reline] Move cursor to currect vertical pos after rendering a logical line
...
https://github.com/ruby/reline/commit/9b932df544
2020-09-12 08:35:52 +09:00
aycabta
9baf1bd0a4
[ruby/reline] Stop using chomp option of lines method
...
https://github.com/ruby/reline/commit/3e2f55c3e0
2020-09-12 08:35:52 +09:00
aycabta
0ec19cc843
[ruby/reline] Stop erasing chars after the cursor at eol
...
When the cursor is at the end of the line and erases characters after the
cursor, some terminals delete the character at the cursor position.
https://github.com/ruby/reline/commit/e96ec97b02
2020-09-12 08:35:52 +09:00
aycabta
2e34b35a0f
[ruby/reline] Skip the nil obtained from getc
...
The nil means there is nothing in the buffer in some systems. Incidentally,
Errno::EIO is raised if the I/O is closed.
https://github.com/ruby/reline/commit/c698634e74
2020-09-12 08:35:52 +09:00
Yoshinao Muramatu
a840ef8569
[ruby/reline] not clear scrollback buffer
...
https://github.com/ruby/reline/commit/ba800f1461
2020-09-12 08:35:51 +09:00
Yoshinao Muramatu
0862744010
[ruby/reline] clear_screen use Windows API
...
https://github.com/ruby/reline/commit/2c5ee54cb3
2020-09-12 08:35:51 +09:00