Ensures that signer
is valid for time
and was signed by the issuer
. If the issuer
is nil
no verification is performed.
Return the full path to the cached gem file matching the given name and version requirement. Returns ‘nil’ if no match.
Example:
get_path 'rake', '> 0.4' # "/usr/lib/ruby/gems/1.8/cache/rake-0.4.2.gem" get_path 'rake', '< 0.1' # nil get_path 'rak' # nil (exact name required)
We want to use the same linker that Ruby uses, so that the linker flags from mkmf work properly.
Corresponds to $(LIBPATH) in mkmf
Defines a custom git source that uses name
to expand git repositories for use in gems built from git repositories. You must provide a block that accepts a git repository name for expansion.
Path of activations from the current
list.
Return a String
indicating who caused this request to be added (only valid for implicit requests)
Returns the path to the trusted certificate with the given ASN.1 name
Add a certificate to trusted certificate list.
Returns the full file path of this frame.
Same as path
, except that it will return absolute path even if the frame is in the main script.
@param [String] name @return [Object] the requirement that led to a version of a possibility
with the given name being activated.
Iterates the given block for each element with an index, which starts from offset
. If no block is given, returns a new Enumerator
that includes the index, starting from offset
offset
the starting index to use