Results for: "pstore"

Installs gems for this RequestSet using the Gem::Installer options.

If a block is given an activation request and installer are yielded. The installer will be nil if a gem matching the request was already installed.

Resolve the requested dependencies and return an Array of Specification objects to be activated.

Factory method to create a Gem::Requirement object. Input may be a Version, a String, or nil. Intended to simplify client code.

If the input is “weird”, the default version requirement is returned.

No documentation available

Factory method to create a Version object. Input may be a Version or a String. Intended to simplify client code.

ver1 = Version.create('1.3.17')   # -> (Version object)
ver2 = Version.create(ver1)       # -> (ver1)
ver3 = Version.create(nil)        # -> nil

The release for this version (e.g. 1.2.0.a -> 1.2.0). Non-prerelease versions return themselves.

Proceed with resolution! Returns an array of ActivationRequest objects.

Creates server sockets based on the addresses option. If no addresses were given a server socket for all interfaces is created.

Replaces this SourceList with the sources in other See << for acceptable items in other.

Returns an Array of source URI Strings.

Returns the first source in the list.

Singular writer for authors

Usage:

spec.author = 'John Jones'

Sets the list of authors, ensuring it is an array.

Usage:

spec.authors = ['John Jones', 'Mary Smith']

The platform this gem runs on.

This is usually Gem::Platform::RUBY or Gem::Platform::CURRENT.

Most gems contain pure Ruby code; they should simply leave the default value in place. Some gems contain C (or other) code to be compiled into a Ruby “extension”. The gem should leave the default value in place unless the code will only compile on a certain type of system. Some gems consist of pre-compiled code (“binary gems”). It’s especially important that they set the platform attribute appropriately. A shortcut is to set the platform to Gem::Platform::CURRENT, which will cause the gem builder to set the platform to the appropriate value for the system on which the build is being performed.

If this attribute is set to a non-default value, it will be included in the filename of the gem when it is built such as: nokogiri-1.6.0-x86-mingw32.gem

Usage:

spec.platform = Gem::Platform.local

Returns a Gem::StubSpecification for every installed gem

Reset the list of known specs, running pre and post reset hooks registered in Gem.

Abbreviate the spec for downloading. Abbreviated specs are only used for searching, downloading and related activities and do not need deployment specific information (e.g. list of files). So we abbreviate the spec, making it much smaller for quicker downloads.

Singular reader for authors. Returns the first author in the list

The list of author names who wrote this gem.

spec.authors = ['Chad Fowler', 'Jim Weirich', 'Rich Kilmer']

Normalize the list of files so that:

The platform this gem runs on. See Gem::Platform for details.

No documentation available

Constructs a new Gem::Requirement.

Performs the uninstall of the gem. This removes the spec, the Gem directory, and the cached .gem file.

spec

the spec of the gem to be uninstalled

list

the list of all such gems

Warning: this method modifies the list parameter. Once it has uninstalled a gem, it is removed from that list.

Search took: 5ms  ·  Total Results: 3306