summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2024-10-09[rubygems/rubygems] Fix a `gem install` crash during "done installing" hooksDavid Rodríguez
It would happen when the gem is already installed to multiple GEM_PATHS. RubyGems was removing duplicate specs without considering the potentially different `base_dir`. That was causing the gem to be misidentified as not already installed, and a nil specification getting returned from the installer as a result, causing the crash. Solve it by making sure `Gem::Specification.all` really iterates through all the different specifications in all GEM_PATHs. https://github.com/rubygems/rubygems/commit/0d8c208f65
2024-10-09[rubygems/rubygems] Allow `gem pristine` to reset default gems tooDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c9e665eb8a
2024-10-09[rubygems/rubygems] Fix `Gem::Specification#gem_dir` losing custom source ↵David Rodríguez
for some reason https://github.com/rubygems/rubygems/commit/f8f589b1b8
2024-10-09[rubygems/rubygems] Fix plugin command loadingDavid Rodríguez
The `LoadError` needs to be ignored because command may have been defined and registered from a rubygems_plugin.rb file. https://github.com/rubygems/rubygems/commit/31f13d449b
2024-10-09Fix spellingJohn Bampton
Notes: Merged: https://github.com/ruby/ruby/pull/11835
2024-10-08[ruby/irb] Change debug test workaround to use ENVtomoya ishida
RUBY_DEBUG_TEST_UI (https://github.com/ruby/irb/pull/1014) https://github.com/ruby/irb/commit/9933584754
2024-10-08Call Resolv::DNS::Config#lazy_initialize explicitly if that instance is not ↵Hiroshi SHIBATA
initialized Notes: Merged: https://github.com/ruby/ruby/pull/11828
2024-10-07[rubygems/rubygems] Fix `bundle.bat` re-executionDavid Rodríguez
It does not have ruby code, so we should not prepend `ruby` to the command the re-execute it. https://github.com/rubygems/rubygems/commit/e04e00f7bb
2024-10-07[ruby/rdoc] Use normal `font-weight` for linksSam Bostock
(https://github.com/ruby/rdoc/pull/1188) https://github.com/ruby/rdoc/commit/b53f0cb2ed
2024-10-07[ruby/reline] Add cursor keys for application keypad mode to defaulttomoya ishida
key bindings (https://github.com/ruby/reline/pull/719) * Add SS3 arrow sequence to default key bindings * Remove wrong KDE arrow sequence https://github.com/ruby/reline/commit/546a42522e
2024-10-06[ruby/reline] Allow utf-8 safe meta key mapping in inputrctomoya ishida
(https://github.com/ruby/reline/pull/723) Readline's convert-meta setting is utf-8 unsafe. Allow assigning `"\M-char": key` to bind "\echar": key even if convert-meta is not enabled. https://github.com/ruby/reline/commit/9844b99c6e
2024-10-06[ruby/irb] Change default completor from regexp to auto, trytomoya ishida
TypeCompletor and fallback to RegexpCompletor. (https://github.com/ruby/irb/pull/1010) https://github.com/ruby/irb/commit/bb6a99d815
2024-10-04[rubygems/rubygems] More rubygems 3.2.x removalsSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/272f3464a3
2024-10-04[rubygems/rubygems] Remove CorrectHashForLambdaOperator monkey patchSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/085bafd8d4
2024-10-04[rubygems/rubygems] Remove outdated conditionals from testsSamuel Giddins
Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/06eec6d855
2024-10-04[rubygems/rubygems] Update required_ruby_version to 3.1Samuel Giddins
3.0 has been EOL since march, drop support for it before the 3.4 release is cut Signed-off-by: Samuel Giddins <[email protected]> https://github.com/rubygems/rubygems/commit/fc1f03b06a
2024-10-03[ruby/prism] Use `partial_script` for the parser translatorsEarlopain
Followup to https://github.com/ruby/prism/pull/3079 https://github.com/ruby/prism/commit/68f434e356
2024-10-03[ruby/rdoc] Fix ToRdoc#accept_tabletomoya ishida
(https://github.com/ruby/rdoc/pull/1184) https://github.com/ruby/rdoc/commit/7b68545094
2024-10-03[ruby/reline] Rename `matches?` as `match?`Nobuyoshi Nakada
(https://github.com/ruby/reline/pull/753) https://github.com/ruby/reline/commit/9230fe162d
2024-10-03prettyprint hash with colon styletompng
Notes: Merged: https://github.com/ruby/ruby/pull/10924
2024-10-03each_address should now resolve for AAAA firstSadiq Saif
AAAA over A is standards track behaviour as per RFC 6724. Notes: Merged: https://github.com/ruby/ruby/pull/2024
2024-10-02[rubygems/rubygems] Remove compatibility code with old RubyGemsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f11e42a3c5
2024-10-02[ruby/reline] Fix incremental search cancel bugtomoya ishida
(https://github.com/ruby/reline/pull/748) https://github.com/ruby/reline/commit/bf0f8fa333
2024-10-02[ruby/reline] Add a timeout to cursor_postomoya ishida
(https://github.com/ruby/reline/pull/750) https://github.com/ruby/reline/commit/dd4a654e5d
2024-10-02[rubygems/rubygems] Fix error in one source when fetching dependency APIs ↵David Rodríguez
clearing results from all sources https://github.com/rubygems/rubygems/commit/0549ddbcc5
2024-10-02[rubygems/rubygems] Fix `bundler/inline` resetting ENVDavid Rodríguez
https://github.com/rubygems/rubygems/commit/72d8d4dbba
2024-10-02[rubygems/rubygems] The `BUNDLER_SETUP` env should also be cleaned upDavid Rodríguez
https://github.com/rubygems/rubygems/commit/47b7e50f64
2024-10-02[rubygems/rubygems] Make sure MissingSpecVersionError#to_s prints exception ↵David Rodríguez
message Gem command loading errors rely on `#to_s` on the raised exception, but in the case of `MissingSpecVersionError` that was only the exception name, making it printed twice and no message at all. Before: ``` ERROR: Loading command: install (Gem::MissingSpecVersionError) Gem::MissingSpecVersionError ``` After: ``` ERROR: Loading command: install (Gem::MissingSpecVersionError) Could not find 'io-wait' (>= 0.a) - did find: [io-wait-0.3.0-java] Checked in 'GEM_PATH=/Users/deivid/Code/rubygems/rubygems/bundler/tmp/1.1/gems/system' , execute `gem env` for more information ``` https://github.com/rubygems/rubygems/commit/d06944bb2f
2024-10-02[rubygems/rubygems] Simplify command loadingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/95f60f0e60
2024-10-02[ruby/singleton] Fixed double assignmentHiroshi SHIBATA
https://github.com/ruby/singleton/commit/9d3c77a868
2024-10-02[ruby/irb] Use correct binding in debug modetomoya ishida
(https://github.com/ruby/irb/pull/1007) In debug command, IRB's context was using wrong binding. Some code colorization, command detection failed because binding.local_variable returned wrong value. https://github.com/ruby/irb/commit/68f718de21
2024-10-01[ruby/reline] Fix Reline crash with invalid encoding historytomoya ishida
(https://github.com/ruby/reline/pull/751) https://github.com/ruby/reline/commit/e9d4b37e34
2024-10-01[ruby/singleton] Make compatible with Ruby 2.4rm155
https://github.com/ruby/singleton/commit/0a77bb492d
2024-10-01[ruby/singleton] Clean VERSION freezingrm155
https://github.com/ruby/singleton/commit/f31334a736
2024-10-01[ruby/singleton] Only use RactorLocalSingleton if Ractor is definedrm155
https://github.com/ruby/singleton/commit/f684d36a47
2024-10-01[ruby/singleton] Change PerRactorSingleton to RactorLocalSingletonrm155
https://github.com/ruby/singleton/commit/1216a86303
2024-10-01[ruby/singleton] Improve Ractor-compliance; Create PerRactorSingletonrm155
https://github.com/ruby/singleton/commit/ec4f66d9c1
2024-09-30[ruby/rdoc] Only let browser search through source code until it'sEarlopain
expanded (https://github.com/ruby/rdoc/pull/1181) Something that's been bothering me is that while the source code is not visible by default, the browser still jump to it when searching. Adding the `visible` property prevents this. Test it out yourself: * `bundle exec rdoc` * open `_site/index.html` * Search for `NameError` Before, you will get a match from `load_yaml` source code, after you only get the match when that methods source code is expanded. https://github.com/ruby/rdoc/commit/003126cc23
2024-09-30Don't warn the bundled gems that are migrated at Ruby 3.0.Hiroshi SHIBATA
We should stop warnings at some point. I decided to that period EOL-ed versions. ex. In 2024, Ruby 3.0 is EOL. we removed webrick, rexml, rss from warning targets.
2024-09-30[rubygems/rubygems] Fix error when changing a path source to a git source if ↵David Rodríguez
frozen mode https://github.com/rubygems/rubygems/commit/4c79ab9b2e
2024-09-30[rubygems/rubygems] Fix `stub.activated?` sometimes returning false after ↵Earlopain
activation under bundler Closes https://github.com/rubygems/rubygems/pull/8068 This issue only occurs if the underlying stub is a gem stub: https://github.com/Earlopain/rubygems/blob/f56098d8a193dcb94584d721e82b8cff397e5265/bundler/lib/bundler/stub_specification.rb#L109-L112 https://github.com/rubygems/rubygems/commit/9b0152b3d5
2024-09-30[rubygems/rubygems] Fix old cache format detection when application is not ↵David Rodríguez
source controlled https://github.com/rubygems/rubygems/commit/b2adcc0173
2024-09-30[rubygems/rubygems] `gem cleanup` no longer needs to reset pathsDavid Rodríguez
Since `Gem::Uninstaller` no longer changes paths either. https://github.com/rubygems/rubygems/commit/427059d45f
2024-09-30[rubygems/rubygems] Don't add duplicated specs to unresolved specsDavid Rodríguez
This could happen when a regular gem shadows a default gem. https://github.com/rubygems/rubygems/commit/9ef70dd1f7
2024-09-30[rubygems/rubygems] Don't list duplicated version in ↵David Rodríguez
`Gem::Specification.reset` warning https://github.com/rubygems/rubygems/commit/e6e3db821f
2024-09-30Fixed warning condition with LoadErrorHiroshi SHIBATA
2024-09-29Remove leading spaces from `LIBPATHFLAG` and `RPATHFLAG`Nobuyoshi Nakada
Join with a space in `MakeMakefile#libpathflag` instead. Notes: Merged: https://github.com/ruby/ruby/pull/11724
2024-09-28[rubygems/rubygems] Remove code that makes suggest_gems_from_name give worse ↵Ellen Marie Dash
results. https://github.com/rubygems/rubygems/commit/09ec67ffdf
2024-09-27[rubygems/rubygems] Warning about PATH in `--user-install` mode is only ↵David Rodríguez
necessary for gems with executables https://github.com/rubygems/rubygems/commit/2fe0f452a2
2024-09-27[ruby/rdoc] Add home page link to output messageStan Lo
(https://github.com/ruby/rdoc/pull/1165) The link is clickable in the terminal and opens the home page in the browser https://github.com/ruby/rdoc/commit/b7d580afab