method

search_for_dependency

ruby latest stable - Class: Gem::SpecFetcher
search_for_dependency(dependency, matching_platform=true)
public

Find and fetch gem name tuples that match dependency.

If matching_platform is false, gems for all platforms are returned.