new

new(out_stream, *args) Class Public methods

new

new(name, version, errors=nil) Class Public methods

version=

version=(version) Instance Public methods Set the version to version, potentially also setting #required_rubygems_version if version indicates it is a prerelease.

validate_permissions

validate_permissions() Instance Public methods Checks to see if the files to be packaged are world-readable.

validate

validate(packaging = true) Instance Public methods Checks that the specification contains all required fields, and does a very basic sanity check. Raises InvalidSpecificationException if the spec does not pass the checks..

traverse

traverse(trail = [], &block) Instance Public methods Recursively walk dependencies of this spec, executing the block for each hop.

to_ruby_for_cache

to_ruby_for_cache() Instance Public methods Returns a Ruby lighter-weight code representation of this specification, used for indexing only. See to_ruby.

to_ruby

to_ruby() Instance Public methods Returns a Ruby code representation of this specification, such that it can be eval'ed and reconstruct the same specification later. Attributes that still have their default values are omitted. REFACTOR: This, plus stuff like ruby_code and pretty_print, should probably be extracted out into some sort of separate class. SRP, do you speak it!??!

test_files

test_files() Instance Public methods Test files included in this gem. You cannot append to this accessor, you must assign to it.

test_file=

test_file=(file) Instance Public methods Singular mutator for test_files