Pins the gem name
to the given source
. Adding a gem with the same name from a different source
will raise an exception.
Attempts to re-sign an expired cert with a given private key
Get all gem names from the command line.
Return the best specification that contains the file matching path
amongst the specs that are not activated.
Return the best specification in the record that contains the file matching path
amongst the specs that are not activated.
Finds code lines at the same or greater indentation and adds them to the block
Lines that have a ‘on_ignored_nl` type token and NOT a `BEG` type seem to be a good proxy for the ability to join multiple lines into one.
This predicate method is used to determine when those two criteria have been met.
The one known case this doesn’t handle is:
Ripper.lex <<~EOM a && b || c EOM
For some reason this introduces ‘on_ignore_newline` but with BEG type
Creates a self-signed certificate with an issuer and subject of subject
and the given extensions
for the key
.
“foo #{bar}” ^^^^^^^^^^^^