From 08edad31a6d5c9efd86bede1e942a32cff498427 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Thu, 18 Jan 2024 13:16:18 +0100 Subject: [PATCH] [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 --- lib/rubygems/specification.rb | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/rubygems/specification.rb b/lib/rubygems/specification.rb index 169002d7c7..f7012f1efd 100644 --- a/lib/rubygems/specification.rb +++ b/lib/rubygems/specification.rb @@ -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