Debian Codegraph @

rbnacl.gemspec

raw ◀ ▶
Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
1 # frozen_string_literal: true
2
3 lib = File.expand_path("lib", __dir__)
4 $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5 require "rbnacl/version"
6
7 Gem::Specification.new do |spec|
8 spec.name = "rbnacl"
9 spec.version = RbNaCl::VERSION
10 spec.authors = ["Tony Arcieri", "Jonathan Stott"]
11 spec.email = ["[email protected]", "[email protected]"]
12 spec.homepage = "https://github.com/RubyCrypto/rbnacl"
13 spec.licenses = ["MIT"]
14 spec.summary = "Ruby binding to the libsodium/NaCl cryptography library"
15 spec.description = <<-DESCRIPTION.strip.gsub(/\s+/, " ")
16 The Networking and Cryptography (NaCl) library provides a high-level toolkit for building
17 cryptographic systems and protocols
18 DESCRIPTION
19 spec.metadata = {
20 "bug_tracker_uri" => "#{spec.homepage}/issues",
21 "changelog_uri" => "#{spec.homepage}/blob/master/CHANGES.md",
22 "documentation_uri" => "https://www.rubydoc.info/gems/#{spec.name}/#{spec.version}",
23 "source_code_uri" => "#{spec.homepage}/tree/v#{spec.version}",
24 "wiki_uri" => "#{spec.homepage}/wiki"
25 }
26 spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).reject do |f|
27 f.start_with?("images/", "spec/", "tasks/", "Rakefile")
28 end
29 spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
30 spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
31 spec.require_paths = ["lib"]
32 spec.required_ruby_version = ">= 2.6.0"
33 spec.add_runtime_dependency "ffi", "~> 1"
34 spec.add_development_dependency "bundler", "~> 2"
35 end