Listen arguments:
Symbol
, Array, Block
Listen to Symbol events on Array elements
Symbol
, Block
Listen to Symbol events
Array, Listener
Listen to all events on Array elements
Array, Block
Listen to :start_element events on Array elements
Listener
Listen to All events
Symbol
can be one of: :start_element, :end_element, :start_prefix_mapping, :end_prefix_mapping, :characters, :processing_instruction, :doctype, :attlistdecl, :elementdecl, :entitydecl, :notationdecl, :cdata, :xmldecl, :comment
There is an additional symbol that can be listened for: :progress. This will be called for every event generated, passing in the current stream position.
Array contains regular expressions or strings which will be matched against fully qualified element names.
Listener must implement the methods in SAX2Listener
Block will be passed the same arguments as a SAX2Listener
method would be, where the method name is the same as the matched Symbol
. See the SAX2Listener
for more information.
For full_name
, verifies the certificate chain
is valid, the digests
match the signatures signatures
created by the signer depending on the policy
settings.
If key
is given it is used to validate the signing certificate.
Writes data
to the underlying IO
and updates the digests
Raises an exception if a security policy that verifies data is active. Old
format gems cannot be verified as signed.
Writes the lock file alongside the gem dependencies file
A string explanation of the conflict.
Return the Specification that listed the dependency
Make sure the trust directory exists. If it does exist, make sure it’s actually a directory. If not, then create it with the appropriate permissions.