Results for: "OptionParser"

Gzips data.

Deflates data

Creates a SpecFetcher pre-filled with the gems or specs defined in the block.

Yields a fetcher object that responds to spec and gem. spec adds a specification to the SpecFetcher while gem adds both a specification and the gem data to the RemoteFetcher so the built gem can be downloaded.

If only the a-3 gem is supposed to be downloaded you can save setup time by creating only specs for the other versions:

spec_fetcher do |fetcher|
  fetcher.spec 'a', 1
  fetcher.spec 'a', 2, 'b' => 3 # dependency on b = 3
  fetcher.gem 'a', 3 do |spec|
    # spec is a Gem::Specification
    # ...
  end
end

Loads certificate named cert_name from test/rubygems/.

Returns the path to the key named key_name from test/rubygems

No documentation available

Is spec in gem_dir?

Return a progress reporter object chosen from the current verbosity.

Return a download reporter object chosen from the current verbosity

Given a gem file’s contents, validates against its own MD5 checksum

gem_data
String

Contents of the gem file

include run file.

No documentation available
No documentation available

start a job

No documentation available
No documentation available

terminate a job

No documentation available
No documentation available
No documentation available

protected setter for the scheme component v

see also URI::Generic.scheme=

check the password v component for RFC2396 compliance and against the URI::Parser Regexp for :USERINFO

Can not have a registry or opaque component defined, with a user component defined.

protected setter for the host component v

see also URI::Generic.host=

protected setter for the port component v

see also URI::Generic.port=

check the path v component for RFC2396 compliance and against the URI::Parser Regexp for :ABS_PATH and :REL_PATH

Can not have a opaque component defined, with a path component defined.

Search took: 6ms  ·  Total Results: 4130