summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
7 days[ruby/optparse] Make use of option_params.rdocBurdetteLamar
https://github.com/ruby/optparse/commit/d55d9284c3
7 days[ruby/optparse] Enhanced doc for option parameters (#11)Burdette Lamar
https://github.com/ruby/optparse/commit/5618eeb49e
7 days[ruby/optparse] More on tutorial (#9)Burdette Lamar
* More on tutorial: clearer example output https://github.com/ruby/optparse/commit/84dfd92d2a
7 days[ruby/optparse] gemspec: Explicitly list 0 executablesOlle Jonsson
This gem exposes no executable files. https://github.com/ruby/optparse/commit/d14bf83007
7 days[ruby/optparse] Beginnings of tutorialBurdetteLamar
https://github.com/ruby/optparse/commit/f209276f79
7 dayssync_default_gems.rb: do not reset the whole directory [ci skip]Nobuyoshi Nakada
If no files to be ignored, resetting with no argument means resetting the whole directory.
7 days* 2021-04-08 [ci skip]git
7 days[Bug #17780] Fix Method#super_method for module aliasPeter Zhu
Method#super_method crashes for aliased module methods because they are not defined on a class. This bug was introduced in c60aaed1856b2b6f90de0992c34771830019e021 as part of bug #17130. Notes: Merged: https://github.com/ruby/ruby/pull/4364
8 days* 2021-04-07 [ci skip]git
8 daystest/drb/test_drb.rb: Specify the host of DRbServerYusuke Endoh
to try fixing the following error. http://rubyci.s3.amazonaws.com/opensuseleap/ruby-master/log/20210407T063004Z.log.html.gz ``` [ 605/21105] DRbTests::TestDRbSSLAry#test_06_next/home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/lib/drb/drb.rb:1138:in `method_missing': undefined method `regist' for [1, 2, "III", 4, "five", 6]:Array (NoMethodError) from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/lib/drb/extserv.rb:21:in `block in initialize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/.ext/common/monitor.rb:202:in `synchronize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/.ext/common/monitor.rb:202:in `mon_synchronize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/lib/drb/extserv.rb:20:in `initialize' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/test/drb/ut_array_drbssl.rb:35:in `new' from /home/chkbuild/chkbuild/tmp/build/20210407T063004Z/ruby/test/drb/ut_array_drbssl.rb:35:in `<main>' = 100.05 s ``` Here is my analysis: The test of drb used both `druby://:0` and `druby://localhost:0` for DRbServer. However, the former listens on IPv4, and the latter does on IPv6, depending on environments. The port 0 is automatically assigned, but sometimes the same port is used to both because they are different protocols (IPv4 and IPv6). In this case, their URIs are resolved to the completely same one (`druby://localhost:port`), which confuses the method `DRb.here?` which determines the DRbObject is remote or local. This changeset uses `druby://localhost:0` consistently.
9 daysTry to fix Leaked file descriptorKazuhiro NISHIYAMA
https://github.com/ruby/ruby/runs/2274767991?check_suite_focus=true#step:15:118 ``` Leaked file descriptor: DRbTests::TestDRbTCP#test_immediate_close: 7 : #<TCPServer:fd 7, AF_INET, 0.0.0.0, 42451> Leaked file descriptor: DRbTests::TestDRbTCP#test_immediate_close: 9 : #<IO:fd 9> Leaked file descriptor: DRbTests::TestDRbTCP#test_immediate_close: 10 : #<IO:fd 10> ```
9 daysspec/ruby/library/matrix/: Change the version guard to 3.0.2Yusuke Endoh
[Bug #17521] is not backported to 3.0.1.
9 daysThe guard is to alert patchlevel of X.Y.0NARUSE, Yui
9 days* 2021-04-06 [ci skip]git
9 daysupdate-deps: prepare to run if not yet doneNobuyoshi Nakada
9 daysUpdate tool/format-releaseYusuke Endoh
* remove bz2 entries for Ruby 3 series * remove stats information except "X.X.0" release
10 daysGet rid of multibyte prefix to tmpdirNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/4354
10 days[ruby/tmpdir] Bump version to 0.1.2Hiroshi SHIBATA
https://github.com/ruby/tmpdir/commit/c79bc7adf6
10 days[ruby/tmpdir] Make usable chars more strictNobuyoshi Nakada
Remove other than alphanumeric and some punctuations considered filesystem-safe, instead of removing some unsafe chars only. https://hackerone.com/reports/1131465 https://github.com/ruby/tmpdir/commit/adf294bc2d
10 daysUpdate REXML to 3.2.5 (#4353)Yusuke Endoh
Notes: Merged-By: mame <mame@ruby-lang.org>
10 days[ruby/irb] Suppress verbose messages in the parallel testNobuyoshi Nakada
`:VERBOSE` flag needs to be set prior to `IRB::Irb.new`. https://github.com/ruby/irb/commit/0dbe292979
10 days* 2021-04-05 [ci skip]git
10 days[Doc] Drop signature around removed IO#codepointsKenichi Kamiya
Follow 43b95bafd57d04c8fb401d3a9b52aca3f5b4b0be Notes: Merged: https://github.com/ruby/ruby/pull/4320
10 daysUnify code by word sizesNobuyoshi Nakada
11 days[ruby/irb] Check WITH_VTERM env to add vterm gem as dependencyaycabta
https://github.com/ruby/irb/commit/23c8b73cb1
11 daystest/ruby/test_lambda.rb: Remove "warning: assigned but unused variable"Yusuke Endoh
11 days* 2021-04-04 [ci skip]git
11 daysRefactor rb_obj_call_init and rb_obj_call_init_kw (#4351)S.H
Notes: Merged-By: nobu <nobu@ruby-lang.org>
12 days[ruby/reline] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta
https://github.com/ruby/reline/commit/7562cf3b5f
12 days[ruby/irb] Use vterm 0.0.5 or newer on Unix like OSes because suppresses SEGVaycabta
https://github.com/ruby/irb/commit/b034bd22b0
12 days[ruby/irb] Use yamatanooroti gem for testsaycabta
https://github.com/ruby/irb/commit/f053f49c29
12 days[Doc] Link to doc/contributing.rdoc from CONTRIBUTING.md (#4266)Kenichi Kamiya
* [Doc] Link to doc/contributing.rdoc from CONTRIBUTING.md [ci skip] * [Doc] Add path prefix `doc/` https://github.com/ruby/ruby/pull/4266#discussion_r598220279 * [Doc] Prefer relative path in CONTRIBUTING.md This patch by nobu (Nobuyoshi Nakada), thank you! ref: https://github.com/ruby/ruby/pull/4266#discussion_r598212402 Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org> Notes: Merged-By: nobu <nobu@ruby-lang.org>
12 days[ruby/reline] Version 0.2.5aycabta
https://github.com/ruby/reline/commit/22ce5651e5
12 days[ruby/irb] Version 1.3.5aycabta
https://github.com/ruby/irb/commit/22e2ddf715
12 days[ruby/rdoc] Links to document texts without "rdoc-ref:" prefixNobuyoshi Nakada
While links to generated HTML from RDoc file needs to be prefixed by "rdoc-ref:" currently, in case of explicit references this seems just redundant. Also GitHub RDoc support does not work with this prefix. This patch lets links to such document texts (".rb", ".rdoc" and ".md" now) refer URLs generated by `RDoc::TopLevel#http_url` without the prefix. https://github.com/ruby/rdoc/commit/f18b27b69d
12 days[ruby/rdoc] Clarify that dots in URL are replacedNobuyoshi Nakada
The dots in all path components from the document root are replaced with underscores, not only in the basename. https://github.com/ruby/rdoc/commit/7a3417ea4c
12 days[ruby/rdoc] Treat emphasis tags as excluding other notationsaycabta
And exclusive notations don't exclude other exclusive notations. https://github.com/ruby/rdoc/commit/b8baa9a435
12 days[ruby/rdoc] Treat other tags as word boundariesaycabta
https://github.com/ruby/rdoc/commit/8222f85a17
12 days[ruby/rdoc] Disable other notations in <code> tagsaycabta
https://github.com/ruby/rdoc/commit/0cd3b55210
12 days[ruby/irb] Evaluate each toplevel statementaycabta
https://github.com/ruby/irb/commit/bc1b1d8bc3
12 days[ruby/irb] Add test for multiline pasteaycabta
https://github.com/ruby/irb/commit/e93c9cb54d
12 days[ruby/irb] Add yamatanooroti test exampleaycabta
https://github.com/ruby/irb/commit/279155fcee
12 days* 2021-04-03 [ci skip]git
12 days[ruby/irb] process multi-line pastes as a single entityCody Cutrer
this allows pasting leading-dot chained methods correctly: ```ruby class A def a; self; end def b; true; end end a = A.new a .a .b ``` will properly return `true` instead of erroring on the `.a` line: ``` irb(main):001:1* class A irb(main):002:1* def a; self; end irb(main):003:0> end irb(main):004:0* irb(main):005:0> a = A.new irb(main):006:0* irb(main):007:0> a irb(main):008:0> .a irb(main):009:0> .a => #<A:0x00007f984211fbe8> ``` https://github.com/ruby/irb/commit/45aeb52575
13 days[ruby/reline] Reset @rest_height when clear screenaycabta
https://github.com/ruby/reline/commit/3a7019b0d5
13 days[ruby/irb] Add show_source commandTakashi Kokubun
https://github.com/ruby/irb/commit/108cb04352
13 daysFill the ring-buffer with the fallback valueNobuyoshi Nakada
Fill with the pointer to the root position, instead of zero and comparing later. Also suppress a false warning by Visual C++. ``` file.c(4759): warning C4090: 'function': different 'const' qualifiers ``` Notes: Merged: https://github.com/ruby/ruby/pull/4348
13 days[ruby/irb] Colorize `__END__` as keywordNobuyoshi Nakada
https://github.com/ruby/irb/commit/9b84018311
13 daysfix return from orphan Proc in lambdaKoichi Sasada
A "return" statement in a Proc in a lambda like: `lambda{ proc{ return }.call }` should return outer lambda block. However, the inner Proc can become orphan Proc from the lambda block. This "return" escape outer-scope like method, but this behavior was decieded as a bug. [Bug #17105] This patch raises LocalJumpError by checking the proc is orphan or not from lambda blocks before escaping by "return". Most of tests are written by Jeremy Evans https://github.com/ruby/ruby/pull/4223 Notes: Merged: https://github.com/ruby/ruby/pull/4347
13 days[Doc] Update to FrozenError from RuntimeError in Object#freezeKenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/4346