summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2025-01-28Ignore vendor folder for documentation just onceNobuyoshi Nakada
2025-01-28[rubygems/rubygems] Remove respond_to? check for Thread#name=Akshay Birajdar
Since bundler now requires 3.3.1, we no longer need to do respond_to? check before setting thread name. https://github.com/rubygems/rubygems/commit/bfc37fc7db
2025-01-28[rubygems/rubygems] Fix bug report template incorrectly showing upDavid Rodríguez
If a gem has an internal error, that should not make `bundle console` print the bug report template. https://github.com/rubygems/rubygems/commit/7432a9a084
2025-01-28[rubygems/rubygems] Remove unnecessary checkDavid Rodríguez
At this point, `dep.autorequire` is always nil. https://github.com/rubygems/rubygems/commit/0fb2b0a70a
2025-01-28[rubygems/rubygems] Remove unnecessary initializationDavid Rodríguez
This local variable is initialized later on in this file. https://github.com/rubygems/rubygems/commit/5c15dbd210
2025-01-28[rubygems/rubygems] Retry namespaced require using `retry`David Rodríguez
It's simpler. https://github.com/rubygems/rubygems/commit/76f1e3bf05
2025-01-28[rubygems/rubygems] Handle all `Bundle.require` exceptions at the same levelDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a5519f4f79
2025-01-28[rubygems/rubygems] Remove dead codeDavid Rodríguez
LoadError is not a RuntimeError. https://github.com/rubygems/rubygems/commit/4c67549722
2025-01-28[rubygems/rubygems] Remove unnecessary `@autorequire` initializationDavid Rodríguez
It's initialized again later on. https://github.com/rubygems/rubygems/commit/c3ddc81659
2025-01-28[rubygems/rubygems] Support installing arm native gems on WindowsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/96496e3f53 Co-authored-by: Johnny Shields <johnny.shields@gmail.com>
2025-01-28[rubygems/rubygems] Reuse platform constantsDavid Rodríguez
We need to move platform monkeypatching to happen earlier because otherwise `Bundler::GemHelpers` will use the constants before they have actually been defined. https://github.com/rubygems/rubygems/commit/086c3438dc
2025-01-28[rubygems/rubygems] Define `Bundler::SpecSet#to_s`David Rodríguez
For better debuggability. https://github.com/rubygems/rubygems/commit/21d252fa7a
2025-01-28[rubygems/rubygems] Remove unnecessary mappingDavid Rodríguez
I don't think any supported platform has these names, so the mapping should be unnecessary. https://github.com/rubygems/rubygems/commit/6b1bdfc8a8
2025-01-24Added force_activate feature againHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12624
2025-01-24irb and reline are now bundled gems, we don't need to skip workaround for themHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12624
2025-01-24Migrate irb and reline to the bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12624
2025-01-24[ruby/uri] [DOC] Make documentation 100%Nobuyoshi Nakada
https://github.com/ruby/uri/commit/fe7aa3dac2
2025-01-23[ruby/weakref] weakref.gemspec: Drop gemspec config on executablesOlle Jonsson
This gem does not expose any executables. https://github.com/ruby/weakref/commit/819471ce35
2025-01-22[ruby/irb] Bump version to 1.15.1tomoya ishida
(https://github.com/ruby/irb/pull/1070) https://github.com/ruby/irb/commit/df37b074e3 Notes: Merged: https://github.com/ruby/ruby/pull/12612
2025-01-22[ruby/irb] Fix pager preview with escape sequence and newlinestomoya ishida
(https://github.com/ruby/irb/pull/1069) https://github.com/ruby/irb/commit/a139562a07 Notes: Merged: https://github.com/ruby/ruby/pull/12612
2025-01-22[ruby/irb] Update documentation about the new copy commandStan Lo
(https://github.com/ruby/irb/pull/1067) https://github.com/ruby/irb/commit/6194111611 Notes: Merged: https://github.com/ruby/ruby/pull/12612
2025-01-22[ruby/irb] Show a quick preview of inspect result before pagertomoya ishida
launch (https://github.com/ruby/irb/pull/1040) * Quickly show inspect preview even if pretty_print takes too much time * Show a message "Inspecting..." while generating pretty_print content * Update inspecting message Co-authored-by: Stan Lo <stan001212@gmail.com> * Update rendering test for preparing inspect message * Don't show preview if pretty_print does not take time --------- https://github.com/ruby/irb/commit/03c36586e6 Co-authored-by: Stan Lo <stan001212@gmail.com> Notes: Merged: https://github.com/ruby/ruby/pull/12612
2025-01-22[ruby/irb] Add copy command (https://github.com/ruby/irb/pull/1044)Prajjwal Singh
Closes https://github.com/ruby/irb/pull/753 https://github.com/ruby/irb/commit/a24ac53d48 Notes: Merged: https://github.com/ruby/ruby/pull/12612
2025-01-21[ruby/irb] Bump version to v1.15.0Stan Lo
(https://github.com/ruby/irb/pull/1066) https://github.com/ruby/irb/commit/d3531d8fc0
2025-01-21[ruby/resolv] Check for Windows in JRuby-compatible wayCharles Oliver Nutter
https://github.com/ruby/resolv/commit/de95f557b0
2025-01-21[ruby/resolv] Use port number 0 for ephemeral port if saveNobuyoshi Nakada
On platforms where ephemeral port randomization is implemented, the same randomization is not needed in the ruby library layer. Fixes https://github.com/ruby/resolv/pull/63. https://github.com/ruby/resolv/commit/45e1b563c0
2025-01-21[ruby/error_highlight] Use `$stderr` instead of STDERR for Ractorwanabe
https://github.com/ruby/error_highlight/commit/a221a4b0eb
2025-01-20[ruby/prism] Fix parser translator scope issues for implicit hash valuesEarlopain
`builder.pair_label` is no good since it makes use of variables that the parser gem encountered. Since the prism translator doesn't keep proper track of that information, the following code interprets the implicit value as a local variable, even though it is not in scope: ```rb def foo bar = 123 end { bar: } ``` https://github.com/ruby/prism/commit/bbeb5b083a
2025-01-20[rubygems/rubygems] Fix broken link in `bundle issue` outputDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0909f07f30
2025-01-20[rubygems/rubygems] Fix `--prefer-local` not respecting default gemsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/3df86cd9c6
2025-01-20[rubygems/rubygems] Don't fallback to evaluating YAML gemspecs as Ruby codeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ca0a7ff8cd
2025-01-16[ruby/reline] Fix typo: marco -> macrokaiba
(https://github.com/ruby/reline/pull/806) https://github.com/ruby/reline/commit/2111172302
2025-01-16[rubygems/rubygems] Revert RubyGems plugins getting loaded on `Bundler.require`David Rodríguez
These changes were included when adding bundler plugin hooks for `Bundler.require`, but they seem completely unrelated to that feature, and have caused several issues. https://github.com/rubygems/rubygems/commit/8d56551dcf
2025-01-16[rubygems/rubygems] fix `@licenses` array unmarshallingMichael Rykov
https://github.com/rubygems/rubygems/commit/12f3e78c95
2025-01-15[ruby/irb] Colorize backref token bold green like global variablestomoya ishida
(https://github.com/ruby/irb/pull/1065) https://github.com/ruby/irb/commit/0b60a5be1d
2025-01-15Migrate rdoc as bundled gemsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12577
2025-01-15[ruby/erb] Make `@scanner_map` of `ERB::Compiler::Scanner` ractor-shareablewanabe
- Freeze on assignment - Recreate Hash on registration https://github.com/ruby/erb/commit/12d69fc2b3
2025-01-15[ruby/erb] Make `ERB::NOT_GIVEN` ractor-shareablewanabe
https://github.com/ruby/erb/commit/348777b5bf
2025-01-14Better handle regexp in the parser translatorEarlopain
Turns out, it was already almost correct. If you disregard \c and \M style escapes, only a single character is allowed to be escaped in a regex so most tests passed already. There was also a mistake where the wrong value was constructed for the ast, this is now fixed. One test fails because of this, but I'm fairly sure it is because of a parser bug. For `/\“/`, the backslash is supposed to be removed because it is a multibyte character. But tbh, I don't entirely understand all the rules. Fixes more than half of the remaining ast differences for rubocop tests
2025-01-14[ruby/prism] Support forwarding flags on scopesKevin Newton
When parent scopes around an eval are forwarding parameters (like *, **, &, or ...) we need to know that information when we are in the parser. As such, we need to support passing that information into the scopes option. In order to do this, unfortunately we need a bunch of changes. The scopes option was previously an array of array of strings. These corresponded to the names of the locals in the parent scopes. We still support this, but now additionally support passing in a Prism::Scope instance at each index in the array. This Prism::Scope class holds both the names of the locals as well as an array of forwarding parameter names (symbols corresponding to the forwarding parameters). There is convenience function on the Prism module that creates a Prism::Scope object using Prism.scope. In JavaScript, we now additionally support an object much the same as the Ruby side. In Java, we now have a ParsingOptions.Scope class that holds that information. In the dump APIs, these objects in all 3 languages will add an additional byte for the forwarding flags in the middle of the scopes serialization. All of this is in service of properly parsing the following code: ```ruby def foo(*) = eval("bar(*)") ``` https://github.com/ruby/prism/commit/21abb6b7c4
2025-01-14[ruby/prism] Fix block parameters and it for RubyParserJustin Collins
https://github.com/ruby/prism/commit/7a93a307ac
2025-01-14[ruby/prism] Refactor serializerKevin Newton
https://github.com/ruby/prism/commit/8ab2532f09
2025-01-14[ruby/prism] Freeze AST optionKevin Newton
To make it so that you can pass `freeze: true` to Prism parse methods and get back a deeply-frozen AST that is Ractor- shareable. https://github.com/ruby/prism/commit/8e6a93b2d2
2025-01-14[DOC] About `create_makefile`Nobuyoshi Nakada
Describe two features that were missing from the documentation: - yields configuration part if a block is given. - "depend" file will be included. Notes: Merged: https://github.com/ruby/ruby/pull/12571
2025-01-14Use ronn-ng again for documentation generationDavid Rodríguez
We switched to nronn because ronn-ng felt abandoned, but it seems it has activity again, so switch back. Notes: Merged: https://github.com/ruby/ruby/pull/12568
2025-01-14[rubygems/rubygems] Don't remove platform specific variants from the ↵David Rodríguez
lockfile unless necessary Even if they don't match the current Ruby version, they could still work in other rubies. So it's better to keep them. https://github.com/rubygems/rubygems/commit/9a3e583b0c Notes: Merged: https://github.com/ruby/ruby/pull/12568
2025-01-14[rubygems/rubygems] Tiny parameter renameDavid Rodríguez
Just for consistency, since all the other methods in this class that receive an array of dependencies use `deps`. https://github.com/rubygems/rubygems/commit/eca1341950 Notes: Merged: https://github.com/ruby/ruby/pull/12568
2025-01-14[rubygems/rubygems] Extract `SpecSet#version_for`David Rodríguez
https://github.com/rubygems/rubygems/commit/a76fd6d3bf Notes: Merged: https://github.com/ruby/ruby/pull/12568
2025-01-14[rubygems/rubygems] Serialize gemspec when caching git sourceJosh LeBlanc
https://github.com/rubygems/rubygems/commit/8727d44024 Notes: Merged: https://github.com/ruby/ruby/pull/12568
2025-01-14[rubygems/rubygems] Do not fail on start when cannot find writable user ↵Vasily Fedoseyev
directory on ruby 3.4 https://github.com/rubygems/rubygems/commit/027cdc750a Notes: Merged: https://github.com/ruby/ruby/pull/12568