From db46c0f4acd29ec7edcc3940fb5953c166f21ccb Mon Sep 17 00:00:00 2001 From: Matt Van Gundy Date: Wed, 3 Jun 2026 16:09:05 -0700 Subject: [PATCH] Add source_code_uri to gem metadata Point the gem's metadata at the canonical GitHub repository so RubyGems links to the source code. Co-Authored-By: Claude Opus 4.8 (1M context) --- yard.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/yard.gemspec b/yard.gemspec index 4ac840235..c185c653e 100644 --- a/yard.gemspec +++ b/yard.gemspec @@ -22,4 +22,5 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 1.8.7' if s.respond_to?(:required_ruby_version=) s.metadata['yard.run'] = 'yri' s.metadata['changelog_uri'] = 'https://rubydoc.info/gems/yard/file/CHANGELOG.md' + s.metadata['source_code_uri'] = 'https://github.com/lsegal/yard' end