summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-18Fixes grammarNick Roma
Notes: Merged: https://github.com/ruby/ruby/pull/5806
2022-04-17Fix a typoKazuhiro NISHIYAMA
2022-04-17Get rid of doubly cachingNobuyoshi Nakada
2022-04-17Get rid of magic numbersNobuyoshi Nakada
2022-04-16[DOC] Enhanced RDoc for Regexp (#5812)Burdette Lamar
Treats: #fixed_encoding? #hash #== #=~ #match #match? Also, in regexp.rdoc: Changes heading from 'Special Global Variables' to 'Regexp Global Variables'. Add tiny section 'Regexp Interpolation'. Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-04-17* 2022-04-17 [ci skip]git
2022-04-16Fix class ancestry checks for duped classesJohn Hawthorn
Previously in some when classes were duped (specifically those with a prepended module), they would not correctly have their "superclasses" array or depth filled in. This could cause ancestry checks (like is_a? and Module comparisons) to return incorrect results. This happened because rb_mod_init_copy builds origin classes in an order that doesn't have the super linked list fully connected until it's finished. This commit fixes the previous issue by calling rb_class_update_superclasses before returning the cloned class. This is similar to what's already done in make_metaclass. Notes: Merged: https://github.com/ruby/ruby/pull/5808
2022-04-16[rubygems/rubygems] Fix test issues surfaced using a stricter behavior of ↵David Rodríguez
`FileUtils` We were trying to remove directories using `FileUtils.rm_f` which is unexpected and does not remove anything. Changing to `FileUtils.rm_rf` actually removes the directories properly. That itself showed other issues: * One test was actually removing the gem package it was about to install, since it was living in the cache folder. To fix that, avoid removing the cache folder, and only make sure the other directories are created automatically, which seems enough. * Another test was actually removing an incorrect directory. Change it to remove the right one (the one that's asserted later to have been created). https://github.com/rubygems/rubygems/commit/5538e7ff20
2022-04-16[rubygems/rubygems] I don't think this is necessaryDavid Rodríguez
https://github.com/rubygems/rubygems/commit/836f3e5aa5
2022-04-16Extract `pipe_readlines` method which reads from the pipelineNobuyoshi Nakada
2022-04-16Simplify the condition expression to ignore commitsNobuyoshi Nakada
2022-04-16Do not import any files under rakelibNobuyoshi Nakada
2022-04-16[ruby/set] Repair format for What's HereBurdetteLamar
https://github.com/ruby/set/commit/292baacb60
2022-04-16Revert "[ruby/stringio] Add push task to push built gems"Hiroshi SHIBATA
This reverts commit 22f79ae3f749ebe31c34c22d5b8699ffd81ab341.
2022-04-16Fix bundled gems installation when relative loadingNobuyoshi Nakada
2022-04-16[rubygems/rubygems] Add modern rubies to the platformsBobby McDonald
https://github.com/rubygems/rubygems/commit/5462322f8f
2022-04-16[ruby/stringio] Add push task to push built gemsSutou Kouhei
https://github.com/ruby/stringio/commit/4431eefbad
2022-04-15Update default gems list at 2aca566a104ad42579be03374446fd [ci skip]git
2022-04-16[ruby/stringio] bump up to 3.0.2.pre1Sutou Kouhei
https://github.com/ruby/stringio/commit/14ec9bc193
2022-04-16* 2022-04-16 [ci skip]git
2022-04-15[DOC] Enhanced RDoc for Regexp (#5807)Burdette Lamar
Treats: #source #inspect #to_s #casefold? #options #names #named_captures Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-04-15Return `false` where sticky-bit is not provided [Bug #18734]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5804
2022-04-15Compare predicate methods as a boolean valueNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5803
2022-04-15[Win32] Fix mode of character/pipe device stat [Bug #18732]Nobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/5803
2022-04-15[ruby/nkf] Fix docsPeter Zhu
rdoc parses "Z[0-3]" as a link to "0-3", this commit escapes these so that they don't become links. https://github.com/ruby/nkf/commit/269c10061b
2022-04-15[ruby/optparse] Fix broken links in docsPeter Zhu
https://github.com/ruby/optparse/commit/2bea3b38c3
2022-04-15[ruby/rdoc] Fix links in docsPeter Zhu
www.ruby-lang.org without the leading https:// will generate an incorrect link because it will be treated as a relative link. https://github.com/ruby/rdoc/commit/28f32149b6
2022-04-14Fix build errors with development version of ClangAlan Wu
Maybe not the best idea for CI stability to use development versions of Clang, but that does give us a preview of what's coming and gives us a chance to make suggestions upstream. Notes: Merged: https://github.com/ruby/ruby/pull/5799
2022-04-15* 2022-04-15 [ci skip]git
2022-04-14More details for regexp literals (#5800)Burdette Lamar
Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-04-14[DOC] Enhance documentation for `Module#<` & `Module#>`Akshay Birajdar
Notes: Merged: https://github.com/ruby/ruby/pull/5784
2022-04-14fix to use `node.gvl` instead of `node.ubf`Koichi Sasada
The last parameter of `ccan_list_top()` is to acquire the pointer of the top of element, so `node.ubf` is no problem. But this context it accesses gvl list, so `node.gvl` is better. Notes: Merged: https://github.com/ruby/ruby/pull/5798
2022-04-14[ruby/rdoc] Apply matching word pairs to underscore-methodsNobuyoshi Nakada
Protected characters with `PROTECT_ATTR` should not have special roles. https://github.com/ruby/rdoc/commit/c318af0ea2
2022-04-14[rubygems/rubygems] Fix formatting in docsPeter Zhu
rdoc uses + for typewriter font rather than backticks. https://github.com/rubygems/rubygems/commit/be320f1e0c
2022-04-14[DOC] Prefer RDOCLINK to the method nameNobuyoshi Nakada
2022-04-14[DOC] Now underscore methods can cross-referenceNobuyoshi Nakada
2022-04-14[ruby/rdoc] Allow cross references to methods including underscoresNobuyoshi Nakada
As underscores are masked to "protect" from the conversion, consider also `PROTECT_ATTR` as a word character. https://github.com/ruby/rdoc/commit/db58bb5170
2022-04-14[DOC] Move the documentations of moved Symbol methodsNobuyoshi Nakada
2022-04-14[DOC] Fix SymbolVariantsRelNotes linkS-H-GAMELINKS
Notes: Merged: https://github.com/ruby/ruby/pull/5682
2022-04-13Use correct capitalization of "NaN" in docsGrant Hutchins
Notes: Merged: https://github.com/ruby/ruby/pull/5797
2022-04-13Update PTY.spawn's documentStan Lo
Passing the optional env hash to PTY.spawn has been supported for years, but it's never documented. More info: https://bugs.ruby-lang.org/issues/12312 Notes: Merged: https://github.com/ruby/ruby/pull/5786
2022-04-14[DOC] add missing size params in fiber scheduler.h (#5441)Alex Matchneer
Notes: Merged-By: ioquatix <samuel@codeotaku.com>
2022-04-13[DOC] Enhanced RDoc for Symbol (#5796)Burdette Lamar
Treats: #[] #length #empty? #upcase #downcase #capitalize #swapcase #start_with? #end_with? #encoding ::all_symbols Notes: Merged-By: BurdetteLamar <BurdetteLamar@Yahoo.com>
2022-04-14* 2022-04-14 [ci skip]git
2022-04-14[ruby/net-http] Update the content-length heading when decoding bodiesJeremy Evans
Previously, the content-encoding header was removed and the body was modified, but the content-length header was not modified, resulting in the content-length header not matching the body length. Don't delete content-length before yielding inflate body, as that causes a switch to read the entire body instead of reading in chunks. Fixes [Bug #16672] https://github.com/ruby/net-http/commit/58284e9710 Co-authored-by: st0012 <stan001212@gmail.com>
2022-04-13[ci skip] Fix docsPeter Zhu
2022-04-13Parenthize macro argumentsNobuyoshi Nakada
2022-04-13[ruby/rdoc] Only parse valid URLsPeter Zhu
Only valid characters for URLs should be used for generating URLs. A list of valid characters can be found in sections 2.2 and 2.3 of IETF RFC 3986 (https://www.ietf.org/rfc/rfc3986.txt). https://github.com/ruby/rdoc/commit/2bd8fcdd4f
2022-04-13Enforce literals on the second argumentsNobuyoshi Nakada
2022-04-13Skip build extensions again on cross compiling tooKazuhiro NISHIYAMA