Hello community, here is the log from the commit of package perl-Software-License for openSUSE:Factory checked in at 2016-05-12 09:33:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-Software-License (Old) and /work/SRC/openSUSE:Factory/.perl-Software-License.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Software-License" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-Software-License/perl-Software-License.changes 2016-01-22 01:09:58.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-Software-License.new/perl-Software-License.changes 2016-05-12 09:33:20.000000000 +0200 @@ -1,0 +2,12 @@ +Thu May 5 10:08:43 UTC 2016 - co...@suse.com + +- updated to 0.103012 + see /usr/share/doc/packages/perl-Software-License/Changes + + 0.103012 2016-04-23 14:57:59+01:00 Europe/London + - consider license names without parentheses when scanning text for + license (thanks, charsbar!) + - when scanning text for license, put known substrings inside .. + (thanks, charsbar!) + +------------------------------------------------------------------- Old: ---- Software-License-0.103011.tar.gz New: ---- Software-License-0.103012.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-Software-License.spec ++++++ --- /var/tmp/diff_new_pack.wuPHKw/_old 2016-05-12 09:33:21.000000000 +0200 +++ /var/tmp/diff_new_pack.wuPHKw/_new 2016-05-12 09:33:21.000000000 +0200 @@ -17,7 +17,7 @@ Name: perl-Software-License -Version: 0.103011 +Version: 0.103012 Release: 0 %define cpan_name Software-License Summary: Packages That Provide Templated Software Licenses ++++++ Software-License-0.103011.tar.gz -> Software-License-0.103012.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/Changes new/Software-License-0.103012/Changes --- old/Software-License-0.103011/Changes 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/Changes 2016-04-23 15:58:04.000000000 +0200 @@ -1,5 +1,11 @@ Revision history for Software-License +0.103012 2016-04-23 14:57:59+01:00 Europe/London + - consider license names without parentheses when scanning text for + license (thanks, charsbar!) + - when scanning text for license, put known substrings inside \b..\b + (thanks, charsbar!) + 0.103011 2016-01-16 21:27:53-05:00 America/New_York - do not load Sub::Install, since it isn't used! - eliminate superfluous FULL STOP characters (".") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/MANIFEST new/Software-License-0.103012/MANIFEST --- old/Software-License-0.103011/MANIFEST 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/MANIFEST 2016-04-23 15:58:04.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.043. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.001. Changes LICENSE MANIFEST @@ -41,8 +41,10 @@ t/00-report-prereqs.t t/basic.t t/bsd-url.t +t/creative_commons.t t/custom-license t/custom.t +t/guess_license_from_pod.t t/guess_meta_license.t t/meta-names.t t/round-trip.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/META.json new/Software-License-0.103012/META.json --- old/Software-License-0.103011/META.json 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/META.json 2016-04-23 15:58:04.000000000 +0200 @@ -4,7 +4,7 @@ "Ricardo Signes <r...@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.043, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.001, CPAN::Meta::Converter version 2.150005", "license" : [ "perl_5" ], @@ -63,10 +63,10 @@ "web" : "https://github.com/rjbs/Software-License" } }, - "version" : "0.103011", + "version" : "0.103012", "x_Dist_Zilla" : { "perl" : { - "version" : "5.023003" + "version" : "5.023009" }, "plugins" : [ { @@ -112,7 +112,7 @@ } }, "name" : "@RJBS/RJBS-Outdated", - "version" : "0.047" + "version" : "0.049" }, { "class" : "Dist::Zilla::Plugin::PromptIfStale", @@ -126,62 +126,62 @@ } }, "name" : "@RJBS/CPAN-Outdated", - "version" : "0.047" + "version" : "0.049" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@RJBS/@Filter/PruneCruft", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@RJBS/@Filter/ManifestSkip", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@RJBS/@Filter/MetaYAML", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@RJBS/@Filter/License", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@RJBS/@Filter/Readme", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@RJBS/@Filter/ExecDir", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@RJBS/@Filter/ShareDir", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@RJBS/@Filter/Manifest", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@RJBS/@Filter/TestRelease", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@RJBS/@Filter/ConfirmRelease", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@RJBS/@Filter/UploadToCPAN", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -191,12 +191,12 @@ } }, "name" : "@RJBS/MakeMaker", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "@RJBS/AutoPrereqs", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::Git::NextVersion", @@ -216,22 +216,22 @@ { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "@RJBS/PkgVersion", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@RJBS/MetaConfig", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@RJBS/MetaJSON", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::NextRelease", "name" : "@RJBS/NextRelease", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", @@ -241,12 +241,12 @@ { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@RJBS/PodSyntaxTests", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "@RJBS/Test::ReportPrereqs", - "version" : "0.021" + "version" : "0.024" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -257,7 +257,7 @@ } }, "name" : "@RJBS/TestMoreWithSubtests", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -430,7 +430,7 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "0.103011", + "tag" : "0.103012", "tag_format" : "%v", "tag_message" : "v%v" }, @@ -474,57 +474,57 @@ } }, "name" : "@RJBS/Git::Contributors", - "version" : "0.017" + "version" : "0.022" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.043" + "version" : "6.001" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.043" + "version" : "6.001" } ], "zilla" : { @@ -532,7 +532,7 @@ "config" : { "is_trial" : "0" }, - "version" : "5.043" + "version" : "6.001" } }, "x_contributors" : [ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/META.yml new/Software-License-0.103012/META.yml --- old/Software-License-0.103011/META.yml 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/META.yml 2016-04-23 15:58:04.000000000 +0200 @@ -10,7 +10,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.043, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.001, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -31,10 +31,10 @@ bugtracker: https://github.com/rjbs/Software-License/issues homepage: https://github.com/rjbs/Software-License repository: https://github.com/rjbs/Software-License.git -version: '0.103011' +version: '0.103012' x_Dist_Zilla: perl: - version: '5.023003' + version: '5.023009' plugins: - class: Dist::Zilla::Plugin::Git::GatherDir @@ -70,7 +70,7 @@ phase: build skip: [] name: '@RJBS/RJBS-Outdated' - version: '0.047' + version: '0.049' - class: Dist::Zilla::Plugin::PromptIfStale config: @@ -81,62 +81,62 @@ phase: release skip: [] name: '@RJBS/CPAN-Outdated' - version: '0.047' + version: '0.049' - class: Dist::Zilla::Plugin::PruneCruft name: '@RJBS/@Filter/PruneCruft' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::ManifestSkip name: '@RJBS/@Filter/ManifestSkip' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::MetaYAML name: '@RJBS/@Filter/MetaYAML' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::License name: '@RJBS/@Filter/License' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::Readme name: '@RJBS/@Filter/Readme' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::ExecDir name: '@RJBS/@Filter/ExecDir' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::ShareDir name: '@RJBS/@Filter/ShareDir' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::Manifest name: '@RJBS/@Filter/Manifest' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::TestRelease name: '@RJBS/@Filter/TestRelease' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@RJBS/@Filter/ConfirmRelease' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@RJBS/@Filter/UploadToCPAN' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 9 name: '@RJBS/MakeMaker' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@RJBS/AutoPrereqs' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::Git::NextVersion config: @@ -151,19 +151,19 @@ - class: Dist::Zilla::Plugin::PkgVersion name: '@RJBS/PkgVersion' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::MetaConfig name: '@RJBS/MetaConfig' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::MetaJSON name: '@RJBS/MetaJSON' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::NextRelease name: '@RJBS/NextRelease' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::Test::ChangesHasContent name: '@RJBS/Test::ChangesHasContent' @@ -171,11 +171,11 @@ - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@RJBS/PodSyntaxTests' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: '@RJBS/Test::ReportPrereqs' - version: '0.021' + version: '0.024' - class: Dist::Zilla::Plugin::Prereqs config: @@ -183,7 +183,7 @@ phase: test type: requires name: '@RJBS/TestMoreWithSubtests' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -316,7 +316,7 @@ branch: ~ changelog: Changes signed: 0 - tag: '0.103011' + tag: '0.103012' tag_format: '%v' tag_message: v%v Dist::Zilla::Role::Git::Repo: @@ -347,52 +347,52 @@ paths: - . name: '@RJBS/Git::Contributors' - version: '0.017' + version: '0.022' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '5.043' + version: '6.001' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '5.043' + version: '6.001' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '5.043' + version: '6.001' x_contributors: - 'Bernardo Rechea <brb...@gmail.com>' - 'Bernhard Amann <bernh...@icsi.berkeley.edu>' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/Makefile.PL new/Software-License-0.103012/Makefile.PL --- old/Software-License-0.103011/Makefile.PL 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/Makefile.PL 2016-04-23 15:58:04.000000000 +0200 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.043. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.001. use strict; use warnings; @@ -33,7 +33,7 @@ "Test::More" => "0.96", "Try::Tiny" => 0 }, - "VERSION" => "0.103011", + "VERSION" => "0.103012", "test" => { "TESTS" => "t/*.t" } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/README new/Software-License-0.103012/README --- old/Software-License-0.103011/README 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/README 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ This archive contains the distribution Software-License, -version 0.103011: +version 0.103012: packages that provide templated software licenses @@ -11,5 +11,5 @@ the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v5.043. +This README file was generated by Dist::Zilla::Plugin::Readme v6.001. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/AGPL_3.pm new/Software-License-0.103012/lib/Software/License/AGPL_3.pm --- old/Software-License-0.103011/lib/Software/License/AGPL_3.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/AGPL_3.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::AGPL_3; -$Software::License::AGPL_3::VERSION = '0.103011'; +$Software::License::AGPL_3::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: GNU Affero General Public License, Version 3 @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Apache_1_1.pm new/Software-License-0.103012/lib/Software/License/Apache_1_1.pm --- old/Software-License-0.103011/lib/Software/License/Apache_1_1.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Apache_1_1.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Apache_1_1; -$Software::License::Apache_1_1::VERSION = '0.103011'; +$Software::License::Apache_1_1::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Apache Software License, Version 1.1 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Apache_2_0.pm new/Software-License-0.103012/lib/Software/License/Apache_2_0.pm --- old/Software-License-0.103011/lib/Software/License/Apache_2_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Apache_2_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Apache_2_0; -$Software::License::Apache_2_0::VERSION = '0.103011'; +$Software::License::Apache_2_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Apache License, Version 2.0 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Artistic_1_0.pm new/Software-License-0.103012/lib/Software/License/Artistic_1_0.pm --- old/Software-License-0.103011/lib/Software/License/Artistic_1_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Artistic_1_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Artistic_1_0; -$Software::License::Artistic_1_0::VERSION = '0.103011'; +$Software::License::Artistic_1_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Artistic License @@ -60,7 +60,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 OPTIONS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Artistic_2_0.pm new/Software-License-0.103012/lib/Software/License/Artistic_2_0.pm --- old/Software-License-0.103011/lib/Software/License/Artistic_2_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Artistic_2_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Artistic_2_0; -$Software::License::Artistic_2_0::VERSION = '0.103011'; +$Software::License::Artistic_2_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Artistic License 2.0 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/BSD.pm new/Software-License-0.103012/lib/Software/License/BSD.pm --- old/Software-License-0.103011/lib/Software/License/BSD.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/BSD.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::BSD; -$Software::License::BSD::VERSION = '0.103011'; +$Software::License::BSD::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The (three-clause) BSD License @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/CC0_1_0.pm new/Software-License-0.103012/lib/Software/License/CC0_1_0.pm --- old/Software-License-0.103011/lib/Software/License/CC0_1_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/CC0_1_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::CC0_1_0; -$Software::License::CC0_1_0::VERSION = '0.103011'; +$Software::License::CC0_1_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: the "public domain"-like CC0 license, version 1.0 @@ -36,7 +36,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 WARNING diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Custom.pm new/Software-License-0.103012/lib/Software/License/Custom.pm --- old/Software-License-0.103011/lib/Software/License/Custom.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Custom.pm 2016-04-23 15:58:04.000000000 +0200 @@ -2,7 +2,7 @@ use warnings; package Software::License::Custom; # ABSTRACT: custom license handler -$Software::License::Custom::VERSION = '0.103011'; +$Software::License::Custom::VERSION = '0.103012'; use parent 'Software::License'; use Carp; @@ -205,7 +205,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 DESCRIPTION diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/FreeBSD.pm new/Software-License-0.103012/lib/Software/License/FreeBSD.pm --- old/Software-License-0.103011/lib/Software/License/FreeBSD.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/FreeBSD.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::FreeBSD; -$Software::License::FreeBSD::VERSION = '0.103011'; +$Software::License::FreeBSD::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The FreeBSD License (aka two-clause BSD) @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/GFDL_1_2.pm new/Software-License-0.103012/lib/Software/License/GFDL_1_2.pm --- old/Software-License-0.103011/lib/Software/License/GFDL_1_2.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/GFDL_1_2.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::GFDL_1_2; -$Software::License::GFDL_1_2::VERSION = '0.103011'; +$Software::License::GFDL_1_2::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The GNU Free Documentation License v1.2 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/GFDL_1_3.pm new/Software-License-0.103012/lib/Software/License/GFDL_1_3.pm --- old/Software-License-0.103011/lib/Software/License/GFDL_1_3.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/GFDL_1_3.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::GFDL_1_3; -$Software::License::GFDL_1_3::VERSION = '0.103011'; +$Software::License::GFDL_1_3::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The GNU Free Documentation License v1.3 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/GPL_1.pm new/Software-License-0.103012/lib/Software/License/GPL_1.pm --- old/Software-License-0.103011/lib/Software/License/GPL_1.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/GPL_1.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::GPL_1; -$Software::License::GPL_1::VERSION = '0.103011'; +$Software::License::GPL_1::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: GNU General Public License, Version 1 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/GPL_2.pm new/Software-License-0.103012/lib/Software/License/GPL_2.pm --- old/Software-License-0.103011/lib/Software/License/GPL_2.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/GPL_2.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::GPL_2; -$Software::License::GPL_2::VERSION = '0.103011'; +$Software::License::GPL_2::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: GNU General Public License, Version 2 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/GPL_3.pm new/Software-License-0.103012/lib/Software/License/GPL_3.pm --- old/Software-License-0.103011/lib/Software/License/GPL_3.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/GPL_3.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::GPL_3; -$Software::License::GPL_3::VERSION = '0.103011'; +$Software::License::GPL_3::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: GNU General Public License, Version 3 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/LGPL_2_1.pm new/Software-License-0.103012/lib/Software/License/LGPL_2_1.pm --- old/Software-License-0.103011/lib/Software/License/LGPL_2_1.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/LGPL_2_1.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::LGPL_2_1; -$Software::License::LGPL_2_1::VERSION = '0.103011'; +$Software::License::LGPL_2_1::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: GNU Lesser General Public License, Version 2.1 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/LGPL_3_0.pm new/Software-License-0.103012/lib/Software/License/LGPL_3_0.pm --- old/Software-License-0.103011/lib/Software/License/LGPL_3_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/LGPL_3_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::LGPL_3_0; -$Software::License::LGPL_3_0::VERSION = '0.103011'; +$Software::License::LGPL_3_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: GNU Lesser General Public License, Version 3 @@ -37,7 +37,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/MIT.pm new/Software-License-0.103012/lib/Software/License/MIT.pm --- old/Software-License-0.103011/lib/Software/License/MIT.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/MIT.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::MIT; -$Software::License::MIT::VERSION = '0.103011'; +$Software::License::MIT::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The MIT (aka X11) License @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Mozilla_1_0.pm new/Software-License-0.103012/lib/Software/License/Mozilla_1_0.pm --- old/Software-License-0.103011/lib/Software/License/Mozilla_1_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Mozilla_1_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Mozilla_1_0; -$Software::License::Mozilla_1_0::VERSION = '0.103011'; +$Software::License::Mozilla_1_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: Mozilla Public License 1.0 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Mozilla_1_1.pm new/Software-License-0.103012/lib/Software/License/Mozilla_1_1.pm --- old/Software-License-0.103011/lib/Software/License/Mozilla_1_1.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Mozilla_1_1.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Mozilla_1_1; -$Software::License::Mozilla_1_1::VERSION = '0.103011'; +$Software::License::Mozilla_1_1::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Mozilla Public License 1.1 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Mozilla_2_0.pm new/Software-License-0.103012/lib/Software/License/Mozilla_2_0.pm --- old/Software-License-0.103011/lib/Software/License/Mozilla_2_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Mozilla_2_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Mozilla_2_0; -$Software::License::Mozilla_2_0::VERSION = '0.103011'; +$Software::License::Mozilla_2_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: Mozilla Public License Version 2.0 @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/None.pm new/Software-License-0.103012/lib/Software/License/None.pm --- old/Software-License-0.103011/lib/Software/License/None.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/None.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::None; -$Software::License::None::VERSION = '0.103011'; +$Software::License::None::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: describes a "license" that gives no license for re-use @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/OpenSSL.pm new/Software-License-0.103012/lib/Software/License/OpenSSL.pm --- old/Software-License-0.103011/lib/Software/License/OpenSSL.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/OpenSSL.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::OpenSSL; -$Software::License::OpenSSL::VERSION = '0.103011'; +$Software::License::OpenSSL::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The OpenSSL License @@ -32,7 +32,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Perl_5.pm new/Software-License-0.103012/lib/Software/License/Perl_5.pm --- old/Software-License-0.103011/lib/Software/License/Perl_5.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Perl_5.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Perl_5; -$Software::License::Perl_5::VERSION = '0.103011'; +$Software::License::Perl_5::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Perl 5 License (Artistic 1 & GPL 1) @@ -41,7 +41,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/PostgreSQL.pm new/Software-License-0.103012/lib/Software/License/PostgreSQL.pm --- old/Software-License-0.103011/lib/Software/License/PostgreSQL.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/PostgreSQL.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::PostgreSQL; -$Software::License::PostgreSQL::VERSION = '0.103011'; +$Software::License::PostgreSQL::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The PostgreSQL License @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/QPL_1_0.pm new/Software-License-0.103012/lib/Software/License/QPL_1_0.pm --- old/Software-License-0.103011/lib/Software/License/QPL_1_0.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/QPL_1_0.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::QPL_1_0; -$Software::License::QPL_1_0::VERSION = '0.103011'; +$Software::License::QPL_1_0::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Q Public License, Version 1.0 @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/SSLeay.pm new/Software-License-0.103012/lib/Software/License/SSLeay.pm --- old/Software-License-0.103011/lib/Software/License/SSLeay.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/SSLeay.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::SSLeay; -$Software::License::SSLeay::VERSION = '0.103011'; +$Software::License::SSLeay::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The Original SSLeay License @@ -22,7 +22,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Sun.pm new/Software-License-0.103012/lib/Software/License/Sun.pm --- old/Software-License-0.103011/lib/Software/License/Sun.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Sun.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Sun; -$Software::License::Sun::VERSION = '0.103011'; +$Software::License::Sun::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: Sun Internet Standards Source License (SISSL) @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License/Zlib.pm new/Software-License-0.103012/lib/Software/License/Zlib.pm --- old/Software-License-0.103011/lib/Software/License/Zlib.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License/Zlib.pm 2016-04-23 15:58:04.000000000 +0200 @@ -1,7 +1,7 @@ use strict; use warnings; package Software::License::Zlib; -$Software::License::Zlib::VERSION = '0.103011'; +$Software::License::Zlib::VERSION = '0.103012'; use parent 'Software::License'; # ABSTRACT: The zlib License @@ -23,7 +23,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 AUTHOR diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/License.pm new/Software-License-0.103012/lib/Software/License.pm --- old/Software-License-0.103011/lib/Software/License.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/License.pm 2016-04-23 15:58:04.000000000 +0200 @@ -3,7 +3,7 @@ use 5.006; # warnings package Software::License; # ABSTRACT: packages that provide templated software licenses -$Software::License::VERSION = '0.103011'; +$Software::License::VERSION = '0.103012'; use Data::Section -setup => { header_re => qr/\A__([^_]+)__\Z/ }; use Text::Template (); @@ -216,7 +216,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/lib/Software/LicenseUtils.pm new/Software-License-0.103012/lib/Software/LicenseUtils.pm --- old/Software-License-0.103011/lib/Software/LicenseUtils.pm 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/lib/Software/LicenseUtils.pm 2016-04-23 15:58:04.000000000 +0200 @@ -4,7 +4,7 @@ package Software::LicenseUtils; # ABSTRACT: little useful bits of code for licensey things -$Software::LicenseUtils::VERSION = '0.103011'; +$Software::LicenseUtils::VERSION = '0.103012'; use File::Spec; use IO::Dir; use Module::Load; @@ -74,6 +74,9 @@ $meta2_keys{ $class->meta2_name }{$mod} = undef; my $name = $class->name; unshift @phrases, qr/\Q$name\E/, [$mod]; + if ((my $name_without_space = $name) =~ s/\s+\(.+?\)//) { + unshift @phrases, qr/\Q$name_without_space\E/, [$mod]; + } }; } } @@ -90,8 +93,8 @@ my $header = $1; - if ( - $pm_text =~ m/ + if ( + $pm_text =~ m/ \G ( .*? @@ -100,28 +103,28 @@ \z /ixms ) { - my $license_text = "$header$1"; + my $license_text = "$header$1"; for (my $i = 0; $i < @phrases; $i += 2) { my ($pattern, $license) = @phrases[ $i .. $i+1 ]; - $pattern =~ s{\s+}{\\s+}g - unless ref $pattern eq 'Regexp'; - if ( $license_text =~ /$pattern/i ) { + $pattern =~ s{\s+}{\\s+}g + unless ref $pattern eq 'Regexp'; + if ( $license_text =~ /\b$pattern\b/i ) { my $match = $1; - # if ( $osi and $license_text =~ /All rights reserved/i ) { - # warn "LEGAL WARNING: 'All rights reserved' may invalidate Open Source licenses. Consider removing it."; - # } + # if ( $osi and $license_text =~ /All rights reserved/i ) { + # warn "LEGAL WARNING: 'All rights reserved' may invalidate Open Source licenses. Consider removing it."; + # } my @result = (ref $license||'') eq 'CODE' ? $license->($match) : (ref $license||'') eq 'ARRAY' ? @$license : $license; return unless @result; - return map { "Software::License::$_" } sort @result; - } - } - } + return map { "Software::License::$_" } sort @result; + } + } + } - return; + return; } #pod =method guess_license_from_meta @@ -227,7 +230,7 @@ =head1 VERSION -version 0.103011 +version 0.103012 =head1 METHODS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/t/00-report-prereqs.t new/Software-License-0.103012/t/00-report-prereqs.t --- old/Software-License-0.103011/t/00-report-prereqs.t 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/t/00-report-prereqs.t 2016-04-23 15:58:04.000000000 +0200 @@ -3,7 +3,7 @@ use strict; use warnings; -# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.021 +# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.024 use Test::More tests => 1; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/t/creative_commons.t new/Software-License-0.103012/t/creative_commons.t --- old/Software-License-0.103011/t/creative_commons.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Software-License-0.103012/t/creative_commons.t 2016-04-23 15:58:04.000000000 +0200 @@ -0,0 +1,22 @@ +#!perl + +use strict; +use warnings; +use Test::More; +use Software::LicenseUtils; + +BEGIN { + eval "require Software::License::CC_BY_1_0; 1" + or plan skip_all => "requires Software::License::CCpack to test this"; +} + +{ + my $license = Software::License::CC_BY_1_0->new({holder => 'DUMMY'})->notice; + my $pod = "=head1 LICENSE\n\n$license\n=cut\n"; + is_deeply( + [Software::LicenseUtils->guess_license_from_pod($pod)], + ['Software::License::CC_BY_1_0'], + ); +} + +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/t/guess_license_from_pod.t new/Software-License-0.103012/t/guess_license_from_pod.t --- old/Software-License-0.103011/t/guess_license_from_pod.t 1970-01-01 01:00:00.000000000 +0100 +++ new/Software-License-0.103012/t/guess_license_from_pod.t 2016-04-23 15:58:04.000000000 +0200 @@ -0,0 +1,35 @@ +#!perl + +use strict; +use warnings; + +use Test::More; +use Software::LicenseUtils; + +{ + # excerpt from BSD License + my $license = <<'LICENSE'; +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are +met: + + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + * Neither the name of {{$self->holder}} nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. +LICENSE + + my $pod = "=head1 LICENSE\n\n".$license."\n=cut\n"; + is_deeply( + [ Software::LicenseUtils->guess_license_from_pod($pod) ], + [ ], # should eventually be [ 'Software::License::BSD' ], + ); +} + +done_testing; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/t/guess_meta_license.t new/Software-License-0.103012/t/guess_meta_license.t --- old/Software-License-0.103011/t/guess_meta_license.t 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/t/guess_meta_license.t 2016-04-23 15:58:04.000000000 +0200 @@ -8,45 +8,45 @@ use Try::Tiny; sub _hack_guess_license_from_meta { - my $license_str = shift; - my @guess; - try { - my $hack = 'license : ' . $license_str; - @guess = Software::LicenseUtils->guess_license_from_meta($hack); - }; - return @guess; + my $license_str = shift; + my @guess; + try { + my $hack = 'license : ' . $license_str; + @guess = Software::LicenseUtils->guess_license_from_meta($hack); + }; + return @guess; } my @cpan_meta_spec_licence_name = qw( - agpl_3 - apache_1_1 - apache_2_0 - artistic_1 - artistic_2 - bsd - freebsd - gfdl_1_2 - gfdl_1_3 - gpl_1 - gpl_2 - gpl_3 - lgpl_2_1 - lgpl_3_0 - mit - mozilla_1_0 - mozilla_1_1 - openssl - perl_5 - qpl_1_0 - ssleay - sun - zlib + agpl_3 + apache_1_1 + apache_2_0 + artistic_1 + artistic_2 + bsd + freebsd + gfdl_1_2 + gfdl_1_3 + gpl_1 + gpl_2 + gpl_3 + lgpl_2_1 + lgpl_3_0 + mit + mozilla_1_0 + mozilla_1_1 + openssl + perl_5 + qpl_1_0 + ssleay + sun + zlib ); foreach my $license_name (@cpan_meta_spec_licence_name) { - my @guess = _hack_guess_license_from_meta($license_name); - ok(@guess, "$license_name -> @guess"); + my @guess = _hack_guess_license_from_meta($license_name); + ok(@guess, "$license_name -> @guess"); } is_deeply( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Software-License-0.103011/xt/release/changes_has_content.t new/Software-License-0.103012/xt/release/changes_has_content.t --- old/Software-License-0.103011/xt/release/changes_has_content.t 2016-01-17 03:28:22.000000000 +0100 +++ new/Software-License-0.103012/xt/release/changes_has_content.t 2016-04-23 15:58:04.000000000 +0200 @@ -4,7 +4,7 @@ note 'Checking Changes'; my $changes_file = 'Changes'; -my $newver = '0.103011'; +my $newver = '0.103012'; my $trial_token = '-TRIAL'; SKIP: {