diff -Nru libfile-util-perl-4.161950/Build.PL libfile-util-perl-4.201720/Build.PL --- libfile-util-perl-4.161950/Build.PL 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/Build.PL 2020-06-20 01:36:50.000000000 +0000 @@ -1,5 +1,5 @@ -# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.042. +# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v6.015. use strict; use warnings; @@ -20,7 +20,7 @@ "Tommy Butler" ], "dist_name" => "File-Util", - "dist_version" => "4.161950", + "dist_version" => "4.201720", "license" => "perl", "module_name" => "File::Util", "recommends" => { @@ -32,7 +32,6 @@ "Fcntl" => 0, "Scalar::Util" => 0, "constant" => 0, - "lib" => 0, "perl" => "5.008001", "strict" => 0, "subs" => 0, @@ -55,7 +54,7 @@ "Test" => 0, "Test::More" => 0, "Test::NoWarnings" => 0, - "blib" => "1.01", + "lib" => 0, "perl" => "5.008001", "utf8" => 0 } @@ -78,7 +77,7 @@ "Test" => 0, "Test::More" => 0, "Test::NoWarnings" => 0, - "blib" => "1.01", + "lib" => 0, "perl" => "5.008001", "utf8" => 0 ); diff -Nru libfile-util-perl-4.161950/Changes libfile-util-perl-4.201720/Changes --- libfile-util-perl-4.161950/Changes 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/Changes 2020-06-20 01:36:50.000000000 +0000 @@ -1,5 +1,12 @@ Revision history for Perl extension File::Util.pm +4.201720 2020-06-19 + - Bugfix for issue where @INC was being disrupted, detailed at + https://rt.cpan.org/Ticket/Display.html?id=132060 + + Sorry for the delay in fixing it - coronavirus happened to the world :( + Good luck everyone and please stay safe. + 4.161950 2016-07-12 - This release fixes a critical bug in the list_dir() method, detailed at https://rt.cpan.org/Public/Bug/Display.html?id=115511 diff -Nru libfile-util-perl-4.161950/debian/changelog libfile-util-perl-4.201720/debian/changelog --- libfile-util-perl-4.161950/debian/changelog 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/changelog 2020-06-21 14:53:55.000000000 +0000 @@ -1,3 +1,31 @@ +libfile-util-perl (4.201720-1) unstable; urgency=medium + + * Team upload. + + [ gregor herrmann ] + * Remove TANIGUCHI Takaki from Uploaders. Thanks for your work! + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ Xavier Guimard ] + * Email change: Xavier Guimard -> yadd@debian.org + + [ Laurent Baillet ] + * fix lintian file-contains-trailing-whitespace warning + + [ gregor herrmann ] + * debian/watch: use uscan version 4. + * Import upstream version 4.201720. + * Update years of upstream copyright. + * Declare compliance with Debian Policy 4.5.0. + * Set Rules-Requires-Root: no. + * Annotate test-only build dependencies with . + * Bump debhelper-compat to 13. + * Remove obsolete fields Name and Contact from debian/upstream/metadata. + + -- gregor herrmann Sun, 21 Jun 2020 16:53:55 +0200 + libfile-util-perl (4.161950-1) unstable; urgency=medium * Team upload. @@ -50,7 +78,7 @@ [ Xavier Guimard ] * Imported Upstream version 4.132140 - + [ gregor herrmann ] * Move Module::Build build dependency to Build-Depends. diff -Nru libfile-util-perl-4.161950/debian/compat libfile-util-perl-4.201720/debian/compat --- libfile-util-perl-4.161950/debian/compat 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/compat 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -9 diff -Nru libfile-util-perl-4.161950/debian/control libfile-util-perl-4.201720/debian/control --- libfile-util-perl-4.161950/debian/control 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/control 2020-06-21 14:53:55.000000000 +0000 @@ -1,19 +1,19 @@ Source: libfile-util-perl Maintainer: Debian Perl Group -Uploaders: TANIGUCHI Takaki , - Xavier Guimard +Uploaders: Xavier Guimard Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper-compat (= 13), libmodule-build-perl -Build-Depends-Indep: libunicode-utf8-perl, - libtest-nowarnings-perl, +Build-Depends-Indep: libtest-nowarnings-perl , + libunicode-utf8-perl , perl -Standards-Version: 3.9.8 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libfile-util-perl.git -Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libfile-util-perl.git +Standards-Version: 4.5.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-util-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-util-perl.git Homepage: https://metacpan.org/release/File-Util +Rules-Requires-Root: no Package: libfile-util-perl Architecture: all diff -Nru libfile-util-perl-4.161950/debian/copyright libfile-util-perl-4.201720/debian/copyright --- libfile-util-perl-4.161950/debian/copyright 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/copyright 2020-06-21 14:53:55.000000000 +0000 @@ -4,12 +4,12 @@ Upstream-Contact: Tommy Butler Files: * -Copyright: 2001-2016, Tommy Butler +Copyright: 2001-2020, Tommy Butler License: Artistic or GPL-1+ Files: debian/* Copyright: 2011, TANIGUCHI Takaki - 2012-2013, Xavier Guimard + 2012-2013, Xavier Guimard 2016, Lucas Kanashiro License: Artistic or GPL-1+ diff -Nru libfile-util-perl-4.161950/debian/rules libfile-util-perl-4.201720/debian/rules --- libfile-util-perl-4.161950/debian/rules 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/rules 2020-06-21 14:53:55.000000000 +0000 @@ -2,4 +2,3 @@ %: dh $@ - diff -Nru libfile-util-perl-4.161950/debian/upstream/metadata libfile-util-perl-4.201720/debian/upstream/metadata --- libfile-util-perl-4.161950/debian/upstream/metadata 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/upstream/metadata 2020-06-21 14:53:55.000000000 +0000 @@ -2,7 +2,5 @@ Archive: CPAN Bug-Database: https://rt.cpan.org/Dist/Display.html?Name=File%3A%3AUtil Bug-Submit: bug-File-Util@rt.cpan.org -Contact: Tommy Butler -Name: File-Util Repository: https://github.com/tommybutler/file-util.git Repository-Browse: https://github.com/tommybutler/file-util diff -Nru libfile-util-perl-4.161950/debian/watch libfile-util-perl-4.201720/debian/watch --- libfile-util-perl-4.161950/debian/watch 2016-08-02 20:15:00.000000000 +0000 +++ libfile-util-perl-4.201720/debian/watch 2020-06-21 14:53:55.000000000 +0000 @@ -1,2 +1,2 @@ -version=3 -https://metacpan.org/release/File-Util .*/File-Util-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ +version=4 +https://metacpan.org/release/File-Util .*/File-Util-v?@ANY_VERSION@@ARCHIVE_EXT@$ diff -Nru libfile-util-perl-4.161950/dist.ini libfile-util-perl-4.201720/dist.ini --- libfile-util-perl-4.161950/dist.ini 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/dist.ini 2020-06-20 01:36:50.000000000 +0000 @@ -42,16 +42,16 @@ [Test::ReportPrereqs] -;[Test::LocalBrew] -;brews = perl-5.8.9 -;brews = perl-5.10.1 -;brews = perl-5.12.5 -;brews = perl-5.14.4 -;brews = perl-5.16.3 -;brews = perl-5.18.4 -;brews = perl-5.20.3 -;brews = perl-5.22.1 -;brews = perl-5.23.6 +[Test::LocalBrew] +brews = perl-5.8.9 +brews = perl-5.10.1 +brews = perl-5.12.5 +brews = perl-5.14.4 +brews = perl-5.16.3 +brews = perl-5.18.4 +brews = perl-5.20.3 +brews = perl-5.22.1 +brews = perl-5.23.6 [@TestingMania] disable = Test::Portability ; won't accept options; wrote my own version instead diff -Nru libfile-util-perl-4.161950/lib/File/Util/Cookbook.pod libfile-util-perl-4.201720/lib/File/Util/Cookbook.pod --- libfile-util-perl-4.161950/lib/File/Util/Cookbook.pod 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Cookbook.pod 2020-06-20 01:36:50.000000000 +0000 @@ -11,7 +11,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 INTRODUCTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Definitions.pm libfile-util-perl-4.201720/lib/File/Util/Definitions.pm --- libfile-util-perl-4.161950/lib/File/Util/Definitions.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Definitions.pm 2020-06-20 01:36:50.000000000 +0000 @@ -2,7 +2,7 @@ use warnings; package File::Util::Definitions; -$File::Util::Definitions::VERSION = '4.161950'; +$File::Util::Definitions::VERSION = '4.201720'; # ABSTRACT: Global symbols and constants used in most File::Util classes use Fcntl qw( :flock ); @@ -183,7 +183,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Exception/Diagnostic.pm libfile-util-perl-4.201720/lib/File/Util/Exception/Diagnostic.pm --- libfile-util-perl-4.161950/lib/File/Util/Exception/Diagnostic.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Exception/Diagnostic.pm 2020-06-20 01:36:50.000000000 +0000 @@ -1,10 +1,8 @@ use strict; use warnings; -use lib 'lib'; - package File::Util::Exception::Diagnostic; -$File::Util::Exception::Diagnostic::VERSION = '4.161950'; +$File::Util::Exception::Diagnostic::VERSION = '4.201720'; # ABSTRACT: Diagnostic (verbose) error messages use File::Util::Definitions qw( :all ); @@ -645,7 +643,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Exception/Standard.pm libfile-util-perl-4.201720/lib/File/Util/Exception/Standard.pm --- libfile-util-perl-4.161950/lib/File/Util/Exception/Standard.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Exception/Standard.pm 2020-06-20 01:36:50.000000000 +0000 @@ -1,10 +1,8 @@ use strict; use warnings; -use lib 'lib'; - package File::Util::Exception::Standard; -$File::Util::Exception::Standard::VERSION = '4.161950'; +$File::Util::Exception::Standard::VERSION = '4.201720'; # ABSTRACT: Standard (non-verbose) error messages use File::Util::Definitions qw( :all ); @@ -277,7 +275,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Exception.pm libfile-util-perl-4.201720/lib/File/Util/Exception.pm --- libfile-util-perl-4.161950/lib/File/Util/Exception.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Exception.pm 2020-06-20 01:36:50.000000000 +0000 @@ -1,10 +1,8 @@ use strict; use warnings; -use lib 'lib'; - package File::Util::Exception; -$File::Util::Exception::VERSION = '4.161950'; +$File::Util::Exception::VERSION = '4.201720'; # ABSTRACT: Base exception class for File::Util use File::Util::Definitions qw( :all ); @@ -202,7 +200,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Interface/Classic.pm libfile-util-perl-4.201720/lib/File/Util/Interface/Classic.pm --- libfile-util-perl-4.161950/lib/File/Util/Interface/Classic.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Interface/Classic.pm 2020-06-20 01:36:50.000000000 +0000 @@ -2,13 +2,11 @@ use warnings; package File::Util::Interface::Classic; -$File::Util::Interface::Classic::VERSION = '4.161950'; +$File::Util::Interface::Classic::VERSION = '4.201720'; # ABSTRACT: Legacy call interface to File::Util use Scalar::Util qw( blessed ); -use lib 'lib'; - use File::Util::Definitions qw( :all ); use vars qw( @@ -133,7 +131,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Interface/Modern.pm libfile-util-perl-4.201720/lib/File/Util/Interface/Modern.pm --- libfile-util-perl-4.161950/lib/File/Util/Interface/Modern.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Interface/Modern.pm 2020-06-20 01:36:50.000000000 +0000 @@ -2,11 +2,9 @@ use warnings; package File::Util::Interface::Modern; -$File::Util::Interface::Modern::VERSION = '4.161950'; +$File::Util::Interface::Modern::VERSION = '4.201720'; # ABSTRACT: Modern call interface to File::Util -use lib 'lib'; - use File::Util::Interface::Classic qw( _myargs ); use File::Util::Definitions qw( :all ); @@ -148,7 +146,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Manual/Examples.pod libfile-util-perl-4.201720/lib/File/Util/Manual/Examples.pod --- libfile-util-perl-4.161950/lib/File/Util/Manual/Examples.pod 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Manual/Examples.pod 2020-06-20 01:36:50.000000000 +0000 @@ -11,7 +11,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 INTRODUCTION diff -Nru libfile-util-perl-4.161950/lib/File/Util/Manual.pod libfile-util-perl-4.201720/lib/File/Util/Manual.pod --- libfile-util-perl-4.161950/lib/File/Util/Manual.pod 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util/Manual.pod 2020-06-20 01:36:50.000000000 +0000 @@ -11,7 +11,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 INTRODUCTION diff -Nru libfile-util-perl-4.161950/lib/File/Util.pm libfile-util-perl-4.201720/lib/File/Util.pm --- libfile-util-perl-4.161950/lib/File/Util.pm 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/lib/File/Util.pm 2020-06-20 01:36:50.000000000 +0000 @@ -2,10 +2,8 @@ use strict; use warnings; -use lib 'lib'; - package File::Util; -$File::Util::VERSION = '4.161950'; +$File::Util::VERSION = '4.201720'; use File::Util::Definitions qw( :all ); use File::Util::Interface::Modern qw( :all ); @@ -2994,7 +2992,7 @@ =head1 VERSION -version 4.161950 +version 4.201720 =head1 DESCRIPTION diff -Nru libfile-util-perl-4.161950/LICENSE libfile-util-perl-4.201720/LICENSE --- libfile-util-perl-4.161950/LICENSE 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/LICENSE 2020-06-20 01:36:50.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2016 by Tommy Butler. +This software is copyright (c) 2020 by Tommy Butler. 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) 2016 by Tommy Butler. +This software is Copyright (c) 2020 by Tommy Butler. This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2016 by Tommy Butler. +This software is Copyright (c) 2020 by Tommy Butler. This is free software, licensed under: diff -Nru libfile-util-perl-4.161950/Makefile.PL libfile-util-perl-4.201720/Makefile.PL --- libfile-util-perl-4.161950/Makefile.PL 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/Makefile.PL 2020-06-20 01:36:50.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.042. +# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.015. use strict; use warnings; @@ -25,7 +25,6 @@ "Fcntl" => 0, "Scalar::Util" => 0, "constant" => 0, - "lib" => 0, "strict" => 0, "subs" => 0, "vars" => 0, @@ -47,10 +46,10 @@ "Test" => 0, "Test::More" => 0, "Test::NoWarnings" => 0, - "blib" => "1.01", + "lib" => 0, "utf8" => 0 }, - "VERSION" => "4.161950", + "VERSION" => "4.201720", "test" => { "TESTS" => "t/*.t" } @@ -73,7 +72,6 @@ "Test" => 0, "Test::More" => 0, "Test::NoWarnings" => 0, - "blib" => "1.01", "constant" => 0, "lib" => 0, "strict" => 0, diff -Nru libfile-util-perl-4.161950/MANIFEST libfile-util-perl-4.201720/MANIFEST --- libfile-util-perl-4.161950/MANIFEST 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/MANIFEST 2020-06-20 01:36:50.000000000 +0000 @@ -1,4 +1,4 @@ -# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.042. +# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.015. AUTHORS Build.PL COPYING @@ -78,6 +78,7 @@ xt/author/pod-coverage.t xt/author/pod-spell.t xt/author/pod-syntax.t +xt/author/synopsis.t xt/author/test-version.t xt/release/cpan-changes.t xt/release/diesnice-fatalities.t @@ -86,7 +87,15 @@ xt/release/dist-portable.t xt/release/distmeta.t xt/release/kwalitee.t +xt/release/localbrew-perl-5.10.1.t +xt/release/localbrew-perl-5.12.5.t +xt/release/localbrew-perl-5.14.4.t +xt/release/localbrew-perl-5.16.3.t +xt/release/localbrew-perl-5.18.4.t +xt/release/localbrew-perl-5.20.3.t +xt/release/localbrew-perl-5.22.1.t +xt/release/localbrew-perl-5.23.6.t +xt/release/localbrew-perl-5.8.9.t xt/release/meta-json.t xt/release/onfail.t xt/release/open_handle.t -xt/release/synopsis.t diff -Nru libfile-util-perl-4.161950/META.json libfile-util-perl-4.201720/META.json --- libfile-util-perl-4.161950/META.json 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/META.json 2020-06-20 01:36:50.000000000 +0000 @@ -4,7 +4,7 @@ "Tommy Butler" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 5.042, CPAN::Meta::Converter version 2.150001", + "generated_by" : "Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -30,8 +30,10 @@ "requires" : { "Devel::Cover" : "0", "Dist::Zilla" : "0", - "English" : "0", + "File::Copy" : "0", + "File::Spec" : "0", "File::Temp" : "0", + "FindBin" : "0", "Perl::Critic" : "0", "Perl::Critic::Lax" : "0", "Pod::Coverage::TrustPod" : "0", @@ -44,12 +46,14 @@ "Test::Mojibake" : "0", "Test::More" : "0.96", "Test::NoTabs" : "0", + "Test::Perl::Critic" : "0", "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", "Test::Spelling" : "0.12", "Test::Synopsis" : "0", "Test::Version" : "1", - "inc::latest" : "0" + "inc::latest" : "0", + "lib" : "0" } }, "runtime" : { @@ -61,7 +65,6 @@ "Fcntl" : "0", "Scalar::Util" : "0", "constant" : "0", - "lib" : "0", "perl" : "5.008001", "strict" : "0", "subs" : "0", @@ -89,7 +92,7 @@ "Test" : "0", "Test::More" : "0", "Test::NoWarnings" : "0", - "blib" : "1.01", + "lib" : "0", "perl" : "5.008001", "utf8" : "0" } @@ -98,31 +101,31 @@ "provides" : { "File::Util" : { "file" : "lib/File/Util.pm", - "version" : "4.161950" + "version" : "4.201720" }, "File::Util::Definitions" : { "file" : "lib/File/Util/Definitions.pm", - "version" : "4.161950" + "version" : "4.201720" }, "File::Util::Exception" : { "file" : "lib/File/Util/Exception.pm", - "version" : "4.161950" + "version" : "4.201720" }, "File::Util::Exception::Diagnostic" : { "file" : "lib/File/Util/Exception/Diagnostic.pm", - "version" : "4.161950" + "version" : "4.201720" }, "File::Util::Exception::Standard" : { "file" : "lib/File/Util/Exception/Standard.pm", - "version" : "4.161950" + "version" : "4.201720" }, "File::Util::Interface::Classic" : { "file" : "lib/File/Util/Interface/Classic.pm", - "version" : "4.161950" + "version" : "4.201720" }, "File::Util::Interface::Modern" : { "file" : "lib/File/Util/Interface/Modern.pm", - "version" : "4.161950" + "version" : "4.201720" } }, "release_status" : "stable", @@ -138,21 +141,21 @@ "web" : "https://github.com/tommybutler/file-util" } }, - "version" : "4.161950", + "version" : "4.201720", "x_Dist_Zilla" : { "perl" : { - "version" : "5.022001" + "version" : "5.030003" }, "plugins" : [ { "class" : "Dist::Zilla::Plugin::Meta::Contributors", "name" : "Meta::Contributors", - "version" : "0.002" + "version" : "0.003" }, { "class" : "Dist::Zilla::Plugin::Encoding", "name" : "Encoding", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::GatherDir", @@ -168,42 +171,42 @@ } }, "name" : "@Filter/GatherDir", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::PruneCruft", "name" : "@Filter/PruneCruft", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ManifestSkip", "name" : "@Filter/ManifestSkip", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaYAML", "name" : "@Filter/MetaYAML", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::License", "name" : "@Filter/License", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Readme", "name" : "@Filter/Readme", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ExecDir", "name" : "@Filter/ExecDir", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ShareDir", "name" : "@Filter/ShareDir", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MakeMaker", @@ -213,27 +216,27 @@ } }, "name" : "@Filter/MakeMaker", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Manifest", "name" : "@Filter/Manifest", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "@Filter/TestRelease", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "@Filter/ConfirmRelease", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::UploadToCPAN", "name" : "@Filter/UploadToCPAN", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::RunExtraTests", @@ -243,7 +246,7 @@ } }, "name" : "RunExtraTests", - "version" : "0.028" + "version" : "0.029" }, { "class" : "Dist::Zilla::Plugin::ModuleBuild", @@ -253,22 +256,22 @@ } }, "name" : "ModuleBuild", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::AutoVersion", "name" : "AutoVersion", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::PkgVersion", "name" : "PkgVersion", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::PodVersion", "name" : "PodVersion", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaProvides::Package", @@ -278,18 +281,24 @@ { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.042" + "version" : "6.015" } - ] + ], + "include_underscores" : 0 }, "Dist::Zilla::Role::MetaProvider::Provider" : { - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 + }, + "Dist::Zilla::Role::ModuleMetadata" : { + "Module::Metadata" : "1.000036", + "version" : "0.006" } }, "name" : "MetaProvides::Package", - "version" : "2.003001" + "version" : "2.004003" }, { "class" : "Dist::Zilla::Plugin::MinimumPerl", @@ -299,42 +308,47 @@ { "class" : "Dist::Zilla::Plugin::MetaConfig", "name" : "MetaConfig", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaJSON", "name" : "MetaJSON", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::MetaResources", "name" : "MetaResources", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", "name" : "Test::ReportPrereqs", - "version" : "0.021" + "version" : "0.027" }, { - "class" : "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON", - "name" : "@TestingMania/Test::CPAN::Meta::JSON", - "version" : "0.004" + "class" : "Dist::Zilla::Plugin::Test::LocalBrew", + "name" : "Test::LocalBrew", + "version" : "0.08" }, { - "class" : "Dist::Zilla::Plugin::PodSyntaxTests", - "name" : "@TestingMania/PodSyntaxTests", - "version" : "5.042" + "class" : "Dist::Zilla::Plugin::Test::Version", + "name" : "@TestingMania/Test::Version", + "version" : "1.09" }, { - "class" : "Dist::Zilla::Plugin::Test::Synopsis", - "name" : "@TestingMania/Test::Synopsis", - "version" : "2.000006" + "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", + "config" : { + "Dist::Zilla::Plugin::Test::CPAN::Changes" : { + "changelog" : "Changes" + } + }, + "name" : "@TestingMania/Test::CPAN::Changes", + "version" : "0.012" }, { - "class" : "Dist::Zilla::Plugin::MojibakeTests", - "name" : "@TestingMania/MojibakeTests", - "version" : "0.8" + "class" : "Dist::Zilla::Plugin::Test::DistManifest", + "name" : "@TestingMania/Test::DistManifest", + "version" : "2.000005" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", @@ -348,24 +362,39 @@ "version" : "2.12" }, { + "class" : "Dist::Zilla::Plugin::MojibakeTests", + "name" : "@TestingMania/MojibakeTests", + "version" : "0.8" + }, + { "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", "name" : "@TestingMania/Test::Perl::Critic", - "version" : "3.000" + "version" : "3.001" + }, + { + "class" : "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON", + "name" : "@TestingMania/Test::CPAN::Meta::JSON", + "version" : "0.004" }, { "class" : "Dist::Zilla::Plugin::MetaTests", "name" : "@TestingMania/MetaTests", - "version" : "5.042" + "version" : "6.015" }, { - "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", - "name" : "@TestingMania/Test::CPAN::Changes", - "version" : "0.009" + "class" : "Dist::Zilla::Plugin::PodCoverageTests", + "name" : "@TestingMania/PodCoverageTests", + "version" : "6.015" }, { - "class" : "Dist::Zilla::Plugin::Test::DistManifest", - "name" : "@TestingMania/Test::DistManifest", - "version" : "2.000005" + "class" : "Dist::Zilla::Plugin::PodSyntaxTests", + "name" : "@TestingMania/PodSyntaxTests", + "version" : "6.015" + }, + { + "class" : "Dist::Zilla::Plugin::Test::Synopsis", + "name" : "@TestingMania/Test::Synopsis", + "version" : "2.000007" }, { "class" : "Dist::Zilla::Plugin::Test::NoTabs", @@ -383,15 +412,10 @@ "version" : "0.15" }, { - "class" : "Dist::Zilla::Plugin::PodCoverageTests", - "name" : "@TestingMania/PodCoverageTests", - "version" : "5.042" - }, - { "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, "filename" : "t/00-compile.t", @@ -403,22 +427,21 @@ "script_finder" : [ ":PerlExecFiles" ], - "skips" : [] + "skips" : [], + "switch" : [] } }, "name" : "@TestingMania/Test::Compile", - "version" : "2.054" - }, - { - "class" : "Dist::Zilla::Plugin::Test::Version", - "name" : "@TestingMania/Test::Version", - "version" : "1.05" + "version" : "2.058" }, { "class" : "Dist::Zilla::Plugin::Test::PodSpelling", "config" : { "Dist::Zilla::Plugin::Test::PodSpelling" : { - "directories" : [], + "directories" : [ + "bin", + "lib" + ], "spell_cmd" : "", "stopwords" : [ "AND'ed", @@ -480,22 +503,22 @@ } }, "name" : "Test::PodSpelling", - "version" : "2.007000" + "version" : "2.007005" }, { "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", "name" : "CheckChangesHasContent", - "version" : "0.008" + "version" : "0.011" }, { "class" : "Dist::Zilla::Plugin::TestRelease", "name" : "TestRelease", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", "name" : "ConfirmRelease", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Signature", @@ -505,7 +528,7 @@ { "class" : "Dist::Zilla::Plugin::AutoPrereqs", "name" : "AutoPrereqs", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -516,7 +539,7 @@ } }, "name" : "TestRequires", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -527,7 +550,7 @@ } }, "name" : "Recommends", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::Prereqs", @@ -538,70 +561,70 @@ } }, "name" : "DevelopRequires", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":InstallModules", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":IncModules", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":TestFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExtraTestFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ExecFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":PerlExecFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":ShareFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":MainModule", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":AllFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : ":NoFiles", - "version" : "5.042" + "version" : "6.015" }, { "class" : "Dist::Zilla::Plugin::FinderCode", "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM", - "version" : "5.042" + "version" : "6.015" } ], "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, - "version" : "5.042" + "version" : "6.015" } }, "x_contributors" : [ @@ -610,6 +633,9 @@ "Matt S Trout ", "Nicholas Perez ", "David Golden " - ] + ], + "x_generated_by_perl" : "v5.30.3", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.19", + "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" } diff -Nru libfile-util-perl-4.161950/META.yml libfile-util-perl-4.201720/META.yml --- libfile-util-perl-4.161950/META.yml 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/META.yml 2020-06-20 01:36:50.000000000 +0000 @@ -18,7 +18,7 @@ Test: '0' Test::More: '0' Test::NoWarnings: '0' - blib: '1.01' + lib: '0' perl: '5.008001' utf8: '0' configure_requires: @@ -26,7 +26,7 @@ Module::Build: '0.28' perl: '5.008001' dynamic_config: 0 -generated_by: 'Dist::Zilla version 5.042, CPAN::Meta::Converter version 2.150001' +generated_by: 'Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -35,25 +35,25 @@ provides: File::Util: file: lib/File/Util.pm - version: '4.161950' + version: '4.201720' File::Util::Definitions: file: lib/File/Util/Definitions.pm - version: '4.161950' + version: '4.201720' File::Util::Exception: file: lib/File/Util/Exception.pm - version: '4.161950' + version: '4.201720' File::Util::Exception::Diagnostic: file: lib/File/Util/Exception/Diagnostic.pm - version: '4.161950' + version: '4.201720' File::Util::Exception::Standard: file: lib/File/Util/Exception/Standard.pm - version: '4.161950' + version: '4.201720' File::Util::Interface::Classic: file: lib/File/Util/Interface/Classic.pm - version: '4.161950' + version: '4.201720' File::Util::Interface::Modern: file: lib/File/Util/Interface/Modern.pm - version: '4.161950' + version: '4.201720' recommends: Unicode::UTF8: '0.58' requires: @@ -61,7 +61,6 @@ Fcntl: '0' Scalar::Util: '0' constant: '0' - lib: '0' perl: '5.008001' strict: '0' subs: '0' @@ -71,19 +70,19 @@ bugtracker: https://rt.cpan.org/Dist/Display.html?Name=File%3A%3AUtil homepage: https://github.com/tommybutler/file-util/wiki repository: git://github.com/tommybutler/file-util.git -version: '4.161950' +version: '4.201720' x_Dist_Zilla: perl: - version: '5.022001' + version: '5.030003' plugins: - class: Dist::Zilla::Plugin::Meta::Contributors name: Meta::Contributors - version: '0.002' + version: '0.003' - class: Dist::Zilla::Plugin::Encoding name: Encoding - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::GatherDir config: @@ -96,84 +95,84 @@ prune_directory: [] root: . name: '@Filter/GatherDir' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::PruneCruft name: '@Filter/PruneCruft' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::ManifestSkip name: '@Filter/ManifestSkip' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::MetaYAML name: '@Filter/MetaYAML' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::License name: '@Filter/License' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Readme name: '@Filter/Readme' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::ExecDir name: '@Filter/ExecDir' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::ShareDir name: '@Filter/ShareDir' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::MakeMaker config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: '@Filter/MakeMaker' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Manifest name: '@Filter/Manifest' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::TestRelease name: '@Filter/TestRelease' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Filter/ConfirmRelease' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::UploadToCPAN name: '@Filter/UploadToCPAN' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::RunExtraTests config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: RunExtraTests - version: '0.028' + version: '0.029' - class: Dist::Zilla::Plugin::ModuleBuild config: Dist::Zilla::Role::TestRunner: default_jobs: 1 name: ModuleBuild - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::AutoVersion name: AutoVersion - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::PkgVersion name: PkgVersion - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::PodVersion name: PodVersion - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::MetaProvides::Package config: @@ -182,13 +181,18 @@ - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '5.042' + version: '6.015' + include_underscores: 0 Dist::Zilla::Role::MetaProvider::Provider: + $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004' inherit_missing: '1' inherit_version: '1' meta_noindex: '1' + Dist::Zilla::Role::ModuleMetadata: + Module::Metadata: '1.000036' + version: '0.006' name: MetaProvides::Package - version: '2.003001' + version: '2.004003' - class: Dist::Zilla::Plugin::MinimumPerl name: MinimumPerl @@ -196,35 +200,38 @@ - class: Dist::Zilla::Plugin::MetaConfig name: MetaConfig - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::MetaJSON name: MetaJSON - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::MetaResources name: MetaResources - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Test::ReportPrereqs name: Test::ReportPrereqs - version: '0.021' + version: '0.027' - - class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON - name: '@TestingMania/Test::CPAN::Meta::JSON' - version: '0.004' + class: Dist::Zilla::Plugin::Test::LocalBrew + name: Test::LocalBrew + version: '0.08' - - class: Dist::Zilla::Plugin::PodSyntaxTests - name: '@TestingMania/PodSyntaxTests' - version: '5.042' + class: Dist::Zilla::Plugin::Test::Version + name: '@TestingMania/Test::Version' + version: '1.09' - - class: Dist::Zilla::Plugin::Test::Synopsis - name: '@TestingMania/Test::Synopsis' - version: '2.000006' + class: Dist::Zilla::Plugin::Test::CPAN::Changes + config: + Dist::Zilla::Plugin::Test::CPAN::Changes: + changelog: Changes + name: '@TestingMania/Test::CPAN::Changes' + version: '0.012' - - class: Dist::Zilla::Plugin::MojibakeTests - name: '@TestingMania/MojibakeTests' - version: '0.8' + class: Dist::Zilla::Plugin::Test::DistManifest + name: '@TestingMania/Test::DistManifest' + version: '2.000005' - class: Dist::Zilla::Plugin::Test::Kwalitee config: @@ -234,21 +241,33 @@ name: '@TestingMania/Test::Kwalitee' version: '2.12' - + class: Dist::Zilla::Plugin::MojibakeTests + name: '@TestingMania/MojibakeTests' + version: '0.8' + - class: Dist::Zilla::Plugin::Test::Perl::Critic name: '@TestingMania/Test::Perl::Critic' - version: '3.000' + version: '3.001' + - + class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON + name: '@TestingMania/Test::CPAN::Meta::JSON' + version: '0.004' - class: Dist::Zilla::Plugin::MetaTests name: '@TestingMania/MetaTests' - version: '5.042' + version: '6.015' - - class: Dist::Zilla::Plugin::Test::CPAN::Changes - name: '@TestingMania/Test::CPAN::Changes' - version: '0.009' + class: Dist::Zilla::Plugin::PodCoverageTests + name: '@TestingMania/PodCoverageTests' + version: '6.015' - - class: Dist::Zilla::Plugin::Test::DistManifest - name: '@TestingMania/Test::DistManifest' - version: '2.000005' + class: Dist::Zilla::Plugin::PodSyntaxTests + name: '@TestingMania/PodSyntaxTests' + version: '6.015' + - + class: Dist::Zilla::Plugin::Test::Synopsis + name: '@TestingMania/Test::Synopsis' + version: '2.000007' - class: Dist::Zilla::Plugin::Test::NoTabs config: @@ -261,10 +280,6 @@ name: '@TestingMania/Test::NoTabs' version: '0.15' - - class: Dist::Zilla::Plugin::PodCoverageTests - name: '@TestingMania/PodCoverageTests' - version: '5.042' - - class: Dist::Zilla::Plugin::Test::Compile config: Dist::Zilla::Plugin::Test::Compile: @@ -279,17 +294,16 @@ script_finder: - ':PerlExecFiles' skips: [] + switch: [] name: '@TestingMania/Test::Compile' - version: '2.054' - - - class: Dist::Zilla::Plugin::Test::Version - name: '@TestingMania/Test::Version' - version: '1.05' + version: '2.058' - class: Dist::Zilla::Plugin::Test::PodSpelling config: Dist::Zilla::Plugin::Test::PodSpelling: - directories: [] + directories: + - bin + - lib spell_cmd: '' stopwords: - "AND'ed" @@ -348,19 +362,19 @@ - vtab wordlist: Pod::Wordlist name: Test::PodSpelling - version: '2.007000' + version: '2.007005' - class: Dist::Zilla::Plugin::CheckChangesHasContent name: CheckChangesHasContent - version: '0.008' + version: '0.011' - class: Dist::Zilla::Plugin::TestRelease name: TestRelease - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::ConfirmRelease name: ConfirmRelease - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Signature name: Signature @@ -368,7 +382,7 @@ - class: Dist::Zilla::Plugin::AutoPrereqs name: AutoPrereqs - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Prereqs config: @@ -376,7 +390,7 @@ phase: test type: requires name: TestRequires - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Prereqs config: @@ -384,7 +398,7 @@ phase: runtime type: recommends name: Recommends - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::Prereqs config: @@ -392,59 +406,62 @@ phase: develop type: requires name: DevelopRequires - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':IncModules' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':TestFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':ExtraTestFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':ExecFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':PerlExecFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':ShareFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':MainModule' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':AllFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: ':NoFiles' - version: '5.042' + version: '6.015' - class: Dist::Zilla::Plugin::FinderCode name: MetaProvides::Package/AUTOVIV/:InstallModulesPM - version: '5.042' + version: '6.015' zilla: class: Dist::Zilla::Dist::Builder config: is_trial: '0' - version: '5.042' + version: '6.015' x_contributors: - 'John Fields ' - 'Ricardo SIGNES ' - 'Matt S Trout ' - 'Nicholas Perez ' - 'David Golden ' +x_generated_by_perl: v5.30.3 +x_serialization_backend: 'YAML::Tiny version 1.73' +x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' diff -Nru libfile-util-perl-4.161950/NEWS libfile-util-perl-4.201720/NEWS --- libfile-util-perl-4.161950/NEWS 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/NEWS 2020-06-20 01:36:50.000000000 +0000 @@ -1,5 +1,8 @@ NEWS for File::Util +Fri Jun 19 20:27:48 CDT 2020 + Releasing to CPAN with bugfix, details in Changes file. + Tue Jul 12 18:37:17 CDT 2016 Releasing this bug fix to CPAN immediately. Having changed only one line of code, and knowing the criticality of the bug, I'm releasing this as diff -Nru libfile-util-perl-4.161950/README libfile-util-perl-4.201720/README --- libfile-util-perl-4.161950/README 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/README 2020-06-20 01:36:50.000000000 +0000 @@ -1,15 +1,12 @@ - - This archive contains the distribution File-Util, -version 4.161950: +version 4.201720: Easy, versatile, portable file handling -This software is copyright (c) 2016 by Tommy Butler. +This software is copyright (c) 2020 by Tommy Butler. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. -This README file was generated by Dist::Zilla::Plugin::Readme v5.042. - +This README file was generated by Dist::Zilla::Plugin::Readme v6.015. diff -Nru libfile-util-perl-4.161950/SIGNATURE libfile-util-perl-4.201720/SIGNATURE --- libfile-util-perl-4.161950/SIGNATURE 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/SIGNATURE 2020-06-20 01:36:50.000000000 +0000 @@ -1,5 +1,5 @@ This file contains message digests of all files listed in MANIFEST, -signed via the Module::Signature module, version 0.79. +signed via the Module::Signature module, version 0.83. To verify the content in this distribution, first make sure you have Module::Signature installed, then type: @@ -14,110 +14,119 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -SHA1 76a08172c2a635f36337c548aa80600ef0346159 AUTHORS -SHA1 81f77e897bb97e83fd98942f32134d8b5cd80cb9 Build.PL -SHA1 bb2492d6fbfa8b7d456f2b8986db4533908dc097 COPYING -SHA1 13b2c067638ae4b53cedbea76b1500a706f4001b Changes -SHA1 027631fb6bcf8560acb0ecd72b9af91145b9f73d INSTALL -SHA1 c1841a7e92c0b7b35a03ebb1502bd273f94c1c37 LICENSE -SHA1 1973737d8495d352271feb22edfe695d541cebda MANIFEST -SHA1 8dd8a3dfd3c3166f12bbb2cfff232bb6a0e55ff6 MANIFEST.SKIP -SHA1 2dab00015ee3fd9a0da3e83d9066212d748f3b21 META.json -SHA1 f642bd79cc2e542d1f299681a8bff81ba7177b72 META.yml -SHA1 89b53e371d01892174a448b8313b5422ca76d066 Makefile.PL -SHA1 f0cdd5fbbcf49a0e071c0429356577e307a3cced NEWS -SHA1 fba4484a8ab72480f27239bf50d99d9677f7e6de README -SHA1 15b388c2e3fd1219285b9d8066bb0d6378b83ab0 TODO -SHA1 34399e61cb0505e41526448699bed0b4d12f35af dist.ini -SHA1 874ad198d5fd2f480c9449f7dc0359442f3ad7d5 examples/batch_file_rename.pl -SHA1 e8f35b4a54bf70fa577923741316a39b7de1493b examples/batch_search_and_replace.pl -SHA1 fa112d4da9a8bde9de6fef21be45196bc4fd789e examples/get_an_open_file_handle.pl -SHA1 258eee9346725a17346a8b7a27069f4df529dc37 examples/increment_a_counter_file.pl -SHA1 0f754b86d9e06a2025caf263cc52021ff355d961 examples/list_the_contents_of_a_directory.pl -SHA1 9c721ffba2198c7f6e7ec3961ee1a9e6cf289bf4 examples/list_the_contents_of_a_directory_recursively.pl -SHA1 d739d05d6010654003e0f8bae75c0cb652a6909b examples/load_a_file_into_a_variable.pl -SHA1 fee036b6ffba2b73940d512d1ca08ce9bfd38c67 examples/make_a_new_directory.pl -SHA1 73edfa635d681f06256c94f6003e938348bd2893 examples/pretty_print_a_directory.pl -SHA1 7bc3b97adb2e5d74d6a0e72fd222d7dafcfd336d examples/pretty_print_a_directory_using_as_tree.pl -SHA1 8e696d12f81c1fcae53a21325b4915ae1ec71fdb examples/pretty_print_a_directory_using_callbacks_fancy.pl -SHA1 80922e73571def192f04c1784caebeadedf535ba examples/pretty_print_a_directory_using_callbacks_simple.pl -SHA1 ae9afb8f97c188031c0e74ec60b627584e9fa383 examples/recursively_remove_a_directory_and_its_contents.pl -SHA1 17a1a90b90e22fd0b5780fbef6026a16c448ff51 examples/retry_open_handle.pl -SHA1 70177b252e54feeb078e5fab9c6de0ad43cba784 examples/wrap_the_lines_in_a_file.pl -SHA1 3ef56e2a76269416d29b0640406bac70a2be0a51 examples/write_or_append_to_a_file.pl -SHA1 d89b2f44330f56484fd5464457d4b775734da007 lib/File/Util.pm -SHA1 02148d57c6b2e6035b1e8f4359c77c4fdb686701 lib/File/Util/Cookbook.pod -SHA1 d3ef27d322849c5b7176c216480955fedab4d5ff lib/File/Util/Definitions.pm -SHA1 8df8c036b4e5459d4ec1d4397afb6241b3803bf0 lib/File/Util/Exception.pm -SHA1 27a355674ab20a967cc98da8accd96aa7bc2b610 lib/File/Util/Exception/Diagnostic.pm -SHA1 1f48c4d796b3ab09106db8dac98617c0cf317652 lib/File/Util/Exception/Standard.pm -SHA1 e19e53c4861ece598d8e771be86c61021382f5d8 lib/File/Util/Interface/Classic.pm -SHA1 6f84f33d52e26f33924ff909c09c67aafb97b598 lib/File/Util/Interface/Modern.pm -SHA1 c517ac26526ece496aef4851f4bd7ffa6b6c5de0 lib/File/Util/Manual.pod -SHA1 82035f9fd041340b741f6338dcda3355b8ffd262 lib/File/Util/Manual/Examples.pod -SHA1 9d689f1a8aee3f115cd06b340f5557bdeac5a83f performance/bench_listdir.pl -SHA1 07a1463fd7053e77e5b9d5b16bfe8de0cd0909b7 performance/bench_load_time.pl -SHA1 0c6b2574d244e23d247400ecc0d4aedf2e940090 performance/profile_listdir.pl -SHA1 54398261543845175dd21aeac50e3061ff50b08c performance/profile_listdir_vs_file-find-rule.pl -SHA1 a15164047e311ba8f4f59d2a93079305278e2327 perlcritic.rc -SHA1 9ca61be5e70f764dd966d555b70e5a5849b3e1ff t/00-compile.t -SHA1 1d4109677a711c3fdfe4366e94e2c5f93cdcc07e t/00-report-prereqs.dd -SHA1 504a672015f8761f5bad3863d844954c9e803c3f t/00-report-prereqs.t -SHA1 1b34fc2c2e6b8f80b219a9cba838dc413016695e t/001_canuseit.t -SHA1 71a868482e05797d7e5299f3cb520d69379eea88 t/002_isa.t -SHA1 135930ad08a066755296cc8990825eaf4365b025 t/003_can.t -SHA1 3ad564d1f3b2271018e825f7d4b3cf00496eaa6c t/004_portable.t -SHA1 885a069279b1961884deff7fe8be0d02851e4c93 t/005_ftests.t -SHA1 334cda2cb052a38e36484df464a58f23ab482ef7 t/006_io.t -SHA1 daf7d676765e7163ae5e98f6c44b127a13ab157a t/007_flock.t -SHA1 1a0009da145fb28501ce6feaad5aa2935eaeea2b t/008_export_ok.t -SHA1 9200be436c04e75fc832aa260e659a905daf2321 t/009_empty_subclass.t -SHA1 869e721a1b9b11e6c054a72e01c888b4b4a834c4 t/010_unicode.t -SHA1 c005e09ed57a45d8fb03dfe64ce533a24c0c4f2f t/011_abspaths.t -SHA1 072aef8454daa3b3525d7f7d3d8edc181f64e786 t/012_atomize_path.t -SHA1 fab3c64b0dba3454034251ef24b9f5c5717c3c06 t/013_interface_classic.t -SHA1 7e52d358b5c4297938478e87e25eb545113d3619 t/014_interface_modern.t -SHA1 19e8ca9d6dad89c57ebee2b69e4995eba03d9e07 t/015_destroy.t -SHA1 3a5495bdb6a846f1fc43ec8f604159bff5a82523 t/016_new.t -SHA1 9aba8983f72fc09383746da9e1d72024d1f12d7f t/017_make_dir_list_dir.t -SHA1 6be9177ea6cca93f1c28b956f25d90c3cc3d66c3 t/018_list_dir_advancedmatch.t -SHA1 43309f57e58b9662c464b0e6ac3fd36ccd637032 t/019_load_dir.t -SHA1 e9cc72017286700ecd33fd102ea0f572661d11b5 t/020_write_file.t -SHA1 f1bb65f231c00438219e890ceceed5bd96860a00 t/021_list_dir_regression.t -SHA1 cac36f84f0db21cf6fa980a9b31ca3453a84f8e4 t/bin -SHA1 65821dbdac86467eb04a9ad83dfad0600dfabdd9 t/txt -SHA1 5bd500053b03b9a17b570fb39ca2e5ee959540dc xt/author/critic.t -SHA1 f2c40e917e02088703731272f86cbb906ab19eb3 xt/author/mojibake.t -SHA1 d002c9f0d6f3ad548f528b8668e6af40314030fd xt/author/no-tabs.t -SHA1 a6d8370909ec0e0755d4bd691eb81d722cf94430 xt/author/pod-coverage.t -SHA1 e32dceb64d9c02fd202c399aa3ff1e5315d22c96 xt/author/pod-spell.t -SHA1 f0c18c75922a1516ae7a5ec5d391b31fd757f0bd xt/author/pod-syntax.t -SHA1 5598b706d9b813eafb74508a7575b391ccd30423 xt/author/test-version.t -SHA1 199b3d456352d36185a3f28aaf40efb0475dacab xt/release/cpan-changes.t -SHA1 dabf0119ff9e50414b89f992b70ac22138338db4 xt/release/diesnice-fatalities.t -SHA1 6f93b942dc8cc90e099bfebea90b28416b7c7c9e xt/release/diesnice-messages.t -SHA1 cbc5b72710fb645c559b78c8ac8b879f62aff326 xt/release/dist-manifest.t -SHA1 c591e1c2af60bc91cc86013f7dea9b6703eace1c xt/release/dist-portable.t -SHA1 b6d2e78bf4d4ee836fb3b70d66ea676073507d0d xt/release/distmeta.t -SHA1 be57561a7e657395ee92dd828e81204eca369486 xt/release/kwalitee.t -SHA1 d1d7aad8e90f60da78b7872043c416a032472490 xt/release/meta-json.t -SHA1 289bc9a5e6e6fd50b1be0837eb224c8abe38811a xt/release/onfail.t -SHA1 74bc7524c337d121b0781dd8c5bb623c6c659a1b xt/release/open_handle.t -SHA1 34513f89a70b96f6412fe2ef0ad4d475e8cac66c xt/release/synopsis.t +SHA256 536697d8c9347c65bed88b33d9dacf465e1f9b834402002da0d7794642eb068d AUTHORS +SHA256 828ce6b69a4792791453574f51d6a7629daff447b110699407b7ae766f172cb4 Build.PL +SHA256 5f3732812570654ba911e45ec4e5f7353f4b63747ebfc506c543e8fb1ccf797f COPYING +SHA256 76783706c91b1b47e793488b4ba39cec5fcc8f7f59c05f02fc20729f0893323a Changes +SHA256 7aef6115d46c490ed39dcdbf08336704b9cad6588774d724f5134253d1cf5fb0 INSTALL +SHA256 996b77ca668f16a443ed14758fce492bddd9f55fe831ee8353274c89191b8544 LICENSE +SHA256 918b4bf4bac2ae8b804074b72ae7af026d141190c82f94df93eb873d38daf489 MANIFEST +SHA256 b68efeafa67bab334f7765aceab280a900b060e14e3480b1a7ebfb1a2aa3d631 MANIFEST.SKIP +SHA256 28c5e4188551cf21d9d7bf731b1c49e2cd9ce1bfeb23746bef4881032ff930a8 META.json +SHA256 5d32e887905525e8792ba6fd3350ce43c87413251407f16e82b689fa24bb28be META.yml +SHA256 7a602863cd44e6fd5b7d66ee1463a82a8e61547f54c4b8c645ad2192fbcb75b0 Makefile.PL +SHA256 66b1dbf93f601ee0bb1fce85951f5c1a4ffd8609160380f30b302d476103aa58 NEWS +SHA256 a6e6f2fdc26298cba000345073c135bba6de94fcadee7a220f7279e550081d97 README +SHA256 580f1f6bbcb5102c66514a3be5749c5db80425a4fb01354324ba3dd29b2f3a0e TODO +SHA256 1b690abdc9e920938858526b0e191c606be35ba1bbd07d0f662557bfc01ffb84 dist.ini +SHA256 a9e337a15e417a18dd5ebbcec46124fffe46bfe0ce3716f6cdcf474d9920246a examples/batch_file_rename.pl +SHA256 838664ee95b0b3efd8184783e62376eec92190004b6108b57ec74b1035062e3a examples/batch_search_and_replace.pl +SHA256 72a8321e1a08b1d9d42c34212a1489960582604aab4644e0598d4f5ecbcf64c2 examples/get_an_open_file_handle.pl +SHA256 e60fde7c19f5d3f26a3c1c0945d06953721c300c4919644fca6d95003374b43a examples/increment_a_counter_file.pl +SHA256 6a669de4c581ebace3f941c96b3484a420f0ab044eaf9ff539fff6e4d02c8c4b examples/list_the_contents_of_a_directory.pl +SHA256 e62ce409a1159f4a9556abbe21720981eece5ebcba427b6a3adfb30288740b73 examples/list_the_contents_of_a_directory_recursively.pl +SHA256 125655522c100aac9d81fda747570d92ed3e7a610e88ea6452ac52fd3deb730f examples/load_a_file_into_a_variable.pl +SHA256 7b7bfbe2de99775dba3208aef361538a03d82c832de18a39b98c8d3d3d26d91f examples/make_a_new_directory.pl +SHA256 c9cb1d0456f7a91f9e792c5a24cf301122a5ba3c08a63c92f2b0918c0e3f26b9 examples/pretty_print_a_directory.pl +SHA256 e2bdca37bf291ecdad03c1a3f611b1560a4b1209d0e5c328c309bf8ac2ecdf6d examples/pretty_print_a_directory_using_as_tree.pl +SHA256 6341fdb0ca36a0366de857199b54a50f2be585242c914ef7d00e37edd9fa867a examples/pretty_print_a_directory_using_callbacks_fancy.pl +SHA256 811011e6840d0cc7dd2967c2568e302b627fb6ff8ddc5e982fe3d8cbf75a548c examples/pretty_print_a_directory_using_callbacks_simple.pl +SHA256 23cfcaeb2f2ec7d02809d1f4df118ec8006540bd3e77bd3231cf05811b2c93f5 examples/recursively_remove_a_directory_and_its_contents.pl +SHA256 3dd20963d5de2fb1190cd9e4ebb99766332cc5bfbf8d79d210187a0fa7cae367 examples/retry_open_handle.pl +SHA256 8695f84c94bbb6ac87c512086a063d5b2f977b99f97eb4648829885b29854086 examples/wrap_the_lines_in_a_file.pl +SHA256 a9b1a657670101c2b4d60a1733cb854186c2c9556deef5726b762aec2eff8aa0 examples/write_or_append_to_a_file.pl +SHA256 83d3294b64a4019a5547921f58a04233232aa12bf1e9fba8a5bc586dc31309ee lib/File/Util.pm +SHA256 8bf470ca2784a9f8bb46ac9b013126b9d2733d72d0c10de941b95d831fb97c18 lib/File/Util/Cookbook.pod +SHA256 3a49f6211b0820eaae1fbad5267b4ce681c44dcac54ceb793ad6002e7be26550 lib/File/Util/Definitions.pm +SHA256 c963f001a6666d84f9a6909ed2605b0de8b82c87dbf5ea7dd240c69890f7cc0a lib/File/Util/Exception.pm +SHA256 daba4ae858209463fafe49aa2d0d3d62cb92389b8460ae38699082ee1fef7788 lib/File/Util/Exception/Diagnostic.pm +SHA256 da987f3fe55e1449b8b130d6d46fc5b4da02cd08fe66e4b909fddac593f3dbfd lib/File/Util/Exception/Standard.pm +SHA256 d53901900da6e499b54776b2c1b1b4f13d8110de43cd420587306fd6ec26981c lib/File/Util/Interface/Classic.pm +SHA256 6b47e250ac55a8752760c31b9d08f244a7df188a15a14a86b3c73b6a0215e154 lib/File/Util/Interface/Modern.pm +SHA256 bfe334c815a905c1df36368a0108f8c251f733d7856221e45eff16634fda90c9 lib/File/Util/Manual.pod +SHA256 68be0c0f687fd6043c8fe375a9a2a4eebd287a08b7b3d697c1ec00f46b9e0e28 lib/File/Util/Manual/Examples.pod +SHA256 49d6f7a2b6466d2345b28487f6d7b72b82c6057a356e3426ecb3ae11e28bcae3 performance/bench_listdir.pl +SHA256 cf16394c0b32292637452818779f91c6052b72e31558ab4bb3778d7082e5f3e1 performance/bench_load_time.pl +SHA256 59472cf3f4e691080ee2040d33e5718b1751d68e902daf9e2bcb4188fda6fe9f performance/profile_listdir.pl +SHA256 795e79fc4c9e129c239c14eeaadc60c996350c43ce2325adb70555d889e28d83 performance/profile_listdir_vs_file-find-rule.pl +SHA256 3f3319ced39387324d058d59f4f04533957e77041acf7be2c954c15b4999e1b3 perlcritic.rc +SHA256 6baa69e47c97cd623b13a8bf8af5bdc37788e7b2815133e4b81cea8df8de01bd t/00-compile.t +SHA256 6af6e060868da96fdbd393cc12f1287a4844814b9828178280b2154b70c951cb t/00-report-prereqs.dd +SHA256 32862ed3cdb28367324e2dd1f20af158acc637de8e0487bb296157634e12e08c t/00-report-prereqs.t +SHA256 203644c0e9c38bf00274ae01a44a7c85f5f6c062b9bbd9364d60fc499d71bacc t/001_canuseit.t +SHA256 0e4b20d308c7be5b81e5c972cba50fecac0f0d837baf6adb787d7b952d2024fa t/002_isa.t +SHA256 40844c987030b0548160b22fd9e686c597513d51f806ea722d6d8b620ea683af t/003_can.t +SHA256 84840481efb79052fca7b6bf22b87706c9a3a670b9bdcd7dd9f03cba70bbe822 t/004_portable.t +SHA256 afe656ae54c203238cf0669ce8dfa9ecbfa169d06a3ac676afcc84a56bfd3785 t/005_ftests.t +SHA256 b4b4753f3406d7b59d6fee0d368dee4689711f3516604f510275c86a374b4f03 t/006_io.t +SHA256 6765f0272b9adb817c1c4671e191f6463a4de287704f2e1b8579ad2810bfef26 t/007_flock.t +SHA256 b2579b798b7879801651886acf3a8c4de3147b7c0a3d7cad1a9bed006a891362 t/008_export_ok.t +SHA256 66845b8357892579da6f675ef64707fb392ebb29e1a21144ae7f86f50ff7ce2e t/009_empty_subclass.t +SHA256 c86cafc63ff7b99936b0d63987c65b96a05b6e1bb6563a932021a989a2fe2605 t/010_unicode.t +SHA256 221ec4e2d84e4fdd060d0e5eab2a4bd8aea76c6c155a0cc1414ea288792492be t/011_abspaths.t +SHA256 0bdd91d6f3908d4cc67cf47ee47b78b3397179428f70fd7c97a79160b050dac1 t/012_atomize_path.t +SHA256 76b70029e6f11a38fee15dc0b3ad6300105a2cdd07ab214e7276efd22f143ca4 t/013_interface_classic.t +SHA256 322bd7f01af1f2b259d8fbd20ba615755de358ae6cc7de466845a341f0f9fb47 t/014_interface_modern.t +SHA256 8a81928b9709ee6243be56fdb0a09f68b551bc041870dcc878521725dd9125f0 t/015_destroy.t +SHA256 c0e8b664fbf6b40aa81fc3433dde2e2fb8add4cbb8d5aa21d64345db59b1a971 t/016_new.t +SHA256 f62bdc3b0e8ca0f49e6a6a3e409835fc2a1360842b1b969dee29c79e2ecd20fd t/017_make_dir_list_dir.t +SHA256 9d2eb1f2de5a1d359c863a010d69b6f1a3939a24dbc2f1a71e4acb3814eeb561 t/018_list_dir_advancedmatch.t +SHA256 583a9831941bb10f9de4391fb8b6f002a0b1a13723e25522ecd5264cdc5e4c11 t/019_load_dir.t +SHA256 4ad80d500aa0dc1ebdf47ec031466e57618ca5055cfed0dfc576c571c2ed4139 t/020_write_file.t +SHA256 45a30aafe759cf1e57d1ffab6ba18eb769eb736a816dd393939c529a2d73ac9f t/021_list_dir_regression.t +SHA256 3ec98a060fa6a9fb132f094cb7e01163c7bbf2b43bbd6ebc67df0355e978ba36 t/bin +SHA256 277c8ebb49935f08203305db02308fef8a3a57d052decd7b5c913d648eb3eacb t/txt +SHA256 acd82eb3924901ad78ccd5951bc5e2b4ebfe7ec6f8c210318b62f3842881b317 xt/author/critic.t +SHA256 89f6335b90cbedf340afef47053adab386d8b38faded020e58c76beda202e14f xt/author/mojibake.t +SHA256 5981477d156c24708693061ae89f6b4e2d2c0ebf28bc6fcf0b1d5f515e248d12 xt/author/no-tabs.t +SHA256 8036be88c2eaf3e7dc5e870df19b9d82e7ede9da6ed400a112ce70b335a9902d xt/author/pod-coverage.t +SHA256 8b4220672a763e337d63dfc5782210f88da87d8cd49861489e0339262b64e414 xt/author/pod-spell.t +SHA256 01c189b60dbbc17780700c3d394ebe0930b9802329799f968dcce40436484111 xt/author/pod-syntax.t +SHA256 e0f7231f875bb7b8a5f22ea4104ce06a2e6824fa4367846d7d2e02200073904e xt/author/synopsis.t +SHA256 aa25d3dc3ed499cce2f80e827aa3743b52424ea4f98abe8a389b8dd94b9f3e35 xt/author/test-version.t +SHA256 f01b1c021d2a667978e559521daf1fa74723886bd94febabb8f3d3bfffb41e52 xt/release/cpan-changes.t +SHA256 22b30ccef8256c849bbff57b07902d14836bbe5c0936a1f109529b1e9c48f7e2 xt/release/diesnice-fatalities.t +SHA256 cca96410fe6a4ddba52b664adfdd763df8f41c9d1165b7b2a5e4903fe8d9b3f1 xt/release/diesnice-messages.t +SHA256 de660a227d463958ac7590e2925e919bbc9b38df4063dcc51539dbd07a34e46e xt/release/dist-manifest.t +SHA256 6b7786be0cbfe45a704f8ad96fbedde86f2a6da9839c9e5085e91b450dd14692 xt/release/dist-portable.t +SHA256 2e9b021ebd8bc92130968364df790af1e366ad49da0f03dd6eac19d95e09a549 xt/release/distmeta.t +SHA256 d37a5da6ee4b9d268fb9e1ade2bc1ba3668a74878e5f467027bb25377d354589 xt/release/kwalitee.t +SHA256 64fd76103c4c043e3107a340afd92ee36cde0f89e7543cc328e7f71908794b2f xt/release/localbrew-perl-5.10.1.t +SHA256 21875c92bc6485a7dfdb436b30e59a094b61292022ec71b7b2f5545e1400ba3c xt/release/localbrew-perl-5.12.5.t +SHA256 fa89bca5d7c423bcbcb3b78eac1d6458bc1b2d03693b90e4a5b4744aff185990 xt/release/localbrew-perl-5.14.4.t +SHA256 2a01bb67b02f781e58e5db3b285ccc83e853d72ddfeef5f36f0c29c1eb492c18 xt/release/localbrew-perl-5.16.3.t +SHA256 c0dd267e2e60d0980f3687a3f6d7a3aa6e7d3ac2955e1c2823426e337112d107 xt/release/localbrew-perl-5.18.4.t +SHA256 50435509b976d434bdcfafbeb156be88b30e7c753b67899326daba0fd648ef18 xt/release/localbrew-perl-5.20.3.t +SHA256 e216c45b067923fb54f73d57486b86198c116a07c86d7e1f4759d51e361c07ea xt/release/localbrew-perl-5.22.1.t +SHA256 4f8bb6ea58a4862ec678e2342547cc36f75098a28d4f718f2583df79775f5d0a xt/release/localbrew-perl-5.23.6.t +SHA256 72ae7c48a46bb9f0bcbb0241cd87b83995fe627dfa28577780caff37f38dfccc xt/release/localbrew-perl-5.8.9.t +SHA256 7345a2b379aa2398c681237b33b5abcf2355de28c2f3d1ca7e5441d5b6b42867 xt/release/meta-json.t +SHA256 cd60914aeb0a9bdae80c2da4932f4c5be71484590794c42a217917791dd63994 xt/release/onfail.t +SHA256 d3c93e4185289e911a7cb8fea055b4fb038a3486ee7ef121b8e8bb2aee4d5496 xt/release/open_handle.t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 -iQIcBAEBAgAGBQJXhYziAAoJEGe9xj410/4d9GsP/0h58/0MMkzL6yvwBJHxCcHY -Ts/ialILo9uRqWXT4+YBfkYjRb3Mh6NOIyQpKMEQPYT9YH6K5XbOwPjN86zxwEWy -2x3GPyPJTQLWYPe1nTz9xzOAb+zu9sU7a2T3wbPBZr0gzokXEHBMBYMjRH4fO+pt -hHORku6ePBprm5SCiP0PjLhfnvEzMPx9d2M7R1p5sJAL+SU26Af0mEBj04NM6M8i -5yF8yCr1COQYXcGJy7MY5X/yqcBuA6h1B6rtNNF4Jf6ffN1z2YPj8BnpsiU1vo3E -sIUKBNmniFfx90nPgipFtDfWEwkV0pL3jcxyaR68Wd6pB6pxIc75mP2uxjg+MmSU -ZACGImOJhT/LGxCf/1ybwGuMX0ajELOIxZ5bgau2Gzriiv2LzQw2XPAWB02TecGQ -JGDIurNhCizBocL0u5n8EhLgvvTGTL7pg2pJ6+BpsXs+lRiyWO8biygrBr+5vrGS -nsxVKf2j5y0rUHGdKDumZpydTOFTmXmNRiHkY3UJVSouwKGHnS5DqDznHojtAbeY -w/oBvk2L+RR2PaPd5ULWOxWz99blyebwyVta/WhNAJdP0/VsESD8WTWZDoABIrR8 -83O8iFP/+wv1Ie8xWCRRxG+SIiPPVVkWkvSRKl5jnsyrIsK8asNFN7gCSbxEYx4B -PdtJTEC5/c3oqsZurBRw -=Qtk/ +iQIbBAEBAgAGBQJe7WgyAAoJEGe9xj410/4dLy4P9ju0fucMp0O9H2W7tdb2g5Bm +BXcXJw4dOTIOVHGil39pJ9dveUntPaAdrE9Vz6pe5I1u4dDyrzyFVWXFyhGZTfDO +zyZnhi5QoVsPpsFamBpNuL1kT3v0swjIfTIx7d1Xof5UWZOHgQxjPV3bCEW9g0wo +sjNF7N4gbKRuIj0Ww48KKoZRf//glcaUgBIoZPz5oCwdVPpaNkHCjb99mpIeUNt3 +Pscbe0cn3REF78LkGZ1nLdJ/3aE5uSbcNqX0DWtD1Ykn11RwZJ1D+V/05g6+JHK4 +tL6rOCDxbgS1EQCryiTt9Xl8fcawPbcggspMDISUB7I3gmBTcvNjV2U8CKd/EVoL +41qrziMGh4jSRI2EB0sCBt9zb+2R/72fnFPiAjuJ1fpdGJQNFVJve0M4zExnO9Ip +xfpLi6BcdgdMLiMUxYsJd0dcMMja7DaMUAPeBsEEfCDfh9lvPZa91UDcrC1SqElC +y06JTPw0ZpPJF7fpj4OeZYxsxc5ydStiQOAF0xX2MLLrMm706xtOgOGDA3mA4yQd +i1A99madpkhTzSybY2A+6rpvOJ/HwE08XnCKeNsNqDzw6SBpnEpPFEAZ+wLrDw34 +7gLtniXjLOCn1NOqdb3FzWeQPCAMlbAmCulwgO1yly/eaMxYMOUsh6OWaj6Qq9a/ +BWdXPOe3azES9aCaB84= +=d7eW -----END PGP SIGNATURE----- diff -Nru libfile-util-perl-4.161950/t/00-compile.t libfile-util-perl-4.201720/t/00-compile.t --- libfile-util-perl-4.161950/t/00-compile.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/t/00-compile.t 2020-06-20 01:36:50.000000000 +0000 @@ -2,7 +2,7 @@ use strict; use warnings; -# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.054 +# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.058 use Test::More; @@ -22,7 +22,9 @@ # no fake home requested -my $inc_switch = -d 'blib' ? '-Mblib' : '-Ilib'; +my @switches = ( + -d 'blib' ? '-Mblib' : '-Ilib', +); use File::Spec; use IPC::Open3; @@ -36,14 +38,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 { require blib; blib->VERSION('1.01') }; + and not eval { +require blib; blib->VERSION('1.01') }; if (@_warnings) { diff -Nru libfile-util-perl-4.161950/t/00-report-prereqs.dd libfile-util-perl-4.201720/t/00-report-prereqs.dd --- libfile-util-perl-4.161950/t/00-report-prereqs.dd 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/t/00-report-prereqs.dd 2020-06-20 01:36:50.000000000 +0000 @@ -15,8 +15,10 @@ 'requires' => { 'Devel::Cover' => '0', 'Dist::Zilla' => '0', - 'English' => '0', + 'File::Copy' => '0', + 'File::Spec' => '0', 'File::Temp' => '0', + 'FindBin' => '0', 'Perl::Critic' => '0', 'Perl::Critic::Lax' => '0', 'Pod::Coverage::TrustPod' => '0', @@ -29,12 +31,14 @@ 'Test::Mojibake' => '0', 'Test::More' => '0.96', 'Test::NoTabs' => '0', + 'Test::Perl::Critic' => '0', 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', 'Test::Spelling' => '0.12', 'Test::Synopsis' => '0', 'Test::Version' => '1', - 'inc::latest' => '0' + 'inc::latest' => '0', + 'lib' => '0' } }, 'runtime' => { @@ -46,7 +50,6 @@ 'Fcntl' => '0', 'Scalar::Util' => '0', 'constant' => '0', - 'lib' => '0', 'perl' => '5.008001', 'strict' => '0', 'subs' => '0', @@ -74,7 +77,7 @@ 'Test' => '0', 'Test::More' => '0', 'Test::NoWarnings' => '0', - 'blib' => '1.01', + 'lib' => '0', 'perl' => '5.008001', 'utf8' => '0' } diff -Nru libfile-util-perl-4.161950/t/00-report-prereqs.t libfile-util-perl-4.201720/t/00-report-prereqs.t --- libfile-util-perl-4.161950/t/00-report-prereqs.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/t/00-report-prereqs.t 2020-06-20 01:36:50.000000000 +0000 @@ -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.027 use Test::More tests => 1; @@ -68,7 +68,7 @@ ); # Add static prereqs to the included modules list -my $static_prereqs = do 't/00-report-prereqs.dd'; +my $static_prereqs = do './t/00-report-prereqs.dd'; # Merge all prereqs (either with ::Prereqs or a hashref) my $full_prereqs = _merge_prereqs( @@ -78,12 +78,14 @@ # Add dynamic prereqs to the included modules list (if we can) my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; -if ( $source && $HAS_CPAN_META ) { - if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { - $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); - } +my $cpan_meta_error; +if ( $source && $HAS_CPAN_META + && (my $meta = eval { CPAN::Meta->load_file($source) } ) +) { + $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); } else { + $cpan_meta_error = $@; # capture error from CPAN::Meta->load_file($source) $source = 'static metadata'; } @@ -169,10 +171,18 @@ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; } +if ( $cpan_meta_error || @dep_errors ) { + diag "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n"; +} + +if ( $cpan_meta_error ) { + my ($orig_source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; + diag "\nCPAN::Meta->load_file('$orig_source') failed with: $cpan_meta_error\n"; +} + if ( @dep_errors ) { diag join("\n", - "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", - "The following REQUIRED prerequisites were not satisfied:\n", + "\nThe following REQUIRED prerequisites were not satisfied:\n", @dep_errors, "\n" ); diff -Nru libfile-util-perl-4.161950/xt/author/critic.t libfile-util-perl-4.201720/xt/author/critic.t --- libfile-util-perl-4.161950/xt/author/critic.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/xt/author/critic.t 2020-06-20 01:36:50.000000000 +0000 @@ -3,10 +3,5 @@ use strict; use warnings; -use Test::More; -use English qw(-no_match_vars); - -eval "use Test::Perl::Critic"; -plan skip_all => 'Test::Perl::Critic required to criticise code' if $@; -Test::Perl::Critic->import( -profile => "perlcritic.rc" ) if -e "perlcritic.rc"; +use Test::Perl::Critic (-profile => "perlcritic.rc") x!! -e "perlcritic.rc"; all_critic_ok(); diff -Nru libfile-util-perl-4.161950/xt/author/pod-spell.t libfile-util-perl-4.201720/xt/author/pod-spell.t --- libfile-util-perl-4.161950/xt/author/pod-spell.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/xt/author/pod-spell.t 2020-06-20 01:36:50.000000000 +0000 @@ -2,94 +2,94 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007000 +# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005 use Test::Spelling 0.12; use Pod::Wordlist; add_stopwords(); -all_pod_files_spelling_ok( qw( bin lib ) ); +all_pod_files_spelling_ok( qw( bin lib ) ); __DATA__ AND'ed -ascii -bitmask -BrowserUk BLOCKEX +BrowserUk +Butler CIFS -conf -dat -dbitmask -ebcdic +CPAN +Classic +Cookbook +David +Definitions +Diagnostic EBCDIC EPOC -failsafe +Examples +Exception FIFOs +Fields +File Github -html -inodes -listrefs +Golden +Interface +John +Manual +Matt +Modern NFS -oct -onfail +Nicholas +OO +POSIX +Perez +Ricardo SIGNES SL SMB -Solaris SOLARIS -subpattern -subref -subrefs -syntaxes -trunc -txt -unicode +STDERR +Solaris +Standard +Tommy +Trout +UTF +Util VMS -vtab +ascii benchmarking -merchantability -lexically +bitmask +conf cpan -CPAN +dagolden +dat +dbitmask +ebcdic +failsafe filename filenames +html +inodes +iso +jfields +lexically +lib +listrefs +merchantability metadata namespace -OO -POSIX +nperez +oct +onfail +perl pre -STDERR +rjbs +shiftjis subclasses subdirectories subdirectory -UTF -shiftjis -iso -Tommy -Butler -John -Fields -jfields -Ricardo -rjbs -Matt -Trout -perl -Nicholas -Perez -nperez -David -Golden -dagolden -lib -File -Util -Cookbook -Definitions -Exception -Diagnostic -Standard -Interface -Classic -Modern -Manual -Examples +subpattern +subref +subrefs +syntaxes +trunc +txt +unicode +vtab diff -Nru libfile-util-perl-4.161950/xt/author/synopsis.t libfile-util-perl-4.201720/xt/author/synopsis.t --- libfile-util-perl-4.161950/xt/author/synopsis.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/author/synopsis.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,5 @@ +#!perl + +use Test::Synopsis; + +all_synopsis_ok(); diff -Nru libfile-util-perl-4.161950/xt/author/test-version.t libfile-util-perl-4.201720/xt/author/test-version.t --- libfile-util-perl-4.161950/xt/author/test-version.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/xt/author/test-version.t 2020-06-20 01:36:50.000000000 +0000 @@ -2,7 +2,7 @@ use warnings; use Test::More; -# generated by Dist::Zilla::Plugin::Test::Version 1.05 +# generated by Dist::Zilla::Plugin::Test::Version 1.09 use Test::Version; my @imports = qw( version_all_ok ); @@ -17,7 +17,6 @@ push @imports, $params if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); - Test::Version->import(@imports); version_all_ok; diff -Nru libfile-util-perl-4.161950/xt/release/cpan-changes.t libfile-util-perl-4.201720/xt/release/cpan-changes.t --- libfile-util-perl-4.161950/xt/release/cpan-changes.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/cpan-changes.t 2020-06-20 01:36:50.000000000 +0000 @@ -1,11 +1,10 @@ -#!perl - use strict; use warnings; -use Test::More 0.96 tests => 2; -use_ok('Test::CPAN::Changes'); +# this test was generated with Dist::Zilla::Plugin::Test::CPAN::Changes 0.012 + +use Test::More 0.96 tests => 1; +use Test::CPAN::Changes; subtest 'changes_ok' => sub { changes_file_ok('Changes'); }; -done_testing(); diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.10.1.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.10.1.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.10.1.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.10.1.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.10.1]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.12.5.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.12.5.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.12.5.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.12.5.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.12.5]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.14.4.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.14.4.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.14.4.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.14.4.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.14.4]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.16.3.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.16.3.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.16.3.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.16.3.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.16.3]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.18.4.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.18.4.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.18.4.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.18.4.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.18.4]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.20.3.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.20.3.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.20.3.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.20.3.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.20.3]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.22.1.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.22.1.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.22.1.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.22.1.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.22.1]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.23.6.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.23.6.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.23.6.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.23.6.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.23.6]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/localbrew-perl-5.8.9.t libfile-util-perl-4.201720/xt/release/localbrew-perl-5.8.9.t --- libfile-util-perl-4.161950/xt/release/localbrew-perl-5.8.9.t 1970-01-01 00:00:00.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/localbrew-perl-5.8.9.t 2020-06-20 01:36:50.000000000 +0000 @@ -0,0 +1,133 @@ +#!perl + +use strict; +use warnings; + +use FindBin; +use File::Copy qw(copy); +use File::Spec; +use File::Temp; +use Test::More; + +sub copy_log_file { + my ( $home ) = @_; + my $log_file = File::Spec->catfile($home, '.cpanm', 'build.log'); + my $tempfile = File::Temp->new( + SUFFIX => '.log', + UNLINK => 0, + ); + copy($log_file, $tempfile->filename); + diag("For details, please consult $tempfile") +} + +sub is_dist_root { + my ( @path ) = @_; + + return -e File::Spec->catfile(@path, 'Makefile.PL') || + -e File::Spec->catfile(@path, 'Build.PL'); +} + +delete @ENV{qw/AUTHOR_TESTING RELEASE_TESTING PERL5LIB/}; + +unless($ENV{'PERLBREW_ROOT'}) { + plan skip_all => "Environment variable 'PERLBREW_ROOT' not found"; + exit; +} + +my $brew = q[perl-5.8.9]; + +my $cpanm_path = qx(which cpanm 2>/dev/null); +unless($cpanm_path) { + plan skip_all => "The 'cpanm' program is required to run this test"; + exit; +} +chomp $cpanm_path; + +my $perlbrew_bin = File::Spec->catdir($ENV{'PERLBREW_ROOT'}, 'perls', + $brew, 'bin'); + +my $perlbrew_path = $ENV{'PATH'}; +if(my $local_lib_root = $ENV{'PERL_LOCAL_LIB_ROOT'}) { + my @path = File::Spec->path; + + while(@path && $path[0] =~ /^$local_lib_root/) { + shift @path; + } + + if($^O eq 'MSWin32') { + $perlbrew_path = join(';', @path); + } else { + $perlbrew_path = join(':', @path); + } +} + +my ( $env, $status ) = do { + local $ENV{'PATH'} = $perlbrew_path; + local $ENV{'SHELL'} = '/bin/bash'; # fool perlbrew + ( scalar(qx(perlbrew env $brew)), $? ) +}; + +unless($status == 0) { + plan skip_all => "No such perlbrew environment '$brew'"; + exit; +} + +my @lines = split /\n/, $env; + +foreach my $line (@lines) { + if($line =~ /^\s*export\s+([0-9a-zA-Z_]+)=(.*)$/) { + my ( $k, $v ) = ( $1, $2 ); + if($v =~ /^("|')(.*)\1$/) { + $v = $2; + $v =~ s!\\(.)!$1!ge; + } + $ENV{$k} = $v; + } elsif($line =~ /^unset\s+([0-9a-zA-Z_]+)/) { + delete $ENV{$1}; + } +} + +my $pristine_path = do { + local $ENV{'PATH'} = $perlbrew_path; + qx(perlbrew display-pristine-path); +}; +chomp $pristine_path; +$ENV{'PATH'} = join(':', $ENV{'PERLBREW_PATH'}, $pristine_path); + +plan tests => 1; + +my $tmpdir = File::Temp->newdir; +my $tmphome = File::Temp->newdir; + +my $pid = fork; +if(!defined $pid) { + fail "Forking failed!"; + exit 1; +} elsif($pid) { + waitpid $pid, 0; + ok !$?, "cpanm should successfully install your dist with no issues" or copy_log_file($tmphome->dirname); +} else { + open STDIN, '<', File::Spec->devnull; + open STDOUT, '>', File::Spec->devnull; + open STDERR, '>', File::Spec->devnull; + + my @path = File::Spec->splitdir($FindBin::Bin); + + while(@path && !is_dist_root(@path)) { + pop @path; + } + unless(@path) { + die "Unable to find dist root\n"; + } + chdir File::Spec->catdir(@path); # exit test directory + + # override where cpanm puts its log file + $ENV{'HOME'} = $tmphome->dirname; + + + + # We use system here instead of exec so that $tmpdir gets cleaned up + # after cpanm finishes + system 'perl', $cpanm_path, '-L', $tmpdir->dirname, '.'; + exit($? >> 8); +} diff -Nru libfile-util-perl-4.161950/xt/release/synopsis.t libfile-util-perl-4.201720/xt/release/synopsis.t --- libfile-util-perl-4.161950/xt/release/synopsis.t 2016-07-13 00:35:46.000000000 +0000 +++ libfile-util-perl-4.201720/xt/release/synopsis.t 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -#!perl - -use Test::Synopsis; - -all_synopsis_ok();