digest-keccak/digest-keccak.gemspec

49 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
2019-06-08 07:53:04 -04:00
require 'digest/keccak/version'
2019-06-08 07:49:58 -04:00
Gem::Specification.new do |spec|
2019-06-08 07:53:04 -04:00
spec.name = 'digest-keccak'
2019-06-08 08:02:01 -04:00
spec.version = Digest::Keccak::VERSION
2019-06-08 07:49:58 -04:00
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',
2019-06-08 07:53:04 -04:00
'digest-keccak.gemspec',
2019-06-08 07:49:58 -04:00
'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'
2019-06-11 10:58:35 -04:00
spec.add_development_dependency 'bundler', '~> 2.0'
2012-10-04 12:46:08 -04:00
end