Sha256: 66ac36fa0da428ac571c0753cb0e1f34dff3bb2c3ef7088085e912d47679cab8

Contents?: true

Size: 385 Bytes

Versions: 21

Compression:

Stored size: 385 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'

gemname         = :fix
ARGV[0]         = File.read('VERSION.semver').chomp if ARGV[0].nil?
built_gem_path  = "pkg/#{gemname}-#{ARGV[0]}.gem"
checksum        = Digest::SHA512.new.hexdigest(File.read(built_gem_path))
checksum_path   = "checksum/#{gemname}-#{ARGV[0]}.gem.sha512"

File.open(checksum_path, 'w') { |f| f.write("#{checksum}\n") }

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fix-0.17.1 pkg_checksum
fix-0.17.0 pkg_checksum
fix-0.16.0 pkg_checksum
fix-0.15.2 pkg_checksum
fix-0.15.1 pkg_checksum
fix-0.15.0 pkg_checksum
fix-0.14.1 pkg_checksum
fix-0.14.0 pkg_checksum
fix-0.13.0 pkg_checksum
fix-0.12.3 pkg_checksum
fix-0.12.2 pkg_checksum
fix-0.12.1 pkg_checksum
fix-0.12.0 pkg_checksum
fix-0.11.1 pkg_checksum
fix-0.11.0 pkg_checksum
fix-0.10.0 pkg_checksum
fix-0.9.1 pkg_checksum
fix-0.9.0 pkg_checksum
fix-0.8.0 pkg_checksum
fix-0.7.1 pkg_checksum