Sha256: 6d7ce35334ffb723a5a62ea869516055d9f32f3e016bed74bfb1860a7a18b22c

Contents?: true

Size: 400 Bytes

Versions: 9

Compression:

Stored size: 400 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'

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

9 entries across 9 versions & 1 rubygems

Version Path
matchi-fix-1.0.1 pkg_checksum
matchi-fix-1.0.0 pkg_checksum
matchi-fix-0.2.0 pkg_checksum
matchi-fix-0.1.5 pkg_checksum
matchi-fix-0.1.4 pkg_checksum
matchi-fix-0.1.3 pkg_checksum
matchi-fix-0.1.2 pkg_checksum
matchi-fix-0.1.1 pkg_checksum
matchi-fix-0.1.0 pkg_checksum