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
Manageable rspec errors
Manageable 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
.
Removes escapes from str
.
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
.
Removes escapes from str
.
Converts the contents of the database to an in-memory Hash
, then calls Hash#reject
with the specified code block, returning a new Hash
.
Returns a string representation of self
:
system("false") $?.inspect # => "#<Process::Status: pid 1303494 exit 1>"
Invoked to wake up Fiber
previously blocked with block
(for example, Mutex#lock calls block
and Mutex#unlock calls unblock
). The scheduler should use the fiber
parameter to understand which fiber is unblocked.
blocker
is what was awaited for, but it is informational only (for debugging and logging), and it is not guaranteed to be the same value as the blocker
for block
.
Releases the lock. Raises ThreadError
if mutex
wasn’t locked by the current thread.