Sha256: 82788996efd2c80cd993253973ce765a30e98fe57b41b3f8902df487e00d16c2

Contents?: true

Size: 333 Bytes

Versions: 2

Compression:

Stored size: 333 Bytes

Contents

require 'bundler/gem_tasks'
require 'digest/sha2'

task default: %w(build)

desc "Update checksums for gems in ./pkg"
task :checksums do
  Dir.glob('pkg/*.gem').each do |gem|
    checksum = Digest::SHA512.new.hexdigest(File.read(gem))
    File.open("#{gem.gsub(/pkg/, 'checksums')}.sha512", 'w') { |f| f.write(checksum) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dialable-1.0.2 Rakefile
dialable-1.0.0 Rakefile