Sha256: 3f809c783160f0c97d38694cc54d4aa2a7014b0de76bfb3bc19d1707e7f01c3d

Contents?: true

Size: 397 Bytes

Versions: 10

Compression:

Stored size: 397 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'

gemname         = 'fix-its'.to_sym
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

10 entries across 10 versions & 1 rubygems

Version Path
fix-its-0.5.1 pkg_checksum
fix-its-0.5.0 pkg_checksum
fix-its-0.4.0 pkg_checksum
fix-its-0.3.3 pkg_checksum
fix-its-0.3.2 pkg_checksum
fix-its-0.3.1 pkg_checksum
fix-its-0.3.0 pkg_checksum
fix-its-0.2.0 pkg_checksum
fix-its-0.1.1 pkg_checksum
fix-its-0.1.0 pkg_checksum