Returns a two-element array containing the normalized fraction (a Float
) and exponent (an Integer
) of x
.
fraction, exponent = Math.frexp(1234) #=> [0.6025390625, 11] fraction * 2**exponent #=> 1234.0
Resolves the requested dependencies into a {DependencyGraph}, locking to the base dependency graph (if specified) @param [Array] requested an array of ‘requested’ dependencies that the
{#specification_provider} can understand
@param [DependencyGraph,nil] base the base dependency graph to which
dependencies should be 'locked'
@return [Array<Object>] all of the requirements that required
this vertex
(see Gem::Resolver::Molinillo::ResolutionState#requirements)
(see Gem::Resolver::Molinillo::ResolutionState#requirement)
Determines whether the given ‘requirement` is satisfied by the given `spec`, in the context of the current `activated` dependency graph.
@param [Object] requirement @param [DependencyGraph] activated the current dependency graph in the
resolution process.
@param [Object] spec @return [Boolean] whether ‘requirement` is satisfied by `spec` in the
context of the current `activated` dependency graph.
Returns debugging information about this node as a string.
Returns the SSLSession object currently used, or nil if the session is not established.
Sends “close notify” to the peer and tries to shut down the SSL
connection gracefully.
A description of the current connection state. This is for diagnostic purposes only.
Sets the Session
to be used when the connection is established.
Sets the server hostname used for SNI. This needs to be set before SSLSocket#connect
.
See TCPServer#listen
for details.
Returns the status of the response.
Returns an Array
of statuses for this response. Each status contains a CertificateId
, the status (0 for good, 1 for revoked, 2 for unknown), the reason for the status, the revocation time, the time of this update, the time for the next update and a list of OpenSSL::X509::Extension
.
This should be superseded by BasicResponse#responses
and find_response
that return SingleResponse
.