Sha256: cf4c27944103f032b46d63a8cd0da118015cdfb1b53efb7d0473137586b798e9

Contents?: true

Size: 291 Bytes

Versions: 2

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

2 entries across 2 versions & 1 rubygems

Version Path
cert_munger-1.0.0 checksum_generator.rb
cert_munger-0.2.2 checksum_generator.rb