Creates windows .bat files for easy running of commands
Creates the scripts to run the applications in the gem.
Creates the symlinks to run the applications in the gem. Moves the symlink if the gem being installed has a newer version.
Ensures the Gem::Specification
written out for this gem is loadable upon installation.
Prefix and suffix the program filename the same as ruby.
Performs various checks before installing the gem such as the install repository is writable and its directories exist, required Ruby and rubygems versions are met and that dependencies are installed.
Version and dependency checks are skipped if this install is forced.
The dependent check will be skipped this install is ignoring dependencies.
Split the Gem search path (as reported by Gem.path
).
Installs from the gem dependencies files in the :gemdeps
option in options
, yielding to the block
as in install
.
If :without_groups
is given in the options
, those groups in the gem dependencies file are not used. See Gem::Installer
for other options
.
Return the best specification that contains the file matching path
.
Specification
attributes that must be non-nil
Finds all gems that satisfy dep
TODO: move to minitest
TODO: move to minitest
Builds and installs the Gem::Specification
spec
into the user dir
Installs the provided default specs including writing the spec file
Install the provided default specs
private method to assemble query
from attributes
, scope
, filter
and extensions
.
Returns the destination encoding name as a string.
Returns the destination 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"]]