[rubygems/rubygems] Drop two TODOs from specification.rb

These were introduced 13 years ago, in a documentation update. Perhaps we can let the TODOs go, without taking any action?

https://github.com/rubygems/rubygems/commit/fb23fa84f9
This commit is contained in:
Olle Jonsson 2024-01-18 13:16:18 +01:00 committed by git
parent c28094d385
commit 08edad31a6

View File

@ -1003,8 +1003,6 @@ class Gem::Specification < Gem::BasicSpecification
def self.find_all_by_name(name, *requirements)
requirements = Gem::Requirement.default if requirements.empty?
# TODO: maybe try: find_all { |s| spec === dep }
Gem::Dependency.new(name, *requirements).matching_specs
end
@ -1022,8 +1020,6 @@ class Gem::Specification < Gem::BasicSpecification
def self.find_by_name(name, *requirements)
requirements = Gem::Requirement.default if requirements.empty?
# TODO: maybe try: find { |s| spec === dep }
Gem::Dependency.new(name, *requirements).to_spec
end