Results for: "Logger"

Cached RemoteFetcher instance.

Moves the gem spec from source_uri to the cache dir unless it is already there. If the source_uri is local the gem cache dir copy is always replaced.

Declare that a gem of name name with reqs requirements is needed.

A requirement is a prerelease if any of the versions inside of it are prereleases

A string representation of this Version.

A version is considered a prerelease if it contains a letter.

Downloads spec and writes it to dir. See also Gem::RemoteFetcher#download.

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

Loads Ruby format gemspec from file.

Load custom marshal format, re-initializing defaults as needed

Recursively walk dependencies of this spec, executing the block for each hop.

Set the version to version.

Display an informational alert. Will ask question if it is not nil.

No documentation available
No documentation available
No documentation available
No documentation available

Returns an array of syntax error messages

If no missing pairs are found it falls back on the original error messages

No documentation available
No documentation available

Returns the parser to be used.

Unless a URI::Parser is defined, DEFAULT_PARSER is used.

Sets userinfo, argument is string like ‘name:pass’.

Args

v

String

Description

Public setter for the user component (with validation).

See also URI::Generic.check_user.

Usage

require 'uri'

uri = URI.parse("http://john:S3nsit1ve@my.example.com")
uri.user = "sam"
uri.to_s  #=> "http://sam:V3ry_S3nsit1ve@my.example.com"

Returns the userinfo, either as ‘user’ or ‘user:password’.

Returns the user component (without URI decoding).

Search took: 5ms  ·  Total Results: 3130