Add gemspec

This commit is contained in:
Hongli Lai (Phusion) 2012-10-04 18:46:08 +02:00
parent 2fa74f6026
commit a9ef3176ac
2 changed files with 25 additions and 0 deletions

18
digest-sha3.gemspec Normal file
View file

@ -0,0 +1,18 @@
require File.expand_path('lib/digest/sha3/version')
Gem::Specification.new do |s|
s.name = "digest-sha3"
s.version = Digest::SHA3::Version::STRING
s.summary = "The SHA-3 (Keccak) hash"
s.email = "hongli@phusion.nl"
s.homepage = "https://github.com/phusion/digest-sha3"
s.description = "The SHA-3 (Keccak) hash."
s.authors = ["Hongli Lai", "Keccak authors"]
s.extensions << "ext/digest/extconf.rb"
s.files = Dir[
"digest-sha3.gemspec",
"ext/**/*.{c,h,rb}",
"lib/**/*"
]
end

View file

@ -0,0 +1,7 @@
module Digest
class SHA3
module Version
STRING = "1.0.0"
end
end
end