summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-12-11[rubygems/rubygems] Add missing flag documentation to `bundle cache --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/b760a882a1
2024-12-11[rubygems/rubygems] Add missing `--all-platforms` flag to `bundle binstubs ↵David Rodríguez
--help` https://github.com/rubygems/rubygems/commit/440b7b8282
2024-12-11[rubygems/rubygems] Add missing `--glob` flag to `bundle add --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/1e4dc0a703
2024-12-11[rubygems/rubygems] Add missing `--target-rbconfig` flag to `bundle install ↵David Rodríguez
--help` https://github.com/rubygems/rubygems/commit/54dbcdc656
2024-12-11[rubygems/rubygems] Clarify `--target-rbconfig` option bannerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6625998ca6
2024-12-11[rubygems/rubygems] Add missing banners to `bundle exec` CLI flagsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c6f62b2eed
2024-12-11[rubygems/rubygems] Style CLI options consistentlyDavid Rodríguez
In one liners, no whitespace for alignment. https://github.com/rubygems/rubygems/commit/413339a9ca
2024-12-11[rubygems/rubygems] Add missing man pages for `bundle env` and `bundle ↵David Rodríguez
licenses` commands https://github.com/rubygems/rubygems/commit/6e1a515d58
2024-12-11[rubygems/rubygems] Bring man pages up to dateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8288cfd3e0
2024-12-11[rubygems/rubygems] Align all header lines with titles for consistencyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/83fd1c6718
2024-12-11[ruby/irb] Page the output in irb:rdbg sessions tooStan Lo
(https://github.com/ruby/irb/pull/1043) IRB started to page its evaluation output and it became a useful feature for users. However, in `irb:rdbg` sessions, the output is not paged so the sudden change in behavior is surprising and inconvenient. This commit makes `irb:rdbg` sessions page the output of the debugger too. https://github.com/ruby/irb/commit/8241ec9a0c
2024-12-10[ruby/reline] Fix line wrapped cursor positiontomoya ishida
(https://github.com/ruby/reline/pull/791) Cursor position calculation was wrong when the input line contains "\1" or CSI escape sequence. https://github.com/ruby/reline/commit/a1943daaf4
2024-12-10[ruby/resolv] Securerandom should be always availableDavid Rodríguez
https://github.com/ruby/resolv/commit/324c355eb7
2024-12-09[ruby/rdoc] Expand rdoc-ref targets at the end of ri outputStan Lo
(https://github.com/ruby/rdoc/pull/1141) There have been several document refactors in ruby/ruby that extract individual methods/classes' documentation into separate files, like ruby/ruby#6567 Because RI is not capable of rendering those references, RI users are left with dramatically fewer documentation on those methods/classes. This commit adds a new option `--expand-ref` (default: true) to expand all the rdoc-ref targets at the end of the output. https://github.com/ruby/rdoc/commit/9e2b28c6e3
2024-12-08[ruby/rdoc] lint: Remove unreachable codeOKURA Masafumi
(https://github.com/ruby/rdoc/pull/1137) This is an attempt to utilize RuboCop further. RuboCop was added in https://github.com/ruby/rdoc/commit/9262fdd43a3a but only a few rules have been enabled. I believe we can utilize RuboCop more for better code quality, especially with Lint cops. This is the first step to enable other Lint cops. This commit also exclude some auto generated files. https://github.com/ruby/rdoc/commit/a53287fce0
2024-12-08[ruby/rdoc] Use distinct styles for note lists and label listsnicholas a. evans
(https://github.com/ruby/rdoc/pull/1209) * Use the original `label` description list style As a default for all description lists, the original "label" style is more readable. This is slightly different from the original `label` dl though: * slightly increased left margin for `dd` (to 1em) * removed right margin on `dd` * removed `dt` bottom margin and `dd` top margin, to reduce the gap between the term and its description (to only the standard line-height gap). * Add closing tags for description list terms Without the closing tags, the dt elements contain whitespace after the text. This normally isn't a big deal, but does mess some things up, e.g: using `::after` with `content: ", "` in stylesheets. * Restore float:left style for note lists Unlike the original note list styles, this version sets the line-height for all `dt` elements to be the same as the `p` elements contained inside the `dd`, so that the second line has the same indentation as all subsequent lines. * Add commas between note list terms https://github.com/ruby/rdoc/commit/9e69ea6d75
2024-12-06[rubygems/rubygems] Skip unresolved deps warning on ↵David Rodríguez
`Gem::Specification.reset` on benign cases If `Gem::Specification.reset` is used, but there are still unresolved dependencies, RubyGems prints a warning. There are though, certain cases where the situation will not cause any issues. One such case is when the unresolved dependency does not restrict any versions (>= 0) and there's a default gem matching it. In this situation, it doesn't matter if Gem paths change, because default gems are still activatable, so the dependency will be properly activated if ever needed. https://github.com/rubygems/rubygems/commit/e5f8a3068e
2024-12-06[ruby/reline] Combine MAPPINGS(single byte input to symbol) withtomoya ishida
key_bindings(escape sequence to symbol) (https://github.com/ruby/reline/pull/715) https://github.com/ruby/reline/commit/6a7e249374
2024-12-05[rubygems/rubygems] Apply suggestions from code reviewSamuel Giddins
https://github.com/rubygems/rubygems/commit/7c634ecd72
2024-12-05[rubygems/rubygems] Stop storing executable names in ivarsSamuel Giddins
Removes usage of these classes as ACE gadgets See https://nastystereo.com/security/ruby-3.4-deserialization.html Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/89ad04db86
2024-12-05[ruby/rdoc] Deprecate `main` and `title` directivesStan Lo
(https://github.com/ruby/rdoc/pull/1218) * Deprecate :main: directive * Deprecate :title: direcive * Update documentation * Remove :main: directive's usage * Update test cases * Add '.rdoc_options' to suggested alternatives https://github.com/ruby/rdoc/commit/e2d4ac9dad
2024-12-04[ruby/did_you_mean] Bump version to 2.0.0Yuki Nishijima
https://github.com/ruby/did_you_mean/commit/1cce337962
2024-12-04[ruby/did_you_mean] Removed deprecated constants for Ruby 3.4Hiroshi SHIBATA
https://github.com/ruby/did_you_mean/commit/e11bf81438
2024-12-04[rubygems/rubygems] add relative path support for `bundle exec`sodacris
https://github.com/rubygems/rubygems/commit/c982085f86
2024-12-04[ruby/shellwords] NUL char cannot be in shell wordsNobuyoshi Nakada
https://github.com/ruby/shellwords/commit/2c7ae1b76c
2024-12-04[ruby/logger] Enable log file rotation on WindowsNobuyoshi Nakada
Since ruby 2.3, a file opened with `File::SHARE_DELETE` and `File::BINARY` can be renamed or removed. https://github.com/ruby/logger/commit/7b6146fee6
2024-12-04[ruby/logger] Extract `Logger::LogDevice#handle_write_errors`Nobuyoshi Nakada
https://github.com/ruby/logger/commit/f904ad2f7c
2024-12-03[ruby/irb] Don't show 'Maybe IRB bug!' in show_source and ls commandtomoya ishida
(https://github.com/ruby/irb/pull/1039) https://github.com/ruby/irb/commit/9eb14a3a0b
2024-12-03[ruby/timeout] removed the non numeric checkCosmic Oppai
https://github.com/ruby/timeout/commit/7d2af46a00 Co-authored-by: Jeremy Evans <[email protected]>
2024-12-03[ruby/timeout] updated doc stringCosmic Oppai
https://github.com/ruby/timeout/commit/4be6423de4 Co-authored-by: Jeremy Evans <[email protected]>
2024-12-03[ruby/timeout] updated doc and kept the nil compatiabilityCosmicOppai
https://github.com/ruby/timeout/commit/f992632cf3
2024-12-03[ruby/timeout] refactor the change to raise for nil and type-errror and ↵CosmicOppai
added tests https://github.com/ruby/timeout/commit/ffc8d7c003
2024-12-03[ruby/timeout] refactor the change to keep the compatability with nil and ↵CosmicOppai
type-errror and added tests https://github.com/ruby/timeout/commit/8342544979
2024-12-03[ruby/timeout] added the check for negative secCosmicOppai
https://github.com/ruby/timeout/commit/8e57887eee
2024-12-03[ruby/pp] Bump up 0.6.2Hiroshi SHIBATA
https://github.com/ruby/pp/commit/979f9d972d
2024-12-03[ruby/error_highlight] Bump versionYusuke Endoh
https://github.com/ruby/error_highlight/commit/a8e9eb7f2f
2024-12-03Reapply "[ruby/rdoc] fix: C variables should never show up in Ancestors tree"Hiroshi SHIBATA
This reverts commit 0fe82ae087130d7f360cc0607be93995cedbdb16. Notes: Merged: https://github.com/ruby/ruby/pull/12233
2024-12-02[ruby/rdoc] Prefer String#ord to #codepoints[0]Mike Dalessio
(https://github.com/ruby/rdoc/pull/1220) https://github.com/ruby/rdoc/commit/09d7f35420 Co-authored-by: Nobuyoshi Nakada <[email protected]>
2024-12-02[ruby/rdoc] ClassModule#superclass= accepts a ClassModule as anMike Dalessio
argument (https://github.com/ruby/rdoc/pull/1222) It is necessary for ClassModule's instance variable @superclass to always be a String (or nil) so that the class can be saved with `#marshal_dump` and loaded with `#marshal_load`. However, there's no type checking being done, which allows a bug like the one reported in #1221 (which was introduced in #1217) that sets superclass to a ClassModule. That bug requires: - setting a superclass to a NormalClass - marshal_save - marshal_load (which raises an exception) With this change, passing a ClassModule to ClassModule#superclass= is explicitly allowed by saving the full name of the ClassModule in the @superclass instance variable. https://github.com/ruby/rdoc/commit/9ced6d534c
2024-12-02[ruby/reline] Implement buffered output to Reline::ANSItomoya ishida
(https://github.com/ruby/reline/pull/790) Minimize the call of STDOUT.write This will improve rendering performance especially when there is a busy thread `Thread.new{loop{}}` https://github.com/ruby/reline/commit/a6fe45f5ba
2024-12-02[rubygems/rubygems] [DOC] Fix missing single quoteNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/722d4c6926
2024-12-02[ruby/net-http] Bump up 0.6.0Hiroshi SHIBATA
https://github.com/ruby/net-http/commit/6475fa68ba
2024-12-02[ruby/logger] Bump up 1.6.2Hiroshi SHIBATA
https://github.com/ruby/logger/commit/2d07f086f8
2024-12-02[ruby/securerandom] Bump up 0.4.0Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/53f97f3151
2024-12-02[ruby/securerandom] Random::Formatter is only provided from Ruby 3.1Hiroshi SHIBATA
https://github.com/ruby/securerandom/commit/90c7e390f5 Notes: Merged: https://github.com/ruby/ruby/pull/12231
2024-12-02Revert "[ruby/rdoc] fix: C variables should never show up in Ancestors tree"Hiroshi SHIBATA
This reverts commit 2923f42ed7622f6310c63aab4c0abf05402f9a04. https://github.com/ruby/actions/actions/runs/12108034481/job/33755653615#step:23:1031 ``` /home/runner/work/actions/actions/snapshot-master/lib/rdoc/code_object.rb:322:in 'RDoc::CodeObject#parent': undefined method 'find_class_or_module' for nil (NoMethodError) from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/code_object/class_module.rb:342:in 'RDoc::ClassModule#marshal_dump' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:878:in 'Marshal.dump' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:878:in 'block in RDoc::Store#save_class' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:877:in 'IO.open' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:877:in 'RDoc::Store#save_class' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:763:in 'block in RDoc::Store#save' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:762:in 'Array#each' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/store.rb:762:in 'RDoc::Store#save' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/generator/ri.rb:27:in 'RDoc::Generator::RI#generate' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/rdoc.rb:528:in 'block in RDoc::RDoc#generate' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/rdoc.rb:522:in 'Dir.chdir' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/rdoc.rb:522:in 'RDoc::RDoc#generate' from /home/runner/work/actions/actions/snapshot-master/lib/rdoc/rdoc.rb:501:in 'RDoc::RDoc#document' from ./tool/rdoc-srcdir:27:in '<main>' ```
2024-12-02[ruby/set] Fix ^ to respect subclassesKouhei Yanagita
https://github.com/ruby/set/commit/f88ecdef6b
2024-12-02[ruby/set] Speed up Set#flattenKouhei Yanagita
Improved performance by ensuring that identical `Set` objects are processed only once. https://github.com/ruby/set/commit/cadb686e93
2024-11-30[ruby/reline] Call user defined sigwinch and sigcont handlertomoya ishida
(https://github.com/ruby/reline/pull/788) https://github.com/ruby/reline/commit/7d44770c84
2024-11-30[ruby/irb] Prevent cursor flickeringMari Imaizumi
(https://github.com/ruby/irb/pull/1041) https://github.com/ruby/irb/commit/0506ed0e11