Moves tuple
to port
.
True if the command handles the given argument list.
Does this dependency require a prerelease?
A null NameTuple
, ie name=nil, version=0
Indicate if this NameTuple
is for a prerelease version.
A default “version requirement” can surely only be ‘>= 0’.
A requirement is a prerelease if any of the versions inside of it are prereleases
A version is considered a prerelease if it contains a letter.
The release for this version (e.g. 1.2.0.a -> 1.2.0). Non-prerelease versions return themselves.
Removes all sources from the SourceList
.
Deletes source
from the source list which may be a Gem::Source
or a URI
.
Files included in this gem. You cannot append to this accessor, you must assign to it.
Only add files you can require to this list, not directories, etc.
Directories are automatically stripped from this list when building a gem, other non-files cause an error.
Usage:
require 'rake' spec.files = FileList['lib/**/*.rb', 'bin/*', '[A-Z]*', 'test/**/*'].to_a # or without Rake... spec.files = Dir['lib/**/*.rb'] + Dir['bin/*'] spec.files += Dir['[A-Z]*'] + Dir['test/**/*'] spec.files.reject! { |fn| fn.include? "CVS" }
Executables included in the gem.
For example, the rake gem has rake as an executable. You don’t specify the full path (as in bin/rake); all application-style files are expected to be found in bindir. These files must be executable Ruby files. Files that use bash or other interpreters will not work.
Executables included may only be ruby scripts, not scripts for other languages or compiled binaries.
Usage:
spec.executables << 'rake'
Dump only crucial instance variables.
Singular accessor for executables
Singular accessor for executables
Sets executables to value
, ensuring it is an array. Don’t use this, push onto the array instead.
Sets files to files
, ensuring it is an array.
the spec of the gem to be uninstalled
the list of all such gems
Warning: this method modifies the list
parameter. Once it has uninstalled a gem, it is removed from that list.
Display an informational alert. Will ask question
if it is not nil.
Returns the request body.