digest-keccak/digest-keccak.gemspec

55 lines
1.7 KiB
Ruby
Raw Normal View History

2019-06-08 11:49:58 +00:00
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__).freeze
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
2019-06-08 11:53:04 +00:00
require 'digest/keccak/version'
2019-06-08 11:49:58 +00:00
Gem::Specification.new do |spec|
2019-06-08 11:53:04 +00:00
spec.name = 'digest-keccak'
2019-06-08 12:02:01 +00:00
spec.version = Digest::Keccak::VERSION
2019-06-08 11:49:58 +00:00
spec.license = 'MIT'
2019-10-09 17:07:23 +00:00
spec.homepage = 'https://github.com/kotovalexarian/digest-keccak'
2019-06-08 11:49:58 +00:00
spec.summary = 'The Keccak cryptographic hash function.'
2019-10-04 00:47:01 +00:00
spec.platform = Gem::Platform::RUBY
2019-06-08 11:49:58 +00:00
spec.required_ruby_version = '>= 2.2', '< 4'
2019-06-08 11:49:58 +00:00
2021-01-21 19:33:55 +00:00
spec.authors = ['Alex Kotov', 'Hongli Lai (Phusion)', 'Keccak authors']
spec.email = %w[kotovalexarian@gmail.com]
2019-06-08 11:49:58 +00:00
spec.description = <<-DESCRIPTION.split.join ' '
The Keccak (draft version of SHA-3) cryptographic hash function.
DESCRIPTION
spec.metadata = {
2019-10-09 17:07:23 +00:00
'homepage_uri' => 'https://github.com/kotovalexarian/digest-keccak',
'source_code_uri' => 'https://github.com/kotovalexarian/digest-keccak',
2019-06-08 11:49:58 +00:00
'bug_tracker_uri' =>
2019-10-09 17:07:23 +00:00
'https://github.com/kotovalexarian/digest-keccak/issues',
2019-06-08 11:49:58 +00:00
}.freeze
spec.bindir = 'exe'
spec.require_paths = ['lib']
spec.files = Dir[
'README.md',
'LICENSE',
'Makefile',
2019-06-08 11:53:04 +00:00
'digest-keccak.gemspec',
2019-06-08 11:49:58 +00:00
'ext/**/*.{c,h,rb}',
'lib/**/*',
2012-10-04 16:46:08 +00:00
]
2019-06-08 11:49:58 +00:00
2021-01-21 19:33:55 +00:00
spec.test_files = spec.files.grep %r{^(test|spec|features)/}
2019-06-08 11:49:58 +00:00
spec.executables = spec.files.grep %r{^exe/}, &File.method(:basename)
spec.extensions << 'ext/digest/extconf.rb'
2019-06-11 14:58:35 +00: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 16:46:08 +00:00
end