summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-01-11[ruby/reline] Clear dialog when just_move_cursor is called with dialog at ↵aycabta
last line https://github.com/ruby/reline/commit/05024b968e
2022-01-08[ruby/reline] Fix reline on SolarisPeter Zhu
Solaris requires that the pointer errret_int is alined to an integer, however, with VWA, strings are no longer aligned to an integer, so use a Fiddle::Pointer with a malloc'd region instead. https://github.com/ruby/reline/commit/5fcd89ab0c
2022-01-06[rubygems/rubygems] Fix suggestions flagximenasandoval
https://github.com/rubygems/rubygems/commit/b55a1393ca
2022-01-06[rubygems/rubygems] Let fetch understand gem:version syntaxximenasandoval
Fix version error message Add tests to fetch error messages Fix default version since is not necessary https://github.com/rubygems/rubygems/commit/070620ebe4
2022-01-06[rubygems/rubygems] Fix `gem install <non-existent-gem> --force` crashDavid Rodríguez
Before: ``` $ gem install sfdsfdsfsdide --force ERROR: While executing gem ... (NoMethodError) undefined method `spec' for nil:NilClass @always_install << newest.spec ^^^^^ ``` After: ``` $ gem install sfdsfdsfsdide --force ERROR: Could not find a valid gem 'sfdsfdsfsdide' (>= 0) in any repository ``` https://github.com/rubygems/rubygems/commit/4e2bfd1101
2022-01-05[rubygems/rubygems] Exclude bin directory for newgem template, Because it ↵Hiroshi SHIBATA
contains only development script https://github.com/rubygems/rubygems/commit/01017ee8ca
2022-01-05`res.response_body_permitted?` is not definedKazuhiro NISHIYAMA
`response_body_permitted?` is a method of request.
2022-01-05[rubygems/rubygems] Fix race conditon on JRubyDavid Rodríguez
On JRuby, sometimes we get the following error in CI when running a realworld test that checks that `gem install rails` succeeds: ``` ERROR: While executing gem ... (NoMethodError) undefined method `ignored=' for nil:NilClass /home/runner/.rubies/jruby-9.3.2.0/lib/ruby/stdlib/rubygems/stub_specification.rb:193:in `to_spec' org/jruby/RubyArray.java:2642:in `map' /home/runner/.rubies/jruby-9.3.2.0/lib/ruby/stdlib/rubygems/specification.rb:758:in `_all' /home/runner/.rubies/jruby-9.3.2.0/lib/ruby/stdlib/rubygems/specification.rb:956:in `each' org/jruby/RubyEnumerable.java:1710:in `any?' /home/runner/.rubies/jruby-9.3.2.0/lib/ruby/stdlib/rubygems/resolver/activation_request.rb:111:in `installed?' /home/runner/.rubies/jruby-9.3.2.0/lib/ruby/stdlib/rubygems/request_set.rb:173:in `block in install' ``` I'm not sure how this error is happening, but I think there's no need to copy the `@ignored` instance variable when materializing stub specifications. This instance variable is used to not print a warning about missing extensions more than once for each gem upon gem activation, but as far as I can see, it's only used by methods that work on specification stubs. Once specifications are materialized, I think it can be safely ignored. https://github.com/rubygems/rubygems/commit/301cecd5a7
2022-01-04[ruby/error_highlight] Fix the spurious TypeError.Christian Boos
When we have no backtrace locations, we can't have the highlight, so just return the message. https://github.com/ruby/error_highlight/commit/9f5c639494
2022-01-04[ruby/optparse] Use `require_relative` for internal requires ↵David Rodríguez
(https://github.com/ruby/optparse/pull/28) https://github.com/ruby/optparse/commit/e4f2682128
2022-01-04[rubygems/rubygems] Append a newline to the checksum fileNobuyoshi Nakada
https://github.com/rubygems/rubygems/commit/48ea2778e9
2022-01-04[rubygems/rubygems] Fix checksumNobuyoshi Nakada
Calculate the checksum of the content, not the given pathname at the build time itself. https://github.com/rubygems/rubygems/commit/b60ee97ee9
2022-01-03Kernel#=~: delete卜部昌平
Has been deprecated since ebff9dc10e6e72239c23e50acc7d3cbfdc659e7a.
2022-01-02[ruby/reline] Check capname of tigetstr/tigetflag/tigetnumaycabta
Incorrect arguments can cause SEGV. https://github.com/ruby/reline/commit/a58748bcf9
2022-01-02[ruby/reline] Version 0.3.1aycabta
https://github.com/ruby/reline/commit/9ab5850444
2022-01-02[ruby/reline] Implement Reline::Terminfo.tigetnumaycabta
https://github.com/ruby/reline/commit/695212d5d2
2022-01-02[ruby/reline] Fix the difinition of tigetflag() in comment...aycabta
https://github.com/ruby/reline/commit/af4d77ba09
2022-01-01[ruby/reline] Remove unnecessary qualifiers on definition of commentsaycabta
https://github.com/ruby/reline/commit/abc1e4ee88
2022-01-01[ruby/reline] Implement Reline::Terminfo.tigetflagaycabta
https://github.com/ruby/reline/commit/0451ed7a28
2021-12-30[ruby/reline] windows fix scrollYO4
https://github.com/ruby/reline/commit/c559d0f7a9
2021-12-30[ruby/reline] Use unix_line_discard when Ctrl-u is enteredima1zumi
The kill-line was called when C-u was entered, so it is now called unix-line-discard. In readline(3): > unix-line-discard (C-u) > Kill backward from point to the beginning of the line. > The killed text is saved on the kill-ring. https://github.com/ruby/reline/commit/27570d195e
2021-12-29[ruby/irb] Prefer `IO#wait_readable` over `IO#select`. ↵Samuel Williams
(https://github.com/ruby/irb/pull/323) https://github.com/ruby/irb/commit/1c03bd3373
2021-12-28[rubygems/rubygems] Fix `bundle update --bundler` no longer updating lockfileDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a053b7e4d4
2021-12-27[rubygems/rubygems] Don't crash when updating to an unsupported ↵David Rodríguez
`rubygems-update` version https://github.com/rubygems/rubygems/commit/b0badcd00a
2021-12-27[rubygems/rubygems] Don't redownload `rubygems-update` package if already thereDavid Rodríguez
This makes it easier to test the upgrade process locally and should be more efficient in certain cases where the user has already upgraded in the past. https://github.com/rubygems/rubygems/commit/ed6cc88494
2021-12-27[ruby/drb] Fix method names "regist" as "register"Nobuyoshi Nakada
https://github.com/ruby/drb/commit/9a1ff286bc
2021-12-27Track RubyGems 3.4.0dev and Bundler 2.4.0devHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5350
2021-12-27[rubygems/rubygems] Remove the rest of the `RUBY_VERSION` monkeypatchingDavid Rodríguez
Since we're at it. This generates a bunch of warnings and seems like a brittle way to test things, so let's get rid of it. https://github.com/rubygems/rubygems/commit/f5d45520e0 Notes: Merged: https://github.com/ruby/ruby/pull/5350
2021-12-27[rubygems/rubygems] Make SpecificationPolicy autoload constantMasataka Pocke Kuwabara
It reduces memory usage about 204kb (1.4%). https://github.com/rubygems/rubygems/commit/b7d4b8c8a6 Notes: Merged: https://github.com/ruby/ruby/pull/5350
2021-12-27Check if `Kernel#untaint` is defined instead of version comparisonNobuyoshi Nakada
Probably `RUBY_VERSION` seems overwritten somewhere in the tests. Notes: Merged: https://github.com/ruby/ruby/pull/5349 Merged-By: nobu <nobu@ruby-lang.org>
2021-12-25[ruby/irb] Version 1.4.1aycabta
https://github.com/ruby/irb/commit/b1d9c34441
2021-12-25[ruby/irb] Support showing doc by dialog in iTerm2aycabta
https://github.com/ruby/irb/commit/a4b95d6634
2021-12-25[ruby/reline] Version 0.3.0aycabta
https://github.com/ruby/reline/commit/3f6ea92268
2021-12-25Merge RubyGems-3.3.3 and Bundler-2.3.3Hiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/5342
2021-12-25[ruby/irb] Version 1.4.0aycabta
https://github.com/ruby/irb/commit/b80ec5821e
2021-12-25[ruby/irb] Update dependency, reline >= 0.3.0aycabta
https://github.com/ruby/irb/commit/f36ad549c4
2021-12-25[ruby/reline] Escape newline(s) in dynamic promptaycabta
https://github.com/ruby/reline/commit/9b209ee1ea
2021-12-25[ruby/reline] Escape newline(s) in promptaycabta
https://github.com/ruby/reline/commit/b545459fca
2021-12-25[ruby/reline] Remove unnecessary parameteraycabta
https://github.com/ruby/reline/commit/20fcd22564
2021-12-24Sync did_you_meanYuki Nishijima
2021-12-24Fix warning in `Lexer::Elem#[]`manga_osyo
Changed to use `#pos` `#event` `#tok` `#state` since using Lexer::Elem#[0~4] now gives a warning. see: https://github.com/ruby/ruby/commit/8944009be7418614ce7d4077807ac2b60d4d5d85 https://github.com/ruby/reline/commit/9adbb9af32
2021-12-24[ruby/reline] Revert "Change aliased methods to be parivete"aycabta
Ruby 2.5 doesn't support "private alias_method" idiom but Ruby on Rails 6.x still support 2.5. 😢 This reverts commit https://github.com/ruby/reline/commit/0f075f562b9b. https://github.com/ruby/reline/commit/4ecaa63b26
2021-12-24[ruby/reline] Change aliased methods to be pariveteaycabta
https://github.com/ruby/reline/commit/0f075f562b
2021-12-24[ruby/reline] Add doc about em-kill-line macroaycabta
https://github.com/ruby/reline/commit/2e46493aff
2021-12-24[ruby/reline] Implement em_kill_lineaycabta
https://github.com/ruby/reline/commit/9fca6ceb45
2021-12-24[ruby/reline] Rename the wrong name "em-kill-line" with the correct name ↵aycabta
"unix-line-discard" https://github.com/ruby/reline/commit/da7af35d1f
2021-12-24[ruby/reline] Add doc about ed-kill-line, kill-line, em-kill-line, and ↵aycabta
unix-line-discard https://github.com/ruby/reline/commit/586a48ffe0
2021-12-24[ruby/reline] Bind ed-kill-line to C-u on emacs modeaycabta
https://github.com/ruby/reline/commit/9ab99574f5
2021-12-24[ruby/reline] Support S-Tab to move up completion cursor in vi-mode on Unixaycabta
https://github.com/ruby/reline/commit/ff278cdc88
2021-12-24[ruby/readline] Bump version to 0.0.3Hiroshi SHIBATA
https://github.com/ruby/readline/commit/996af225ad