Add gemspec
This commit is contained in:
parent
2fa74f6026
commit
a9ef3176ac
2 changed files with 25 additions and 0 deletions
18
digest-sha3.gemspec
Normal file
18
digest-sha3.gemspec
Normal 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
|
7
lib/digest/sha3/version.rb
Normal file
7
lib/digest/sha3/version.rb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
module Digest
|
||||||
|
class SHA3
|
||||||
|
module Version
|
||||||
|
STRING = "1.0.0"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue