Skip to content
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.

License missing from gemspec #1

Closed
bf4 opened this issue Jul 18, 2013 · 5 comments
Closed

License missing from gemspec #1

bf4 opened this issue Jul 18, 2013 · 5 comments

Comments

@bf4
Copy link

bf4 commented Jul 18, 2013

Some companies will only use gems with a certain license.
The canonical and easy way to check is via the gemspec
via e.g.

spec.license = 'MIT'
# or
spec.licenses = ['MIT', 'GPL-2']

Bundler now generates gems with a default 'MIT' license. 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.

If you need help choosing a license, github has created a license picker tool

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 gemspecs not specifying a license as a public service :)
So far it's going pretty well.
I've written a blog post about it

@endorama
Copy link
Owner

I forgot a out that... I'm going to add one the sooner I can (I've some
trouble with my pc right now...)!

@bf4
Copy link
Author

bf4 commented Jul 18, 2013

Awesome, thanks!

@endorama
Copy link
Owner

Fixed, now the gem is under MIT license! :)

@bf4
Copy link
Author

bf4 commented Jul 19, 2013

Awesome, thanks!

@bf4
Copy link
Author

bf4 commented Jul 19, 2013

Oh man, I wrote the same thing twice. I am boring.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants