This method is deprecated or moved on the latest stable version.
The last existing version (v1_9_3_392) is shown here.
add_signatures()
public
Adds data.tar.gz.sig and metadata.gz.sig to the gem-format tar files if a
Gem::Security::Signer was sent to
initialize.
# File lib/rubygems/package/tar_output.rb, line 123
def add_signatures
if @data_signature then
@tar_writer.add_file 'data.tar.gz.sig', 0644 do |io|
io.write @data_signature
end
end
if @meta_signature then
@tar_writer.add_file 'metadata.gz.sig', 0644 do |io|
io.write @meta_signature
end
end
end