Gem Licenses Exposed on rubygems.org
While working on LicenseFinder, Matt Parker, Ian Lesperance, and David Edwards contributed a patch to rubygems.org to show gem licenses on gem pages. That patch has now been merged. https://github.com/rubygems/rubygems.org/pull/458
If you browse to a gem version page on rubygems.org, you’ll see a new “Licenses” section. At the moment, this will show “N/A” for most gems, but as people begin to push up new versions of their gems, and as more gem authors set the
licenses metadata in their gemspec, you’ll start to see gem licenses.
Gem::Specification.new do |s| #.... s.licenses = ["MIT", "BSD-3"] #.... end