Results for: "slice"

If the SOURCE_DATE_EPOCH environment variable is set, returns it’s value. Otherwise, returns the time that Gem.source_date_epoch_string was first called in the same format as SOURCE_DATE_EPOCH.

NOTE(@duckinator): The implementation is a tad weird because we want to:

1. Make builds reproducible by default, by having this function always
   return the same result during a given run.
2. Allow changing ENV['SOURCE_DATE_EPOCH'] at runtime, since multiple
   tests that set this variable will be run in a single process.

If you simplify this function and a lot of tests fail, that is likely due to #2 above.

Details on SOURCE_DATE_EPOCH: reproducible-builds.org/specs/source-date-epoch/

Initializes this object from orig if it can be duplicated/cloned and returns it.

Returns the string that is used to insert a space before the ‘:’ in JSON objects.

Sets the string that is used to insert a space before the ‘:’ in JSON objects.

If this boolean is true, the forward slashes will be escaped in the json output.

If this boolean is true, the forward slashes will be escaped in the json output.

This sets whether or not the forward slashes will be escaped in the json output.

No documentation available
No documentation available
No documentation available

The X509 certificate chain for this socket’s peer.

Establish the OpenSSL::SSL::SSLContext with the configuration parameters provided.

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

Pins the gem name to the given source. Adding a gem with the same name from a different source will raise an exception.

No documentation available
No documentation available
No documentation available

Attempts to re-sign an expired cert with a given private key

Search took: 5ms  ·  Total Results: 1351