new

new() Class Public methods

available_specs

available_specs(type) Instance Public methods 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

detect

detect(type=:complete) Instance Public methods Return all gem name tuples who's names match obj

search_for_dependency

search_for_dependency(dependency, matching_platform=true) Instance Public methods Find and fetch gem name tuples that match dependency. If matching_platform is false, gems for all platforms are returned.

spec_for_dependency

spec_for_dependency(dependency, matching_platform=true) Instance Public methods Find and fetch specs that match dependency. If matching_platform is false, gems for all platforms are returned.

suggest_gems_from_name

suggest_gems_from_name(gem_name) Instance Public methods Suggests gems based on the supplied gem_name. Returns an array of alternative gem names.

tuples_for

tuples_for(source, type, gracefully_ignore=false) Instance Public methods

add_development_dependency

add_development_dependency(gem, *requirements) Instance Public methods Adds a development dependency named gem with requirements to this gem. Usage: spec.add_development_dependency 'example', '~> 1.1', '>= 1.1.4' Development dependencies aren't installed by default and aren't activated when a gem is required.

add_runtime_dependency

add_runtime_dependency(gem, *requirements) Instance Public methods Adds a runtime dependency named gem with requirements to this gem. Usage: spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4' add_dependency

author=

author=(o) Instance Public methods Singular writer for authors Usage: spec.author = 'John Jones'