Results for: "Dir.chdir"

Delegates to the wrapped source’s fetch_spec method.

No documentation available

Generate a cache that targets a specific encoding for calculating code unit offsets.

Returns a cache that is the identity function in order to maintain the same interface. We can do this because code units are always equivalent to byte offsets for ASCII-only sources.

The character offset from the beginning of the source where this location starts.

The character offset from the beginning of the source where this location ends.

The column number in characters where this location ends from the start of the line.

The column number in characters where this location ends from the start of the line.

Create a code units cache for the given encoding.

Return all files in this gem that match for glob.

No documentation available

Checks the permissions of the credentials file. If they are not 0600 an error message is displayed and RubyGems aborts.

Reads time of last update check from state file

Writes time of last update check to state file

No documentation available

Performs various checks before installing the gem such as the install repository is writable and its directories exist, required Ruby and rubygems versions are met and that dependencies are installed.

Version and dependency checks are skipped if this install is forced.

The dependent check will be skipped if the install is ignoring dependencies.

Writes the .gem file to the cache directory

Given a name and requirement, downloads this gem into cache and returns the filename. Returns nil if the gem cannot be located.

Downloads uri to path if necessary. If no path is given, it just passes the data.

Extracts S3 configuration for S3 bucket

Find and fetch gem name tuples that match dependency.

If matching_platform is false, gems for all platforms are returned.

@return true if the specs of any default gems are ‘==` to the given `spec`.

Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

Performance optimization

Parsing with ripper is expensive If we know we don’t have any blocks with invalid syntax, then we know we cannot have found the incorrect syntax yet.

When an invalid block is added onto the frontier check document state

No documentation available
Search took: 2ms  ·  Total Results: 899