summaryrefslogtreecommitdiff
path: root/lib/bundler
AgeCommit message (Collapse)Author
2024-12-11[rubygems/rubygems] Add missing `--gemfile` flag to exec, lock, and update ↵David Rodríguez
command's help https://github.com/rubygems/rubygems/commit/418dfbf373
2024-12-11[rubygems/rubygems] Normalize whitespace in option lists in man pagesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/33ff4f8f2f
2024-12-11[rubygems/rubygems] Add missing flag documentation to `bundle cache --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/b760a882a1
2024-12-11[rubygems/rubygems] Add missing `--all-platforms` flag to `bundle binstubs ↵David Rodríguez
--help` https://github.com/rubygems/rubygems/commit/440b7b8282
2024-12-11[rubygems/rubygems] Add missing `--glob` flag to `bundle add --help`David Rodríguez
https://github.com/rubygems/rubygems/commit/1e4dc0a703
2024-12-11[rubygems/rubygems] Add missing `--target-rbconfig` flag to `bundle install ↵David Rodríguez
--help` https://github.com/rubygems/rubygems/commit/54dbcdc656
2024-12-11[rubygems/rubygems] Clarify `--target-rbconfig` option bannerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6625998ca6
2024-12-11[rubygems/rubygems] Add missing banners to `bundle exec` CLI flagsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c6f62b2eed
2024-12-11[rubygems/rubygems] Style CLI options consistentlyDavid Rodríguez
In one liners, no whitespace for alignment. https://github.com/rubygems/rubygems/commit/413339a9ca
2024-12-11[rubygems/rubygems] Add missing man pages for `bundle env` and `bundle ↵David Rodríguez
licenses` commands https://github.com/rubygems/rubygems/commit/6e1a515d58
2024-12-11[rubygems/rubygems] Bring man pages up to dateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8288cfd3e0
2024-12-11[rubygems/rubygems] Align all header lines with titles for consistencyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/83fd1c6718
2024-12-04[rubygems/rubygems] add relative path support for `bundle exec`sodacris
https://github.com/rubygems/rubygems/commit/c982085f86
2024-11-29[rubygems/rubygems] Backwards compatibility for 2.5.17-2.5.23 cachesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/9dbfce76cf
2024-11-29[rubygems/rubygems] Restore previous application cache format for git sourcesDavid Rodríguez
And make sure `bundle install --local` can install from it without git. https://github.com/rubygems/rubygems/commit/7d6b631620
2024-11-29[rubygems/rubygems] Check feature flag earlierDavid Rodríguez
https://github.com/rubygems/rubygems/commit/33536aa61c
2024-11-29[rubygems/rubygems] Remove unnecessary early returnDavid Rodríguez
These are never equal. https://github.com/rubygems/rubygems/commit/69e369da74
2024-11-29[rubygems/rubygems] Improve naming in git sourcesDavid Rodríguez
The "revision" attribute is actually getting the revision from the Gemfile.lock file. So I think "locked" is a better term here to avoid confusion with the revision checked out in `vendor/cache`. https://github.com/rubygems/rubygems/commit/ca5bdebe1f
2024-11-28[rubygems/rubygems] Test with Ruby 3.4David Rodríguez
https://github.com/rubygems/rubygems/commit/23d06195fa
2024-11-26[rubygems/rubygems] Remove no longer necessary codeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/9ea1539b08
2024-11-26[rubygems/rubygems] Avoid needing a second pass to ignore unlocked gemsDavid Rodríguez
When converging locked specifications to select the ones that should be preserved while resolving, we can avoid having to do a second pass to ignore the ones that have been explicitly unlocked. https://github.com/rubygems/rubygems/commit/411742703e
2024-11-26[rubygems/rubygems] Allow some materialized specs to be missingDavid Rodríguez
As long as some spec in the materialization is complete. https://github.com/rubygems/rubygems/commit/9a673b0bbb
2024-11-26[rubygems/rubygems] Deprecate `check` parameter to `Bundler::SpecSet#for`David Rodríguez
https://github.com/rubygems/rubygems/commit/3041b3d784
2024-11-26[rubygems/rubygems] Keep track of materializations in the original resolveDavid Rodríguez
This gives more flexibility to allow further improvements. https://github.com/rubygems/rubygems/commit/f11a890f5e
2024-11-26[rubygems/rubygems] Create LazySpecifications directly with ↵David Rodríguez
most_specific_locked_platform So there's no need to pass it around in so many places. https://github.com/rubygems/rubygems/commit/784ab7481b
2024-11-26[rubygems/rubygems] Enable `Performance/MapCompact` copDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0c3a65871a
2024-11-26[rubygems/rubygems] More aggressive `Performance/FlatMap` cop configurationDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d8d68cc00e
2024-11-26[rubygems/rubygems] Fix installs of subdependencies of unlocked dependencies ↵David Rodríguez
to be conservative When converging specification to pass the set of versions that should be preserved from the lockfile during resolution, we should make sure all top level gems are considered, and only exclude those gems themselves (and not their dependencies) if their locked versions happen to not be satisfied by an edited Gemfile. https://github.com/rubygems/rubygems/commit/ed2f1b7b88
2024-11-26[rubygems/rubygems] Filter out gems to unlock inside `converge_specs`David Rodríguez
https://github.com/rubygems/rubygems/commit/d0f789970f
2024-11-26[rubygems/rubygems] Fix development dependencies considered unnecessarily ↵David Rodríguez
sometimes When used with `LazySpecification` objects, `SpecSet#for` was incorrectly considering development dependencies. This did not cause any issues because all usages of this method with `LazySpecification`'s are not strict, meaning the pass `check = false` and ignore incomplete specifications. But it was still doing more work than necessary because development dependencies were still added to the `deps` array for processing and then ignored because of not being found in the spec set. Same when converging path specifications and replacing their dependencies. https://github.com/rubygems/rubygems/commit/6afca8a95f
2024-11-26[rubygems/rubygems] Simplify moreDavid Rodríguez
https://github.com/rubygems/rubygems/commit/a2bb68a29b
2024-11-26[rubygems/rubygems] Don't bother sorting if there's a single elementDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6dc64f9851
2024-11-26[rubygems/rubygems] Remove no longer necessary codeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/e1caeecdf8
2024-11-26[rubygems/rubygems] Use `platform` local variableDavid Rodríguez
https://github.com/rubygems/rubygems/commit/6a6041d073
2024-11-26[rubygems/rubygems] This is about locked_platformsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/df2c9eb52f
2024-11-26[rubygems/rubygems] Set instance variables in consistent orderDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c382b606bd
2024-11-25[rubygems/rubygems] Fix `bundle lock --add-checksums`David Rodríguez
Due to a typo in the spec, the issue was not caught initially. If Bundler does not need to re-resolve, `bundle lock` is a noop so Bundler does not add checksums. To fix the issue, we do something similar to what `bundle install` does, just without actually installation. First set the domain (local or remote) according to whether a re-resolve is necessary, and then materialize lazy specifications into real specifications, so that checksums are actually fetched from each source. https://github.com/rubygems/rubygems/commit/84b6f4ee96
2024-11-25[rubygems/rubygems] Make installer code more clearDavid Rodríguez
I always found the `resolve_if_necessary` method pretty confusing because by reading it, it suggests that resolution always happens, and the point is whether that needs to be local or remote. This commit tries to make that more clear. https://github.com/rubygems/rubygems/commit/93d6861ee8
2024-11-25[rubygems/rubygems] Most of the times, eagerly resolving is not necessaryDavid Rodríguez
All we need is to setup remote or local sources appropriately. https://github.com/rubygems/rubygems/commit/3ceff46a2a
2024-11-25[rubygems/rubygems] Fix test task name on generated readme when using test-unitgemmaro
* bundler/lib/bundler/templates/newgem/README.md.tt (Development): Use the test_task value to get the correct test task name ("test", not "test-unit"). * bundler/spec/commands/newgem_spec.rb (README.md): Add tests for test task names for each test frameworks. https://github.com/rubygems/rubygems/commit/2a24708a63
2024-11-25[rubygems/rubygems] Fix gemfury credentials getting written to logs in ↵David Rodríguez
verbose mode https://github.com/rubygems/rubygems/commit/585a6a89d4
2024-11-21[rubygems/rubygems] Fix `bundle remove` sometimes not removing gemsJerome Dalbert
https://github.com/rubygems/rubygems/commit/e7f5f067e8
2024-11-21[rubygems/rubygems] Fix locking of incorrect version of git gem in an edge caseDavid Rodríguez
In particular, when a gem registry transitive dependency is changed to a git source direct dependency. https://github.com/rubygems/rubygems/commit/bcdc7660d9
2024-11-21[rubygems/rubygems] RefactorDavid Rodríguez
https://github.com/rubygems/rubygems/commit/9964c16bb9
2024-11-21[rubygems/rubygems] Extract a `source` localDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c5a9449069
2024-11-21[rubygems/rubygems] Reuse `name` localDavid Rodríguez
https://github.com/rubygems/rubygems/commit/508fb45b76
2024-11-21[rubygems/rubygems] Remove no longer necessary codeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/2a36af0f38
2024-11-21[rubygems/rubygems] Remove override of worker jobs for `bundle install --local`Lars Kanis
There seems to be no reason why the install should be serial for --local. The packages are still installed in the right dependency order in this case, so that parallel install can be used. This patch disables parallel install only in case of no_install_needed. Also remove the `option` argument, which is effectifely not used. https://github.com/rubygems/rubygems/commit/5da934ddb6
2024-11-20[rubygems/rubygems] Add man page for 'bundle issue' commandAndrew Nesbitt
https://github.com/rubygems/rubygems/commit/3f39571181
2024-11-19[rubygems/rubygems] Define a few `inspect` methods to help debuggingDavid Rodríguez
https://github.com/rubygems/rubygems/commit/ad26ccde38