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'
|
2019-10-09 13:07:23 -04:00
|
|
|
spec.homepage = 'https://github.com/kotovalexarian/digest-keccak'
|
2019-06-08 07:49:58 -04:00
|
|
|
spec.summary = 'The Keccak cryptographic hash function.'
|
2019-10-03 20:47:01 -04:00
|
|
|
spec.platform = Gem::Platform::RUBY
|
2019-06-08 07:49:58 -04:00
|
|
|
|
|
|
|
spec.required_ruby_version = '~> 2.2'
|
|
|
|
|
2021-01-21 14:33:55 -05:00
|
|
|
spec.authors = ['Alex Kotov', 'Hongli Lai (Phusion)', 'Keccak authors']
|
|
|
|
spec.email = %w[kotovalexarian@gmail.com]
|
2019-06-08 07:49:58 -04:00
|
|
|
|
|
|
|
spec.description = <<-DESCRIPTION.split.join ' '
|
|
|
|
The Keccak (draft version of SHA-3) cryptographic hash function.
|
|
|
|
DESCRIPTION
|
|
|
|
|
|
|
|
spec.metadata = {
|
2019-10-09 13:07:23 -04:00
|
|
|
'homepage_uri' => 'https://github.com/kotovalexarian/digest-keccak',
|
|
|
|
'source_code_uri' => 'https://github.com/kotovalexarian/digest-keccak',
|
2019-06-08 07:49:58 -04:00
|
|
|
'bug_tracker_uri' =>
|
2019-10-09 13:07:23 -04:00
|
|
|
'https://github.com/kotovalexarian/digest-keccak/issues',
|
2019-06-08 07:49:58 -04:00
|
|
|
}.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
|
|
|
|
2021-01-21 14:33:55 -05:00
|
|
|
spec.test_files = spec.files.grep %r{^(test|spec|features)/}
|
|
|
|
|
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
|
|
|
|
2021-01-21 14:52:24 -05:00
|
|
|
spec.add_development_dependency 'bundler', '~> 2.2'
|
|
|
|
spec.add_development_dependency 'rake', '~> 13.0'
|
|
|
|
spec.add_development_dependency 'rubocop', '~> 1.7'
|
|
|
|
spec.add_development_dependency 'rubocop-performance', '~> 1.9'
|
2012-10-04 12:46:08 -04:00
|
|
|
end
|