summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2021-10-11[ruby/irb] Add periods to docaycabta
https://github.com/ruby/irb/commit/6330601629
2021-10-11[rubygems/rubygems] Show a warning in `bundle info` if gem has been deletedDavid Rodriguez
https://github.com/rubygems/rubygems/commit/ff86cd7dd2
2021-10-11[rubygems/rubygems] Show the exact name of the gem that was deletedDavid Rodriguez
If a non exact name (matched as a regexp) is passed to `bundle info`, these strings might not match. https://github.com/rubygems/rubygems/commit/831edf1edf
2021-10-11[ruby/reline] Suppress warning, "instance variable @ambiguous_width not ↵aycabta
initialized" https://github.com/ruby/reline/commit/368f7e2f78
2021-10-11[ruby/irb] Set default return_formataycabta
https://github.com/ruby/irb/commit/7ee15bc668
2021-10-10[ruby/irb] Revert "Optimize show_source command further"Takashi Kokubun
This reverts commit 27dd2867cda5c789efaa5078214ad2fd82adcebf. This is to fix the test I added. (I separated commits to test a new behavior of ruby-commit-hook) https://github.com/ruby/irb/commit/fe055d521a
2021-10-11[ruby/ipaddr] Fix include? and ipv4_mapped to allow drb tests to passJeremy Evans
include? should return false if comparing an IPv4 address to an IPv6 address. ipv4_mapped needs to set the correct netmask on the mapped addresses. https://github.com/ruby/ipaddr/commit/da22ef8e6c
2021-10-11[ruby/ipaddr] Make IPAddr#include? consider range of argumentJeremy Evans
It would be nice to use Range#cover? here, but it doesn't work correctly before Ruby 2.6. Switch to manual checks of the beginning of end of the ranges. Fixes Ruby Bug 14119 https://github.com/ruby/ipaddr/commit/f45630da31
2021-10-11[ruby/rubygems] Prefer `require_relative` for internal requiresDavid Rodriguez
https://github.com/rubygems/rubygems/commit/51796f257a
2021-10-10[ruby/rubygems] We no longer need to check realpathsDavid Rodríguez
Since symlinks and absolute paths are already checked. https://github.com/rubygems/rubygems/commit/de19bc4c7e
2021-10-10[ruby/rubygems] Check safety of packaged symlinksDavid Rodríguez
If we explicitly disallow the creation of symlinks that point to files outside of the destination directory, we can avoid any other safety checks while creating directories, because we can be sure they will always fall under the destination directory as well. https://github.com/rubygems/rubygems/commit/555692b8de
2021-10-10[ruby/rubygems] Install location safety should consider casingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0a0ad34af3
2021-10-10[ruby/rubygems] Remove redundant `File.expand_path`David Rodríguez
`File.realpath` already expands paths. https://github.com/rubygems/rubygems/commit/25524ebbeb
2021-10-10[ruby/rubygems] Simplify `File.expand_path` usageDavid Rodríguez
https://github.com/rubygems/rubygems/commit/02e3cf44bf
2021-10-10[ruby/rubygems] Don't make duplicated checks on directory safetyDavid Rodríguez
This seems to speed up `gem install` on Windows by more than 50%. https://github.com/rubygems/rubygems/commit/1970b1296d
2021-10-10Needs time.rb for `Time#iso8601`Nobuyoshi Nakada
`Gem::Request.verify_certificate_message` used this method without "time" which defines it.
2021-10-09[ruby/irb] Version 1.3.8.pre.11aycabta
https://github.com/ruby/irb/commit/49b9f644c2
2021-10-09[ruby/irb] Update dependency, reline >= 0.2.8.pre.11aycabta
https://github.com/ruby/irb/commit/4f686afbca
2021-10-09[ruby/reline] Version 0.2.8.pre.11aycabta
https://github.com/ruby/reline/commit/de858ee1ac
2021-10-09[ruby/reline] Add RELINE_ALT_SCROLLBAR env to use alternative text for scrollbaraycabta
The setting to use '::' instead of block elements. https://github.com/ruby/reline/commit/4afbc98e2c
2021-10-09[ruby/reline] Fix calculating dialog width with full-width scrollbaraycabta
https://github.com/ruby/reline/commit/93bc9b5277
2021-10-09Newly generated gems require Ruby 2.6.0OKURA Masafumi
In 2021, Ruby 2.5 and older are EOL. We can set the default required Ruby version to 2.6.0 to encourage people to use newer Ruby. If the command is executed with old Ruby, it falls back to 2.3.0. It's still possible to create a gem for older Ruby just by changing two lines of code (one in gemspec and another is in rubocop.yml).
2021-10-09[rubygems/rubygems] Improve performance of Specification#missing_extensions?Masataka Pocke Kuwabara
https://github.com/rubygems/rubygems/commit/90c1919f94
2021-10-09[rubygems/rubygems] Add glob infomation to Bundler::Source::Git#to_sgabriele renzi
The glob information was not specified in the string representation for a source, which led to non-deterministic behaviour when generating the lockfile, since sources are sorted by this value. https://github.com/rubygems/rubygems/commit/493b880abc
2021-10-08[ruby/reline] Use alternate text for scrollbar in non-UTF-8 envaycabta
https://github.com/ruby/reline/commit/69e365edcc
2021-10-08[ruby/reline] Better fix for non-UTF-8 default external encodingJeremy Evans
Previous fix didn't show the cursor or dialogs. This allows the dialogs to continue to work. https://github.com/ruby/reline/commit/651c5f63cc
2021-10-08[ruby/reline] Only show dialogs if default external encoding is UTF-8Jeremy Evans
Fixes a crash in IRB if a dialog is displayed and the default external encoding is not UTF-8: /home/jeremy/tmp/reline/lib/reline/line_editor.rb:731:in `write': U+2588 from UTF-8 to US-ASCII (Encoding::UndefinedConversionError) https://github.com/ruby/reline/commit/f570525ecd
2021-10-08[ruby/irb] Determine left and right when the width of either side is zero ↵aycabta
correctly https://github.com/ruby/irb/commit/5df6e1f027
2021-10-08[ruby/irb] Calculate right side doc dialog width correctlyaycabta
https://github.com/ruby/irb/commit/f34da7fa04
2021-10-08[ruby/irb] Specify whether to show the doc dialog on the left or right side ↵aycabta
by using variable names https://github.com/ruby/irb/commit/a23a88b8c9
2021-10-08[ruby/irb] Display doc dialog in gaps on narrow screenaycabta
https://github.com/ruby/irb/commit/4d7cefcaa4
2021-10-08[ruby/reline] Cut off the excess on narrow screenaycabta
https://github.com/ruby/reline/commit/972cc993ca
2021-10-08[ruby/reline] Rename DIALOG_HEIGHT with DIALOG_DEFAULT_HEIGHTaycabta
https://github.com/ruby/reline/commit/996bfec64b
2021-10-07[ruby/irb] Update descriptions of methodsKaíque Kandy Koga
From Reidline to Reline Update description used in take_corresponding_syntax_to_kw_do and is_the_in_correspond_to_a_for methods Use possessive noun correctly Second element https://github.com/ruby/irb/commit/4fa9714d6f
2021-10-07[ruby/irb] Make IRB::Context#exit call super if UncaughtThrowErrorJeremy Evans
Fixes calling exit after binding.irb. Fixes [Bug #18234] https://github.com/ruby/irb/commit/4ea8d376f2
2021-10-07[ruby/ipaddr] Support zone identifiers in IPv6 addressesJeremy Evans
These are supported by Ruby's socket library if the operating system supports zone indentifiers, so they should be supported by ipaddr. See RFCs 4007 and 6874 for additional information. Implements Ruby Feature #10911 https://github.com/ruby/ipaddr/commit/09a6408fb2
2021-10-07[ruby/ipaddr] Add netmask method that returns net mask as string.Bogdan Irimie
https://github.com/ruby/ipaddr/commit/283d16f3a3
2021-10-07[ruby/ipaddr] Disallow leading zeros in maskJeremy Evans
https://github.com/ruby/ipaddr/commit/f49d2d49a4
2021-10-07[ruby/ipaddr] Raise if extra slashes followNobuyoshi Nakada
https://bugs.ruby-lang.org/issues/15832 https://github.com/ruby/ipaddr/commit/de9805d6fa
2021-10-07[ruby/ipaddr] Avoid reraising exceptionsJeremy Evans
Instead of raising a new exception with a modified message, just use the correct message to begin with. This avoids the issue with both exceptions being displayed at error exit. https://github.com/ruby/ipaddr/commit/09edfd4a7f
2021-10-07[ruby/ipaddr] Removing superfluos assingments & returnEspartaco Palma
Also adding test for ntop https://github.com/ruby/ipaddr/commit/0ba16cca10
2021-10-05[ruby/reline] The width of block elements is 1 on Windowsaycabta
https://github.com/ruby/reline/commit/5f4a75c7a0
2021-10-05[ruby/reline] Change struct size correctlyaycabta
https://github.com/ruby/reline/commit/df2a1b4e08
2021-10-05remove lib/debug.rbKoichi Sasada
Notes: Merged: https://github.com/ruby/ruby/pull/4804
2021-10-04[ruby/irb] Fix typo of variableaycabta
https://github.com/ruby/irb/commit/692eb9b9b5
2021-10-04[ruby/reline] Use default background color to erase on Windowsaycabta
https://github.com/ruby/reline/commit/852e855d82
2021-10-03[ruby/irb] Remove `require` in signal handler to avoid ThreadErrorMasataka Pocke Kuwabara
`rdoc` has been required so it looks unnecessary https://github.com/ruby/irb/commit/5f749c613c
2021-10-03[ruby/reline] Re-calc the scroll pos when the content in dialog is shortenedaycabta
https://github.com/ruby/reline/commit/12ea63e6e0
2021-10-03[ruby/irb] Version 1.3.8.pre.10aycabta
https://github.com/ruby/irb/commit/15bcbbb284
2021-10-03[ruby/irb] Update dependency, reline >= 0.2.8.pre.10aycabta
https://github.com/ruby/irb/commit/800e83eabd