Cleans up uninstalled files and invalid gem specifications
Run the gem command with the following arguments.
Unpacks the gem into the given directory.
Creates a new package that will read or write to the file gem
.
A list of file names contained in this gem
true if this gem has no requirements.
true if the requirement is for only an exact version
True if the version
string matches RubyGems’ requirements.
Returns true if this source list includes other
which may be a Gem::Source
or a source URI
.
Return all gem name tuples who’s names match obj
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.
A list of Gem::Dependency
objects this gem depends on.
Use add_dependency
or add_development_dependency
to add dependencies to a gem.
Performs the uninstall of the gem. This removes the spec, the Gem
directory, and the cached .gem file.
Parses and redacts uri
Managable rspec errors
Components of the URI
in the order.
Components of the URI
in the order.
Returns true if URI
does not have a scheme (e.g. http:// or https://) specified.
str
String
to search
schemes
Patterns to apply to str
Attempts to parse and merge a set of URIs. If no block
given, then returns the result, else it calls block
for each element in result.
See also URI::Parser.make_regexp
.