diff -Nru libdefhash-perl-1.0.11/Changes libdefhash-perl-1.0.12/Changes --- libdefhash-perl-1.0.11/Changes 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/Changes 2019-06-18 12:07:06.000000000 +0000 @@ -1,4 +1,12 @@ -Revision history for DefHash +1.0.12 2019-06-18 (PERLANCAR) + + - No spec changes. + + - Add a Synopsis. + + - Split Sah schemas to Sah-Schemas-DefHash so that schema tweaks don't + require releasing a new spec release. + 1.0.11 2015-09-03 (PERLANCAR) diff -Nru libdefhash-perl-1.0.11/debian/changelog libdefhash-perl-1.0.12/debian/changelog --- libdefhash-perl-1.0.11/debian/changelog 2015-10-17 20:13:04.000000000 +0000 +++ libdefhash-perl-1.0.12/debian/changelog 2019-11-05 19:31:34.000000000 +0000 @@ -1,3 +1,29 @@ +libdefhash-perl (1.0.12-1) unstable; urgency=medium + + * Team upload. + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * debian/upstream/metadata: use HTTPS for GitHub URLs. + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * Import upstream version 1.0.12. + Sah::Schema::DefHash, which apparently is not used in Debian, is moved to + a new separate CPAN distribution. + * Update years of upstream copyright. + * Declare compliance with Debian Policy 4.4.1. + * Bump debhelper-compat to 12. + * debian/watch: use uscan version 4. + * Remove obsolete fields Name, Contact from debian/upstream/metadata. + + -- gregor herrmann Tue, 05 Nov 2019 20:31:34 +0100 + libdefhash-perl (1.0.11-1) unstable; urgency=medium * Team upload. diff -Nru libdefhash-perl-1.0.11/debian/compat libdefhash-perl-1.0.12/debian/compat --- libdefhash-perl-1.0.11/debian/compat 2015-10-17 20:13:04.000000000 +0000 +++ libdefhash-perl-1.0.12/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru libdefhash-perl-1.0.11/debian/control libdefhash-perl-1.0.12/debian/control --- libdefhash-perl-1.0.11/debian/control 2015-10-17 20:13:04.000000000 +0000 +++ libdefhash-perl-1.0.12/debian/control 2019-11-05 19:31:34.000000000 +0000 @@ -1,19 +1,20 @@ Source: libdefhash-perl -Section: perl -Priority: optional Maintainer: Debian Perl Group Uploaders: Joenio Costa -Build-Depends: debhelper (>= 9), - perl -Standards-Version: 3.9.6 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libdefhash-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdefhash-perl.git -Homepage: https://metacpan.org/release/DefHash +Section: perl Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 12), + perl +Standards-Version: 4.4.1 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdefhash-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdefhash-perl.git +Homepage: https://metacpan.org/release/DefHash Package: libdefhash-perl Architecture: all -Depends: ${misc:Depends}, ${perl:Depends} +Depends: ${misc:Depends}, + ${perl:Depends} Description: module to define things according to a specification, using hashes DefHash is a specification for using hashes to define things. DefHash was born out of several other projects/specifications like Sah, Rinci, Riap, diff -Nru libdefhash-perl-1.0.11/debian/copyright libdefhash-perl-1.0.12/debian/copyright --- libdefhash-perl-1.0.11/debian/copyright 2015-10-17 20:13:04.000000000 +0000 +++ libdefhash-perl-1.0.12/debian/copyright 2019-11-05 19:31:34.000000000 +0000 @@ -1,11 +1,10 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: DefHash Source: https://metacpan.org/release/DefHash Upstream-Contact: perlancar Files: * -Copyright: 2014, Steven Haryanto - 2015, perlancar +Copyright: 2012-2019, perlancar License: Artistic or GPL-1+ Files: debian/* diff -Nru libdefhash-perl-1.0.11/debian/upstream/metadata libdefhash-perl-1.0.12/debian/upstream/metadata --- libdefhash-perl-1.0.11/debian/upstream/metadata 2015-10-17 20:13:04.000000000 +0000 +++ libdefhash-perl-1.0.12/debian/upstream/metadata 2019-11-05 19:31:34.000000000 +0000 @@ -1,7 +1,4 @@ ---- Archive: CPAN Bug-Database: https://rt.cpan.org/Public/Dist/Display.html?Name=DefHash -Contact: perlancar -Name: DefHash -Repository: git://github.com/perlancar/perl-DefHash.git +Repository: https://github.com/perlancar/perl-DefHash.git Repository-Browse: https://github.com/perlancar/perl-DefHash diff -Nru libdefhash-perl-1.0.11/debian/watch libdefhash-perl-1.0.12/debian/watch --- libdefhash-perl-1.0.11/debian/watch 2015-10-17 20:13:04.000000000 +0000 +++ libdefhash-perl-1.0.12/debian/watch 2019-11-05 19:31:34.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/DefHash .*/DefHash-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/DefHash .*/DefHash-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libdefhash-perl-1.0.11/dist.ini libdefhash-perl-1.0.12/dist.ini --- libdefhash-perl-1.0.11/dist.ini 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/dist.ini 2019-06-18 12:07:06.000000000 +0000 @@ -1,8 +1,10 @@ -version=1.0.11 +version=1.0.12 name=DefHash +[Sah::Schemas] + [@Author::PERLANCAR] -:version=0.41 +:version=0.594 [Prereqs] diff -Nru libdefhash-perl-1.0.11/lib/DefHash.pm libdefhash-perl-1.0.12/lib/DefHash.pm --- libdefhash-perl-1.0.11/lib/DefHash.pm 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/lib/DefHash.pm 2019-06-18 12:07:06.000000000 +0000 @@ -1,7 +1,7 @@ package DefHash; -our $DATE = '2015-09-03'; # DATE -our $VERSION = '1.0.11'; # VERSION +our $DATE = '2019-06-18'; # DATE +our $VERSION = '1.0.12'; # VERSION 1; # ABSTRACT: Define things according to a specification, using hashes @@ -18,7 +18,7 @@ =head1 VERSION -This document describes version 1.0.11 of DefHash (from Perl distribution DefHash), released on 2015-09-03. +This document describes version 1.0.12 of DefHash (from Perl distribution DefHash), released on 2019-06-18. =head1 HOMEPAGE @@ -42,7 +42,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2015 by perlancar@cpan.org. +This software is copyright (c) 2019, 2015, 2014, 2013, 2012 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -Nru libdefhash-perl-1.0.11/lib/DefHash.pod libdefhash-perl-1.0.12/lib/DefHash.pod --- libdefhash-perl-1.0.11/lib/DefHash.pod 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/lib/DefHash.pod 2019-06-18 12:07:06.000000000 +0000 @@ -15,13 +15,36 @@ DefHash - Define things according to a specification, using hashes +=head1 SPECIFICATION VERSION + + 1 + =head1 VERSION -This document describes version 1.0.11 of DefHash (from Perl distribution DefHash), released on 2015-09-03. +This document describes version 1.0.12 of DefHash (from Perl distribution DefHash), released on 2019-06-18. -=head1 SPECIFICATION VERSION +=head1 SYNOPSIS - 1 +A function returning a list of books from database, where each book is a +hash (DefHash): + + sub list_books { + my $search_title = shift; + + $search_title = "%$search_title%" unless $search_title =~ /[%?]/; + my $sth = $dbh->prepare("SELECT * FROM books WHERE title=?"); + $sth->execute($search_title); + + my @books; + while (my $row = $sth->fetchrow_hashref) { + push @books, { + title => $row->{title}, + summary => $row->{abstract}, + tags => [($row->{in_print} ? () : ("out-of-print"))], + }; + } + @books; + } =head1 ABSTRACT @@ -310,12 +333,6 @@ XXX (modp 1->2, 2->3; ri ->2, not using defhash but that is not the real reason, removal of features property) XXX riap also bumped to 2 just because it uses hash -=head1 SEE ALSO - -Semantic Versioning, L - -Markdown specification - =head1 HOMEPAGE Please visit the project's homepage at L. @@ -332,13 +349,19 @@ patch to an existing test-file that illustrates the bug or desired feature. +=head1 SEE ALSO + +Semantic Versioning, L + +Markdown specification + =head1 AUTHOR perlancar =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2015 by perlancar@cpan.org. +This software is copyright (c) 2019, 2015, 2014, 2013, 2012 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. diff -Nru libdefhash-perl-1.0.11/lib/Sah/Schema/DefHash.pm libdefhash-perl-1.0.12/lib/Sah/Schema/DefHash.pm --- libdefhash-perl-1.0.11/lib/Sah/Schema/DefHash.pm 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/lib/Sah/Schema/DefHash.pm 1970-01-01 00:00:00.000000000 +0000 @@ -1,173 +0,0 @@ -package Sah::Schema::DefHash; - -our $DATE = '2015-09-03'; # DATE -our $VERSION = '1.0.11'; # VERSION - -use strict; -use warnings; - -our %SCHEMAS; - -$SCHEMAS{defhash} = [hash => { - # tmp - _prop => { - v => {}, - defhash_v => {}, - name => {}, - caption => {}, - summary => {}, - description => {}, - tags => {}, - default_lang => {}, - x => {}, - }, - - keys => { - - v => ['float*', default=>1], - - defhash_v => ['int*', default=>1], - - name => [ - 'str*', - 'clset&' => [ - { - match => qr/\A\w+\z/, - 'match.err_level' => 'warn', - 'match.err_msg' => 'should be a word', - }, - { - max_len => 32, - 'max_len.err_level' => 'warn', - 'max_len.err_msg' => 'should be short', - }, - ], - ], - - caption => [ - 'str*', - ], - - summary => [ - 'str', - 'clset&' => [ - { - max_len => 72, - 'max_len.err_level' => 'warn', - 'max_len.err_msg' => 'should be short', - }, - { - 'match' => qr/\n/, - 'match.op' => 'not', - 'match.err_level' => 'warn', - 'match.err_msg' => 'should only be a single-line text', - }, - ], - ], - - description => [ - 'str', - ], - - tags => [ - 'array', - of => [ - 'any*', - of => [ - 'str*', - 'hash*', # XXX defhash, but this is circular - ], - ], - ], - - default_lang => [ - 'str*', # XXX check format, e.g. 'en' or 'en_US' - ], - - x => [ - 'any', - ], - }, - 'keys.restrict' => 0, - 'allowed_keys_re' => qr/\A\w+(\.\w+)*\z/, -}]; - -$SCHEMAS{defhash_v1} = [defhash => { - keys => { - defhash_v => ['int*', is=>1], - }, -}]; - -# XXX check known attributes (.alt, etc) -# XXX check alt.XXX format (e.g. must be alt\.(lang\.\w+|env_lang\.\w+) -# XXX *.alt.*.X should also be of the same type (e.g. description.alt.lang.foo - -1; -# ABSTRACT: Sah schemas to validate DefHash - -__END__ - -=pod - -=encoding UTF-8 - -=head1 NAME - -Sah::Schema::DefHash - Sah schemas to validate DefHash - -=head1 VERSION - -This document describes version 1.0.11 of Sah::Schema::DefHash (from Perl distribution DefHash), released on 2015-09-03. - -=head1 SYNOPSIS - - # schemas are put in the %SCHEMAS package variable - -=head1 DESCRIPTION - -This module contains L schemas to validate L. - -=head1 SCHEMAS - -=over - -=item * defhash - -=item * defhash_v1 - -=back - -=head1 SEE ALSO - -L, L - -L - -=head1 HOMEPAGE - -Please visit the project's homepage at L. - -=head1 SOURCE - -Source repository is at L. - -=head1 BUGS - -Please report any bugs or feature requests on the bugtracker website L - -When submitting a bug or request, please include a test-file or a -patch to an existing test-file that illustrates the bug or desired -feature. - -=head1 AUTHOR - -perlancar - -=head1 COPYRIGHT AND LICENSE - -This software is copyright (c) 2015 by perlancar@cpan.org. - -This is free software; you can redistribute it and/or modify it under -the same terms as the Perl 5 programming language system itself. - -=cut diff -Nru libdefhash-perl-1.0.11/LICENSE libdefhash-perl-1.0.12/LICENSE --- libdefhash-perl-1.0.11/LICENSE 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/LICENSE 2019-06-18 12:07:06.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2015 by perlancar@cpan.org. +This software is copyright (c) 2019, 2015, 2014, 2013, 2012 by perlancar@cpan.org. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2015 by perlancar@cpan.org. +This software is Copyright (c) 2019, 2015, 2014, 2013, 2012 by perlancar@cpan.org. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2015 by perlancar@cpan.org. +This software is Copyright (c) 2019, 2015, 2014, 2013, 2012 by perlancar@cpan.org. This is free software, licensed under: diff -Nru libdefhash-perl-1.0.11/Makefile.PL libdefhash-perl-1.0.12/Makefile.PL --- libdefhash-perl-1.0.11/Makefile.PL 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/Makefile.PL 2019-06-18 12:07:06.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.037. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.012. use strict; use warnings; @@ -13,7 +13,6 @@ "ExtUtils::MakeMaker" => 0 }, "DISTNAME" => "DefHash", - "EXE_FILES" => [], "LICENSE" => "perl", "NAME" => "DefHash", "PREREQ_PM" => {}, @@ -23,7 +22,7 @@ "IPC::Open3" => 0, "Test::More" => 0 }, - "VERSION" => "1.0.11", + "VERSION" => "1.0.12", "test" => { "TESTS" => "t/*.t" } @@ -31,7 +30,6 @@ my %FallbackPrereqs = ( - "ExtUtils::MakeMaker" => 0, "File::Spec" => 0, "IO::Handle" => 0, "IPC::Open3" => 0, diff -Nru libdefhash-perl-1.0.11/MANIFEST libdefhash-perl-1.0.12/MANIFEST --- libdefhash-perl-1.0.11/MANIFEST 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/MANIFEST 2019-06-18 12:07:06.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.037. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.012. Changes LICENSE MANIFEST @@ -9,9 +9,8 @@ dist.ini lib/DefHash.pm lib/DefHash.pod -lib/Sah/Schema/DefHash.pm t/00-compile.t -t/release-pod-coverage.t -t/release-pod-syntax.t -t/release-rinci.t +t/author-critic.t +t/author-pod-coverage.t +t/author-pod-syntax.t weaver.ini diff -Nru libdefhash-perl-1.0.11/META.json libdefhash-perl-1.0.12/META.json --- libdefhash-perl-1.0.11/META.json 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/META.json 2019-06-18 12:07:06.000000000 +0000 @@ -4,7 +4,7 @@ "perlancar " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -22,9 +22,9 @@ "develop" : { "requires" : { "Pod::Coverage::TrustPod" : "0", + "Test::Perl::Critic" : "0", "Test::Pod" : "1.41", - "Test::Pod::Coverage" : "1.08", - "Test::Rinci" : "0.01" + "Test::Pod::Coverage" : "1.08" } }, "test" : { @@ -48,72 +48,83 @@ "web" : "https://github.com/perlancar/perl-DefHash" } }, - "version" : "1.0.11", + "version" : "1.0.12", "x_Dist_Zilla" : { "perl" : { - "version" : "5.022000" + "version" : "5.028002" }, "plugins" : [ { + "class" : "Dist::Zilla::Plugin::Sah::Schemas", + "config" : { + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000033", + "version" : "0.006" + } + }, + "name" : "Sah::Schemas", + "version" : "0.015" + }, + { "class" : "Dist::Zilla::Plugin::GatherDir", "config" : { "Dist::Zilla::Plugin::GatherDir" : { "exclude_filename" : [], "exclude_match" : [], - "follow_symlinks" : "0", - "include_dotfiles" : "0", + "follow_symlinks" : 0, + "include_dotfiles" : 0, "prefix" : "", "prune_directory" : [], "root" : "." } }, "name" : "@Author::PERLANCAR/@Filter/GatherDir", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::PERLANCAR/@Filter/PruneCruft", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::PERLANCAR/@Filter/ManifestSkip", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::PERLANCAR/@Filter/MetaYAML", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::PERLANCAR/@Filter/License", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::PERLANCAR/@Filter/PodCoverageTests", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::PERLANCAR/@Filter/PodSyntaxTests", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::ExtraTests", "name" : "@Author::PERLANCAR/@Filter/ExtraTests", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::PERLANCAR/@Filter/ExecDir", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::PERLANCAR/@Filter/ShareDir", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -123,47 +134,52 @@ } }, "name" : "@Author::PERLANCAR/@Filter/MakeMaker", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::PERLANCAR/@Filter/Manifest", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::PERLANCAR/@Filter/ConfirmRelease", - "version" : "5.037" + "version" : "6.012" }, { - "class" : "Dist::Zilla::Plugin::UploadToCPAN", - "name" : "@Author::PERLANCAR/@Filter/UploadToCPAN", - "version" : "5.037" + "class" : "Dist::Zilla::Plugin::ExecDir", + "name" : "@Author::PERLANCAR/ExecDir script", + "version" : "6.012" + }, + { + "class" : "Dist::Zilla::Plugin::PERLANCAR::BeforeBuild", + "name" : "@Author::PERLANCAR/PERLANCAR::BeforeBuild", + "version" : "0.596" }, { "class" : "Dist::Zilla::Plugin::Rinci::AbstractFromMeta", "name" : "@Author::PERLANCAR/Rinci::AbstractFromMeta", - "version" : "0.08" + "version" : "0.10" }, { "class" : "Dist::Zilla::Plugin::PodnameFromFilename", "name" : "@Author::PERLANCAR/PodnameFromFilename", - "version" : "0.01" + "version" : "0.02" }, { - "class" : "Dist::Zilla::Plugin::PERLANCAR::CheckDepDists", - "name" : "@Author::PERLANCAR/PERLANCAR::CheckDepDists", - "version" : "0.04" + "class" : "Dist::Zilla::Plugin::PERLANCAR::EnsurePrereqToSpec", + "name" : "@Author::PERLANCAR/PERLANCAR::EnsurePrereqToSpec", + "version" : "0.060" }, { "class" : "Dist::Zilla::Plugin::PERLANCAR::MetaResources", "name" : "@Author::PERLANCAR/PERLANCAR::MetaResources", - "version" : "0.03" + "version" : "0.040" }, { "class" : "Dist::Zilla::Plugin::CheckChangeLog", "name" : "@Author::PERLANCAR/CheckChangeLog", - "version" : "0.02" + "version" : "0.05" }, { "class" : "Dist::Zilla::Plugin::CheckMetaResources", @@ -171,19 +187,40 @@ "version" : "0.001" }, { + "class" : "Dist::Zilla::Plugin::CheckSelfDependency", + "config" : { + "Dist::Zilla::Plugin::CheckSelfDependency" : { + "finder" : [ + ":InstallModules" + ] + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000033", + "version" : "0.006" + } + }, + "name" : "@Author::PERLANCAR/CheckSelfDependency", + "version" : "0.011" + }, + { + "class" : "Dist::Zilla::Plugin::CopyrightYearFromGit", + "name" : "@Author::PERLANCAR/CopyrightYearFromGit", + "version" : "0.003" + }, + { + "class" : "Dist::Zilla::Plugin::IfBuilt", + "name" : "@Author::PERLANCAR/IfBuilt", + "version" : "0.02" + }, + { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::PERLANCAR/MetaJSON", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::PERLANCAR/MetaConfig", - "version" : "5.037" - }, - { - "class" : "Dist::Zilla::Plugin::GenShellCompletion", - "name" : "@Author::PERLANCAR/GenShellCompletion", - "version" : "0.09" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::Authority", @@ -201,9 +238,9 @@ "version" : "0.02" }, { - "class" : "Dist::Zilla::Plugin::PERLANCAR::OurPkgVersion", - "name" : "@Author::PERLANCAR/PERLANCAR::OurPkgVersion", - "version" : "0.04" + "class" : "Dist::Zilla::Plugin::OurPkgVersion", + "name" : "@Author::PERLANCAR/OurPkgVersion", + "version" : "0.15" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -217,82 +254,82 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@Author::PERLANCAR/Name", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@Author::PERLANCAR/Version", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::PERLANCAR/prelude", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "FUNCTIONS", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@Author::PERLANCAR/Leftovers", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::PERLANCAR/postlude", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Completion::GetoptLongComplete", "name" : "@Author::PERLANCAR/Completion::GetoptLongComplete", - "version" : "0.07" + "version" : "0.08" }, { "class" : "Pod::Weaver::Section::Completion::GetoptLongSubcommand", "name" : "@Author::PERLANCAR/Completion::GetoptLongSubcommand", - "version" : "0.03" + "version" : "0.04" }, { - "class" : "Pod::Weaver::Section::Completion::PerinciCmdLine", - "name" : "@Author::PERLANCAR/Completion::PerinciCmdLine", - "version" : "0.13" + "class" : "Pod::Weaver::Section::Completion::GetoptLongMore", + "name" : "@Author::PERLANCAR/Completion::GetoptLongMore", + "version" : "0.001" }, { "class" : "Pod::Weaver::Section::Homepage::DefaultCPAN", @@ -307,22 +344,22 @@ { "class" : "Pod::Weaver::Section::Bugs::DefaultRT", "name" : "@Author::PERLANCAR/Bugs::DefaultRT", - "version" : "0.05" + "version" : "0.06" }, { "class" : "Pod::Weaver::Section::Authors", "name" : "@Author::PERLANCAR/Authors", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "@Author::PERLANCAR/Legal", - "version" : "4.012" + "version" : "4.015" }, { "class" : "Pod::Weaver::Plugin::Rinci", "name" : "@Author::PERLANCAR/Rinci", - "version" : "0.42" + "version" : "0.780" }, { "class" : "Pod::Weaver::Plugin::AppendPrepend", @@ -332,38 +369,53 @@ { "class" : "Pod::Weaver::Plugin::EnsureUniqueSections", "name" : "@Author::PERLANCAR/EnsureUniqueSections", - "version" : "0.121550" + "version" : "0.163250" }, { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@Author::PERLANCAR/SingleEncoding", - "version" : "4.012" + "version" : "4.015" + }, + { + "class" : "Pod::Weaver::Plugin::PERLANCAR::SortSections", + "name" : "@Author::PERLANCAR/PERLANCAR::SortSections", + "version" : "0.06" + }, + { + "class" : "Pod::Weaver::Plugin::Sah::Schemas", + "name" : "-Sah::Schemas", + "version" : "0.04" } ] } }, "name" : "@Author::PERLANCAR/PodWeaver", - "version" : "4.006" + "version" : "4.008" }, { "class" : "Dist::Zilla::Plugin::PruneFiles", "name" : "@Author::PERLANCAR/PruneFiles", - "version" : "5.037" + "version" : "6.012" }, { - "class" : "Dist::Zilla::Plugin::ReadmeFromPod", - "name" : "@Author::PERLANCAR/ReadmeFromPod", - "version" : "0.32" + "class" : "Dist::Zilla::Plugin::Pod2Readme", + "name" : "@Author::PERLANCAR/Pod2Readme", + "version" : "0.004" }, { "class" : "Dist::Zilla::Plugin::Rinci::AddPrereqs", "name" : "@Author::PERLANCAR/Rinci::AddPrereqs", - "version" : "0.06" + "version" : "0.142" + }, + { + "class" : "Dist::Zilla::Plugin::Rinci::AddToDb", + "name" : "@Author::PERLANCAR/Rinci::AddToDb", + "version" : "0.01" }, { "class" : "Dist::Zilla::Plugin::Rinci::Validate", "name" : "@Author::PERLANCAR/Rinci::Validate", - "version" : "0.20" + "version" : "0.24" }, { "class" : "Dist::Zilla::Plugin::SetScriptShebang", @@ -374,33 +426,70 @@ "class" : "Dist::Zilla::Plugin::Test::Compile", "config" : { "Dist::Zilla::Plugin::Test::Compile" : { - "bail_out_on_fail" : "0", + "bail_out_on_fail" : 0, "fail_on_warning" : "author", - "fake_home" : "0", + "fake_home" : 0, "filename" : "t/00-compile.t", "module_finder" : [ ":InstallModules" ], - "needs_display" : "0", + "needs_display" : 0, "phase" : "test", "script_finder" : [ - ":ExecFiles" + ":PerlExecFiles" ], - "skips" : [] + "skips" : [], + "switch" : [] } }, "name" : "@Author::PERLANCAR/Test::Compile", - "version" : "2.053" + "version" : "2.058" + }, + { + "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", + "name" : "@Author::PERLANCAR/Test::Perl::Critic", + "version" : "3.001" }, { "class" : "Dist::Zilla::Plugin::Test::Rinci", "name" : "@Author::PERLANCAR/Test::Rinci", - "version" : "0.02" + "version" : "0.040" + }, + { + "class" : "Dist::Zilla::Plugin::StaticInstall", + "config" : { + "Dist::Zilla::Plugin::StaticInstall" : { + "dry_run" : 0, + "mode" : "on" + } + }, + "name" : "@Author::PERLANCAR/StaticInstall", + "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::EnsureSQLSchemaVersionedTest", "name" : "@Author::PERLANCAR/EnsureSQLSchemaVersionedTest", - "version" : "0.01" + "version" : "0.03" + }, + { + "class" : "Dist::Zilla::Plugin::Acme::CPANModules::Blacklist", + "name" : "@Author::PERLANCAR/Acme::CPANModules::Blacklist", + "version" : "0.001" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs::EnsureVersion", + "name" : "@Author::PERLANCAR/Prereqs::EnsureVersion", + "version" : "0.050" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs::CheckCircular", + "name" : "@Author::PERLANCAR/Prereqs::CheckCircular", + "version" : "0.006" + }, + { + "class" : "Dist::Zilla::Plugin::UploadToCPAN::WWWPAUSESimple", + "name" : "@Author::PERLANCAR/UploadToCPAN::WWWPAUSESimple", + "version" : "0.04" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -411,57 +500,70 @@ } }, "name" : "Prereqs", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.037" + "version" : "6.012" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":ExtraTestFiles", + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.037" + "version" : "6.012" + }, + { + "class" : "Dist::Zilla::Plugin::FinderCode", + "name" : ":PerlExecFiles", + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.037" + "version" : "6.012" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.037" + "version" : "6.012" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "5.037" + "version" : "6.012" } }, - "x_authority" : "cpan:PERLANCAR" + "x_authority" : "cpan:PERLANCAR", + "x_generated_by_perl" : "v5.28.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.11", + "x_static_install" : 1 } diff -Nru libdefhash-perl-1.0.11/META.yml libdefhash-perl-1.0.12/META.yml --- libdefhash-perl-1.0.11/META.yml 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/META.yml 2019-06-18 12:07:06.000000000 +0000 @@ -10,7 +10,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.037, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -20,115 +20,142 @@ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=DefHash homepage: https://metacpan.org/release/DefHash repository: git://github.com/perlancar/perl-DefHash.git -version: 1.0.11 +version: 1.0.12 x_Dist_Zilla: perl: - version: '5.022000' + version: '5.028002' plugins: - + class: Dist::Zilla::Plugin::Sah::Schemas + config: + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000033' + version: '0.006' + name: Sah::Schemas + version: '0.015' + - class: Dist::Zilla::Plugin::GatherDir config: Dist::Zilla::Plugin::GatherDir: exclude_filename: [] exclude_match: [] - follow_symlinks: '0' - include_dotfiles: '0' + follow_symlinks: 0 + include_dotfiles: 0 prefix: '' prune_directory: [] root: . name: '@Author::PERLANCAR/@Filter/GatherDir' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::PERLANCAR/@Filter/PruneCruft' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Author::PERLANCAR/@Filter/ManifestSkip' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::PERLANCAR/@Filter/MetaYAML' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::License name: '@Author::PERLANCAR/@Filter/License' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::PERLANCAR/@Filter/PodCoverageTests' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::PERLANCAR/@Filter/PodSyntaxTests' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::ExtraTests name: '@Author::PERLANCAR/@Filter/ExtraTests' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::PERLANCAR/@Filter/ExecDir' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::ShareDir name: '@Author::PERLANCAR/@Filter/ShareDir' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Author::PERLANCAR/@Filter/MakeMaker' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::Manifest name: '@Author::PERLANCAR/@Filter/Manifest' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::PERLANCAR/@Filter/ConfirmRelease' - version: '5.037' + version: '6.012' - - class: Dist::Zilla::Plugin::UploadToCPAN - name: '@Author::PERLANCAR/@Filter/UploadToCPAN' - version: '5.037' + class: Dist::Zilla::Plugin::ExecDir + name: '@Author::PERLANCAR/ExecDir script' + version: '6.012' + - + class: Dist::Zilla::Plugin::PERLANCAR::BeforeBuild + name: '@Author::PERLANCAR/PERLANCAR::BeforeBuild' + version: '0.596' - class: Dist::Zilla::Plugin::Rinci::AbstractFromMeta name: '@Author::PERLANCAR/Rinci::AbstractFromMeta' - version: '0.08' + version: '0.10' - class: Dist::Zilla::Plugin::PodnameFromFilename name: '@Author::PERLANCAR/PodnameFromFilename' - version: '0.01' + version: '0.02' - - class: Dist::Zilla::Plugin::PERLANCAR::CheckDepDists - name: '@Author::PERLANCAR/PERLANCAR::CheckDepDists' - version: '0.04' + class: Dist::Zilla::Plugin::PERLANCAR::EnsurePrereqToSpec + name: '@Author::PERLANCAR/PERLANCAR::EnsurePrereqToSpec' + version: '0.060' - class: Dist::Zilla::Plugin::PERLANCAR::MetaResources name: '@Author::PERLANCAR/PERLANCAR::MetaResources' - version: '0.03' + version: '0.040' - class: Dist::Zilla::Plugin::CheckChangeLog name: '@Author::PERLANCAR/CheckChangeLog' - version: '0.02' + version: '0.05' - class: Dist::Zilla::Plugin::CheckMetaResources name: '@Author::PERLANCAR/CheckMetaResources' version: '0.001' - + class: Dist::Zilla::Plugin::CheckSelfDependency + config: + Dist::Zilla::Plugin::CheckSelfDependency: + finder: + - ':InstallModules' + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000033' + version: '0.006' + name: '@Author::PERLANCAR/CheckSelfDependency' + version: '0.011' + - + class: Dist::Zilla::Plugin::CopyrightYearFromGit + name: '@Author::PERLANCAR/CopyrightYearFromGit' + version: '0.003' + - + class: Dist::Zilla::Plugin::IfBuilt + name: '@Author::PERLANCAR/IfBuilt' + version: '0.02' + - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::PERLANCAR/MetaJSON' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::PERLANCAR/MetaConfig' - version: '5.037' - - - class: Dist::Zilla::Plugin::GenShellCompletion - name: '@Author::PERLANCAR/GenShellCompletion' - version: '0.09' + version: '6.012' - class: Dist::Zilla::Plugin::Authority name: '@Author::PERLANCAR/Authority' @@ -142,9 +169,9 @@ name: '@Author::PERLANCAR/OurDist' version: '0.02' - - class: Dist::Zilla::Plugin::PERLANCAR::OurPkgVersion - name: '@Author::PERLANCAR/PERLANCAR::OurPkgVersion' - version: '0.04' + class: Dist::Zilla::Plugin::OurPkgVersion + name: '@Author::PERLANCAR/OurPkgVersion' + version: '0.15' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -156,67 +183,67 @@ - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Name name: '@Author::PERLANCAR/Name' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Version name: '@Author::PERLANCAR/Version' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Region name: '@Author::PERLANCAR/prelude' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Generic name: SYNOPSIS - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Generic name: DESCRIPTION - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Generic name: OVERVIEW - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Collect name: METHODS - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Collect name: FUNCTIONS - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Leftovers name: '@Author::PERLANCAR/Leftovers' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Region name: '@Author::PERLANCAR/postlude' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Completion::GetoptLongComplete name: '@Author::PERLANCAR/Completion::GetoptLongComplete' - version: '0.07' + version: '0.08' - class: Pod::Weaver::Section::Completion::GetoptLongSubcommand name: '@Author::PERLANCAR/Completion::GetoptLongSubcommand' - version: '0.03' + version: '0.04' - - class: Pod::Weaver::Section::Completion::PerinciCmdLine - name: '@Author::PERLANCAR/Completion::PerinciCmdLine' - version: '0.13' + class: Pod::Weaver::Section::Completion::GetoptLongMore + name: '@Author::PERLANCAR/Completion::GetoptLongMore' + version: '0.001' - class: Pod::Weaver::Section::Homepage::DefaultCPAN name: '@Author::PERLANCAR/Homepage::DefaultCPAN' @@ -228,19 +255,19 @@ - class: Pod::Weaver::Section::Bugs::DefaultRT name: '@Author::PERLANCAR/Bugs::DefaultRT' - version: '0.05' + version: '0.06' - class: Pod::Weaver::Section::Authors name: '@Author::PERLANCAR/Authors' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Section::Legal name: '@Author::PERLANCAR/Legal' - version: '4.012' + version: '4.015' - class: Pod::Weaver::Plugin::Rinci name: '@Author::PERLANCAR/Rinci' - version: '0.42' + version: '0.780' - class: Pod::Weaver::Plugin::AppendPrepend name: '@Author::PERLANCAR/AppendPrepend' @@ -248,29 +275,41 @@ - class: Pod::Weaver::Plugin::EnsureUniqueSections name: '@Author::PERLANCAR/EnsureUniqueSections' - version: '0.121550' + version: '0.163250' - class: Pod::Weaver::Plugin::SingleEncoding name: '@Author::PERLANCAR/SingleEncoding' - version: '4.012' + version: '4.015' + - + class: Pod::Weaver::Plugin::PERLANCAR::SortSections + name: '@Author::PERLANCAR/PERLANCAR::SortSections' + version: '0.06' + - + class: Pod::Weaver::Plugin::Sah::Schemas + name: -Sah::Schemas + version: '0.04' name: '@Author::PERLANCAR/PodWeaver' - version: '4.006' + version: '4.008' - class: Dist::Zilla::Plugin::PruneFiles name: '@Author::PERLANCAR/PruneFiles' - version: '5.037' + version: '6.012' - - class: Dist::Zilla::Plugin::ReadmeFromPod - name: '@Author::PERLANCAR/ReadmeFromPod' - version: '0.32' + class: Dist::Zilla::Plugin::Pod2Readme + name: '@Author::PERLANCAR/Pod2Readme' + version: '0.004' - class: Dist::Zilla::Plugin::Rinci::AddPrereqs name: '@Author::PERLANCAR/Rinci::AddPrereqs' - version: '0.06' + version: '0.142' + - + class: Dist::Zilla::Plugin::Rinci::AddToDb + name: '@Author::PERLANCAR/Rinci::AddToDb' + version: '0.01' - class: Dist::Zilla::Plugin::Rinci::Validate name: '@Author::PERLANCAR/Rinci::Validate' - version: '0.20' + version: '0.24' - class: Dist::Zilla::Plugin::SetScriptShebang name: '@Author::PERLANCAR/SetScriptShebang' @@ -281,25 +320,54 @@ Dist::Zilla::Plugin::Test::Compile: bail_out_on_fail: '0' fail_on_warning: author - fake_home: '0' + fake_home: 0 filename: t/00-compile.t module_finder: - ':InstallModules' - needs_display: '0' + needs_display: 0 phase: test script_finder: - - ':ExecFiles' + - ':PerlExecFiles' skips: [] + switch: [] name: '@Author::PERLANCAR/Test::Compile' - version: '2.053' + version: '2.058' + - + class: Dist::Zilla::Plugin::Test::Perl::Critic + name: '@Author::PERLANCAR/Test::Perl::Critic' + version: '3.001' - class: Dist::Zilla::Plugin::Test::Rinci name: '@Author::PERLANCAR/Test::Rinci' - version: '0.02' + version: '0.040' + - + class: Dist::Zilla::Plugin::StaticInstall + config: + Dist::Zilla::Plugin::StaticInstall: + dry_run: 0 + mode: on + name: '@Author::PERLANCAR/StaticInstall' + version: '0.012' - class: Dist::Zilla::Plugin::EnsureSQLSchemaVersionedTest name: '@Author::PERLANCAR/EnsureSQLSchemaVersionedTest' - version: '0.01' + version: '0.03' + - + class: Dist::Zilla::Plugin::Acme::CPANModules::Blacklist + name: '@Author::PERLANCAR/Acme::CPANModules::Blacklist' + version: '0.001' + - + class: Dist::Zilla::Plugin::Prereqs::EnsureVersion + name: '@Author::PERLANCAR/Prereqs::EnsureVersion' + version: '0.050' + - + class: Dist::Zilla::Plugin::Prereqs::CheckCircular + name: '@Author::PERLANCAR/Prereqs::CheckCircular' + version: '0.006' + - + class: Dist::Zilla::Plugin::UploadToCPAN::WWWPAUSESimple + name: '@Author::PERLANCAR/UploadToCPAN::WWWPAUSESimple' + version: '0.04' - class: Dist::Zilla::Plugin::Prereqs config: @@ -307,42 +375,53 @@ phase: runtime type: requires name: Prereqs - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '5.037' + version: '6.012' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':ExtraTestFiles' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '5.037' + version: '6.012' + - + class: Dist::Zilla::Plugin::FinderCode + name: ':PerlExecFiles' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '5.037' + version: '6.012' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '5.037' + version: '6.012' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '5.037' + version: '6.012' x_authority: cpan:PERLANCAR +x_generated_by_perl: v5.28.2 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_static_install: 1 diff -Nru libdefhash-perl-1.0.11/README libdefhash-perl-1.0.12/README --- libdefhash-perl-1.0.11/README 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/README 2019-06-18 12:07:06.000000000 +0000 @@ -0,0 +1,31 @@ +NAME + DefHash - Define things according to a specification, using hashes + +VERSION + This document describes version 1.0.12 of DefHash (from Perl + distribution DefHash), released on 2019-06-18. + +HOMEPAGE + Please visit the project's homepage at + . + +SOURCE + Source repository is at . + +BUGS + Please report any bugs or feature requests on the bugtracker website + + + When submitting a bug or request, please include a test-file or a patch + to an existing test-file that illustrates the bug or desired feature. + +AUTHOR + perlancar + +COPYRIGHT AND LICENSE + This software is copyright (c) 2019, 2015, 2014, 2013, 2012 by + perlancar@cpan.org. + + This is free software; you can redistribute it and/or modify it under + the same terms as the Perl 5 programming language system itself. + diff -Nru libdefhash-perl-1.0.11/t/00-compile.t libdefhash-perl-1.0.12/t/00-compile.t --- libdefhash-perl-1.0.11/t/00-compile.t 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/t/00-compile.t 2019-06-18 12:07:06.000000000 +0000 @@ -2,22 +2,23 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.053 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; -plan tests => 2 + ($ENV{AUTHOR_TESTING} ? 1 : 0); +plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); my @module_files = ( - 'DefHash.pm', - 'Sah/Schema/DefHash.pm' + 'DefHash.pm' ); # no fake home requested -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -31,14 +32,18 @@ # see L my $stderr = IO::Handle->new; - my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); + diag('Running: ', join(', ', map { my $str = $_; $str =~ s/'/\\'/g; q{'} . $str . q{'} } + $^X, @switches, '-e', "require q[$lib]")) + if $ENV{PERL_COMPILE_TEST_DEBUG}; + + my $pid = open3($stdin, '>&STDERR', $stderr, $^X, @switches, '-e', "require q[$lib]"); binmode $stderr, ':crlf' if $^O eq 'MSWin32'; my @_warnings = <$stderr>; waitpid($pid, 0); is($?, 0, "$lib loaded ok"); shift @_warnings if @_warnings and $_warnings[0] =~ /^Using .*\bblib/ - and not eval { blib->VERSION('1.01') }; + and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { diff -Nru libdefhash-perl-1.0.11/t/author-critic.t libdefhash-perl-1.0.12/t/author-critic.t --- libdefhash-perl-1.0.11/t/author-critic.t 1970-01-01 00:00:00.000000000 +0000 +++ libdefhash-perl-1.0.12/t/author-critic.t 2019-06-18 12:07:06.000000000 +0000 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + + +use strict; +use warnings; + +use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc"; +all_critic_ok(); diff -Nru libdefhash-perl-1.0.11/t/author-pod-coverage.t libdefhash-perl-1.0.12/t/author-pod-coverage.t --- libdefhash-perl-1.0.11/t/author-pod-coverage.t 1970-01-01 00:00:00.000000000 +0000 +++ libdefhash-perl-1.0.12/t/author-pod-coverage.t 2019-06-18 12:07:06.000000000 +0000 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. + +use Test::Pod::Coverage 1.08; +use Pod::Coverage::TrustPod; + +all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -Nru libdefhash-perl-1.0.11/t/author-pod-syntax.t libdefhash-perl-1.0.12/t/author-pod-syntax.t --- libdefhash-perl-1.0.11/t/author-pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 +++ libdefhash-perl-1.0.12/t/author-pod-syntax.t 2019-06-18 12:07:06.000000000 +0000 @@ -0,0 +1,15 @@ +#!perl + +BEGIN { + unless ($ENV{AUTHOR_TESTING}) { + print qq{1..0 # SKIP these tests are for testing by the author\n}; + exit + } +} + +# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. +use strict; use warnings; +use Test::More; +use Test::Pod 1.41; + +all_pod_files_ok(); diff -Nru libdefhash-perl-1.0.11/t/release-pod-coverage.t libdefhash-perl-1.0.12/t/release-pod-coverage.t --- libdefhash-perl-1.0.11/t/release-pod-coverage.t 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/t/release-pod-coverage.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. - -use Test::Pod::Coverage 1.08; -use Pod::Coverage::TrustPod; - -all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); diff -Nru libdefhash-perl-1.0.11/t/release-pod-syntax.t libdefhash-perl-1.0.12/t/release-pod-syntax.t --- libdefhash-perl-1.0.11/t/release-pod-syntax.t 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/t/release-pod-syntax.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,14 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - -# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. -use Test::More; -use Test::Pod 1.41; - -all_pod_files_ok(); diff -Nru libdefhash-perl-1.0.11/t/release-rinci.t libdefhash-perl-1.0.12/t/release-rinci.t --- libdefhash-perl-1.0.11/t/release-rinci.t 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/t/release-rinci.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,19 +0,0 @@ -#!perl - -BEGIN { - unless ($ENV{RELEASE_TESTING}) { - require Test::More; - Test::More::plan(skip_all => 'these tests are for release candidate testing'); - } -} - - -# This file was automatically generated by Dist::Zilla::Plugin::Test::Rinci. - -use Test::More; - -eval "use Test::Rinci 0.01"; -plan skip_all => "Test::Rinci 0.01 required for testing Rinci metadata" - if $@; - -metadata_in_all_modules_ok(); diff -Nru libdefhash-perl-1.0.11/weaver.ini libdefhash-perl-1.0.12/weaver.ini --- libdefhash-perl-1.0.11/weaver.ini 2015-09-02 18:58:04.000000000 +0000 +++ libdefhash-perl-1.0.12/weaver.ini 2019-06-18 12:07:06.000000000 +0000 @@ -1 +1,2 @@ [@Author::PERLANCAR] +[-Sah::Schemas]