aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Prepare to release rubygems-3.2.1 and bundler-2.2.1Hiroshi SHIBATA2020-12-151-1/+11
|
* Merge prepare version of Bundler 2.2.0Hiroshi SHIBATA2020-12-081-0/+4
|
* Merge bundler-2.2.0.rc.2Hiroshi SHIBATA2020-10-151-3/+6
|
* Update the bundler version with master branchHiroshi SHIBATA2020-05-131-4/+15
|
* Prepare to release bundler-2.1.0Hiroshi SHIBATA2019-12-151-1/+0
|
* Merge Bundler 2.1.0.pre.3Hiroshi SHIBATA2019-11-111-24/+87
| | | | | | | | | | | | | | | Features: - Add caller information to some deprecation messages to make them easier to fix [#7361](https://github.com/bundler/bundler/pull/7361) - Reconcile `bundle cache` vs `bundle package` everywhere. Now in docs, CLI help and everywhere else `bundle cache` is the preferred version and `bundle package` remains as an alias [#7389](https://github.com/bundler/bundler/pull/7389) - Display some basic `bundler` documentation together with ruby's RDoc based documentation [#7394](https://github.com/bundler/bundler/pull/7394) Bugfixes: - Fix typos deprecation message and upgrading docs [#7374](https://github.com/bundler/bundler/pull/7374) - Deprecation warnings about `taint` usage on ruby 2.7 [#7385](https://github.com/bundler/bundler/pull/7385) - Fix `--help` flag not correctly delegating to `man` when used with command aliases [#7388](https://github.com/bundler/bundler/pull/7388) - `bundle add` should cache newly added gems if an application cache exists [#7393](https://github.com/bundler/bundler/pull/7393) - Stop using an insecure folder as a "fallback home" when user home is not defined [#7416](https://github.com/bundler/bundler/pull/7416) - Fix `bundler/inline` warning about `Bundler.root` redefinition [#7417](https://github.com/bundler/bundler/pull/7417)
* [bundler/bundler] Fix comments and messages to refer to https urlTakayuki Nakata2019-09-181-1/+1
| | | | https://github.com/bundler/bundler/commit/a86b49f1b9
* [bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated.Hiroshi SHIBATA2019-08-031-1/+1
| | | | https://github.com/bundler/bundler/commit/5215ae7fa3
* [bundler/bundler] Fully remove compatibility guardDavid Rodríguez2019-08-031-2/+0
| | | | https://github.com/bundler/bundler/commit/2a7a5daba0