summaryrefslogtreecommitdiff
path: root/lib/bundler
AgeCommit message (Collapse)Author
2024-10-18[rubygems/rubygems] Add `bundle add --quiet` optionJerome Dalbert
This option is similar to the `bundle install --quiet` option https://github.com/rubygems/rubygems/commit/3bd773d827
2024-10-18[rubygems/rubygems] Clarify `bundle install --quiet` documentationJerome Dalbert
Bundler always exits with a status code. https://github.com/rubygems/rubygems/commit/3a38bd0b12
2024-10-17[rubygems/rubygems] Allow using `gemspec` DSL twice with same dependency and ↵David Rodríguez
compatible requirements https://github.com/rubygems/rubygems/commit/a8d14c1fc2
2024-10-16[rubygems/rubygems] Fix `bundle check` sometimes locking gems under the ↵David Rodríguez
wrong source https://github.com/rubygems/rubygems/commit/1e5780db0a Co-authored-by: Taylor Thurlow <thurlow@hey.com>
2024-10-16[rubygems/rubygems] Delay and refactor verification of changed sourcesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/d5dce93167
2024-10-16[rubygems/rubygems] No reason for `Definition#sources` to be privateDavid Rodríguez
https://github.com/rubygems/rubygems/commit/432fe083a6
2024-10-16[rubygems/rubygems] Lock definition directlyDavid Rodríguez
https://github.com/rubygems/rubygems/commit/55eb6630a8
2024-10-14[rubygems/rubygems] Prevent some test suite warnings about missing extensionsDavid Rodríguez
We fixed some issues recently where Bundler would try to activate a pysch spec with missing extensions and crash. However, as a side effect, we started printing warnings about missing extensions in situations where we did not warn before. It may be interesting to warn on these new situations too, but in order to minimize changes for now, I'm reverting to printing warnings in the same situations as before. https://github.com/rubygems/rubygems/commit/51ebff6982
2024-10-11[rubygems/rubygems] Fix `gem install` on NFS sharesDavid Rodríguez
NFS shares seem to support flock these days, but they need read-write permissions. https://github.com/rubygems/rubygems/commit/1c492804cd
2024-10-10[rubygems/rubygems] Revert "Fix `bundle.bat` re-execution"David Rodríguez
This reverts commit https://github.com/rubygems/rubygems/commit/e04e00f7bb5b. https://github.com/rubygems/rubygems/commit/554ece1587
2024-10-10[rubygems/rubygems] Fix specs with missing extensions getting activatedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/c80998a22a
2024-10-10[rubygems/rubygems] Remove more compatibility code with old RubyGemsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/74e8eff779
2024-10-10Update vendored net-httpSamuel Giddins
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> Notes: Merged: https://github.com/ruby/ruby/pull/11860
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-09Fix spellingJohn Bampton
Notes: Merged: https://github.com/ruby/ruby/pull/11835
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-04[rubygems/rubygems] More rubygems 3.2.x removalsSamuel Giddins
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/272f3464a3
2024-10-04[rubygems/rubygems] Remove CorrectHashForLambdaOperator monkey patchSamuel Giddins
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/085bafd8d4
2024-10-04[rubygems/rubygems] Remove outdated conditionals from testsSamuel Giddins
Signed-off-by: Samuel Giddins <segiddins@segiddins.me> 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 <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/fc1f03b06a
2024-10-02[rubygems/rubygems] Remove compatibility code with old RubyGemsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/f11e42a3c5
2024-10-02[rubygems/rubygems] Fix `bundler/inline` resetting ENVDavid Rodríguez
https://github.com/rubygems/rubygems/commit/72d8d4dbba
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-24[rubygems/rubygems] Fix `bundler/inline` overwriting lockfilesDavid Rodríguez
This was introduced by https://github.com/rubygems/rubygems/commit/0b7be7bb7705, because the original patch was not adapted to some recent refactorings. https://github.com/rubygems/rubygems/commit/0bca60d6e5 Co-authored-by: Hiroshi SHIBATA <hsbt@ruby-lang.org>
2024-09-23[rubygems/rubygems] Don't try to auto-install dev versions of Bundler not ↵David Rodríguez
available remotely https://github.com/rubygems/rubygems/commit/1a7a3fdeb9
2024-09-23[rubygems/rubygems] Ensure refs directory in cached git sourceDaniel Colson
See https://github.com/rubygems/rubygems/issues/8046 for details Prior to this commit a cached git source without a specific ref wouldn't survive pushing to a remote and then pulling on a different machine. We'd end up without a refs directory in the cache, at which point git won't recognize it as a repo. This commit fixes the problem by adding a refs directory if it's not already there. This needs to be done as early as possible, so any git commands will work as expected, so this commit adds it before creating the app cached git proxy. https://github.com/rubygems/rubygems/commit/8c89f0b065
2024-09-23[rubygems/rubygems] Fix `bundle outdated` with `--group` optionDavid Rodríguez
It was printing incorrect output and returning incorrect status. https://github.com/rubygems/rubygems/commit/96f5979c7d
2024-09-20[rubygems/rubygems] Unconditionally set installed_by_versionSamuel Giddins
It has been supported since RubyGems 2.2.0 via https://github.com/rubygems/rubygems/commit/4525e45a4d45 Signed-off-by: Samuel Giddins <segiddins@segiddins.me> https://github.com/rubygems/rubygems/commit/bf39c583e8
2024-09-20[rubygems/rubygems] Don't try to install locked bundler when `--local` is passedDavid Rodríguez
https://github.com/rubygems/rubygems/commit/907d46964d
2024-09-18[rubygems/rubygems] Stop fighting with ourselvesDavid Rodríguez
https://github.com/rubygems/rubygems/commit/7cf2fdcfa1
2024-09-17[rubygems/rubygems] Fix spelling, it's "cannot" rather than "can not"David Rodríguez
https://github.com/rubygems/rubygems/commit/3434f094a2
2024-09-17[rubygems/rubygems] Fix `--local` hitting the network when default gems are ↵David Rodríguez
included https://github.com/rubygems/rubygems/commit/b9a2d4d539
2024-09-17[rubygems/rubygems] Inline a private methodDavid Rodríguez
Removes an (in my opinion) excessive indirection and handles options more consistently. https://github.com/rubygems/rubygems/commit/642e6d2c0c
2024-09-17[rubygems/rubygems] Consistently access install options through symbol keysDavid Rodríguez
https://github.com/rubygems/rubygems/commit/7ddf1dc70a
2024-09-16[rubygems/rubygems] Simplify handling default gem cachingDavid Rodríguez
By the time `cached_gem` is called, default gem cache has already been handled. So no need to try redownload it again, it's enough to check the cache location directly. https://github.com/rubygems/rubygems/commit/70e10236b6
2024-09-16[rubygems/rubygems] Remove temporary `.lock` files left around by gem installerDavid Rodríguez
https://github.com/rubygems/rubygems/commit/edbb2e3475
2024-09-16[rubygems/rubygems] Make sure implementations of `Gem.open_file_with_flock` ↵David Rodríguez
match https://github.com/rubygems/rubygems/commit/174a8e5284
2024-09-11[rubygems/rubygems] Small simplification in Definition classDavid Rodríguez
https://github.com/rubygems/rubygems/commit/03ddfd7610 Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
2024-09-11[rubygems/rubygems] Fix `bundle exec rake install` failing when local gem ↵David Rodríguez
has extensions and `gemspec` DSL is being used In a `bundle exec` context, the local specification will actually be part of the known specifications, so RubyGems will assume it has already been installed, which is not actually true. This will cause `RequestSet` to rebuild extensions for a gem that's not actually installed, causing errors. The fix is to make sure detection of installed activation requests considers not only that there's a known spec with the same full name as the one being installed, but also that this spec is installed in the same gem_home were pretend to install the new gem. https://github.com/rubygems/rubygems/commit/a8ef1286a6
2024-09-11[rubygems/rubygems] Only raise DSLError during Gemfile parsing when it's ↵David Rodríguez
actually useful DSLError prints the specific line in a Gemfile where the error was raised. That's helpful when the error was explicitly raised by the Gemfile DSL or, in the case it's implicitly raised, when the offending code lives right in the Gemfile. If it's an internal error, or something buried dowm in user code called from the Gemfile, `DSLError` is not helpful since it hides the actual culprit. This commit tries to only raise `DSLError` in the cases mentioned above and otherwise let the original error be raised. https://github.com/rubygems/rubygems/commit/b30ff5a682
2024-09-11[rubygems/rubygems] Don't rescue Exception when evaluating GemfileDavid Rodríguez
Things like OOM, or StackOverflow should be raised immediately. https://github.com/rubygems/rubygems/commit/11691ce492
2024-09-11[rubygems/rubygems] Refactor setting current gemfile in DSLDavid Rodríguez
https://github.com/rubygems/rubygems/commit/b4ecb66224
2024-09-11[rubygems/rubygems] The `dsl_path` parameter in DSLError is documented as a ↵David Rodríguez
string https://github.com/rubygems/rubygems/commit/ab44fa9ee4
2024-09-11[rubygems/rubygems] Make an exe file executable when generating new gemsYuji Yaginuma
Currently, an exe file isn't executable when generating new gems because it doesn't have the correct permission. This PR sets the correct permission same as files under the `bin`. https://github.com/rubygems/rubygems/commit/6509bf128a
2024-09-10[rubygems/rubygems] Removed duplicated dependencies that used by bundler inlineHiroshi SHIBATA
https://github.com/rubygems/rubygems/commit/d46b6a49af
2024-09-10[rubygems/rubygems] Retry resolution with activated gems if inline has conflictsDavid Rodríguez
https://github.com/rubygems/rubygems/commit/8d94c14ca0 Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
2024-09-10[rubygems/rubygems] Remove unnecessary verificationDavid Rodríguez
`DSL#to_definition` already verifies this. https://github.com/rubygems/rubygems/commit/c596f0af83
2024-09-10[rubygems/rubygems] Avoid having to redefine `Definition#lock` in inline modeDavid Rodríguez
https://github.com/rubygems/rubygems/commit/0b7be7bb77 Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>