Skip to content

Conversation

@kbrock
Copy link
Contributor

@kbrock kbrock commented Oct 22, 2025

It is minor, but it is nice to have a link to source code at https://rubygems.org/gems/gettext

gettext.gemspec Outdated
s.homepage = "https://ruby-gettext.github.io/"
s.metadata = {
"source_code_uri" => "https://github.com/ruby-gettext/gettext",
"changelog_uri" => "https://github.com/ruby-gettext/gettext/releases"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"changelog_uri" => "https://github.com/ruby-gettext/gettext/releases"
"changelog_uri" => "https://github.com/ruby-gettext/gettext/releases/tag/#{spec.version}"

Copy link
Contributor Author

@kbrock kbrock Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, great. I've only used static metadata in the past, but this code uses dynamic strings in version, so it should work.

@kou kou changed the title add metadata for source and changelog Add metadata for source and changelog Oct 23, 2025
@kbrock
Copy link
Contributor Author

kbrock commented Oct 23, 2025

update:

  • updated changelog reference to dynamically point to the correct release tag.

@kbrock
Copy link
Contributor Author

kbrock commented Oct 23, 2025

update:

  • fixed metadata from #{spec.version} to #{s.version}

@kou kou merged commit 4c2668c into ruby-gettext:master Oct 24, 2025
21 of 22 checks passed
@kou
Copy link
Member

kou commented Oct 24, 2025

Thanks.

@kbrock kbrock deleted the metadata branch October 24, 2025 01:27
@kbrock
Copy link
Contributor Author

kbrock commented Oct 24, 2025

@kou thank you for maintaining this great gem

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