spec(name, version, dependencies = nil, &block)
public
Creates a spec with
name, version and deps. The created gem can be downloaded
and installed.
The specification will be yielded before creation for customization, but
only the block or the dependencies may be set, not both.
# File lib/rubygems/test_utilities.rb, line 344
def spec name, version, dependencies = nil, &block
@operations << [:spec, name, version, dependencies, block]
end