Skip to content

End of Life Ruby 3.2 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

instance method

Gem::SpecFetcher#available_specs

available_specs(type)

Returns a list of gems available for each source in Gem::sources.

type can be one of 3 values: :released => Return the list of all released specs :complete => Return the list of all specs :latest => Return the list of only the highest version of each gem :prerelease => Return the list of all prerelease only specs

See also .new #detect .fetcher #search_for_dependency also in 4.1 · 4.0 · 3.4 · 3.3 · 3.1 · 3.0