summaryrefslogtreecommitdiff
path: root/lib/bundler
AgeCommit message (Collapse)Author
2025-01-31[rubygems/rubygems] Remove unnecessary error handlingDavid Rodríguez
These gems always define their main namespace and I don't think that will ever change. https://github.com/rubygems/rubygems/commit/6663cbed53
2025-01-31[rubygems/rubygems] Consolidate the platform into a single list:Edouard CHIN
- Similar change than https://github.com/rubygems/rubygems/commit/29a1be0008e6, keep a single source of truth where we store the platform. The only change worth highlighing is the platform "maglev". It was not part of the supported platform of dependencies, so calling `gem 'foo', plaftorm: 'maglev'` would not work. However, it was supposed to according to https://github.com/rubygems/rubygems/commit/45ec86e2e528. That's why it was possible to do `Bundler.current_ruby.maglev?` or `Bundler.current_ruby.maglev_30?`. I didn't change the current behaviour and maglev is not supported, though I kept the `*maglev` methods as I believe CurrentRuby is public API. https://github.com/rubygems/rubygems/commit/29e219ebcf
2025-01-31[rubygems/rubygems] Consolidated the Ruby version list:Edouard CHIN
- We keep 2 list of supported ruby versions and each time a new ruby version is released we need to maintain both list. Forgetting to update one would prevent users from adding gem for a specific plaftorm (i.e. https://github.com/rubygems/rubygems/commit/7cd19d824d17 and https://github.com/rubygems/rubygems/commit/5462322f8f0c). Extracted the list from the Dependency class and moved it to the CurrentRuby class (which I believe was originally added for that reason). https://github.com/rubygems/rubygems/commit/a91edd6c1f
2025-01-31[rubygems/rubygems] Add ruby_34 and ruby_35 as valid platform:Edouard CHIN
- Fix https://github.com/rubygems/rubygems/pull/8427 - Similar to https://github.com/rubygems/rubygems/commit/7cd19d824d17. Tweaked a bit the test supposed to prevent this error by checking whether the dep respond to these methods. https://github.com/rubygems/rubygems/commit/62012eaeb6
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 <[email protected]>
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-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-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-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
2024-12-27[rubygems/rubygems] Expand and comment the regexLuiz Eduardo Kowalski
https://github.com/rubygems/rubygems/commit/0dd0e93bde
2024-12-27[rubygems/rubygems] Add support for mise.toml fileLuiz Eduardo Kowalski
https://github.com/rubygems/rubygems/commit/809a2a17a7
2024-12-26[rubygems/rubygems] Fix `bundle outdated <GEM>` failing if gems not installedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/694d5f444e
2024-12-26Bump up RubyGems 3.7.0.dev and Bundler 2.7.0.devHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12469
2024-12-26[rubygems/rubygems] Try fix flaky failures on WindowsDavid Rodríguez
It seems same race condition, maybe some Ruby bug. Just hoping this tweak may skip it. https://github.com/rubygems/rubygems/commit/29eb642026 Notes: Merged: https://github.com/ruby/ruby/pull/12469
2024-12-25Support Ruby 3.5 for bundler platformsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12452
2024-12-24Merge RubyGems-3.6.2 and Bundler-2.6.2David Rodríguez
Notes: Merged: https://github.com/ruby/ruby/pull/12444
2024-12-18Bump Bundler version to 2.6.1David Rodríguez
2024-12-18Bump vendored securerandom to 0.4.1David Rodríguez
2024-12-17[rubygems/rubygems] Fix missing `Gem::Uri.redact` on some Ruby 3.1 versionsDavid Rodríguez
Our CI did not catch this because it was testing with Ruby 3.1 patch levels that include a RubyGems version that already has `Gem::Uri.redact`. We should make sure the system-rubygems workflow always tests against the oldest supportted Ruby/RubyGems combination. https://github.com/rubygems/rubygems/commit/3b695e3be1
2024-12-17Bump Bundler version to 2.6.0David Rodríguez
2024-12-16[rubygems/rubygems] Fix `bundle lock --add-checksums` when gems are already ↵David Rodríguez
installed https://github.com/rubygems/rubygems/commit/a087c452ad
2024-12-13[rubygems/rubygems] Fix restarting with locked version when $PROGRAM_NAME ↵Camden Narzt
has been changed Use Process.argv0 instead of $PROGRAM_NAME because $PROGRAM_NAME is liable to be changed but Process.argv0 is not. https://github.com/rubygems/rubygems/commit/43b747dc9e
2024-12-13Bump vendored uri to 1.0.2David Rodríguez
2024-12-13Bump vendored securerandom to 0.4.0David Rodríguez
2024-12-11[rubygems/rubygems] Normalize CLI flag documentation and make sure all flags ↵David Rodríguez
are documented https://github.com/rubygems/rubygems/commit/20a834818b
2024-12-11[rubygems/rubygems] Add documentation for changelog flags in `bundle gem`Adam Leach
The --changelog and --no-changelog flags are missing from docs, this adds them in a way that matches other flags https://github.com/rubygems/rubygems/commit/92f77678fe
2024-12-11[rubygems/rubygems] Add missing `--pre` flag to `bundle update --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/21335a7378
2024-12-11[rubygems/rubygems] Add missing `--outdated` flag to `bundle show --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/2864e54ce3
2024-12-11[rubygems/rubygems] Add missing flags documentation to `bundle outdated --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/ad3b654bf3
2024-12-11[rubygems/rubygems] Add several missing flags to `bundle lock --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/4070da1264
2024-12-11[rubygems/rubygems] Add missing flag documentation to `bundle inject --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/2a01773cdb
2024-12-11[rubygems/rubygems] Add missing `--version` flag to `bundle info --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/5022b49e31
2024-12-11[rubygems/rubygems] Add several missing flags to `bundle gem --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/aaf6398870