Results for: "OptionParser"

we have our own signing code here to avoid a dependency on the aws-sdk gem

Downloads uri to path if necessary. If no path is given, it just passes the data.

No documentation available
No documentation available

Extracts S3 configuration for S3 bucket

No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available
No documentation available

TODO: move to minitest

Builds a gem from spec and places it in File.join @gemhome, 'cache'. Automatically creates files based on spec.files

No documentation available

Creates several default gems which all have a lib/code.rb file. The gems are not installed but are available in the cache dir.

+@a1+

gem a version 1, this is the best-described gem.

+@a2+

gem a version 2

+@a3a

gem a version 3.a

+@a_evil9+

gem a_evil version 9, use this to ensure similarly-named gems don’t collide with a.

+@b2+

gem b version 2

+@c1_2+

gem c version 1.2

+@pl1+

gem pl version 1, this gem has a legacy platform of i386-linux.

Additional prerelease gems may also be created:

+@a2_pre+

gem a version 2.a

TODO: nuke this and fix tests. this should speed up a lot

Add spec to +@fetcher+ serving the data in the file path. repo indicates which repo to make spec appear to be in.

Allows tests to use a random (but controlled) port number instead of a hardcoded one. This helps CI tools when running parallels builds on the same builder slave.

See ::process_based_port

No documentation available

Choose from a list of options. question is a prompt displayed above the list. list is a list of option strings. Returns the pair [option_name, option_index].

Ask for a password. Does not echo response to terminal.

define methodname as instance method of current module, using ERB object or eRuby file

define methodname as instance method of current module, using ERB object or eRuby file

Set header fields and a body from HTML form data. params should be an Array of Arrays or a Hash containing HTML form data. Optional argument sep means data record separator.

Values are URL encoded as necessary and the content-type is set to application/x-www-form-urlencoded

Example:

http.form_data = {"q" => "ruby", "lang" => "en"}
http.form_data = {"q" => ["ruby", "perl"], "lang" => "en"}
http.set_form_data({"q" => "ruby", "lang" => "en"}, ';')
Search took: 11ms  ·  Total Results: 4629