Results for: "partition"

Creates an installer for spec that will install into gem_home. If user is true a user-install will be performed.

This is ported over from the yaml_tree in 1.9.3

True if version satisfies this Requirement.

Activate all unambiguously resolved runtime dependencies of this spec. Add any ambiguous dependencies to the unresolved list to be resolved later, as needed.

Is this specification missing its extensions? When this returns true you probably want to build_extensions

List of dependencies that will automatically be activated at runtime.

Checks if this specification meets the requirement of dependency.

Checks to see if the files to be packaged are world-readable.

Creates a spec with name, version. deps can specify the dependency or a block can be given for full customization of the specification.

Creates a gem with name, version and deps. The specification will be yielded before gem creation for customization. The gem will be placed in File.join @tempdir, 'gems'. The specification and .gem file location are returned.

Gzips data.

Deflates data

Returns the path to the certificate named cert_name from test/rubygems/.

Display a warning on stderr. Will ask question if it is not nil.

CommandProcessor#expand_path(path)

  path:   String
  return: String
returns the absolute path for <path>
No documentation available

start a job

No documentation available

returns an Array of the path split on ‘/’

returns an Array of the components defined from the COMPONENT Array

private method to cleanup dn from using the path component attribute

private method to cleanup attributes, scope, filter and extensions, from using the query component attribute

private setter for extensions val

Parses a C prototype signature

If Hash tymap is provided, the return value and the arguments from the signature are expected to be keys, and the value will be the C type to be looked up.

Example:

require 'fiddle/import'

include Fiddle::CParser
  #=> Object

parse_signature('double sum(double, double)')
  #=> ["sum", Fiddle::TYPE_DOUBLE, [Fiddle::TYPE_DOUBLE, Fiddle::TYPE_DOUBLE]]

parse_signature('void update(void (*cb)(int code))')
  #=> ["update", Fiddle::TYPE_VOID, [Fiddle::TYPE_VOIDP]]

parse_signature('char (*getbuffer(void))[80]')
  #=> ["getbuffer", Fiddle::TYPE_VOIDP, []]

Given a String of C type ty, returns the corresponding Fiddle constant.

ty can also accept an Array of C type Strings, and will be returned in a corresponding Array.

If Hash tymap is provided, ty is expected to be the key, and the value will be the C type to be looked up.

Example:

require 'fiddle/import'

include Fiddle::CParser
  #=> Object

parse_ctype('int')
  #=> Fiddle::TYPE_INT

parse_ctype('double diff')
  #=> Fiddle::TYPE_DOUBLE

parse_ctype('unsigned char byte')
  #=> -Fiddle::TYPE_CHAR

parse_ctype('const char* const argv[]')
  #=> -Fiddle::TYPE_VOIDP
Search took: 3ms  ·  Total Results: 2971