-
Notifications
You must be signed in to change notification settings - Fork 63
/
scrypt.gemspec
56 lines (44 loc) · 1.9 KB
/
scrypt.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# frozen_string_literal: true
# rubocop:disable Performance/EndWith, Style/SpecialGlobalVars
$:.push File.expand_path("../lib", __FILE__)
require 'scrypt/version'
Gem::Specification.new do |s|
s.name = 'scrypt'
s.version = SCrypt::VERSION
s.authors = ['Patrick Hogan',
'Stephen von Takach',
'Rene van Paassen',
'Johanns Gregorian']
s.email = ['[email protected]',
s.cert_chain = ['certs/pbhogan.pem']
s.license = 'BSD-3-Clause'
s.signing_key = File.expand_path('~/.ssh/gem-private_key.pem') if $0 =~ /gem\z/
s.homepage = 'https://github.com/pbhogan/scrypt'
s.summary = 'scrypt password hashing algorithm.'
s.description = <<-DESC
The scrypt key derivation function is designed to be far
more secure against hardware brute-force attacks than
alternative functions such as PBKDF2 or bcrypt.
DESC
s.required_ruby_version = '>= 2.3.0'
s.add_dependency 'ffi-compiler', '>= 1.0', '< 2.0'
s.add_dependency 'rake', '>= 9', '< 14'
s.add_development_dependency 'awesome_print', '>= 1', '< 2'
s.add_development_dependency 'rake', '>= 9', '< 14'
s.add_development_dependency 'rdoc', '>= 4', '< 5'
s.add_development_dependency 'rspec', '>= 3', '< 4'
if RUBY_VERSION >= '2.5'
s.add_development_dependency 'rubocop', '>= 0.76.0', '< 1.0.0'
s.add_development_dependency 'rubocop-gitlab-security', '>= 0.1.1', '< 0.2'
s.add_development_dependency 'rubocop-performance', '>= 1.5.0', '< 1.6.0'
end
s.extensions = ['ext/scrypt/Rakefile']
s.files = %w[Rakefile scrypt.gemspec README.md COPYING] + Dir.glob('{lib,spec,autotest}/**/*')
s.files += Dir.glob('ext/scrypt/*')
s.test_files = Dir.glob('spec/**/*')
s.require_paths = ['lib']
end
# rubocop:enable