summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-06-06[rubygems/rubygems] Avoid `is_a?` check before using `normalize_uri`David Rodríguez
https://github.com/rubygems/rubygems/commit/31cb15d03f
2024-06-06[rubygems/rubygems] Remove unnecessary `.to_s`David Rodríguez
The `normalize_uri` method always gives back a String. https://github.com/rubygems/rubygems/commit/246953010c
2024-06-06[rubygems/rubygems] Truly ignore commented out settingsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/e31df2d6ef
2024-06-06[rubygems/rubygems] Autoload `pathname` at the top levelDavid Rodríguez
Otherwise Ruby >= 3.2 gives a warning which makes several specs fail, and truffleruby rejects it at all. https://github.com/rubygems/rubygems/commit/ae2878484f
2024-06-06[ruby/reline] Remove instance variable @first_chartomoya ishida
(https://github.com/ruby/reline/pull/717) When Reline reads EOF, Reline.readline should return nil if and only if input is empty https://github.com/ruby/reline/commit/cc74b3686a
2024-06-06[ruby/logger] Add support for symbols in #shift_ageBaron Bloomer
Resolves issue: https://github.com/ruby/logger/issues/46 https://github.com/ruby/logger/commit/83502c2107
2024-06-05[ruby/prism] Remove unused string list structKevin Newton
https://github.com/ruby/prism/commit/36c6851c85
2024-06-05[ruby/irb] Add accidentally dropped disable_irb command backStan Lo
(https://github.com/ruby/irb/pull/964) * Add accidentally dropped disable_irb command back * Sort command files require by name https://github.com/ruby/irb/commit/1d627cebca
2024-06-05Mark to warn logger as bundled gems for Ruby 3.5Hiroshi SHIBATA
2024-06-05Improve YJIT performance warning regression testJean Boussier
[Bug #20522]
2024-06-05[ruby/reline] Refactor input key readingtomoya ishida
(https://github.com/ruby/reline/pull/712) * Add key binding matching status :matching_matched * Simplify read_2nd_character * Add a comment of matching status and EOF * Matching status to a constant * Expand complicated ternary operators to case-when https://github.com/ruby/reline/commit/64deec100b
2024-06-05Mark to warn fiddle as bundled gems for Ruby 3.5Hiroshi SHIBATA
2024-06-04[ruby/prism] (parser) split up regexp content by linesKevin Newton
https://github.com/ruby/prism/commit/85b4a5f804
2024-06-04[ruby/prism] (parser) handle quoted symbols in hash patternsKevin Newton
https://github.com/ruby/prism/commit/461aa5e658
2024-06-04[ruby/prism] (parser) fix up srange_find to anchor at the start of the sliceKevin Newton
https://github.com/ruby/prism/commit/aecce571d8
2024-06-04[ruby/prism] (parser) fix up nested multi writeKevin Newton
https://github.com/ruby/prism/commit/12e079c97e
2024-06-04[ruby/reline] Ensure no escape sequence before printing prompttomoya ishida
(https://github.com/ruby/reline/pull/716) https://github.com/ruby/reline/commit/f9227b5c89
2024-06-04Revert "Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO ↵Takashi Kokubun
is not."" This reverts commit 6e84ac2359c8fc8cb686ef4644b9cae26cd5ab9e. Now that the rubygems spec change has been merged, let's try reverting this and fixing it with tompng's new patch.
2024-06-04[ruby/prism] Revert "Revert "Properly destructure procarg0 in parser ↵Kevin Newton
translation"" This reverts commit https://github.com/ruby/prism/commit/d8ae19d0334a. https://github.com/ruby/prism/commit/df1eda2811
2024-06-04[ruby/irb] Remove useless Reline::Key.new and update wrong commenttomoya ishida
for alt+d (https://github.com/ruby/irb/pull/963) https://github.com/ruby/irb/commit/a572180b3a
2024-06-04EXACT list is mostly same as SINCE list on bundled gems.Hiroshi SHIBATA
2024-06-04Warn to use win32ole without Gemfile for Ruby 3.5Hiroshi SHIBATA
2024-06-03Revert "[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not."Takashi Kokubun
This reverts commit ba01d15cf5db96933905d669c68f5cc0cd6910b8. It seems to be failing test-bundler-parallel. Reverting it to normalize the CI. We should revert this revert once we figure it out.
2024-06-03[ruby/prism] Revert "Properly destructure procarg0 in parser translation"Kevin Newton
This reverts commit https://github.com/ruby/prism/commit/823e931ff230. https://github.com/ruby/prism/commit/d8ae19d033
2024-06-03[ruby/prism] Properly destructure procarg0 in parser translationKevin Newton
https://github.com/ruby/prism/commit/823e931ff2
2024-06-03[ruby/prism] Fix up steep issuesKevin Newton
https://github.com/ruby/prism/commit/21d314eb2e
2024-06-03[ruby/reline] Reline::ANSI is general io. Reline::GeneralIO is not.tomoya ishida
(https://github.com/ruby/reline/pull/659) Reline::ANSI has a partial non-tty supporting code. It should be a general io. Reline::Dumb should be only used in testing. https://github.com/ruby/reline/commit/2d6828473d
2024-06-03[ruby/reline] In ed_search_[prev|next]_history, make the cursor comeHiroaki Osawa
to the end of the line when there is no search substr (https://github.com/ruby/reline/pull/714) * In ed_search_prev_history, make the cursor come to the end of the line when there is no search substr * In ed_search_next_history, make the cursor come to the end of the line when there is no search substr * Implemented ActionState to search with empty substr if the previous operation was search with empty string. * Use a simple 2-element array to represent action_state https://github.com/ruby/reline/commit/95ee80bd70
2024-06-03[ruby/reline] Improve key binding match/matching checktomoya ishida
(https://github.com/ruby/reline/pull/709) * Improve key binding match/matching check * Rename key_actors to default_key_bindings * Make key_stroke.expand always return a value * Update add_default_key_binding to use a add_default_key_binding_by_keymap internally Co-authored-by: Stan Lo <stan001212@gmail.com> --------- https://github.com/ruby/reline/commit/353ec236e2 Co-authored-by: Stan Lo <stan001212@gmail.com>
2024-06-02Tempfile document updated.Tanaka Akira
2024-06-01[ruby/reline] Overhaul io gate structureStan Lo
(https://github.com/ruby/reline/pull/666) * Overhaul IO gate structure 1. Move IO related classes to `lib/reline/io/` directory. 2. Rename `GeneralIO` to `Dumb`. 3. Use IO classes as instances instead of classes. * Update lib/reline/io/ansi.rb Co-authored-by: tomoya ishida <tomoyapenguin@gmail.com> --------- https://github.com/ruby/reline/commit/dc1518e1ac Co-authored-by: tomoya ishida <tomoyapenguin@gmail.com>
2024-06-01Tempfile.create(anonymous: true) implemented. (#10803)akr
The keyword argument `anonymous` is implemented for `Tempfile.create` The default is `anonymous: false`. The behavior is not changed as before. The created temporary file is immediately removed if `anonymous: true` is specified. So applications don't need to remove the file. The actual storage of the file is reclaimed by the OS when the file is closed. It uses `O_TMPFILE` for Linux 3.11 or later. It creates an anonymous file from the beginning. It uses FILE_SHARE_DELETE for Windows. It makes it possible to remove the opened file. [Feature #20497]
2024-05-31[rubygems/rubygems] String search based parsing of compact index versionsMartin Emde
This significantly reduces memory usage. https://github.com/rubygems/rubygems/commit/8a76506c90
2024-05-31[ruby/prism] Fix up heredoc location translation for parserKevin Newton
https://github.com/ruby/prism/commit/a4e164e22b
2024-05-31[ruby/prism] Match % strings in parserKevin Newton
https://github.com/ruby/prism/commit/840185110f
2024-05-31[ruby/prism] Use correct opening and closing parenthesis for array pattern ↵Kevin Newton
in parser https://github.com/ruby/prism/commit/beed43922c
2024-05-31[ruby/prism] Match match_hash_var when quotes are usedKevin Newton
https://github.com/ruby/prism/commit/f2a327449a
2024-05-31[ruby/prism] Match parser for match_rest in patternKevin Newton
https://github.com/ruby/prism/commit/785de2c39d
2024-05-31[rubygems/rubygems] Move compact index concurrency to fetcherMartin Emde
https://github.com/rubygems/rubygems/commit/ffd3711d00
2024-06-01Sychronize with rubygems/rubygems repoDavid Rodríguez
2024-05-31[rubygems/rubygems] Fix `gem uninstall` warning when two versions of psych ↵David Rodriguez
installed https://github.com/rubygems/rubygems/commit/1b5644b666
2024-05-31[rubygems/rubygems] Make stub sorting stableDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6b70e9043d
2024-05-30[ruby/prism] Tests overhaulKevin Newton
https://github.com/ruby/prism/commit/6f886be0a4
2024-05-30[rubygems/rubygems] Don't let `bundle config` report a path without a ↵David Rodríguez
Gemfile as "local app" https://github.com/rubygems/rubygems/commit/6aa2ac337f
2024-05-30[ruby/net-http] Update lib/net/http/header.rbBrandon Weaver
https://github.com/ruby/net-http/commit/826e008cfe Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
2024-05-30[ruby/net-http] Replace Regexp in for headers for perfBrandon Weaver
https://github.com/ruby/net-http/commit/15f1349e4e
2024-05-30[ruby/net-http] Add Net::HTTP.put methodZopolis4
https://github.com/ruby/net-http/commit/6dc01c985b
2024-05-30Update generated code from ↵Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/5c7ea6fa15f403b1c84f5b823716f75595c97d8c
2024-05-30Revert "[rubygems/rubygems] Fix `gem pristine` sometimes failing to pristine ↵Hiroshi SHIBATA
user installed gems" This reverts commit a3edc4abc574b04bcacfae2af188cce7d27bfcf1. That commit caused test failure with Windows platform. * https://github.com/ruby/ruby/actions/runs/9289018414/job/25561871390 * https://github.com/ruby/ruby/actions/runs/9289018425/job/25561873060
2024-05-30[ruby/rdoc] Abort with error message if --dump argument invalidAdam Daniels
When --dump=FILE is passed a path that does not exist or is not readable, it silently fails. https://github.com/ruby/rdoc/commit/0536b83c46