diff --git a/digest-sha3.gemspec b/digest-sha3.gemspec new file mode 100644 index 0000000..243b347 --- /dev/null +++ b/digest-sha3.gemspec @@ -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 diff --git a/lib/digest/sha3/version.rb b/lib/digest/sha3/version.rb new file mode 100644 index 0000000..a06d262 --- /dev/null +++ b/lib/digest/sha3/version.rb @@ -0,0 +1,7 @@ +module Digest + class SHA3 + module Version + STRING = "1.0.0" + end + end +end \ No newline at end of file