halostatue / diff-lcs

Generate difference sets between Ruby sequences.
http://halostatue.github.com/diff-lcs
Other
290 stars 57 forks source link

Can you clarify the license of diff-lcs? #27

Closed strzibny closed 10 years ago

strzibny commented 10 years ago

Hi,

I am a bit confused about the license since the LICENSE.rdoc states:

This software is available under three licenses:
the GNU GPL version 2 (or at your option, a later version),
the Perl Artistic license,
or the MIT license. 

and lib/diff/lcs/ldiff.rb file states:

# This program is free software. It may be redistributed and/or modified under
# the terms of the GPL version 2 (or later), the Perl Artistic licence, or the
# Ruby licence.

Can you clarify what is right? Both?

Thank you.

halostatue commented 10 years ago

The Ruby licence, as of 1.9, is essentially the disjunctive license of GNU GPL and MIT. The Licence document trumps regardless.

strzibny commented 10 years ago

@halostatue I know, but now it suggests BSD as well, is that correct?

halostatue commented 10 years ago

I'm not sure. I haven't followed Ruby’s licensing in a while. If I can ever get around to rewriting this with bits that I know 100% that I've written, I will be modifying it to be MIT only, as my preference.