-
Notifications
You must be signed in to change notification settings - Fork 65
Expand file tree
/
Copy pathscrypt.gemspec
More file actions
42 lines (33 loc) · 1.34 KB
/
scrypt.gemspec
File metadata and controls
42 lines (33 loc) · 1.34 KB
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
# frozen_string_literal: true
$:.push File.expand_path('lib', __dir__)
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 = ['pbhogan@gmail.com',
'steve@advancedcontrol.com.au',
'rene.vanpaassen@gmail.com',
'io+scrypt@jsg.io']
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.metadata['rubygems_mfa_required'] = 'true'
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', '~> 13'
s.extensions = ['ext/scrypt/Rakefile']
s.files = %w[Rakefile scrypt.gemspec README.md COPYING] + Dir.glob('{lib,spec}/**/*')
s.files += Dir.glob('ext/scrypt/*')
s.require_paths = ['lib']
end