Skip to content

Conversation

amatsuda
Copy link
Member

Currently, each rake gem release's source_code_uri points to its "releases" page URL on GitHub, e.g. https://github.com/ruby/rake/releases/v13.3.0 but that's not indeed a source_code_uri.

Instead, let's simply link_to https://github.com/ruby/rake. That's what the bundle gem template suggests:
https://github.com/rubygems/rubygems/blob/fcb672f/bundler/lib/bundler/cli/gem.rb#L54
and almost all documentations and test data in rubygems/bundler look like. https://github.com/search?q=repo%3Arubygems%2Frubygems%20source_code_uri&type=code
Or, IMO the name "source code URI" implies that it should at least return a URL that can be git cloned.

FYI the configuration was introduced via #328 but there wasn't any detailed discussion about the validity of the value.

@hsbt
Copy link
Member

hsbt commented Sep 24, 2025

👍

@hsbt hsbt merged commit 03f3b06 into ruby:master Sep 24, 2025
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants