Skip to content

Commit

Permalink
Add homepage & metadata to betterlint.gemspec
Browse files Browse the repository at this point in the history
Metadata will help people on RubyGems.org, or other library indexers, to find the source code, issue tracker, CHANGELOG, etc
  • Loading branch information
pboling authored May 2, 2024
1 parent 0a3bb88 commit 7fd83ea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions betterlint.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ Gem::Specification.new do |s|
s.summary = "Betterment rubocop configuration"
s.description = "Betterment rubocop configuration"
s.license = "MIT"

s.homepage = "https://github.com/Betterment/#{s.name}"
s.metadata["homepage_uri"] = s.homepage
s.metadata["source_code_uri"] = "#{s.homepage}/tree/v#{s.version}"
s.metadata["changelog_uri"] = "#{s.homepage}/blob/v#{s.version}/CHANGELOG.md"
s.metadata["bug_tracker_uri"] = "#{s.homepage}/issues"
s.metadata["documentation_uri"] = "https://www.rubydoc.info/gems/#{s.name}/#{s.version}"
s.metadata['rubygems_mfa_required'] = 'true'

s.files = Dir["README.md", "STYLEGUIDE.md", "config/*.yml", "lib/**/*.rb"]
Expand Down

0 comments on commit 7fd83ea

Please sign in to comment.