diff -Nru libdata-sah-normalize-perl-0.050/Changes libdata-sah-normalize-perl-0.051/Changes --- libdata-sah-normalize-perl-0.050/Changes 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/Changes 2021-07-29 14:56:41.000000000 +0000 @@ -1,4 +1,16 @@ -0.050 2018-09-10 (PERLANCAR) +0.051 2021-07-29 Released-By: PERLANCAR + + - Mark as non-developer release. + + +0.050_001 2021-07-20 Released-By: PERLANCAR; Backward-Incompatible: yes; Developer-Release: yes + + - [incompatible change] Extras part are now removed to better comply + with Sah 0.9.47+; it must also be empty now, normalize_schema() dies + on input that contains non-empty extras part. + + +0.050 2018-09-10 Released-By: PERLANCAR - No functional changes. @@ -8,7 +20,7 @@ Bencher::Scenario::DataSah::normalize_schema instead. -0.04 2015-09-06 (PERLANCAR) +0.04 2015-09-06 Released-By: PERLANCAR - No functional changes. @@ -17,7 +29,7 @@ requirement. -0.03 2015-04-24 (PERLANCAR) +0.03 2015-04-24 Released-By: PERLANCAR - Add prototype to normalize_schema($) to catch common error like normalize_schema(int => min=>1) when it should be @@ -26,7 +38,7 @@ - Add benchmark devscript. -0.02 2015-04-24 (PERLANCAR) +0.02 2015-04-24 Released-By: PERLANCAR - No functional changes. @@ -35,7 +47,7 @@ documented/tested). -0.01 2014-07-08 (SHARYANTO) +0.01 2014-07-08 Released-By: SHARYANTO - First release, split from Data-Sah to provide something minimal for those that need normalizing functionality only. diff -Nru libdata-sah-normalize-perl-0.050/debian/changelog libdata-sah-normalize-perl-0.051/debian/changelog --- libdata-sah-normalize-perl-0.050/debian/changelog 2018-11-25 17:13:01.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/changelog 2021-09-29 18:32:28.000000000 +0000 @@ -1,3 +1,27 @@ +libdata-sah-normalize-perl (0.051-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * debian/watch: use uscan version 4. + + [ Debian Janitor ] + * Bump debhelper from old 10 to 12. + * Set debhelper-compat version in Build-Depends. + * Remove obsolete fields Contact, Name from debian/upstream/metadata (already + present in machine-readable debian/copyright). + * Bump debhelper from old 12 to 13. + + [ gregor herrmann ] + * Import upstream version 0.051. + * Add a note about an incompatible change to debian/NEWS.Developer. + * Update years of upstream copyright. + * Declare compliance with Debian Policy 4.6.0. + * Set Rules-Requires-Root: no. + * Annotate test-only build dependencies with . + + -- gregor herrmann Wed, 29 Sep 2021 20:32:28 +0200 + libdata-sah-normalize-perl (0.050-1) unstable; urgency=medium * Team upload. diff -Nru libdata-sah-normalize-perl-0.050/debian/compat libdata-sah-normalize-perl-0.051/debian/compat --- libdata-sah-normalize-perl-0.050/debian/compat 2018-11-25 17:13:01.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -10 diff -Nru libdata-sah-normalize-perl-0.050/debian/control libdata-sah-normalize-perl-0.051/debian/control --- libdata-sah-normalize-perl-0.050/debian/control 2018-11-25 17:13:01.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/control 2021-09-29 18:32:28.000000000 +0000 @@ -4,13 +4,14 @@ Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 10) -Build-Depends-Indep: libtest-exception-perl, +Build-Depends: debhelper-compat (= 13) +Build-Depends-Indep: libtest-exception-perl , perl -Standards-Version: 4.2.1 +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libdata-sah-normalize-perl Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libdata-sah-normalize-perl.git Homepage: https://metacpan.org/release/Data-Sah-Normalize +Rules-Requires-Root: no Package: libdata-sah-normalize-perl Architecture: all diff -Nru libdata-sah-normalize-perl-0.050/debian/copyright libdata-sah-normalize-perl-0.051/debian/copyright --- libdata-sah-normalize-perl-0.050/debian/copyright 2018-11-25 17:13:01.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/copyright 2021-09-29 18:32:28.000000000 +0000 @@ -4,7 +4,7 @@ Upstream-Name: Data-Sah-Normalize Files: * -Copyright: 2014-2018, perlancar +Copyright: 2014-2021, perlancar License: Artistic or GPL-1+ Files: debian/* diff -Nru libdata-sah-normalize-perl-0.050/debian/libdata-sah-normalize-perl.docs libdata-sah-normalize-perl-0.051/debian/libdata-sah-normalize-perl.docs --- libdata-sah-normalize-perl-0.050/debian/libdata-sah-normalize-perl.docs 1970-01-01 00:00:00.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/libdata-sah-normalize-perl.docs 2021-09-29 18:32:28.000000000 +0000 @@ -0,0 +1 @@ +debian/NEWS.Developer diff -Nru libdata-sah-normalize-perl-0.050/debian/NEWS.Developer libdata-sah-normalize-perl-0.051/debian/NEWS.Developer --- libdata-sah-normalize-perl-0.050/debian/NEWS.Developer 1970-01-01 00:00:00.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/NEWS.Developer 2021-09-29 18:32:28.000000000 +0000 @@ -0,0 +1,9 @@ +libdata-sah-normalize-perl (0.051-1) unstable; urgency=medium + + From upstream Changes for 0.050_001: + + - [incompatible change] Extras part are now removed to better comply + with Sah 0.9.47+; it must also be empty now, normalize_schema() dies + on input that contains non-empty extras part. + + -- gregor herrmann Wed, 29 Sep 2021 20:28:47 +0200 diff -Nru libdata-sah-normalize-perl-0.050/debian/upstream/metadata libdata-sah-normalize-perl-0.051/debian/upstream/metadata --- libdata-sah-normalize-perl-0.050/debian/upstream/metadata 2018-11-25 17:13:01.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/upstream/metadata 2021-09-29 18:32:28.000000000 +0000 @@ -1,7 +1,5 @@ --- Archive: CPAN Bug-Database: https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Sah-Normalize -Contact: perlancar -Name: Data-Sah-Normalize Repository: https://github.com/perlancar/perl-Data-Sah-Normalize.git Repository-Browse: https://github.com/perlancar/perl-Data-Sah-Normalize diff -Nru libdata-sah-normalize-perl-0.050/debian/watch libdata-sah-normalize-perl-0.051/debian/watch --- libdata-sah-normalize-perl-0.050/debian/watch 2018-11-25 17:13:01.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/debian/watch 2021-09-29 18:32:28.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/Data-Sah-Normalize .*/Data-Sah-Normalize-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/Data-Sah-Normalize .*/Data-Sah-Normalize-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libdata-sah-normalize-perl-0.050/dist.ini libdata-sah-normalize-perl-0.051/dist.ini --- libdata-sah-normalize-perl-0.050/dist.ini 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/dist.ini 2021-07-29 14:56:41.000000000 +0000 @@ -1,9 +1,9 @@ -version=0.050 +version=0.051 name=Data-Sah-Normalize [@Author::PERLANCAR] -:version=0.593 +:version=0.604 [Prereqs / TestRequires] Test::Exception=0 @@ -14,3 +14,8 @@ strict=0 warnings=0 Exporter=5.57 + +[Prereqs / DevelopX_Spec] +-phase=develop +-relationship=x_spec +Sah=0.9.50 diff -Nru libdata-sah-normalize-perl-0.050/lib/Data/Sah/Normalize.pm libdata-sah-normalize-perl-0.051/lib/Data/Sah/Normalize.pm --- libdata-sah-normalize-perl-0.050/lib/Data/Sah/Normalize.pm 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/lib/Data/Sah/Normalize.pm 2021-07-29 14:56:41.000000000 +0000 @@ -1,12 +1,14 @@ package Data::Sah::Normalize; +our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY +our $DATE = '2021-07-29'; # DATE +our $DIST = 'Data-Sah-Normalize'; # DIST +our $VERSION = '0.051'; # VERSION + use 5.010001; use strict; use warnings; -our $DATE = '2018-09-10'; # DATE -our $VERSION = '0.050'; # VERSION - require Exporter; our @ISA = qw(Exporter); our @EXPORT_OK = qw( @@ -143,7 +145,7 @@ my $has_req = $s =~ s/\*\z//; $s =~ $type_re or die "Invalid type syntax $s, please use ". "letter/digit/underscore only"; - return [$s, $has_req ? {req=>1} : {}, {}]; + return [$s, $has_req ? {req=>1} : {}]; } elsif ($ref eq 'ARRAY') { @@ -181,11 +183,11 @@ if (defined $extras) { die "For array form with 3 elements, extras must be hash" unless ref($extras) eq 'HASH'; - die "'def' in extras must be a hash" - if exists $extras->{def} && ref($extras->{def}) ne 'HASH'; - return [$t, $clset, { %{$extras} }]; + die "Extras must be empty hashref (Sah 0.9.47)" if keys %$extras; + # we remove extras to comply with Sah 0.9.47+ + return [$t, $clset]; } else { - return [$t, $clset, {}]; + return [$t, $clset]; } } @@ -207,20 +209,26 @@ =head1 VERSION -This document describes version 0.050 of Data::Sah::Normalize (from Perl distribution Data-Sah-Normalize), released on 2018-09-10. +This document describes version 0.051 of Data::Sah::Normalize (from Perl distribution Data-Sah-Normalize), released on 2021-07-29. =head1 SYNOPSIS use Data::Sah::Normalize qw(normalize_clset normalize_schema); my $nclset = normalize_clset({'!a'=>1}); # -> {a=>1, 'a.op'=>'not'} - my $nsch = normalize_schema("int"); # -> ["int", {}, {}] + my $nsch = normalize_schema("int"); # -> ["int", {}] =head1 DESCRIPTION This often-needed functionality is split from the main L to keep it in a small and minimal-dependencies package. +=head1 CONTRIBUTOR + +=for stopwords Steven Haryanto + +Steven Haryanto + =head1 FUNCTIONS =head2 normalize_clset($clset) => HASH @@ -235,8 +243,8 @@ Normalize a Sah schema (scalar or array). Return an array. Produce a 2-level copy of schema, so it's safe to add/delete/modify the normalized schema's clause -set and extras (but clause set's and extras' values are still references to the -original). Die on failure. +set, but clause set's values are still references to the original. Die on +failure. TODO: recursively normalize clause which contains sah clauses (e.g. C). @@ -266,7 +274,7 @@ =head1 COPYRIGHT AND LICENSE -This software is copyright (c) 2018, 2015, 2014 by perlancar@cpan.org. +This software is copyright (c) 2021, 2018, 2015, 2014 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 libdata-sah-normalize-perl-0.050/LICENSE libdata-sah-normalize-perl-0.051/LICENSE --- libdata-sah-normalize-perl-0.050/LICENSE 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/LICENSE 2021-07-29 14:56:41.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2018, 2015, 2014 by perlancar@cpan.org. +This software is copyright (c) 2021, 2018, 2015, 2014 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) 2018, 2015, 2014 by perlancar@cpan.org. +This software is Copyright (c) 2021, 2018, 2015, 2014 by perlancar@cpan.org. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2018, 2015, 2014 by perlancar@cpan.org. +This software is Copyright (c) 2021, 2018, 2015, 2014 by perlancar@cpan.org. This is free software, licensed under: diff -Nru libdata-sah-normalize-perl-0.050/Makefile.PL libdata-sah-normalize-perl-0.051/Makefile.PL --- libdata-sah-normalize-perl-0.050/Makefile.PL 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/Makefile.PL 2021-07-29 14:56:41.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.023. use strict; use warnings; @@ -28,7 +28,7 @@ "Test::Exception" => 0, "Test::More" => "0.98" }, - "VERSION" => "0.050", + "VERSION" => "0.051", "test" => { "TESTS" => "t/*.t" } diff -Nru libdata-sah-normalize-perl-0.050/MANIFEST libdata-sah-normalize-perl-0.051/MANIFEST --- libdata-sah-normalize-perl-0.050/MANIFEST 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/MANIFEST 2021-07-29 14:56:41.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.010. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.023. Changes LICENSE MANIFEST diff -Nru libdata-sah-normalize-perl-0.050/META.json libdata-sah-normalize-perl-0.051/META.json --- libdata-sah-normalize-perl-0.050/META.json 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/META.json 2021-07-29 14:56:41.000000000 +0000 @@ -4,7 +4,7 @@ "perlancar " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010", + "generated_by" : "Dist::Zilla version 6.023, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -25,6 +25,9 @@ "Test::Perl::Critic" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08" + }, + "x_spec" : { + "Sah" : "v0.9.50" } }, "runtime" : { @@ -57,13 +60,18 @@ "web" : "https://github.com/perlancar/perl-Data-Sah-Normalize" } }, - "version" : "0.050", + "version" : "0.051", "x_Dist_Zilla" : { "perl" : { - "version" : "5.026001" + "version" : "5.034000" }, "plugins" : [ { + "class" : "Dist::Zilla::Plugin::PERLANCAR::CheckPendingRelease", + "name" : "@Author::PERLANCAR/PERLANCAR::CheckPendingRelease", + "version" : "0.001" + }, + { "class" : "Dist::Zilla::Plugin::GatherDir", "config" : { "Dist::Zilla::Plugin::GatherDir" : { @@ -77,52 +85,52 @@ } }, "name" : "@Author::PERLANCAR/@Filter/GatherDir", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Author::PERLANCAR/@Filter/PruneCruft", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Author::PERLANCAR/@Filter/ManifestSkip", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Author::PERLANCAR/@Filter/MetaYAML", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Author::PERLANCAR/@Filter/License", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::PodCoverageTests", "name" : "@Author::PERLANCAR/@Filter/PodCoverageTests", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", "name" : "@Author::PERLANCAR/@Filter/PodSyntaxTests", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::ExtraTests", "name" : "@Author::PERLANCAR/@Filter/ExtraTests", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::PERLANCAR/@Filter/ExecDir", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Author::PERLANCAR/@Filter/ShareDir", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -132,27 +140,27 @@ } }, "name" : "@Author::PERLANCAR/@Filter/MakeMaker", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Author::PERLANCAR/@Filter/Manifest", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Author::PERLANCAR/@Filter/ConfirmRelease", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Author::PERLANCAR/ExecDir script", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::PERLANCAR::BeforeBuild", "name" : "@Author::PERLANCAR/PERLANCAR::BeforeBuild", - "version" : "0.593" + "version" : "0.604" }, { "class" : "Dist::Zilla::Plugin::Rinci::AbstractFromMeta", @@ -167,12 +175,12 @@ { "class" : "Dist::Zilla::Plugin::PERLANCAR::EnsurePrereqToSpec", "name" : "@Author::PERLANCAR/PERLANCAR::EnsurePrereqToSpec", - "version" : "0.05" + "version" : "0.062" }, { "class" : "Dist::Zilla::Plugin::PERLANCAR::MetaResources", "name" : "@Author::PERLANCAR/PERLANCAR::MetaResources", - "version" : "0.040" + "version" : "0.043" }, { "class" : "Dist::Zilla::Plugin::CheckChangeLog", @@ -193,7 +201,7 @@ ] }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000033", + "Module::Metadata" : "1.000037", "version" : "0.006" } }, @@ -201,9 +209,23 @@ "version" : "0.011" }, { + "class" : "Dist::Zilla::Plugin::Git::Contributors", + "config" : { + "Dist::Zilla::Plugin::Git::Contributors" : { + "git_version" : "2.17.1", + "include_authors" : 0, + "include_releaser" : 1, + "order_by" : "name", + "paths" : [] + } + }, + "name" : "@Author::PERLANCAR/Git::Contributors", + "version" : "0.036" + }, + { "class" : "Dist::Zilla::Plugin::CopyrightYearFromGit", "name" : "@Author::PERLANCAR/CopyrightYearFromGit", - "version" : "0.003" + "version" : "0.006" }, { "class" : "Dist::Zilla::Plugin::IfBuilt", @@ -213,17 +235,17 @@ { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "@Author::PERLANCAR/MetaJSON", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "@Author::PERLANCAR/MetaConfig", - "version" : "6.010" + "version" : "6.023" }, { - "class" : "Dist::Zilla::Plugin::Authority", - "name" : "@Author::PERLANCAR/Authority", - "version" : "1.009" + "class" : "Dist::Zilla::Plugin::PERLANCAR::Authority", + "name" : "@Author::PERLANCAR/PERLANCAR::Authority", + "version" : "0.001" }, { "class" : "Dist::Zilla::Plugin::OurDate", @@ -236,9 +258,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.21" }, { "class" : "Dist::Zilla::Plugin::PodWeaver", @@ -252,67 +274,67 @@ { "class" : "Pod::Weaver::Plugin::EnsurePod5", "name" : "@CorePrep/EnsurePod5", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::H1Nester", "name" : "@CorePrep/H1Nester", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Name", "name" : "@Author::PERLANCAR/Name", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Version", "name" : "@Author::PERLANCAR/Version", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::PERLANCAR/prelude", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "SYNOPSIS", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "DESCRIPTION", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Generic", "name" : "OVERVIEW", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "ATTRIBUTES", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "METHODS", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Collect", "name" : "FUNCTIONS", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Leftovers", "name" : "@Author::PERLANCAR/Leftovers", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Region", "name" : "@Author::PERLANCAR/postlude", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Section::Completion::GetoptLongComplete", @@ -347,17 +369,22 @@ { "class" : "Pod::Weaver::Section::Authors", "name" : "@Author::PERLANCAR/Authors", - "version" : "4.015" + "version" : "4.018" + }, + { + "class" : "Pod::Weaver::Section::Contributors", + "name" : "@Author::PERLANCAR/Contributors", + "version" : "0.009" }, { "class" : "Pod::Weaver::Section::Legal", "name" : "@Author::PERLANCAR/Legal", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::Rinci", "name" : "@Author::PERLANCAR/Rinci", - "version" : "0.77" + "version" : "0.780" }, { "class" : "Pod::Weaver::Plugin::AppendPrepend", @@ -372,23 +399,23 @@ { "class" : "Pod::Weaver::Plugin::SingleEncoding", "name" : "@Author::PERLANCAR/SingleEncoding", - "version" : "4.015" + "version" : "4.018" }, { "class" : "Pod::Weaver::Plugin::PERLANCAR::SortSections", "name" : "@Author::PERLANCAR/PERLANCAR::SortSections", - "version" : "0.06" + "version" : "0.082" } ] } }, "name" : "@Author::PERLANCAR/PodWeaver", - "version" : "4.008" + "version" : "4.009" }, { "class" : "Dist::Zilla::Plugin::PruneFiles", "name" : "@Author::PERLANCAR/PruneFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::Pod2Readme", @@ -398,17 +425,17 @@ { "class" : "Dist::Zilla::Plugin::Rinci::AddPrereqs", "name" : "@Author::PERLANCAR/Rinci::AddPrereqs", - "version" : "0.142" + "version" : "0.145" }, { "class" : "Dist::Zilla::Plugin::Rinci::AddToDb", "name" : "@Author::PERLANCAR/Rinci::AddToDb", - "version" : "0.01" + "version" : "0.020" }, { - "class" : "Dist::Zilla::Plugin::Rinci::Validate", - "name" : "@Author::PERLANCAR/Rinci::Validate", - "version" : "0.24" + "class" : "Dist::Zilla::Plugin::Rinci::EmbedValidator", + "name" : "@Author::PERLANCAR/Rinci::EmbedValidator", + "version" : "0.251" }, { "class" : "Dist::Zilla::Plugin::SetScriptShebang", @@ -439,14 +466,23 @@ "version" : "2.058" }, { - "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", - "name" : "@Author::PERLANCAR/Test::Perl::Critic", - "version" : "3.001" + "class" : "Dist::Zilla::Plugin::Test::Perl::Critic::Subset", + "config" : { + "Dist::Zilla::Plugin::Test::Perl::Critic::Subset" : { + "finder" : [ + ":ExecFiles", + ":InstallModules", + ":TestFiles" + ] + } + }, + "name" : "@Author::PERLANCAR/Test::Perl::Critic::Subset", + "version" : "3.001.005" }, { "class" : "Dist::Zilla::Plugin::Test::Rinci", "name" : "@Author::PERLANCAR/Test::Rinci", - "version" : "0.03" + "version" : "0.040" }, { "class" : "Dist::Zilla::Plugin::StaticInstall", @@ -457,7 +493,7 @@ } }, "name" : "@Author::PERLANCAR/StaticInstall", - "version" : "0.011" + "version" : "0.012" }, { "class" : "Dist::Zilla::Plugin::EnsureSQLSchemaVersionedTest", @@ -477,7 +513,7 @@ { "class" : "Dist::Zilla::Plugin::Prereqs::CheckCircular", "name" : "@Author::PERLANCAR/Prereqs::CheckCircular", - "version" : "0.006" + "version" : "0.007" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN::WWWPAUSESimple", @@ -493,7 +529,7 @@ } }, "name" : "TestRequires", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -504,57 +540,68 @@ } }, "name" : "Prereqs", - "version" : "6.010" + "version" : "6.023" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs", + "config" : { + "Dist::Zilla::Plugin::Prereqs" : { + "phase" : "develop", + "type" : "x_spec" + } + }, + "name" : "DevelopX_Spec", + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "6.010" + "version" : "6.023" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "6.010" + "version" : "6.023" } ], "zilla" : { @@ -562,11 +609,16 @@ "config" : { "is_trial" : 0 }, - "version" : "6.010" + "version" : "6.023" } }, "x_authority" : "cpan:PERLANCAR", - "x_serialization_backend" : "Cpanel::JSON::XS version 3.0239", + "x_contributors" : [ + "Steven Haryanto " + ], + "x_generated_by_perl" : "v5.34.0", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.26", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later", "x_static_install" : 1 } diff -Nru libdata-sah-normalize-perl-0.050/META.yml libdata-sah-normalize-perl-0.051/META.yml --- libdata-sah-normalize-perl-0.050/META.yml 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/META.yml 2021-07-29 14:56:41.000000000 +0000 @@ -11,7 +11,7 @@ configure_requires: ExtUtils::MakeMaker: '0' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.010, CPAN::Meta::Converter version 2.150010' +generated_by: 'Dist::Zilla version 6.023, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,12 +26,16 @@ bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Data-Sah-Normalize homepage: https://metacpan.org/release/Data-Sah-Normalize repository: git://github.com/perlancar/perl-Data-Sah-Normalize.git -version: '0.050' +version: '0.051' x_Dist_Zilla: perl: - version: '5.026001' + version: '5.034000' plugins: - + class: Dist::Zilla::Plugin::PERLANCAR::CheckPendingRelease + name: '@Author::PERLANCAR/PERLANCAR::CheckPendingRelease' + version: '0.001' + - class: Dist::Zilla::Plugin::GatherDir config: Dist::Zilla::Plugin::GatherDir: @@ -43,66 +47,66 @@ prune_directory: [] root: . name: '@Author::PERLANCAR/@Filter/GatherDir' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::PruneCruft name: '@Author::PERLANCAR/@Filter/PruneCruft' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Author::PERLANCAR/@Filter/ManifestSkip' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::MetaYAML name: '@Author::PERLANCAR/@Filter/MetaYAML' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::License name: '@Author::PERLANCAR/@Filter/License' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::PodCoverageTests name: '@Author::PERLANCAR/@Filter/PodCoverageTests' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::PodSyntaxTests name: '@Author::PERLANCAR/@Filter/PodSyntaxTests' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::ExtraTests name: '@Author::PERLANCAR/@Filter/ExtraTests' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::PERLANCAR/@Filter/ExecDir' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::ShareDir name: '@Author::PERLANCAR/@Filter/ShareDir' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Author::PERLANCAR/@Filter/MakeMaker' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::Manifest name: '@Author::PERLANCAR/@Filter/Manifest' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::PERLANCAR/@Filter/ConfirmRelease' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::ExecDir name: '@Author::PERLANCAR/ExecDir script' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::PERLANCAR::BeforeBuild name: '@Author::PERLANCAR/PERLANCAR::BeforeBuild' - version: '0.593' + version: '0.604' - class: Dist::Zilla::Plugin::Rinci::AbstractFromMeta name: '@Author::PERLANCAR/Rinci::AbstractFromMeta' @@ -114,11 +118,11 @@ - class: Dist::Zilla::Plugin::PERLANCAR::EnsurePrereqToSpec name: '@Author::PERLANCAR/PERLANCAR::EnsurePrereqToSpec' - version: '0.05' + version: '0.062' - class: Dist::Zilla::Plugin::PERLANCAR::MetaResources name: '@Author::PERLANCAR/PERLANCAR::MetaResources' - version: '0.040' + version: '0.043' - class: Dist::Zilla::Plugin::CheckChangeLog name: '@Author::PERLANCAR/CheckChangeLog' @@ -134,14 +138,25 @@ finder: - ':InstallModules' Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000033' + Module::Metadata: '1.000037' version: '0.006' name: '@Author::PERLANCAR/CheckSelfDependency' version: '0.011' - + class: Dist::Zilla::Plugin::Git::Contributors + config: + Dist::Zilla::Plugin::Git::Contributors: + git_version: 2.17.1 + include_authors: 0 + include_releaser: 1 + order_by: name + paths: [] + name: '@Author::PERLANCAR/Git::Contributors' + version: '0.036' + - class: Dist::Zilla::Plugin::CopyrightYearFromGit name: '@Author::PERLANCAR/CopyrightYearFromGit' - version: '0.003' + version: '0.006' - class: Dist::Zilla::Plugin::IfBuilt name: '@Author::PERLANCAR/IfBuilt' @@ -149,15 +164,15 @@ - class: Dist::Zilla::Plugin::MetaJSON name: '@Author::PERLANCAR/MetaJSON' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::MetaConfig name: '@Author::PERLANCAR/MetaConfig' - version: '6.010' + version: '6.023' - - class: Dist::Zilla::Plugin::Authority - name: '@Author::PERLANCAR/Authority' - version: '1.009' + class: Dist::Zilla::Plugin::PERLANCAR::Authority + name: '@Author::PERLANCAR/PERLANCAR::Authority' + version: '0.001' - class: Dist::Zilla::Plugin::OurDate name: '@Author::PERLANCAR/OurDate' @@ -167,9 +182,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.21' - class: Dist::Zilla::Plugin::PodWeaver config: @@ -181,55 +196,55 @@ - class: Pod::Weaver::Plugin::EnsurePod5 name: '@CorePrep/EnsurePod5' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Plugin::H1Nester name: '@CorePrep/H1Nester' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Name name: '@Author::PERLANCAR/Name' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Version name: '@Author::PERLANCAR/Version' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Region name: '@Author::PERLANCAR/prelude' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Generic name: SYNOPSIS - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Generic name: DESCRIPTION - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Generic name: OVERVIEW - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Collect name: ATTRIBUTES - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Collect name: METHODS - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Collect name: FUNCTIONS - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Leftovers name: '@Author::PERLANCAR/Leftovers' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Region name: '@Author::PERLANCAR/postlude' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Section::Completion::GetoptLongComplete name: '@Author::PERLANCAR/Completion::GetoptLongComplete' @@ -257,15 +272,19 @@ - class: Pod::Weaver::Section::Authors name: '@Author::PERLANCAR/Authors' - version: '4.015' + version: '4.018' + - + class: Pod::Weaver::Section::Contributors + name: '@Author::PERLANCAR/Contributors' + version: '0.009' - class: Pod::Weaver::Section::Legal name: '@Author::PERLANCAR/Legal' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Plugin::Rinci name: '@Author::PERLANCAR/Rinci' - version: '0.77' + version: '0.780' - class: Pod::Weaver::Plugin::AppendPrepend name: '@Author::PERLANCAR/AppendPrepend' @@ -277,17 +296,17 @@ - class: Pod::Weaver::Plugin::SingleEncoding name: '@Author::PERLANCAR/SingleEncoding' - version: '4.015' + version: '4.018' - class: Pod::Weaver::Plugin::PERLANCAR::SortSections name: '@Author::PERLANCAR/PERLANCAR::SortSections' - version: '0.06' + version: '0.082' name: '@Author::PERLANCAR/PodWeaver' - version: '4.008' + version: '4.009' - class: Dist::Zilla::Plugin::PruneFiles name: '@Author::PERLANCAR/PruneFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::Pod2Readme name: '@Author::PERLANCAR/Pod2Readme' @@ -295,15 +314,15 @@ - class: Dist::Zilla::Plugin::Rinci::AddPrereqs name: '@Author::PERLANCAR/Rinci::AddPrereqs' - version: '0.142' + version: '0.145' - class: Dist::Zilla::Plugin::Rinci::AddToDb name: '@Author::PERLANCAR/Rinci::AddToDb' - version: '0.01' + version: '0.020' - - class: Dist::Zilla::Plugin::Rinci::Validate - name: '@Author::PERLANCAR/Rinci::Validate' - version: '0.24' + class: Dist::Zilla::Plugin::Rinci::EmbedValidator + name: '@Author::PERLANCAR/Rinci::EmbedValidator' + version: '0.251' - class: Dist::Zilla::Plugin::SetScriptShebang name: '@Author::PERLANCAR/SetScriptShebang' @@ -327,13 +346,19 @@ name: '@Author::PERLANCAR/Test::Compile' version: '2.058' - - class: Dist::Zilla::Plugin::Test::Perl::Critic - name: '@Author::PERLANCAR/Test::Perl::Critic' - version: '3.001' + class: Dist::Zilla::Plugin::Test::Perl::Critic::Subset + config: + Dist::Zilla::Plugin::Test::Perl::Critic::Subset: + finder: + - ':ExecFiles' + - ':InstallModules' + - ':TestFiles' + name: '@Author::PERLANCAR/Test::Perl::Critic::Subset' + version: 3.001.005 - class: Dist::Zilla::Plugin::Test::Rinci name: '@Author::PERLANCAR/Test::Rinci' - version: '0.03' + version: '0.040' - class: Dist::Zilla::Plugin::StaticInstall config: @@ -341,7 +366,7 @@ dry_run: 0 mode: on name: '@Author::PERLANCAR/StaticInstall' - version: '0.011' + version: '0.012' - class: Dist::Zilla::Plugin::EnsureSQLSchemaVersionedTest name: '@Author::PERLANCAR/EnsureSQLSchemaVersionedTest' @@ -357,7 +382,7 @@ - class: Dist::Zilla::Plugin::Prereqs::CheckCircular name: '@Author::PERLANCAR/Prereqs::CheckCircular' - version: '0.006' + version: '0.007' - class: Dist::Zilla::Plugin::UploadToCPAN::WWWPAUSESimple name: '@Author::PERLANCAR/UploadToCPAN::WWWPAUSESimple' @@ -369,7 +394,7 @@ phase: test type: requires name: TestRequires - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::Prereqs config: @@ -377,52 +402,64 @@ phase: runtime type: requires name: Prereqs - version: '6.010' + version: '6.023' + - + class: Dist::Zilla::Plugin::Prereqs + config: + Dist::Zilla::Plugin::Prereqs: + phase: develop + type: x_spec + name: DevelopX_Spec + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '6.010' + version: '6.023' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '6.010' + version: '6.023' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '6.010' + version: '6.023' x_authority: cpan:PERLANCAR -x_serialization_backend: 'YAML::Tiny version 1.70' +x_contributors: + - 'Steven Haryanto ' +x_generated_by_perl: v5.34.0 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' x_static_install: 1 diff -Nru libdata-sah-normalize-perl-0.050/README libdata-sah-normalize-perl-0.051/README --- libdata-sah-normalize-perl-0.050/README 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/README 2021-07-29 14:56:41.000000000 +0000 @@ -2,19 +2,22 @@ Data::Sah::Normalize - Normalize Sah schema VERSION - This document describes version 0.050 of Data::Sah::Normalize (from Perl - distribution Data-Sah-Normalize), released on 2018-09-10. + This document describes version 0.051 of Data::Sah::Normalize (from Perl + distribution Data-Sah-Normalize), released on 2021-07-29. SYNOPSIS use Data::Sah::Normalize qw(normalize_clset normalize_schema); my $nclset = normalize_clset({'!a'=>1}); # -> {a=>1, 'a.op'=>'not'} - my $nsch = normalize_schema("int"); # -> ["int", {}, {}] + my $nsch = normalize_schema("int"); # -> ["int", {}] DESCRIPTION This often-needed functionality is split from the main Data::Sah to keep it in a small and minimal-dependencies package. +CONTRIBUTOR + Steven Haryanto + FUNCTIONS normalize_clset($clset) => HASH Normalize a clause set (hash). Return a shallow copy of the original @@ -26,8 +29,8 @@ normalize_schema($sch) => ARRAY Normalize a Sah schema (scalar or array). Return an array. Produce a 2-level copy of schema, so it's safe to add/delete/modify the normalized - schema's clause set and extras (but clause set's and extras' values are - still references to the original). Die on failure. + schema's clause set, but clause set's values are still references to the + original. Die on failure. TODO: recursively normalize clause which contains sah clauses (e.g. "of"). @@ -54,7 +57,8 @@ perlancar COPYRIGHT AND LICENSE - This software is copyright (c) 2018, 2015, 2014 by perlancar@cpan.org. + This software is copyright (c) 2021, 2018, 2015, 2014 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 libdata-sah-normalize-perl-0.050/t/01-basics.t libdata-sah-normalize-perl-0.051/t/01-basics.t --- libdata-sah-normalize-perl-0.050/t/01-basics.t 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/t/01-basics.t 2021-07-29 14:56:41.000000000 +0000 @@ -3,12 +3,12 @@ use 5.010; use strict; use warnings; +use Test::Exception; +use Test::More 0.98; # what we have here are casual tests. more complete tests in Sah's spectest use Data::Sah::Normalize qw(normalize_clset normalize_schema); -use Test::Exception; -use Test::More 0.98; is_deeply(normalize_clset({'!a'=>1, 'b|'=>[2,3], 'c&'=>[4,5], 'd='=>6, 'summary(id)'=>'blah'}), {a=>1, 'a.op'=>'not', @@ -18,11 +18,16 @@ 'summary.alt.lang.id' => 'blah', }); -is_deeply(normalize_schema('int'), [int => {}, {}]); -is_deeply(normalize_schema('int*'), [int => {req=>1}, {}]); +is_deeply(normalize_schema('int'), [int => {}]); +is_deeply(normalize_schema('int*'), [int => {req=>1}]); # XXX test prototype to catch common error eval q(normalize_schema(int => min=>1)); ok($@); +subtest "extras" => sub { + is_deeply(normalize_schema([int=>{}, {}]), [int=>{}], "extras still accepted but removed"); + dies_ok { normalize_schema([int=>{}, {def=>{}}]) } "extras must be empty"; +}; + DONE_TESTING: done_testing; diff -Nru libdata-sah-normalize-perl-0.050/t/author-critic.t libdata-sah-normalize-perl-0.051/t/author-critic.t --- libdata-sah-normalize-perl-0.050/t/author-critic.t 2018-09-10 12:43:58.000000000 +0000 +++ libdata-sah-normalize-perl-0.051/t/author-critic.t 2021-07-29 14:56:41.000000000 +0000 @@ -11,5 +11,13 @@ use strict; use warnings; -use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc"; -all_critic_ok(); +# this test was generated with Dist::Zilla::Plugin::Test::Perl::Critic::Subset 3.001.005 + +use Test::Perl::Critic (-profile => "") x!! -e ""; + +my $filenames = ['lib/Data/Sah/Normalize.pm']; +unless ($filenames && @$filenames) { + $filenames = -d "blib" ? ["blib"] : ["lib"]; +} + +all_critic_ok(@$filenames);