Links on sidebar of gem page

Jarrett Lusso's Avatar

Jarrett Lusso

13 Jun, 2019 01:37 PM

How come I see some gems have links on the sidebar for things like Source Code and Bug Tracker that do not have this specified in the gemspec. I can't seem to figure out how some of my gems have this and more recently pushed ones do not. Was there a time in the past where rubygems just figured these out automatically?

  1. Support Staff 1 Posted by sonalkr132 on 29 Jun, 2019 06:08 AM

    sonalkr132's Avatar

    Hi Jarrett,
    Sorry about the delay in response.

    How come I see some gems have links on the sidebar for things like Source Code and Bug Tracker that do not have this specified in the gemspec.

    We have a legacy linkset resource which is used as the fallback if you don't specify them in the gemspec. You can use metadata attribute of gemspec to set/update those links. Read more

  2. 2 Posted by Jarrett Lusso on 30 Jun, 2019 05:13 PM

    Jarrett Lusso's Avatar

    So older gems defaulted to having those links but new ones need to have
    them specified is what you’re telling me? Thanks

  3. Support Staff 3 Posted by sonalkr132 on 30 Jun, 2019 07:00 PM

    sonalkr132's Avatar

    All gems fallback to the linkset values previously set using UI, including new releases. If you need to update or set any of the old values, please use the new metadata attribute format.
    Please let us know the gem where you can't see the sidebar links, and we can tell you the exact reason/issue.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac