method

specs

ruby latest stable - Class: Bundler::Plugin::API::Source

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

specs()
public

Parses the gemspec files to find the specs for the gems that can be satisfied by the source.

Few important points to keep in mind:

- If the gems are not installed then it shall return specs for all
the gems it can satisfy
- If gem is installed (that is to be detected by the plugin itself)
then it shall return at least the specs that are installed.
- The `loaded_from` for each of the specs shall be correct (it is
used to find the load path)

@return [Bundler::Index] index containing the specs