Some companies will only use gems with a certain license.
The canonical and easy way to check is via the gemspec
spec.license = 'MIT'
spec.licenses = ['MIT', 'GPL-2']
There is even a License Finder to help companies ensure all gems they use
meet their licensing needs. This tool depends on license information being available in the gemspec.
Including a license in your gemspec is a good practice, in any case.
How did I find you?
I'm using a script to collect stats on gems, originally looking for download data, but decided to collect licenses too,
and make issues for missing ones as a public service :)
https://gist.github.com/bf4/5952053#file-license_issue-rb-L13 So far it's going pretty well
👍 The project for which we developed excursion has been in such a crunch that I keep forgetting to add the license...
Thanks for the reminder, and this is a fantastic service you're providing!
Thanks, very much appreciated!
add license to gemspec (fix for #4)
Awesome, thanks! 🌈