1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Remove dead method

https://github.com/rubygems/rubygems/commit/477d5f6f6e
This commit is contained in:
David Rodríguez 2022-01-17 14:42:15 +01:00 committed by git
parent 0350c179ea
commit 1d530ae27a

View file

@ -162,14 +162,6 @@ use with other commands.
response response
end end
def remote_specs(dependency) # :nodoc:
fetcher = Gem::SpecFetcher.fetcher
ss, _ = fetcher.spec_for_dependency dependency
ss.map {|s,o| s }
end
def reverse_dependencies(specs) # :nodoc: def reverse_dependencies(specs) # :nodoc:
reverse = Hash.new {|h, k| h[k] = [] } reverse = Hash.new {|h, k| h[k] = [] }