[rubygems/rubygems] Fix resolver bug where ActivationRequest objects were not properly compared

They were delegating their `#hash` value to a class not overriding that
method, and so were returning inconsistent results.

https://github.com/rubygems/rubygems/commit/723e4ee0fc
This commit is contained in:
David Rodriguez 2024-03-25 18:02:28 +01:00 коммит произвёл git
Родитель 453de8c2bc
Коммит 06d5d4f1d0
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -66,4 +66,11 @@ class Gem::Resolver::SpecSpecification < Gem::Resolver::Specification
def version
spec.version
end
##
# The hash value for this specification.
def hash
spec.hash
end
end