Sha256: c657a22fc8f83d14e43a4cc53576fff0c267fe661af662442a89d3f8d48e1b64

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

#!/usr/bin/env ruby

require 'digest/sha2'

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

5 entries across 5 versions & 1 rubygems

Version Path
matchi-rspec-0.1.1 pkg_checksum
matchi-rspec-0.1.0 pkg_checksum
matchi-rspec-0.0.3 pkg_checksum
matchi-rspec-0.0.2 pkg_checksum
matchi-rspec-0.0.1 pkg_checksum