Hello community,
here is the log from the commit of package perl-Test-PerlTidy for
openSUSE:Leap:15.2 checked in at 2020-04-17 13:38:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/perl-Test-PerlTidy (Old)
and /work/SRC/openSUSE:Leap:15.2/.perl-Test-PerlTidy.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Test-PerlTidy"
Fri Apr 17 13:38:34 2020 rev:12 rq:794673 version:20200412
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/perl-Test-PerlTidy/perl-Test-PerlTidy.changes
2020-01-15 15:43:03.299241753 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.perl-Test-PerlTidy.new.2738/perl-Test-PerlTidy.changes
2020-04-17 13:39:03.816288500 +0200
@@ -1,0 +2,18 @@
+Mon Apr 13 03:14:40 UTC 2020 - <[email protected]>
+
+- updated to 20200412
+ see /usr/share/doc/packages/perl-Test-PerlTidy/Changes
+
+ 20200412 2020-04-12
+
+ * https://github.com/shlomif/Test-PerlTidy/issues/4
+ * Set minimum version of Path::Tiny for its ->visit() method
+ * Thanks to @eserte / SREZIC for the report
+
+ 20200411 2020-04-11
+
+ * https://github.com/shlomif/Test-PerlTidy/issues/3
+ * Allow to pass extra options to Perl::Tidy::perltidy().
+ * Thanks to @cxw42 for the suggestion!
+
+-------------------------------------------------------------------
Old:
----
Test-PerlTidy-20190402.tar.gz
New:
----
Test-PerlTidy-20200412.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Test-PerlTidy.spec ++++++
--- /var/tmp/diff_new_pack.d0tTt3/_old 2020-04-17 13:39:04.380288924 +0200
+++ /var/tmp/diff_new_pack.d0tTt3/_new 2020-04-17 13:39:04.388288930 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Test-PerlTidy
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Test-PerlTidy
-Version: 20190402
+Version: 20200412
Release: 0
%define cpan_name Test-PerlTidy
Summary: Check that all your files are tidy
@@ -31,13 +31,13 @@
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Module::Build) >= 0.280000
-BuildRequires: perl(Path::Tiny)
+BuildRequires: perl(Path::Tiny) >= 0.100
BuildRequires: perl(Perl::Tidy) >= 20181120
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Perl::Critic)
BuildRequires: perl(Text::Diff)
BuildRequires: perl(parent)
-Requires: perl(Path::Tiny)
+Requires: perl(Path::Tiny) >= 0.100
Requires: perl(Perl::Tidy) >= 20181120
Requires: perl(Text::Diff)
Requires: perl(parent)
++++++ Test-PerlTidy-20190402.tar.gz -> Test-PerlTidy-20200412.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/Build.PL
new/Test-PerlTidy-20200412/Build.PL
--- old/Test-PerlTidy-20190402/Build.PL 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/Build.PL 2020-04-12 08:59:21.000000000 +0200
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild
v6.014.
use strict;
use warnings;
@@ -19,7 +19,7 @@
"Shlomi Fish <shlomif\@cpan.org>"
],
"dist_name" => "Test-PerlTidy",
- "dist_version" => 20190402,
+ "dist_version" => 20200412,
"license" => "perl",
"module_name" => "Test::PerlTidy",
"recursive_test_files" => 1,
@@ -29,7 +29,7 @@
"Exporter" => 0,
"File::Spec" => 0,
"IO::File" => 0,
- "Path::Tiny" => 0,
+ "Path::Tiny" => "0.100",
"Perl::Tidy" => 20181120,
"Test::Builder" => 0,
"Text::Diff" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/Changes
new/Test-PerlTidy-20200412/Changes
--- old/Test-PerlTidy-20190402/Changes 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/Changes 2020-04-12 08:59:21.000000000 +0200
@@ -1,5 +1,17 @@
CHANGES
+20200412 2020-04-12
+
+ * https://github.com/shlomif/Test-PerlTidy/issues/4
+ * Set minimum version of Path::Tiny for its ->visit() method
+ * Thanks to @eserte / SREZIC for the report
+
+20200411 2020-04-11
+
+ * https://github.com/shlomif/Test-PerlTidy/issues/3
+ * Allow to pass extra options to Perl::Tidy::perltidy().
+ * Thanks to @cxw42 for the suggestion!
+
20190402 2019-04-02
* Fix https://github.com/shlomif/Test-PerlTidy/issues/2
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/MANIFEST
new/Test-PerlTidy-20200412/MANIFEST
--- old/Test-PerlTidy-20190402/MANIFEST 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/MANIFEST 2020-04-12 08:59:21.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest
v6.014.
Build.PL
Changes
MANIFEST
@@ -19,9 +19,6 @@
t/list_files.t
t/messy_file.txt
t/perltidy.t
-t/pod-coverage.t
-t/pod.t
-t/strict.t
t/tidy_file.txt
xt/author/eol.t
xt/author/no-tabs.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/MANIFEST.SKIP
new/Test-PerlTidy-20200412/MANIFEST.SKIP
--- old/Test-PerlTidy-20190402/MANIFEST.SKIP 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/MANIFEST.SKIP 2020-04-12 08:59:21.000000000
+0200
@@ -1 +1,2 @@
+^\.tidyall\.d
~$
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/META.json
new/Test-PerlTidy-20200412/META.json
--- old/Test-PerlTidy-20190402/META.json 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/META.json 2020-04-12 08:59:21.000000000
+0200
@@ -4,7 +4,7 @@
"Shlomi Fish <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010",
+ "generated_by" : "Dist::Zilla version 6.014, CPAN::Meta::Converter version
2.150010",
"license" : [
"perl_5"
],
@@ -45,7 +45,7 @@
"Exporter" : "0",
"File::Spec" : "0",
"IO::File" : "0",
- "Path::Tiny" : "0",
+ "Path::Tiny" : "0.100",
"Perl::Tidy" : "20181120",
"Test::Builder" : "0",
"Text::Diff" : "0",
@@ -69,7 +69,7 @@
"provides" : {
"Test::PerlTidy" : {
"file" : "lib/Test/PerlTidy.pm",
- "version" : "20190402"
+ "version" : "20200412"
}
},
"release_status" : "stable",
@@ -84,10 +84,10 @@
"web" : "https://github.com/shlomif/test-perltidy"
}
},
- "version" : "20190402",
+ "version" : "20200412",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.028001"
+ "version" : "5.030002"
},
"plugins" : [
{
@@ -99,17 +99,17 @@
}
},
"name" : "@Filter/TestMoreDoneTesting",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Filter/AutoPrereqs",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Filter/ExecDir",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
@@ -125,27 +125,27 @@
}
},
"name" : "@Filter/GatherDir",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@Filter/ManifestSkip",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Filter/MetaYAML",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Filter/PruneCruft",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Filter/Readme",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -160,7 +160,7 @@
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Filter/ShareDir",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -170,7 +170,7 @@
}
},
"name" : "@Filter/MakeMaker",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::CheckChangesHasContent",
@@ -180,22 +180,22 @@
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Filter/ConfirmRelease",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Filter/Manifest",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Filter/MetaConfig",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Filter/MetaJSON",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -205,7 +205,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" :
"@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.012"
+ "version" : "6.014"
}
],
"include_underscores" : 0
@@ -217,7 +217,7 @@
"meta_noindex" : 1
},
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000033",
+ "Module::Metadata" : "1.000036",
"version" : "0.006"
}
},
@@ -227,7 +227,7 @@
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "@Filter/MetaResources",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::ModuleBuild",
@@ -237,27 +237,22 @@
}
},
"name" : "@Filter/ModuleBuild",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@Filter/PkgVersion",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Filter/PodCoverageTests",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Filter/PodSyntaxTests",
- "version" : "6.012"
- },
- {
- "class" : "Dist::Zilla::Plugin::PodVersion",
- "name" : "@Filter/PodVersion",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Test::Compile",
@@ -331,7 +326,7 @@
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Filter/TestRelease",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -431,7 +426,7 @@
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Filter/UploadToCPAN",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::Test::TidyAll",
@@ -441,57 +436,57 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.012"
+ "version" : "6.014"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.012"
+ "version" : "6.014"
}
],
"zilla" : {
@@ -499,10 +494,11 @@
"config" : {
"is_trial" : 0
},
- "version" : "6.012"
+ "version" : "6.014"
}
},
- "x_generated_by_perl" : "v5.28.1",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.11"
+ "x_generated_by_perl" : "v5.30.2",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
+ "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/META.yml
new/Test-PerlTidy-20200412/META.yml
--- old/Test-PerlTidy-20190402/META.yml 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/META.yml 2020-04-12 08:59:21.000000000 +0200
@@ -13,7 +13,7 @@
ExtUtils::MakeMaker: '0'
Module::Build: '0.28'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version
2.150010'
+generated_by: 'Dist::Zilla version 6.014, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -22,14 +22,14 @@
provides:
Test::PerlTidy:
file: lib/Test/PerlTidy.pm
- version: '20190402'
+ version: '20200412'
requires:
Carp: '0'
English: '0'
Exporter: '0'
File::Spec: '0'
IO::File: '0'
- Path::Tiny: '0'
+ Path::Tiny: '0.100'
Perl::Tidy: '20181120'
Test::Builder: '0'
Text::Diff: '0'
@@ -42,10 +42,10 @@
bugtracker: https://github.com/shlomif/test-perltidy/issues
homepage: http://metacpan.org/release/Test-PerlTidy
repository: https://github.com/shlomif/Test-PerlTidy
-version: '20190402'
+version: '20200412'
x_Dist_Zilla:
perl:
- version: '5.028001'
+ version: '5.030002'
plugins:
-
class: Dist::Zilla::Plugin::Prereqs
@@ -54,15 +54,15 @@
phase: test
type: requires
name: '@Filter/TestMoreDoneTesting'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Filter/AutoPrereqs'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Filter/ExecDir'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::GatherDir
config:
@@ -75,23 +75,23 @@
prune_directory: []
root: .
name: '@Filter/GatherDir'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@Filter/ManifestSkip'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Filter/MetaYAML'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@Filter/PruneCruft'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Readme
name: '@Filter/Readme'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::RunExtraTests
config:
@@ -102,14 +102,14 @@
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Filter/ShareDir'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@Filter/MakeMaker'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::CheckChangesHasContent
name: '@Filter/CheckChangesHasContent'
@@ -117,19 +117,19 @@
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Filter/ConfirmRelease'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Filter/Manifest'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Filter/MetaConfig'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Filter/MetaJSON'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -138,7 +138,7 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: '6.012'
+ version: '6.014'
include_underscores: 0
Dist::Zilla::Role::MetaProvider::Provider:
$Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
@@ -146,37 +146,33 @@
inherit_version: '1'
meta_noindex: '1'
Dist::Zilla::Role::ModuleMetadata:
- Module::Metadata: '1.000033'
+ Module::Metadata: '1.000036'
version: '0.006'
name: '@Filter/MetaProvides::Package'
version: '2.004003'
-
class: Dist::Zilla::Plugin::MetaResources
name: '@Filter/MetaResources'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::ModuleBuild
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 1
name: '@Filter/ModuleBuild'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Filter/PkgVersion'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Filter/PodCoverageTests'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Filter/PodSyntaxTests'
- version: '6.012'
- -
- class: Dist::Zilla::Plugin::PodVersion
- name: '@Filter/PodVersion'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Test::Compile
config:
@@ -232,7 +228,7 @@
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Filter/TestRelease'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -310,7 +306,7 @@
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Filter/UploadToCPAN'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::Test::TidyAll
name: Test::TidyAll
@@ -318,51 +314,52 @@
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExtraTestFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':PerlExecFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '6.012'
+ version: '6.014'
-
class: Dist::Zilla::Plugin::FinderCode
name: '@Filter/MetaProvides::Package/AUTOVIV/:InstallModulesPM'
- version: '6.012'
+ version: '6.014'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '6.012'
-x_generated_by_perl: v5.28.1
+ version: '6.014'
+x_generated_by_perl: v5.30.2
x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/Makefile.PL
new/Test-PerlTidy-20200412/Makefile.PL
--- old/Test-PerlTidy-20190402/Makefile.PL 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/Makefile.PL 2020-04-12 08:59:21.000000000
+0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker
v6.014.
use strict;
use warnings;
@@ -26,7 +26,7 @@
"Exporter" => 0,
"File::Spec" => 0,
"IO::File" => 0,
- "Path::Tiny" => 0,
+ "Path::Tiny" => "0.100",
"Perl::Tidy" => 20181120,
"Test::Builder" => 0,
"Text::Diff" => 0,
@@ -42,7 +42,7 @@
"Test::More" => "0.88",
"Test::Perl::Critic" => 0
},
- "VERSION" => 20190402,
+ "VERSION" => 20200412,
"test" => {
"TESTS" => "t/*.t"
}
@@ -58,7 +58,7 @@
"IO::Handle" => 0,
"IPC::Open3" => 0,
"Module::Build" => "0.28",
- "Path::Tiny" => 0,
+ "Path::Tiny" => "0.100",
"Perl::Tidy" => 20181120,
"Test::Builder" => 0,
"Test::More" => "0.88",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/README
new/Test-PerlTidy-20200412/README
--- old/Test-PerlTidy-20190402/README 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/README 2020-04-12 08:59:21.000000000 +0200
@@ -1,12 +1,12 @@
This archive contains the distribution Test-PerlTidy,
-version 20190402:
+version 20200412:
check that all your files are tidy.
-This software is copyright (c) 2019 by Edmund von der Burg.
+This software is copyright (c) 2020 by Edmund von der Burg.
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 v6.012.
+This README file was generated by Dist::Zilla::Plugin::Readme v6.014.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/dist.ini
new/Test-PerlTidy-20200412/dist.ini
--- old/Test-PerlTidy-20190402/dist.ini 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/dist.ini 2020-04-12 08:59:21.000000000 +0200
@@ -1,5 +1,5 @@
name = Test-PerlTidy
-version = 20190402
+version = 20200412
author = Shlomi Fish <[email protected]>
license = Perl_5
copyright_holder = Edmund von der Burg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/lib/Test/PerlTidy.pm
new/Test-PerlTidy-20200412/lib/Test/PerlTidy.pm
--- old/Test-PerlTidy-20190402/lib/Test/PerlTidy.pm 2019-04-02
10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/lib/Test/PerlTidy.pm 2020-04-12
08:59:21.000000000 +0200
@@ -1,5 +1,5 @@
package Test::PerlTidy;
-$Test::PerlTidy::VERSION = '20190402';
+$Test::PerlTidy::VERSION = '20200412';
use 5.014;
use strict;
use warnings;
@@ -11,7 +11,7 @@
@EXPORT = qw( run_tests );
use Carp qw( croak );
-use Path::Tiny qw( path );
+use Path::Tiny 0.100 qw( path );
use File::Spec ();
use IO::File ();
use Perl::Tidy 20181120;
@@ -24,6 +24,10 @@
sub run_tests {
my %args = @_;
+ my @opts;
+ if ( my $perltidy_options = delete( $args{perltidy_options} ) ) {
+ push @opts, +{ perltidy_options => $perltidy_options, };
+ }
# Skip all tests if instructed to.
$test->skip_all('All tests skipped.') if $args{skip_all};
@@ -36,15 +40,17 @@
# Check each file in turn.
foreach my $file (@files) {
- $test->ok( is_file_tidy( $file, $args{perltidyrc} ), "'$file'" );
+ $test->ok( is_file_tidy( $file, $args{perltidyrc}, @opts, ),
+ "'$file'" );
}
return;
}
sub is_file_tidy {
- my ( $file_to_tidy, $perltidyrc ) = @_;
+ my ( $file_to_tidy, $perltidyrc, $named_args ) = @_;
+ $named_args //= { perltidy_options => {}, };
my $code_to_tidy = load_file($file_to_tidy);
my $tidied_code = q{};
@@ -61,6 +67,7 @@
logfile => \$logfile,
errorfile => \$errorfile,
perltidyrc => $perltidyrc,
+ %{ $named_args->{perltidy_options} },
);
# If there were perltidy errors report them and return.
@@ -188,7 +195,7 @@
=head1 VERSION
-version 20190402
+version 20200412
=head1 SYNOPSIS
@@ -224,10 +231,6 @@
Test::PerlTidy - check that all your files are tidy.
-=head1 VERSION
-
-version 20190402
-
=head1 REASONS TO DO THIS
If the style is mandated in tests then it will be adhered to.
@@ -325,6 +328,11 @@
Set C<skip_all> to a true value to skip all tests. Default is false.
+=item perltidy_options
+
+Pass these to Perl::Tidy::perltidy().
+(Added in version 20200411 .)
+
=back
=head2 list_files ( [ I<start_path> | I<%args> ] )
@@ -336,10 +344,14 @@
Load the file to be tested from disk and return the contents.
Generally not called directly.
-=head2 is_file_tidy ( I<path_to_file> [ , I<path_to_perltidyrc> ] )
+=head2 is_file_tidy ( I<path_to_file> [ , I<path_to_perltidyrc> ] [,
I<$named_args>] )
Test if a file is tidy or not. Generally not called directly.
+$named_args can be a hash ref which may have a key called 'perltidy_options'
+that refers to a hash ref of options that will be passed to
Perl::Tidy::perltidy().
+($named_args was added in version 20200411).
+
=head1 SEE ALSO
L<Perl::Tidy>
@@ -377,7 +389,7 @@
=head1 COPYRIGHT AND LICENSE
-This software is copyright (c) 2019 by Edmund von der Burg.
+This software is copyright (c) 2020 by Edmund von der Burg.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/t/exclude_files.t
new/Test-PerlTidy-20200412/t/exclude_files.t
--- old/Test-PerlTidy-20190402/t/exclude_files.t 2019-04-02
10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/t/exclude_files.t 2020-04-12
08:59:21.000000000 +0200
@@ -17,12 +17,10 @@
t/is_file_tidy.t
t/list_files.t
t/perltidy.t
- t/pod-coverage.t
- t/pod.t
- t/strict.t
);
-@wanted_files = map { s/\//\\/g; $_ } @wanted_files if $^O eq 'MSWin32';
+@wanted_files = map { my $ret = $_; $ret =~ s/\//\\/g; $ret } @wanted_files
+ if $^O eq 'MSWin32';
my @found_files = Test::PerlTidy::list_files(
path => '.',
@@ -30,4 +28,5 @@
debug => 0,
);
+# TEST
is_deeply( \@wanted_files, \@found_files );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/t/is_file_tidy.t
new/Test-PerlTidy-20200412/t/is_file_tidy.t
--- old/Test-PerlTidy-20190402/t/is_file_tidy.t 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/t/is_file_tidy.t 2020-04-12 08:59:21.000000000
+0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 2;
+use Test::More tests => 3;
use File::Spec ();
use Test::PerlTidy ();
@@ -12,8 +12,18 @@
{
local ${Test::PerlTidy::MUTE} = 1;
+
+ # TEST
ok Test::PerlTidy::is_file_tidy( 't/tidy_file.txt', $perltidyrc ),
't/tidy_file.txt';
+
+ # TEST
ok !Test::PerlTidy::is_file_tidy( 't/messy_file.txt', $perltidyrc ),
't/messy_file.txt';
+
+ # TEST
+ ok Test::PerlTidy::is_file_tidy( 't/tidy_file.txt', "NOTEXIST",
+ { perltidy_options => { perltidyrc => $perltidyrc, }, },
+ ),
+ 'pass perltidy_options perltidyrc named param';
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/t/list_files.t
new/Test-PerlTidy-20200412/t/list_files.t
--- old/Test-PerlTidy-20190402/t/list_files.t 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/t/list_files.t 2020-04-12 08:59:21.000000000
+0200
@@ -18,14 +18,13 @@
t/is_file_tidy.t
t/list_files.t
t/perltidy.t
- t/pod-coverage.t
- t/pod.t
- t/strict.t
);
-@wanted_files = map { s/\//\\/g; $_ } @wanted_files if $^O eq 'MSWin32';
+@wanted_files = map { my $ret = $_; $ret =~ s/\//\\/g; $ret } @wanted_files
+ if $^O eq 'MSWin32';
my @found_files =
Test::PerlTidy::list_files( path => '.', exclude => [ qr/blib|xt/, ], );
+# TEST
is_deeply( \@wanted_files, \@found_files );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/t/pod-coverage.t
new/Test-PerlTidy-20200412/t/pod-coverage.t
--- old/Test-PerlTidy-20190402/t/pod-coverage.t 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/t/pod-coverage.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,29 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-
-use Test::More;
-
-unless ( $ENV{TEST_AUTHOR} ) {
- plan skip_all => 'Set $ENV{TEST_AUTHOR} to a true value to run POD tests.';
-}
-
-my $min_tpc = 1.08;
-
-eval "use Test::Pod::Coverage $min_tpc";
-if ($@) {
- plan skip_all =>
- "Test::Pod::Coverage $min_tpc required to test POD coverage.";
-}
-
-# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
-# but older versions don't recognize some common documentation styles:
-#
-my $min_pc = 0.18;
-eval "use Pod::Coverage $min_pc";
-if ($@) {
- plan skip_all => "Pod::Coverage $min_pc required for testing POD
coverage.";
-}
-
-all_pod_coverage_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/t/pod.t
new/Test-PerlTidy-20200412/t/pod.t
--- old/Test-PerlTidy-20190402/t/pod.t 2019-04-02 10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/t/pod.t 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-
-use Test::More;
-
-unless ( $ENV{TEST_AUTHOR} ) {
- plan skip_all => 'Set $ENV{TEST_AUTHOR} to a true value to run POD tests.';
-}
-
-my $min_tp = 1.22;
-
-eval "use Test::Pod $min_tp";
-if ($@) {
- plan skip_all => "Test::Pod $min_tp required to test POD syntax";
-}
-
-all_pod_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/t/strict.t
new/Test-PerlTidy-20200412/t/strict.t
--- old/Test-PerlTidy-20190402/t/strict.t 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/t/strict.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,18 +0,0 @@
-#!perl -T
-
-use strict;
-use warnings;
-
-use Test::More;
-
-unless ( $ENV{TEST_AUTHOR} ) {
- plan skip_all =>
- 'Set $ENV{TEST_AUTHOR} to a true value to run strict tests.';
-}
-
-eval "use Test::Strict";
-if ($@) {
- plan skip_all => 'Test::Strict required for testing syntax';
-}
-
-all_perl_files_ok();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/xt/author/eol.t
new/Test-PerlTidy-20200412/xt/author/eol.t
--- old/Test-PerlTidy-20190402/xt/author/eol.t 2019-04-02 10:27:07.000000000
+0200
+++ new/Test-PerlTidy-20200412/xt/author/eol.t 2020-04-12 08:59:21.000000000
+0200
@@ -18,9 +18,6 @@
't/list_files.t',
't/messy_file.txt',
't/perltidy.t',
- 't/pod-coverage.t',
- 't/pod.t',
- 't/strict.t',
't/tidy_file.txt'
);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Test-PerlTidy-20190402/xt/author/no-tabs.t
new/Test-PerlTidy-20200412/xt/author/no-tabs.t
--- old/Test-PerlTidy-20190402/xt/author/no-tabs.t 2019-04-02
10:27:07.000000000 +0200
+++ new/Test-PerlTidy-20200412/xt/author/no-tabs.t 2020-04-12
08:59:21.000000000 +0200
@@ -18,9 +18,6 @@
't/list_files.t',
't/messy_file.txt',
't/perltidy.t',
- 't/pod-coverage.t',
- 't/pod.t',
- 't/strict.t',
't/tidy_file.txt'
);