End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Gem::Resolver::Molinillo::SpecificationProvider#search_for
search_for(dependency)
lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb, line 20
def search_for(dependency)
[]
end
Search for the specifications that match the given dependency. The specifications in the returned array will be considered in reverse order, so the latest version ought to be last. @note This method should be ‘pure’, i.e. the return value should depend
only on the `dependency` parameter.
@param [Object] dependency @return [Array<Object>] the specifications that satisfy the given
`dependency`.
See also
#requirement_satisfied_by?
#sort_dependencies
#name_for_locking_dependency_source
also in
3.2 · 3.0