method

download

ruby latest stable - Class: Gem::TestCase::SpecFetcherSetup
download(name, version, dependencies = nil, &block)
public

Creates a gem with name, version and deps. The created gem is downloaded in to the cache directory but is not installed

The specification will be yielded before gem creation for customization, but only the block or the dependencies may be set, not both.