local

local() Class Public methods

new

new(env=ENV) Class Public methods Constructor. Takes a single argument which is to be treated like a hashtable, or defaults to ENV, the system environment.

init

init(gem) Instance Public methods Initialization tasks without the âyield selfâ or define operations.

define

define() Instance Public methods Create the Rake tasks and actions specified by this Gem::PackageTask. (define is automatically called if a block is given to new).

new

new(gem_spec) Class Public methods Create a Gem Package task library. Automatically define the gem if a block is given. If no block is supplied, then define needs to be called to define the task.

initialize

initialize(gem) Instance Protected methods Creates a new package that will read or write to the file gem.

verify_files

verify_files(gem) Instance Public methods Verifies the files of the gem

verify

verify() Instance Public methods Verifies that this gem: Contains a valid gem specification Contains a contents archive The contents archive is not corrupt After verification the gem specification from the gem is available from spec

spec

spec() Instance Public methods The spec for this gem. If this is a package for a built gem the spec is loaded from the gem and returned. If this is a package for a gem being built the provided spec is returned.

setup_signer

setup_signer() Instance Public methods Prepares the gem for signing and checksum generation. If a signing certificate and key are not present only checksum generation is set up.