Results for: "OptionParser"

No documentation available

Return the text for an application file.

return the stub script text used to launch the true Ruby script

The path where installed executables live

Adds an executable named “executable” to spec with the given shebang.

The executable is also written to the bin dir in @tmpdir and the installed gem directory for spec.

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

No documentation available
No documentation available

Adds a development dependency named gem with requirements to this gem.

Usage:

spec.add_development_dependency 'example', '~> 1.1', '>= 1.1.4'

Development dependencies aren’t installed by default and aren’t activated when a gem is required.

Adds a runtime dependency named gem with requirements to this gem.

Usage:

spec.add_runtime_dependency 'example', '~> 1.1', '>= 1.1.4'

Return the best specification that contains the file matching path.

Specification attributes that must be non-nil

Make sure the YAML specification is properly formatted with dashes

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.

Given the path to a gem file, validates against its own MD5 checksum

gem_path
String

Path to gem file

See Shell::CommandProcessor#test

Search took: 6ms  ·  Total Results: 4164