Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
Return the text for an application file.
return the stub script text used to launch the true Ruby script
Writes the .gem file to the cache directory
we have our own signing code here to avoid a dependency on the aws-sdk gem fortunately, a simple GET request isn’t too complex to sign properly
Creates a Resolver
that queries only against the already installed gems for the needed
dependencies.
Specification
attributes that must be non-nil
Expire memoized instance variables that can incorrectly generate, replace or miss files due changes in certain attributes used to compute them.
Given the path to a gem file, validates against its own MD5 checksum
Path to gem file
Returns the source encoding name as a string.
Returns the source encoding name as a string.
Parses a C struct’s members
Example:
include Fiddle::CParser #=> Object parse_struct_signature(['int i', 'char c']) #=> [[Fiddle::TYPE_INT, Fiddle::TYPE_CHAR], ["i", "c"]] parse_struct_signature(['char buffer[80]']) #=> [[[Fiddle::TYPE_CHAR, 80]], ["buffer"]]
Writes a number of random generated bytes (currently 1024) to filename
which can be used to initialize the PRNG by calling ::load_random_file
in a later session.
Find
(and return) first subnode (recursively) for which the block evaluates to true. Returns nil
if none was found.