Skip to content

Commit

Permalink
Add project metadata to the gemspec (#447)
Browse files Browse the repository at this point in the history
* 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 changelog. These links
will appear on the rubygems page at
https://rubygems.org/gems/cucumber-rails and be available via the
rubygems API after the next release.

* Remove wiki URI
  • Loading branch information
orien authored and olleolleolle committed Nov 4, 2019
1 parent c618f55 commit 23e141c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cucumber-rails.gemspec
Expand Up @@ -9,10 +9,18 @@ Gem::Specification.new do |s|
s.description = 'Cucumber Generator and Runtime for Rails' s.description = 'Cucumber Generator and Runtime for Rails'
s.summary = "#{s.name}-#{s.version}" s.summary = "#{s.name}-#{s.version}"
s.email = 'cukes@googlegroups.com' s.email = 'cukes@googlegroups.com'
s.homepage = 'http://cukes.info' s.homepage = 'https://cucumber.io'


s.license = 'MIT' s.license = 'MIT'


s.metadata = {
'bug_tracker_uri' => 'https://github.com/cucumber/cucumber-rails/issues',
'changelog_uri' => "https://github.com/cucumber/cucumber-rails/blob/v#{s.version}/CHANGELOG.md",
'documentation_uri' => 'https://cucumber.io/docs',
'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/cukes',
'source_code_uri' => "https://github.com/cucumber/cucumber-rails/tree/v#{s.version}"
}

s.add_runtime_dependency('capybara', ['>= 2.12', '< 4']) s.add_runtime_dependency('capybara', ['>= 2.12', '< 4'])
s.add_runtime_dependency('cucumber', ['>= 3.0.2', '< 4']) s.add_runtime_dependency('cucumber', ['>= 3.0.2', '< 4'])
s.add_runtime_dependency('mime-types', ['>= 2.0', '< 4']) s.add_runtime_dependency('mime-types', ['>= 2.0', '< 4'])
Expand Down

0 comments on commit 23e141c

Please sign in to comment.