From 907fb1b75d3b4b77b89f32e958c2d329b5478d95 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Wed, 24 Sep 2025 22:53:43 +0900 Subject: [PATCH] source_code_uri should point to the gem's public repo URL That's what the `bundle gem` template suggests: https://github.com/rubygems/rubygems/blob/fcb672f/bundler/lib/bundler/cli/gem.rb#L54 --- rake.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rake.gemspec b/rake.gemspec index 49cec19a9..589979058 100644 --- a/rake.gemspec +++ b/rake.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |s| "bug_tracker_uri" => "https://github.com/ruby/rake/issues", "changelog_uri" => "https://github.com/ruby/rake/releases", "documentation_uri" => "https://ruby.github.io/rake", - "source_code_uri" => "#{s.homepage}/releases/v#{s.version}" + "source_code_uri" => s.homepage } s.files = [