Sanitize a single string.
Returns an array with bindir attached to each executable in the executables
list
Returns the full path to installed gem’s bin directory.
NOTE: do not confuse this with bindir
, which is just ‘bin’, not a full path.
Returns the full path to an executable named name
in this gem.
Duplicates array_attributes
from other_spec
so state isn’t shared.
Sets the rubygems_version
to the current RubyGems version.
Checks to see if the files to be packaged are world-readable.
Builds and installs the Gem::Specification
spec
Uninstalls the Gem::Specification
spec
Reads a binary file at path
Install the provided specs
Is this test being run on a Windows platform?
Is this test being run on a Windows platform?
Returns whether or not we’re on a version of Ruby built with VC++ (or Borland) versus Cygwin, Mingw, etc.
Returns whether or not we’re on a version of Ruby built with VC++ (or Borland) versus Cygwin, Mingw, etc.
Uninstalls gem spec
Display a warning on stderr. Will ask question
if it is not nil.
Returns a list of aliased commands
Creates a command alias at the given alias
for the given command
, passing any options
along with it.
Shell::CommandProcessor.alias_command "lsC", "ls", "-CBF", "--show-control-chars" Shell::CommandProcessor.alias_command("lsC", "ls"){|*opts| ["-CBF", "--show-control-chars", *opts]}
Unaliases the given alias
command.
check the user
and password
.
If password
is not provided, then user
is split, using URI::Generic.split_userinfo
, to pull user
and +password.
see also URI::Generic.check_user
, URI::Generic.check_password