diff options
author | David RodrÃguez <[email protected]> | 2023-03-16 20:11:18 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2023-03-23 17:18:49 +0900 |
commit | ebebc90ec297c945cdf94c90f8db85dd7ddbcb7b (patch) | |
tree | b9ae53f98da645ebab294491c994746da8f2306e /lib/bundler.rb | |
parent | 8e6bbc032c1bde617a45e418af697831df471083 (diff) |
Refactor incomplete specs handling
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".
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7582
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb index 3f7fc8f5f4..71e16b1959 100644 --- a/lib/bundler.rb +++ b/lib/bundler.rb @@ -62,6 +62,7 @@ module Bundler autoload :GemHelpers, File.expand_path("bundler/gem_helpers", __dir__) autoload :GemVersionPromoter, File.expand_path("bundler/gem_version_promoter", __dir__) autoload :Graph, File.expand_path("bundler/graph", __dir__) + autoload :IncompleteSpecification, File.expand_path("bundler/incomplete_specification", __dir__) autoload :Index, File.expand_path("bundler/index", __dir__) autoload :Injector, File.expand_path("bundler/injector", __dir__) autoload :Installer, File.expand_path("bundler/installer", __dir__) |