Skip to content

Commit db8c8bd

Browse files
authored
Add source_code_uri (+ other metadata) to gemspec (#239)
This is necessary in order to get this gem to show up on tea.xyz. Source: <https://docs.tea.xyz/tea/i-want-to.../begin-earning-tea-and-interact-with-the-protocol/registering-an-oss-project#updating-your-url-based-on-your-package-manager>
1 parent 8b971a8 commit db8c8bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

super_diff.gemspec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ Gem::Specification.new do |s|
1313
SuperDiff is a gem that hooks into RSpec to intelligently display the
1414
differences between two data structures of any type.
1515
DESC
16+
s.metadata = {
17+
"bug_tracker_uri" => "https://github.com/mcmire/super_diff/issues",
18+
"changelog_uri" =>
19+
"https://github.com/mcmire/super_diff/blob/main/CHANGELOG.md",
20+
"source_code_uri" => "https://github.com/mcmire/super_diff"
21+
}
1622
s.required_ruby_version = ">= 3"
1723

1824
s.files = %w[README.md super_diff.gemspec] + Dir["lib/**/*"]

0 commit comments

Comments
 (0)