Display to the user that a gem couldn’t be found and reasons why
Make directories for index generation
Writes the full .gemspec specification (in Ruby) to the gem home’s specifications/default directory.
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.
Given the path to a gem file, validates against its own MD5 checksum
String
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:
require 'fiddle/import' 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"]]