Skip to content

Commit

Permalink
Merge pull request #207 from orien/gem-metadata
Browse files Browse the repository at this point in the history
Add project metadata to the gemspec
  • Loading branch information
tarcieri authored Jan 16, 2020
2 parents 67fd0b0 + 44185e1 commit 1bbe2d6
Showing 1 changed file with 8 additions and 1 deletion.
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

0 comments on commit 1bbe2d6

Please sign in to comment.