aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Use modern hashes consistentlyDavid Rodríguez2023-12-071-6/+6
| | | | https://github.com/rubygems/rubygems/commit/bb66253f2c
* [rubygems/rubygems] Duplicate Gem::CIDetector into bundlerEric Mueller2023-12-061-0/+1
| | | | | | | | | | | Because bundler needs to support older versions of rubygems, we can't actually rely on Gem::CIDetector (yet - in a year or so they might be able to consolidate, if they don't change futher). So we're copying it into the Bundler:: namespace, and enforcing that they stay completely in sync with a test. No other tests are needed, since Gem::CIDetector is already tested, and this is and will remain identical. https://github.com/rubygems/rubygems/commit/abc67f0da1
* [rubygems/rubygems] Many major_deprecations supply :removed_messageEric Mueller2023-12-011-24/+24
| | | | | | | | | | Generally the removed message is very similar, but often it needs to specify that the feature has "been removed" instead of "will be removed", or "been deprecated". And a few chunks of text needed more substantial updates. And a number of them seemed to have been carefully crafted to make sense in either context, so I left those alone. https://github.com/rubygems/rubygems/commit/8d42cf9104
* [rubygems/rubygems] Better error when having an insecure install folderDavid Rodríguez2023-11-081-8/+0
| | | | https://github.com/rubygems/rubygems/commit/e41156e272
* [rubygems/rubygems] Add CHECKSUMS for each gem in lockfileThong Kuah2023-10-231-0/+1
| | | | | | | | | | | | | We lock the checksum for each resolved spec under a new CHECKSUMS section in the lockfile. If the locked spec does not resolve for the local platform, we preserve the locked checksum, similar to how we preserve specs. Checksum locking only makes sense on install. The compact index information is only available then. https://github.com/rubygems/rubygems/commit/bde37ca6bf
* [rubygems/rubygems] Bundler error handlingSamuel Giddins2023-09-201-1/+5
| | | | https://github.com/rubygems/rubygems/commit/63b422b71a
* [rubygems/rubygems] Use safe_load in bundler when availableSamuel Giddins2023-09-201-1/+6
| | | | https://github.com/rubygems/rubygems/commit/34d096e38a
* Merge RubyGems/Bundler master from 4076391fce5847689bf2ec402b17133fe4e32285Hiroshi SHIBATA2023-05-301-3/+4
|
* Merge https://github.com/rubygems/rubygems/pull/6655 manually.Hiroshi SHIBATA2023-05-101-11/+2
|
* Revert "Refactor incomplete specs handling"David Rodríguez2023-04-061-1/+0
| | | | This reverts commit 69580f8b72f41c58cae57d1ada4db909922b3891.
* [rubygems/rubygems] Onboard Rubocop Naming/MemoizedInstanceVariableName rule ↵Josef Šimánek2023-03-281-2/+2
| | | | | | to Bundler. https://github.com/rubygems/rubygems/commit/d768be0c65
* Refactor incomplete specs handlingDavid Rodríguez2023-03-231-0/+1
| | | | | | | | Recent bugs fixed made me realize we were relying on state too much here. We only need to keep incomplete specs to be able to expire them and retry resolution without them locked. If we use a separate class, we can do that more transparently and handle them just like we handle "missing specs".
* Normalize git sourcesDavid Rodríguez2023-03-171-0/+1
| | | | | Just like gem sources, a "style-only" change, like adding a trailing slash, should not expire them.
* [rubygems/rubygems] make Bundler.load_marshal privateMercedes Bernard2023-02-231-6/+6
| | | | https://github.com/rubygems/rubygems/commit/4909d071d2
* [rubygems/rubygems] safe marshal gem specs when inflatingMercedes Bernard2023-02-231-1/+1
| | | | https://github.com/rubygems/rubygems/commit/5c5d0c5350
* [rubygems/rubygems] safe marshal gem versions when fetching Marshal.specs.4.8.gzMercedes Bernard2023-02-231-1/+1
| | | | https://github.com/rubygems/rubygems/commit/23880353c1
* Merge RubyGems and Bundler masterHiroshi SHIBATA2023-01-101-2/+2
| | | | from https://github.com/rubygems/rubygems/commit/0635c1423db5d7c461d53bf0c3329bca75de7609
* Merge RubyGems/Bundler masterHiroshi SHIBATA2022-12-261-1/+1
| | | | from https://github.com/rubygems/rubygems/commit/72fd3dd2096af16d797ad0cd8e0d2a8869e240b3
* Merge RubyGems-3.4.0 and Bundler-2.4.0Hiroshi SHIBATA2022-12-241-1/+1
|
* [rubygems/rubygems] Use safe Marshal deserialization for dependency API ↵Josef Šimánek2022-12-201-2/+16
| | | | | | response. - adds Bundler#safe_load_marshal and Bundler::SAFE_MARSHAL_CLASSES listing safe classes to deserialize https://github.com/rubygems/rubygems/commit/e947c608cc
* [rubygems/rubygems] Prefer RbConfig::CONFIG['EXEEXT'] over hardcorded '.exe'Nobuyoshi Nakada2022-12-121-1/+1
| | | | https://github.com/rubygems/rubygems/commit/bc84b2d262
* Migrate our resolver engine to PubGrubHiroshi SHIBATA2022-11-121-1/+0
| | | | | | https://github.com/rubygems/rubygems/pull/5960 Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
* Merge RubyGems/Bundler masterHiroshi SHIBATA2022-10-181-1/+0
| | | | https://github.com/rubygems/rubygems/commit/6214d00b2315ed37c76b1fbc1c72f61f92ba5a65
* Merge ↵Hiroshi SHIBATA2022-09-051-59/+2
| | | | https://github.com/rubygems/rubygems/commit/16c3535413afebcdbab7582c6017c27b5da8a8dc
* [rubygems/rubygems] Bundler: update the link suggested on error with the new oneTakuya Noguchi2022-08-231-2/+2
| | | | | | | | Also typo is fixed. Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com> https://github.com/rubygems/rubygems/commit/9c1ea52ddf
* Merge rubygems/bundler HEADHiroshi SHIBATA2022-08-231-1/+1
| | | | Pick from https://github.com/rubygems/rubygems/commit/6b3a5a9ab0453463381a8164efb6298ea9eb776f
* [rubygems/rubygems] Centralize loading `Bundler::MatchPlatform` mixinDavid Rodríguez2022-08-231-1/+0
| | | | | | | | It's explicitly loaded when monkeypatching RubyGems, which we do very early. So neither autoloading it, nor explicitly loading it anywhere else is necessary. https://github.com/rubygems/rubygems/commit/fbc7a57161
* Merge rubygems/bundler HEADHiroshi SHIBATA2022-07-261-1/+2
| | | | Merge from https://github.com/rubygems/rubygems/commit/2af2520b4a7ab1c6eb1fdc3d2ef4d8c062d96ad7
* Merge RubyGems and Bundler masterHiroshi SHIBATA2022-07-131-1/+1
|
* [rubygems/rubygems] Fix crash when installing gems with symlinksDavid Rodríguez2022-05-301-0/+11
| | | | | | | | | | | | | | | If BUNDLE_PATH is configured to a symlinked path, installing gems with symlinks would crash with an error like this: ``` Gem::Package::SymlinkError: installing symlink 'man/man0/README.markdown' pointing to parent path /usr/home/stevewi/srv/mail/lib/tools/.vendor/ruby/3.1.0/gems/binman-5.1.0/README.markdown of /srv/mail/lib/tools/.vendor/ruby/3.1.0/gems/binman-5.1.0 is not allowed ``` This commit fixes the problem by changing the bundle path to be the realpath of the configured value, right after we're sure the path has been created. https://github.com/rubygems/rubygems/commit/3cd3dd142a
* [rubygems/rubygems] Fix typo in documentationDominik Bauernfeind2022-05-061-1/+1
| | | | https://github.com/rubygems/rubygems/commit/800a973e00
* Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5Hiroshi SHIBATA2022-04-281-1/+1
|
* [rubygems/rubygems] Make `rescue` clause more specificDavid Rodríguez2022-03-231-1/+1
| | | | | | | | | | | | This is hiding a real bundler issue as a "network error". It's more helpful to get a proper bug report, with stack trace and so on. So stop re-raising errors when evaluating unmarshaled responses as network errors, and only raise Marshal errors when the Marshal format is invalid, not whenever marshalled gemspecs can't be loaded because that may hide actual client errors, like missing `YAML` constants. https://github.com/rubygems/rubygems/commit/05ea907e1c
* Merge RubyGems and Bundler masterHiroshi SHIBATA2022-02-281-1/+1
|
* Merge RubyGems-3.3.0 and Bundler-2.3.0Hiroshi SHIBATA2021-12-211-0/+8
|
* [rubygems/rubygems] Vendor a pure ruby implementation of SHA1Jean Boussier2021-10-251-0/+1
| | | | | | | This allows `Source::Git` to no longer load the `digest` gem as it is causing issues on Ruby 3.1. https://github.com/rubygems/rubygems/pull/4989/commits/c19a9f2ff7
* [rubygems/rubygems] Remove `syck` traces from `bundler`David Rodríguez2021-08-311-3/+1
| | | | | | Same reason as in the previous commit. https://github.com/rubygems/rubygems/commit/f00a6c8516
* [rubygems/rubygems] Fix `bundle plugin install` misdetection of installed ↵David Rodríguez2021-08-311-8/+8
| | | | | | versions https://github.com/rubygems/rubygems/commit/9c88db949d
* [rubygems/rubygems] Move `Bundler.rubygems.clear_paths` to a better placeDavid Rodríguez2021-08-311-1/+1
| | | | | | Since it clears both home and path. https://github.com/rubygems/rubygems/commit/fadf5e03ea
* [rubygems/rubygems] Bundle path is already expandedDavid Rodríguez2021-08-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/a296052670
* [rubygems/rubygems] Normalize setting `GEM_PATH`David Rodríguez2021-08-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/4188ebd568
* [rubygems/rubygems] Remove more unused codeDavid Rodríguez2021-08-311-6/+1
| | | | https://github.com/rubygems/rubygems/commit/986e889a79
* [rubygems/rubygems] Remove unnecessary lineDavid Rodríguez2021-08-311-1/+0
| | | | https://github.com/rubygems/rubygems/commit/a7023c6c21
* [rubygems/rubygems] Remove LoadError message in regards to requiring a ↵Daniel Niknam2021-07-271-4/+0
| | | | | | | | | | | | | | relative file Ruby 1.9.2 removed "." from LOAD_PATH for robustness and security reasons. This code was introduced by https://github.com/rubygems/rubygems/commit/56fc830e19a573a5905eba7f4714ad1f21ed1927 commit to helping users understand the issue and had a guard condition to include the message for `RUBY_VERSION >= "1.9"`. However, the guard condition was removed as part of the "Ruby version leftover" cleanup by https://github.com/rubygems/rubygems/commit/8c9cf76e419fbd8ba83144d701b24ca388813b14 Ruby 1.9 development was ended a long time ago and this message is not useful anymore. https://github.com/rubygems/rubygems/commit/a23609b15a
* Merge RubyGems/Bundler master from 8459ebd6ad65ce3397233416dc64083ae7572bb9Hiroshi SHIBATA2021-07-141-5/+4
|
* Sync RubyGems and Bundler with upstreamHiroshi SHIBATA2021-07-071-1/+1
|
* Sync latest bundler & rubygems development versionDavid Rodríguez2021-07-071-0/+1
|
* Merge the master branch of BundlerHiroshi SHIBATA2021-04-151-1/+1
|
* Sync latest development version of bundler & rubygemsDavid Rodríguez2021-03-081-2/+1
|
* Merge RubyGems 3.2.3 and Bundler 2.2.3Hiroshi SHIBATA2020-12-231-6/+3
|