Sha256: 1ee4ee5f8e671ab0294cfde4e3fa85e287461b193dfebc2a2a213c10e48ec917

Contents?: true

Size: 332 Bytes

Versions: 6

Compression:

Stored size: 332 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

6 entries across 6 versions & 2 rubygems

Version Path
openjournals-nameable-1.2.0 Rakefile
openjournals-nameable-1.1.7 Rakefile
openjournals-nameable-1.1.6 Rakefile
openjournals-nameable-1.1.5 Rakefile
openjournals-nameable-1.1.4 Rakefile
nameable-1.1.4 Rakefile