From b8a8003d4584027491f28e90d55b622d12db7360 Mon Sep 17 00:00:00 2001 From: Leon Wright Date: Wed, 25 May 2016 15:16:22 +0800 Subject: [PATCH] Add 'Unlicense' - closes #51 --- lib/App/KSP_CKAN/Roles/Licenses.pm | 2 ++ t/App/KSP_CKAN/Roles/Licenses.t | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/App/KSP_CKAN/Roles/Licenses.pm b/lib/App/KSP_CKAN/Roles/Licenses.pm index 4d302ba..7324d7f 100644 --- a/lib/App/KSP_CKAN/Roles/Licenses.pm +++ b/lib/App/KSP_CKAN/Roles/Licenses.pm @@ -102,6 +102,7 @@ method _build__license_urls { "W3C" => 'https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document', "Zlib" => 'http://www.zlib.net/zlib_license.html', "Zope" => 'http://old.zope.org/Resources/License.1', + "Unlicense" => 'https://unlicense.org/UNLICENSE', } } @@ -144,6 +145,7 @@ method redistributable_licenses { "Zlib", "Zope", "WTFPL", + "Unlicense", "open-source", "unrestricted" ]; } diff --git a/t/App/KSP_CKAN/Roles/Licenses.t b/t/App/KSP_CKAN/Roles/Licenses.t index 1096618..80ea3c1 100644 --- a/t/App/KSP_CKAN/Roles/Licenses.t +++ b/t/App/KSP_CKAN/Roles/Licenses.t @@ -40,6 +40,7 @@ subtest 'licenses' => sub { "Zlib", "Zope", "WTFPL", + "Unlicense", "open-source", "unrestricted" ]; my @test = $licenses->redistributable_licenses;