-
Notifications
You must be signed in to change notification settings - Fork 87
/
Copy pathrbnacl.gemspec
35 lines (33 loc) · 1.53 KB
/
rbnacl.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
# frozen_string_literal: true
lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rbnacl/version"
Gem::Specification.new do |spec|
spec.name = "rbnacl"
spec.version = RbNaCl::VERSION
spec.authors = ["Tony Arcieri", "Jonathan Stott"]
spec.email = ["[email protected]", "[email protected]"]
spec.homepage = "https://github.com/RubyCrypto/rbnacl"
spec.licenses = ["MIT"]
spec.summary = "Ruby binding to the libsodium/NaCl cryptography library"
spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
The Networking and Cryptography (NaCl) library provides a high-level toolkit for building
cryptographic systems and protocols
DESCRIPTION
spec.metadata = {
"bug_tracker_uri" => "#{spec.homepage}/issues",
"changelog_uri" => "#{spec.homepage}/blob/master/CHANGES.md",
"documentation_uri" => "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}",
"source_code_uri" => "#{spec.homepage}/tree/v#{spec.version}",
"wiki_uri" => "#{spec.homepage}/wiki"
}
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).reject do |f|
f.start_with?("images/", "spec/", "tasks/", "Rakefile")
end
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.6.0"
spec.add_runtime_dependency "ffi", "~> 1"
spec.add_development_dependency "bundler", "~> 2"
end