Sha256: 36350a363b3ea144cf74c17b56a80142567ef3f38735bab45d9b3bedaa834fcd

Contents?: true

Size: 291 Bytes

Versions: 1

Compression:

Stored size: 291 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'
built_gem_path = "pkg/cert_munger-#{ENV['VERSION']}.gem"
checksum = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
checksum_path = "checksum/cert_munger-#{ENV['VERSION']}.gem.sha512"
File.open(checksum_path, 'w' ) {|f| f.write(checksum) }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cert_munger-0.2.1 checksum_generator.rb