Closed dod38fr closed 8 years ago
With some squashing, and correcting the typo noted above, this looks reasonable to me on first glance.
No problem. I'll do this tomorrow.
All the best
Done. The typo is fixed and the commits were squashed.
All the best
Actutally, this PR was merged a while ago by rjbs. I don't know why this PR was not closed before.
Hum, I messed up the above squash. I've now fixed everything but I cannot re-open this PR.
I'm going to create another PR.
Sorry about the mess
Hello
Previously,
new_from_short_name
worked using a set of pre-defined short names like GPL-1...Unfortunately, this means that this method failed when using a short name like
MIT
.This patch fixes this behavior: when the passed short name is not known (say
Foo
),new_from_short_name
tries to load a class likeSoftware::License::Foo
.I believe that this behavior makes more sense.
All the best