Results for: "OptionParser"

No documentation available

Changes in rubygems to lazily loading ‘rubygems/command` (in order to lazily load `optparse` as a side effect) affect bundler’s custom installer which uses ‘Gem::Command` without requiring it (up until bundler 2.2.29). This hook is to compensate for that missing require.

TODO: Remove when rubygems no longer supports running on bundler older than 2.2.29.

No documentation available
No documentation available
No documentation available

Creates a new package that will read or write to the file gem.

A list of file names contained in this gem

Verifies that this gem:

After verification the gem specification from the gem is available from spec

No documentation available

Noop this out so there are no anchors

Cached RemoteFetcher instance.

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.

A list of authors for this gem.

Alternatively, a single author can be specified by assigning a string to spec.author

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 can also use a custom license file along with your gemspec and specify a LicenseRef-<idstring>, where idstring is the name of the file containing the license text.

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 right 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.

Search took: 5ms  ·  Total Results: 3967