digest-keccak/digest-sha3.gemspec

47 lines
1.3 KiB
Ruby
Raw Normal View History

2019-06-08 07:49:58 -04:00
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__).freeze
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
require 'digest/sha3/version'
Gem::Specification.new do |spec|
spec.name = 'digest-sha3'
spec.version = Digest::SHA3::Version::STRING
spec.license = 'MIT'
spec.homepage = 'https://github.com/kotovalexarian/digest-keccak.rb'
spec.summary = 'The Keccak cryptographic hash function.'
spec.required_ruby_version = '~> 2.2'
spec.authors = ['Hongli Lai (Phusion)', 'Keccak authors']
spec.email = %w[software-signing@phusion.nl]
spec.description = <<-DESCRIPTION.split.join ' '
The Keccak (draft version of SHA-3) cryptographic hash function.
DESCRIPTION
spec.metadata = {
'homepage_uri' => 'https://github.com/kotovalexarian/digest-keccak.rb',
'source_code_uri' => 'https://github.com/kotovalexarian/digest-keccak.rb',
'bug_tracker_uri' =>
'https://github.com/kotovalexarian/digest-keccak.rb/issues',
}.freeze
spec.bindir = 'exe'
spec.require_paths = ['lib']
spec.files = Dir[
'README.md',
'LICENSE',
'Makefile',
'digest-sha3.gemspec',
'ext/**/*.{c,h,rb}',
'lib/**/*',
2012-10-04 12:46:08 -04:00
]
2019-06-08 07:49:58 -04:00
spec.executables = spec.files.grep %r{^exe/}, &File.method(:basename)
spec.extensions << 'ext/digest/extconf.rb'
2012-10-04 12:46:08 -04:00
end