/opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/rubygems/resolver
NameSizeModeActions
molinillo/-0755rm
activation_request.rb29230644editdlrm
api_set.rb25220644editdlrm
api_specification.rb22420644editdlrm
best_set.rb16520644editdlrm
composed_set.rb12170644editdlrm
conflict.rb33310644editdlrm
current_set.rb2820644editdlrm
dependency_request.rb23400644editdlrm
git_set.rb29540644editdlrm
git_specification.rb13000644editdlrm
index_set.rb14480644editdlrm
index_specification.rb15140644editdlrm
installed_specification.rb12460644editdlrm
installer_set.rb51380644editdlrm
local_specification.rb8070644editdlrm
lock_set.rb17080644editdlrm
lock_specification.rb18600644editdlrm
molinillo.rb820644editdlrm
requirement_list.rb13690644editdlrm
set.rb12720644editdlrm
source_set.rb9020644editdlrm
specification.rb23920644editdlrm
spec_specification.rb10830644editdlrm
stats.rb9590644editdlrm
vendor_set.rb19600644editdlrm
vendor_specification.rb5810644editdlrm
Edit: /opt/cpanel/ea-ruby27/root/usr/share/ruby/ruby-2.7.8/rubygems/resolver/source_set.rb (902B)
## # The SourceSet chooses the best available method to query a remote index. # # Kind off like BestSet but filters the sources for gems class Gem::Resolver::SourceSet < Gem::Resolver::Set ## # Creates a SourceSet for the given +sources+ or Gem::sources if none are # specified. +sources+ must be a Gem::SourceList. def initialize super() @links = {} @sets = {} end def find_all(req) # :nodoc: if set = get_set(req.dependency.name) set.find_all req else [] end end # potentially no-op def prefetch(reqs) # :nodoc: reqs.each do |req| if set = get_set(req.dependency.name) set.prefetch reqs end end end def add_source_gem(name, source) @links[name] = source end private def get_set(name) link = @links[name] @sets[link] ||= Gem::Source.new(link).dependency_resolver_set if link end end