name = "parallel"
$LOAD_PATH << File.expand_path('../lib', __FILE__)
require "#{name}/version"

Gem::Specification.new name, Parallel::VERSION do |s|
  s.summary = "Run any kind of code in parallel processes"
  s.authors = ["Michael Grosser"]
  s.email = "michael@grosser.it"
  s.homepage = "https://github.com/grosser/#{name}"
  s.files = `git ls-files lib MIT-LICENSE.txt`.split("\n")
  s.license = "MIT"
  s.required_ruby_version = '>= 2.2'
end

name = "parallel"
$LOAD_PATH << File.expand_path('../lib', __FILE__)
require "#{name}/version"

Gem::Specification.new name, Parallel::VERSION do |s|
  s.summary = "Run any kind of code in parallel processes"
  s.authors = ["Michael Grosser"]
  s.email = "michael@grosser.it"
  s.homepage = "https://github.com/grosser/#{name}"
  s.metadata = {
    "bug_tracker_uri"   => "https://github.com/grosser/#{name}/issues",
    "documentation_uri" => "https://www.rubydoc.info/gems/#{name}/#{s.version}",
    "source_code_uri"   => "https://github.com/grosser/#{name}/tree/v#{s.version}",
    "wiki_uri"          => "https://github.com/grosser/#{name}/wiki",
  }
  s.files = `git ls-files lib MIT-LICENSE.txt`.split("\n")
  s.license = "MIT"
  s.required_ruby_version = '>= 2.2'
end

Add project metadata to the gemspec
Add project metadata to the gemspec

As per https://guides.rubygems.org/specification-reference/#metadata,
add metadata to the gemspec file. This'll allow people to more easily
access the source code, raise issues and read the wiki. These
`bug_tracker_uri`, `wiki_uri`, `documentation_uri` and `source_code_uri`
links will appear on the rubygems page at
https://rubygems.org/gems/parallel and be available via the rubygems API
after the next release.
