Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add project metadata to the gemspec #207

Merged
merged 2 commits into from
Jan 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion rbnacl.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ Gem::Specification.new do |spec|
spec.version = RbNaCl::VERSION
spec.authors = ["Tony Arcieri", "Jonathan Stott"]
spec.email = ["[email protected]", "[email protected]"]
spec.homepage = "https://github.com/crypto-rb/rbnacl"
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)
spec.executables = spec.files.grep(%r{^bin/}).map { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
Expand Down