Skip to content

Commit 08edad3

Browse files
olleolleollematzbot
authored andcommitted
[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? rubygems/rubygems@fb23fa84f9
1 parent c28094d commit 08edad3

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/rubygems/specification.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,6 @@ def self.each
10031003
def self.find_all_by_name(name, *requirements)
10041004
requirements = Gem::Requirement.default if requirements.empty?
10051005

1006-
# TODO: maybe try: find_all { |s| spec === dep }
1007-
10081006
Gem::Dependency.new(name, *requirements).matching_specs
10091007
end
10101008

@@ -1022,8 +1020,6 @@ def self.find_all_by_full_name(full_name)
10221020
def self.find_by_name(name, *requirements)
10231021
requirements = Gem::Requirement.default if requirements.empty?
10241022

1025-
# TODO: maybe try: find { |s| spec === dep }
1026-
10271023
Gem::Dependency.new(name, *requirements).to_spec
10281024
end
10291025

0 commit comments

Comments
 (0)