Mark a command-line option as deprecated, and optionally specify a deprecation horizon.
Note that with the current implementation, every version of the option needs to be explicitly deprecated, so to deprecate an option defined as
add_option('-t', '--[no-]test', 'Set test mode') do |value, options| # ... stuff ... end
you would need to explicitly add a call to ‘deprecate_option` for every version of the option you want to deprecate, like
deprecate_option('-t') deprecate_option('--test') deprecate_option('--no-test')
Merge a set of command options with the set of default options (without modifying the default option hash).
Handle the command arguments.
append a platform to the list of mismatched platforms.
Platforms are added via this instead of injected via the constructor so that we can loop over a list of mismatches and just add them rather than perform some kind of calculation mismatch summary before creation.
Compacts Marshal
output for the specs index data source by using identical objects as much as possible.
Builds and installs indices.
Perform an in-place update of the repository from newly added gems.
Defaults to use Ruby’s program prefix and suffix.
True if version
satisfies this Requirement
.
returns an integer in (-infty, 0] a number closer to 0 means the dependency is less constraining
dependencies w/ 0 or 1 possibilities (ignoring version requirements) are given very negative values, so they always sort first, before dependencies that are unconstrained
Returns true when it is possible and safe to update the cache directory.
Issues a warning for each file to be packaged which is world-readable.
Implementation for Specification#validate_permissions