Skip to content

Commit

Permalink
Add gem metadata (tonsky#794)
Browse files Browse the repository at this point in the history
Add metadata to display as direct links on the rubygems page for this library
  • Loading branch information
viraptor authored and antstorm committed Aug 13, 2018
1 parent d28304e commit 02a04c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions money.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ Gem::Specification.new do |s|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ["lib"]

if s.respond_to?(:metadata)
s.metadata['changelog_uri'] = 'https://github.com/RubyMoney/money/blob/master/CHANGELOG.md'
s.metadata['source_code_uri'] = 'https://github.com/RubyMoney/money/'
s.metadata['bug_tracker_uri'] = 'https://github.com/RubyMoney/money/issues'
end
end

0 comments on commit 02a04c0

Please sign in to comment.