ruby-gettext / gettext

Gettext gem is a pure Ruby Localization(L10n) library and tool which is modeled after the GNU gettext package.
https://ruby-gettext.github.io/
68 stars 28 forks source link

Register Ruby and LGPLv3 licenses separately #88

Closed joshcooper closed 3 years ago

joshcooper commented 3 years ago

Updates the gemspec to register each license using the plural licenses= setter[1] and the respective SPDX ID, so that it's machine readable.

[1] https://guides.rubygems.org/specification-reference/#licenses=

joshcooper commented 3 years ago
❯ bundle exec gem build gettext                           
...
  Successfully built RubyGem
  Name: gettext
  Version: 3.4.1
  File: gettext-3.4.1.gem

❯ bundle exec gem specification gettext-3.4.1.gem | grep -A2 licenses
licenses:
- Ruby
- LGPL-3.0+
kou commented 3 years ago

Good catch!

joshcooper commented 3 years ago

Thanks @kou! Would it be possible to release a gem?

kou commented 3 years ago

Sure. Done.