Results for: "OptionParser"

Noop this out so there are no anchors

Cached RemoteFetcher instance.

No documentation available

Resets HTTP connection connection.

Concatenates the new requirements onto this requirement.

true if this gem has no requirements.

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

No documentation available

Removes all sources from the SourceList.

Returns true if there are no sources in this SourceList.

Returns the first source in the list.

Default fetcher instance. Use this instead of ::new to reduce object allocation.

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

Usage:

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

The license for this gem.

The license must be no more than 64 characters.

This should just be the name of your license. The full text of the license should be inside of the gem (at the top level) when you build it.

The simplest way, is to specify the standard SPDX ID spdx.org/licenses/ for the license. Ideally you should pick one that is OSI (Open Source Initiative) opensource.org/licenses/alphabetical approved.

The most commonly used OSI approved licenses are MIT and Apache-2.0. GitHub also provides a license picker at choosealicense.com/.

You should specify a license for your gem so that people know how they are permitted to use it, and any restrictions you’re placing on it. Not specifying a license means all rights are reserved; others have no rights to use the code for any purpose.

You can set multiple licenses with licenses=

Usage:

spec.license = 'MIT'

The license(s) for the library.

Each license must be a short name, no more than 64 characters.

This should just be the name of your license. The full text of the license should be inside of the gem when you build it.

See license= for more discussion

Usage:

spec.licenses = ['MIT', 'GPL-2.0']

Return the directories that Specification uses to find specs.

Set the directories that Specification uses to find specs. Setting this resets the list of known specs.

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

Activate this spec, registering it as a loaded spec and adding it’s lib paths to $LOAD_PATH. Returns true if the spec was activated, false if it was previously activated. Freaks out if there are conflicts upon activation.

Sanitize the descriptive fields in the spec. Sometimes non-ASCII characters will garble the site index. Non-ASCII characters will be replaced by their XML entity equivalent.

The list of author names who wrote this gem.

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

Return any possible conflicts against the currently loaded specs.

Singular accessor for licenses

Plural accessor for setting licenses

See license= for details

A short summary of this gem’s description.

Search took: 6ms  ·  Total Results: 4252