bundler/lib/bundler/index.rb in rubygems-update-3.3.23 vs bundler/lib/bundler/index.rb in rubygems-update-3.3.24
- old
+ new
@@ -69,10 +69,9 @@
def local_search(query)
case query
when Gem::Specification, RemoteSpecification, LazySpecification, EndpointSpecification then search_by_spec(query)
when String then specs_by_name(query)
when Gem::Dependency then search_by_dependency(query)
- when DepProxy then search_by_dependency(query.dep)
else
raise "You can't search for a #{query.inspect}."
end
end