The release for this version (e.g. 1.2.0.a -> 1.2.0). Non-prerelease versions return themselves.
Replaces this SourceList
with the sources in other
See <<
for acceptable items in other
.
Returns true if there are no sources in this SourceList
.
Reset the list of known specs, running pre and post reset hooks registered in Gem.
Abbreviate the spec for downloading. Abbreviated specs are only used for searching, downloading and related activities and do not need deployment specific information (e.g. list of files). So we abbreviate the spec, making it much smaller for quicker downloads.
Recursively walk dependencies of this spec, executing the block
for each hop.
Constructs a new Gem::Requirement
.
See IO.foreach
when path
is a file.
See Dir.foreach
when path
is a directory.
Clears the command hash table.
replace self by other URI
object
v
String
public setter for the scheme component v
. (with validation)
see also URI::Generic.check_scheme
require 'uri' uri = URI.parse("http://my.example.com") uri.scheme = "https" # => "https" uri #=> #<URI::HTTP:0x000000008e89e8 URL:https://my.example.com>
Sets the cookie expiration to the time t
. The expiration time may be a false value to disable expiration or a Time
or HTTP format time string to set the expiration date.
Retrieves the expiration time as a Time
Mounts servlet
on dir
passing options
to the servlet at creation time
Unmounts dir
Call this after you have added all you handlers to the server.
This method processes a XML-RPC method call and sends the answer back to the client.
Call this after you have added all you handlers to the server.
This method processes a XML-RPC method call and sends the answer back to the client.
Call this after you have added all you handlers to the server. This method starts the server to listen for XML-RPC requests and answer them.
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 Hash
(not a DBM
database) created by using each value in the database as a key, with the corresponding key as its value.
Note that all values in the hash will be Strings, but the keys will be actual objects.