[libperl-prereqscanner-perl] 01/05: Imported Upstream version 1.020
gregor herrmann
gregoa at debian.org
Fri Jul 4 19:57:51 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libperl-prereqscanner-perl.
commit 98e0c9e8c3f874879731de0cdd6654e83805fcba
Author: gregor herrmann <gregoa at debian.org>
Date: Fri Jul 4 21:46:44 2014 +0200
Imported Upstream version 1.020
---
Changes | 3 +
LICENSE | 2 +-
MANIFEST | 2 +-
META.json | 216 +++++++++++++++--------
META.yml | 247 ++++++++++++++++-----------
Makefile.PL | 9 +-
README | 4 +-
bin/scan-perl-prereqs | 26 ++-
bin/scan_prereqs | 17 +-
lib/Perl/PrereqScanner.pm | 107 +++++++++++-
lib/Perl/PrereqScanner/Scanner.pm | 21 ++-
lib/Perl/PrereqScanner/Scanner/Aliased.pm | 17 +-
lib/Perl/PrereqScanner/Scanner/Moose.pm | 20 ++-
lib/Perl/PrereqScanner/Scanner/POE.pm | 14 +-
lib/Perl/PrereqScanner/Scanner/Perl5.pm | 37 +++-
lib/Perl/PrereqScanner/Scanner/Superclass.pm | 14 +-
lib/Perl/PrereqScanner/Scanner/TestMore.pm | 18 +-
t/000-report-versions-tiny.t | 2 +-
t/scan-module.t | 2 +-
xt/release/changes_has_content.t | 2 +-
xt/release/pod-syntax.t | 4 +-
21 files changed, 552 insertions(+), 232 deletions(-)
diff --git a/Changes b/Changes
index efe50ab..d2f224e 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,8 @@
Revision history for Perl-PrereqScanner
+1.020 2014-07-02 18:52:33-04:00 America/New_York
+ - update CPAN::Meta::Requirements version to match current formatting
+
1.019 2014-01-07 19:37:41-05:00 America/New_York
- add a warning about PPI's unclear interpretation of strings
diff --git a/LICENSE b/LICENSE
index 28e507c..873293c 100644
--- a/LICENSE
+++ b/LICENSE
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
diff --git a/MANIFEST b/MANIFEST
index 2f8c514..ff1fdf6 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.009.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.019.
Changes
LICENSE
MANIFEST
diff --git a/META.json b/META.json
index 416d3b1..9915f21 100644
--- a/META.json
+++ b/META.json
@@ -5,7 +5,7 @@
"Ricardo Signes <rjbs at cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.009, CPAN::Meta::Converter version 2.133380",
+ "generated_by" : "Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520",
"license" : [
"perl_5"
],
@@ -28,7 +28,7 @@
},
"runtime" : {
"requires" : {
- "CPAN::Meta::Requirements" : "2.120630",
+ "CPAN::Meta::Requirements" : "2.124",
"File::Find" : "0",
"File::Spec::Functions" : "0",
"FindBin" : "0",
@@ -72,31 +72,39 @@
},
"x_MailingList" : "http://www.listbox.com/subscribe/?list_id=139292"
},
- "version" : "1.019",
+ "version" : "1.020",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.018002"
+ "version" : "5.021001"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::GatherDir" : {
+ "include_untracked" : "0"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.019"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@RJBS/CheckPrereqsIndexed",
- "version" : "0.010"
+ "version" : "0.012"
},
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
- "version" : "0.016"
+ "version" : "0.021"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -112,7 +120,7 @@
}
},
"name" : "@RJBS/RJBS-Outdated",
- "version" : "0.015"
+ "version" : "0.023"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -126,97 +134,112 @@
}
},
"name" : "@RJBS/CPAN-Outdated",
- "version" : "0.015"
+ "version" : "0.023"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "5.009"
- },
- {
- "class" : "Dist::Zilla::Plugin::MakeMaker",
- "name" : "@RJBS/@Filter/MakeMaker",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "5.009"
+ "version" : "5.019"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 9
+ }
+ },
+ "name" : "@RJBS/MakeMaker",
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::NextVersion" : {
+ "first_version" : "0.001",
+ "version_by_branch" : "0",
+ "version_regexp" : "(?^:^([0-9]+\\.[0-9]+)$)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.019"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -226,7 +249,7 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
@@ -242,7 +265,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -259,163 +282,222 @@
{
"class" : "Pod::Weaver::Plugin::EnsurePod5",
"name" : "@CorePrep/EnsurePod5",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Plugin::H1Nester",
"name" : "@CorePrep/H1Nester",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Plugin::SingleEncoding",
"name" : "@RJBS/SingleEncoding",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Name",
"name" : "@RJBS/Name",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Version",
"name" : "@RJBS/Version",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@RJBS/Prelude",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Synopsis",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Description",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Overview",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "@RJBS/Stability",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Attributes",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Methods",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "Functions",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Leftovers",
"name" : "@RJBS/Leftovers",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@RJBS/postlude",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Authors",
"name" : "@RJBS/Authors",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Section::Legal",
"name" : "@RJBS/Legal",
- "version" : "4.005"
+ "version" : "4.006"
},
{
"class" : "Pod::Weaver::Plugin::Transformer",
"name" : "@RJBS/List",
- "version" : "4.005"
+ "version" : "4.006"
}
]
}
},
"name" : "@RJBS/PodWeaver",
- "version" : "4.004"
+ "version" : "4.005"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.42"
+ "version" : "0.46"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Check",
- "version" : "2.019"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "v%v%n%n%c",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Commit",
- "version" : "2.019"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "signed" : 0,
+ "tag" : "1.020",
+ "tag_format" : "%v",
+ "tag_message" : "v%v",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Tag",
- "version" : "2.019"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Push" : {
+ "push_to" : [
+ "origin :",
+ "github :"
+ ],
+ "remotes_must_exist" : 0
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@RJBS/@Git/Push",
- "version" : "2.019"
+ "version" : "2.023"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.009"
+ "version" : "5.019"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.009"
+ "version" : "5.019"
}
],
"zilla" : {
@@ -423,7 +505,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "5.009"
+ "version" : "5.019"
}
}
}
diff --git a/META.yml b/META.yml
index 3042707..fa52fec 100644
--- a/META.yml
+++ b/META.yml
@@ -4,66 +4,71 @@ author:
- 'Jerome Quelin'
- 'Ricardo Signes <rjbs at cpan.org>'
build_requires:
- File::Temp: 0
- PPI::Document: 0
- Test::More: 0.96
- Try::Tiny: 0
+ File::Temp: '0'
+ PPI::Document: '0'
+ Test::More: '0.96'
+ Try::Tiny: '0'
configure_requires:
- ExtUtils::MakeMaker: 6.30
+ ExtUtils::MakeMaker: '6.30'
dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.009, CPAN::Meta::Converter version 2.133380'
+generated_by: 'Dist::Zilla version 5.019, CPAN::Meta::Converter version 2.141520'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Perl-PrereqScanner
requires:
- CPAN::Meta::Requirements: 2.120630
- File::Find: 0
- File::Spec::Functions: 0
- FindBin: 0
- Getopt::Long: 0
- Getopt::Long::Descriptive: 0
- List::MoreUtils: 0
- List::Util: 0
- Module::Path: 0
- Moose: 0
- Moose::Role: 0
- PPI: 1.215
- Params::Util: 0
- Scalar::Util: 0
- String::RewritePrefix: 0.005
- lib: 0
- namespace::autoclean: 0
- perl: 5.008
- strict: 0
- warnings: 0
+ CPAN::Meta::Requirements: '2.124'
+ File::Find: '0'
+ File::Spec::Functions: '0'
+ FindBin: '0'
+ Getopt::Long: '0'
+ Getopt::Long::Descriptive: '0'
+ List::MoreUtils: '0'
+ List::Util: '0'
+ Module::Path: '0'
+ Moose: '0'
+ Moose::Role: '0'
+ PPI: '1.215'
+ Params::Util: '0'
+ Scalar::Util: '0'
+ String::RewritePrefix: '0.005'
+ lib: '0'
+ namespace::autoclean: '0'
+ perl: '5.008'
+ strict: '0'
+ warnings: '0'
resources:
MailingList: http://www.listbox.com/subscribe/?list_id=139292
bugtracker: https://github.com/rjbs/Perl-PrereqScanner/issues
homepage: https://github.com/rjbs/Perl-PrereqScanner
repository: https://github.com/rjbs/Perl-PrereqScanner.git
-version: 1.019
+version: '1.020'
x_Dist_Zilla:
perl:
- version: 5.018002
+ version: '5.021001'
plugins:
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Git::GatherDir
+ config:
+ Dist::Zilla::Plugin::Git::GatherDir:
+ include_untracked: '0'
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/Git::GatherDir'
- version: 2.019
+ version: '2.023'
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
- version: 0.010
+ version: '0.012'
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
- version: 0.016
+ version: '0.021'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -75,102 +80,112 @@ x_Dist_Zilla:
phase: build
skip: []
name: '@RJBS/RJBS-Outdated'
- version: 0.015
+ version: '0.023'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
Dist::Zilla::Plugin::PromptIfStale:
- check_all_plugins: 1
+ check_all_plugins: '1'
check_all_prereqs: 0
modules: []
phase: release
skip: []
name: '@RJBS/CPAN-Outdated'
- version: 0.015
+ version: '0.023'
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: 5.009
- -
- class: Dist::Zilla::Plugin::MakeMaker
- name: '@RJBS/@Filter/MakeMaker'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: 5.009
+ version: '5.019'
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 9
+ name: '@RJBS/MakeMaker'
+ version: '5.019'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Git::NextVersion
+ config:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: '0.001'
+ version_by_branch: '0'
+ version_regexp: (?^:^([0-9]+\.[0-9]+)$)
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/Git::NextVersion'
- version: 2.019
+ version: '2.023'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
- version: 0.006
+ version: '0.006'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
- version: 1.10
+ version: '1.10'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -178,7 +193,7 @@ x_Dist_Zilla:
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -192,131 +207,173 @@ x_Dist_Zilla:
-
class: Pod::Weaver::Plugin::EnsurePod5
name: '@CorePrep/EnsurePod5'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Plugin::H1Nester
name: '@CorePrep/H1Nester'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Plugin::SingleEncoding
name: '@RJBS/SingleEncoding'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Name
name: '@RJBS/Name'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Version
name: '@RJBS/Version'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Region
name: '@RJBS/Prelude'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Synopsis'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Description'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Overview'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Generic
name: '@RJBS/Stability'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Collect
name: Attributes
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Collect
name: Methods
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Collect
name: Functions
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Leftovers
name: '@RJBS/Leftovers'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Region
name: '@RJBS/postlude'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Authors
name: '@RJBS/Authors'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Section::Legal
name: '@RJBS/Legal'
- version: 4.005
+ version: '4.006'
-
class: Pod::Weaver::Plugin::Transformer
name: '@RJBS/List'
- version: 4.005
+ version: '4.006'
name: '@RJBS/PodWeaver'
- version: 4.004
+ version: '4.005'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.42
+ version: '0.46'
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Check'
- version: 2.019
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: v%v%n%n%c
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Commit'
- version: 2.019
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: '1.020'
+ tag_format: '%v'
+ tag_message: v%v
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Tag'
- version: 2.019
+ version: '2.023'
-
class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - 'origin :'
+ - 'github :'
+ remotes_must_exist: 0
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@RJBS/@Git/Push'
- version: 2.019
+ version: '2.023'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: 5.009
+ version: '5.019'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: 5.009
+ version: '5.019'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 5.009
+ is_trial: '0'
+ version: '5.019'
diff --git a/Makefile.PL b/Makefile.PL
index 163bb9e..1edf563 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,5 +1,5 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.009.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.019.
use strict;
use warnings;
@@ -12,7 +12,6 @@ use ExtUtils::MakeMaker 6.30;
my %WriteMakefileArgs = (
"ABSTRACT" => "a tool to scan your Perl code for its prerequisites",
"AUTHOR" => "Jerome Quelin, Ricardo Signes <rjbs\@cpan.org>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => "6.30"
},
@@ -24,7 +23,7 @@ my %WriteMakefileArgs = (
"LICENSE" => "perl",
"NAME" => "Perl::PrereqScanner",
"PREREQ_PM" => {
- "CPAN::Meta::Requirements" => "2.120630",
+ "CPAN::Meta::Requirements" => "2.124",
"File::Find" => 0,
"File::Spec::Functions" => 0,
"FindBin" => 0,
@@ -50,7 +49,7 @@ my %WriteMakefileArgs = (
"Test::More" => "0.96",
"Try::Tiny" => 0
},
- "VERSION" => "1.019",
+ "VERSION" => "1.020",
"test" => {
"TESTS" => "t/*.t"
}
@@ -58,7 +57,7 @@ my %WriteMakefileArgs = (
my %FallbackPrereqs = (
- "CPAN::Meta::Requirements" => "2.120630",
+ "CPAN::Meta::Requirements" => "2.124",
"File::Find" => 0,
"File::Spec::Functions" => 0,
"File::Temp" => 0,
diff --git a/README b/README
index 7060c76..9444625 100644
--- a/README
+++ b/README
@@ -1,7 +1,7 @@
This archive contains the distribution Perl-PrereqScanner,
-version 1.019:
+version 1.020:
a tool to scan your Perl code for its prerequisites
@@ -11,5 +11,5 @@ 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.009.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.019.
diff --git a/bin/scan-perl-prereqs b/bin/scan-perl-prereqs
index 5f7f59e..2a9f21a 100755
--- a/bin/scan-perl-prereqs
+++ b/bin/scan-perl-prereqs
@@ -1,10 +1,7 @@
#!/usr/bin/perl
package Perl::PrereqScanner::App;
-{
- $Perl::PrereqScanner::App::VERSION = '1.019';
-}
# ABSTRACT: scan your working dir for likely prereqs
-
+$Perl::PrereqScanner::App::VERSION = '1.020';
use strict;
use warnings;
@@ -84,6 +81,25 @@ sub print_prereqs {
exit;
+#pod =head1 SYNOPSIS
+#pod
+#pod scan-perl-prereqs [--by-file] [--pretty] [DIRS | FILES]
+#pod
+#pod Directories are traversed with L<File::Find> to collect all C<.pl>, C<.pm>,
+#pod C<.psgi> and C<.t> files. If no directories or files are specified, the current
+#pod working directory is scanned.
+#pod
+#pod The default is to print a single combined list suitable for piping to C<cpanm>
+#pod or similar tools.
+#pod
+#pod The C<--by-file> switch will print results grouped by the files in which they
+#pod were found.
+#pod
+#pod The C<--pretty> swith will print results in a more human-friendly format, with
+#pod names and versions vertically aligned.
+#pod
+#pod =cut
+
__END__
=pod
@@ -96,7 +112,7 @@ Perl::PrereqScanner::App - scan your working dir for likely prereqs
=head1 VERSION
-version 1.019
+version 1.020
=head1 SYNOPSIS
diff --git a/bin/scan_prereqs b/bin/scan_prereqs
index 05c6eb1..065561d 100755
--- a/bin/scan_prereqs
+++ b/bin/scan_prereqs
@@ -1,10 +1,7 @@
#!/usr/bin/perl
package Perl::PrereqScanner::App;
-{
- $Perl::PrereqScanner::App::VERSION = '1.019';
-}
# ABSTRACT: scan your working dir for likely prereqs
-
+$Perl::PrereqScanner::App::VERSION = '1.020';
use strict;
use warnings;
@@ -61,6 +58,16 @@ sub print_prereqs {
exit;
+#pod =head1 SYNOPSIS
+#pod
+#pod scan_prereqs [--combine] [DIRS|FILES]
+#pod
+#pod Directories are traversed with L<File::Find> to collect all C<.pl>, C<.pm>,
+#pod C<.psgi> and C<.t> files. If no directories or files are specified, the current
+#pod working directory is scanned.
+#pod
+#pod =cut
+
__END__
=pod
@@ -73,7 +80,7 @@ Perl::PrereqScanner::App - scan your working dir for likely prereqs
=head1 VERSION
-version 1.019
+version 1.020
=head1 SYNOPSIS
diff --git a/lib/Perl/PrereqScanner.pm b/lib/Perl/PrereqScanner.pm
index 3ecc439..0755cc8 100644
--- a/lib/Perl/PrereqScanner.pm
+++ b/lib/Perl/PrereqScanner.pm
@@ -3,11 +3,8 @@ use strict;
use warnings;
package Perl::PrereqScanner;
-{
- $Perl::PrereqScanner::VERSION = '1.019';
-}
# ABSTRACT: a tool to scan your Perl code for its prerequisites
-
+$Perl::PrereqScanner::VERSION = '1.020';
use Moose;
use List::Util qw(max);
@@ -19,7 +16,7 @@ use String::RewritePrefix 0.005 rewrite => {
prefixes => { '' => 'Perl::PrereqScanner::Scanner::', '=' => '' },
};
-use CPAN::Meta::Requirements 2.120630; # normalized v-strings
+use CPAN::Meta::Requirements 2.124; # normalized v-strings
use namespace::autoclean;
@@ -55,6 +52,20 @@ sub BUILD {
$self->_set_scanners($scanners);
}
+#pod =method scan_string
+#pod
+#pod my $prereqs = $scanner->scan_string( $perl_code );
+#pod
+#pod Given a string containing Perl source code, this method returns a
+#pod CPAN::Meta::Requirements object describing the modules it requires.
+#pod
+#pod This method will throw an exception if PPI fails to parse the code.
+#pod
+#pod B<Warning!> It isn't entirely clear whether PPI prefers to receive
+#pod strings as octet strings or character strings. For now, my advice
+#pod is to pass octet strings.
+#pod
+#pod =cut
sub scan_string {
my ($self, $str) = @_;
@@ -64,6 +75,16 @@ sub scan_string {
return $self->scan_ppi_document( $ppi );
}
+#pod =method scan_file
+#pod
+#pod my $prereqs = $scanner->scan_file( $path );
+#pod
+#pod Given a file path to a Perl document, this method returns a
+#pod CPAN::Meta::Requirements object describing the modules it requires.
+#pod
+#pod This method will throw an exception if PPI fails to parse the code.
+#pod
+#pod =cut
sub scan_file {
my ($self, $path) = @_;
@@ -74,6 +95,14 @@ sub scan_file {
return $self->scan_ppi_document( $ppi );
}
+#pod =method scan_ppi_document
+#pod
+#pod my $prereqs = $scanner->scan_ppi_document( $ppi_doc );
+#pod
+#pod Given a L<PPI::Document>, this method returns a CPAN::Meta::Requirements object
+#pod describing the modules it requires.
+#pod
+#pod =cut
sub scan_ppi_document {
my ($self, $ppi_doc) = @_;
@@ -87,6 +116,15 @@ sub scan_ppi_document {
return $req;
}
+#pod =method scan_module
+#pod
+#pod my $prereqs = $scanner->scan_module( $module_name );
+#pod
+#pod Given the name of a module, eg C<'PPI::Document'>,
+#pod this method returns a CPAN::Meta::Requirements object
+#pod describing the modules it requires.
+#pod
+#pod =cut
sub scan_module {
my ($self, $module_name) = @_;
@@ -102,8 +140,6 @@ sub scan_module {
1;
-__END__
-
=pod
=encoding UTF-8
@@ -114,7 +150,7 @@ Perl::PrereqScanner - a tool to scan your Perl code for its prerequisites
=head1 VERSION
-version 1.019
+version 1.020
=head1 SYNOPSIS
@@ -237,3 +273,58 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
+
+__END__
+
+#pod =for Pod::Coverage::TrustPod
+#pod new
+#pod
+#pod =head1 SYNOPSIS
+#pod
+#pod use Perl::PrereqScanner;
+#pod my $scanner = Perl::PrereqScanner->new;
+#pod my $prereqs = $scanner->scan_ppi_document( $ppi_doc );
+#pod my $prereqs = $scanner->scan_file( $file_path );
+#pod my $prereqs = $scanner->scan_string( $perl_code );
+#pod my $prereqs = $scanner->scan_module( $module_name );
+#pod
+#pod =head1 DESCRIPTION
+#pod
+#pod The scanner will extract loosely your distribution prerequisites from your
+#pod files.
+#pod
+#pod The extraction may not be perfect but tries to do its best. It will currently
+#pod find the following prereqs:
+#pod
+#pod =begin :list
+#pod
+#pod * plain lines beginning with C<use> or C<require> in your perl modules and scripts, including minimum perl version
+#pod
+#pod * regular inheritance declared with the C<base> and C<parent> pragmata
+#pod
+#pod * L<Moose> inheritance declared with the C<extends> keyword
+#pod
+#pod * L<Moose> roles included with the C<with> keyword
+#pod
+#pod * OO namespace aliasing using the C<aliased> module
+#pod
+#pod =end :list
+#pod
+#pod =head2 Scanner Plugins
+#pod
+#pod Perl::PrereqScanner works by running a series of scanners over a PPI::Document
+#pod representing the code to scan. By default the "Perl5", "Moose", "TestMore",
+#pod "POE", and "Aliased" scanners are run. You can supply your own scanners when
+#pod constructing your PrereqScanner:
+#pod
+#pod # Us only the Perl5 scanner:
+#pod my $scanner = Perl::PrereqScanner->new({ scanners => [ qw(Perl5) ] });
+#pod
+#pod # Use any stock scanners, plus Example:
+#pod my $scanner = Perl::PrereqScanner->new({ extra_scanners => [ qw(Example) ] });
+#pod
+#pod =head1 SEE ALSO
+#pod
+#pod L<scan-perl-prereqs>, in this distribution, is a command-line interface to the scanner
+#pod
+#pod =cut
diff --git a/lib/Perl/PrereqScanner/Scanner.pm b/lib/Perl/PrereqScanner/Scanner.pm
index eb0c0f3..bc678bd 100644
--- a/lib/Perl/PrereqScanner/Scanner.pm
+++ b/lib/Perl/PrereqScanner/Scanner.pm
@@ -2,13 +2,24 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner;
-{
- $Perl::PrereqScanner::Scanner::VERSION = '1.019';
-}
# ABSTRACT: something that scans for prereqs in a Perl document
-
+$Perl::PrereqScanner::Scanner::VERSION = '1.020';
use Moose::Role;
+#pod =head1 DESCRIPTION
+#pod
+#pod This is a role to be composed into classes that will act as scanners plugged
+#pod into a Perl::PrereqScanner object.
+#pod
+#pod These classes must provide a C<scan_for_prereqs> method, which will be called
+#pod like this:
+#pod
+#pod $scanner->scan_for_prereqs($ppi_doc, $version_requirements);
+#pod
+#pod The scanner should alter the L<CPAN::Meta::Requirements> object to reflect
+#pod its findings about the PPI document.
+#pod
+#pod =cut
requires 'scan_for_prereqs';
@@ -41,7 +52,7 @@ Perl::PrereqScanner::Scanner - something that scans for prereqs in a Perl docume
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
diff --git a/lib/Perl/PrereqScanner/Scanner/Aliased.pm b/lib/Perl/PrereqScanner/Scanner/Aliased.pm
index b1449a2..b7d8ddd 100644
--- a/lib/Perl/PrereqScanner/Scanner/Aliased.pm
+++ b/lib/Perl/PrereqScanner/Scanner/Aliased.pm
@@ -2,14 +2,21 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner::Aliased;
-{
- $Perl::PrereqScanner::Scanner::Aliased::VERSION = '1.019';
-}
# ABSTRACT: scan for OO module aliases via aliased.pm
-
+$Perl::PrereqScanner::Scanner::Aliased::VERSION = '1.020';
use Moose;
with 'Perl::PrereqScanner::Scanner';
+#pod =head1 DESCRIPTION
+#pod
+#pod This scanner will look for aliased OO modules:
+#pod
+#pod use aliased 'Some::Long::Long::Name' => 'Short::Name';
+#pod
+#pod Short::Name->new;
+#pod ...
+#pod
+#pod =cut
sub scan_for_prereqs {
my ($self, $ppi_doc, $req) = @_;
@@ -45,7 +52,7 @@ Perl::PrereqScanner::Scanner::Aliased - scan for OO module aliases via aliased.p
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
diff --git a/lib/Perl/PrereqScanner/Scanner/Moose.pm b/lib/Perl/PrereqScanner/Scanner/Moose.pm
index b904abe..a63b378 100644
--- a/lib/Perl/PrereqScanner/Scanner/Moose.pm
+++ b/lib/Perl/PrereqScanner/Scanner/Moose.pm
@@ -2,14 +2,24 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner::Moose;
-{
- $Perl::PrereqScanner::Scanner::Moose::VERSION = '1.019';
-}
# ABSTRACT: scan for Moose sugar indicators of required modules
-
+$Perl::PrereqScanner::Scanner::Moose::VERSION = '1.020';
use Moose;
with 'Perl::PrereqScanner::Scanner';
+#pod =head1 DESCRIPTION
+#pod
+#pod This scanner will look for the following indicators:
+#pod
+#pod =begin :list
+#pod
+#pod * L<Moose> inheritance declared with the C<extends> keyword
+#pod
+#pod * L<Moose> roles included with the C<with> keyword
+#pod
+#pod =end :list
+#pod
+#pod =cut
sub scan_for_prereqs {
my ($self, $ppi_doc, $req) = @_;
@@ -128,7 +138,7 @@ Perl::PrereqScanner::Scanner::Moose - scan for Moose sugar indicators of require
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
diff --git a/lib/Perl/PrereqScanner/Scanner/POE.pm b/lib/Perl/PrereqScanner/Scanner/POE.pm
index 667930c..b98bd93 100644
--- a/lib/Perl/PrereqScanner/Scanner/POE.pm
+++ b/lib/Perl/PrereqScanner/Scanner/POE.pm
@@ -2,14 +2,18 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner::POE;
-{
- $Perl::PrereqScanner::Scanner::POE::VERSION = '1.019';
-}
# ABSTRACT: scan for POE components
-
+$Perl::PrereqScanner::Scanner::POE::VERSION = '1.020';
use Moose;
with 'Perl::PrereqScanner::Scanner';
+#pod =head1 DESCRIPTION
+#pod
+#pod This scanner will look for POE modules included with C<use POE>
+#pod
+#pod use POE wq(Component::IRC);
+#pod
+#pod =cut
sub scan_for_prereqs {
my ($self, $ppi_doc, $req) = @_;
@@ -43,7 +47,7 @@ Perl::PrereqScanner::Scanner::POE - scan for POE components
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
diff --git a/lib/Perl/PrereqScanner/Scanner/Perl5.pm b/lib/Perl/PrereqScanner/Scanner/Perl5.pm
index 94d429d..096520c 100644
--- a/lib/Perl/PrereqScanner/Scanner/Perl5.pm
+++ b/lib/Perl/PrereqScanner/Scanner/Perl5.pm
@@ -2,14 +2,41 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner::Perl5;
-{
- $Perl::PrereqScanner::Scanner::Perl5::VERSION = '1.019';
-}
# ABSTRACT: scan for core Perl 5 language indicators of required modules
-
+$Perl::PrereqScanner::Scanner::Perl5::VERSION = '1.020';
use Moose;
with 'Perl::PrereqScanner::Scanner';
+#pod =head1 DESCRIPTION
+#pod
+#pod This scanner will look for the following indicators:
+#pod
+#pod =begin :list
+#pod
+#pod * plain lines beginning with C<use>, C<require>, or C<no> in your perl modules and scripts, including minimum perl version
+#pod
+#pod * regular inheritance declared with the C<base> and C<parent> pragmata
+#pod
+#pod =end :list
+#pod
+#pod Since Perl does not allow you to supply a version requirement with a
+#pod C<require> statement, the scanner will check the statement after the
+#pod C<require Module> to see if it is C<< Module->VERSION( minimum_version ); >>.
+#pod
+#pod In order to provide a minimum version, that method call must meet the
+#pod following requirements:
+#pod
+#pod =begin :list
+#pod
+#pod * it must be the very next statement after C<require Module>. Nothing can separate them but whitespace and comments (and one semicolon).
+#pod
+#pod * C<Module> must be a bareword, and match the C<require> exactly.
+#pod
+#pod * C<minimum_version> must be a literal number, v-string, or single-quoted string. Double quotes are not allowed.
+#pod
+#pod =end :list
+#pod
+#pod =cut
sub scan_for_prereqs {
my ($self, $ppi_doc, $req) = @_;
@@ -100,7 +127,7 @@ Perl::PrereqScanner::Scanner::Perl5 - scan for core Perl 5 language indicators o
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
diff --git a/lib/Perl/PrereqScanner/Scanner/Superclass.pm b/lib/Perl/PrereqScanner/Scanner/Superclass.pm
index af25d20..e8e6aa5 100644
--- a/lib/Perl/PrereqScanner/Scanner/Superclass.pm
+++ b/lib/Perl/PrereqScanner/Scanner/Superclass.pm
@@ -2,14 +2,18 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner::Superclass;
-{
- $Perl::PrereqScanner::Scanner::Superclass::VERSION = '1.019';
-}
# ABSTRACT: scan for modules loaded with superclass.pm
-
+$Perl::PrereqScanner::Scanner::Superclass::VERSION = '1.020';
use Moose;
with 'Perl::PrereqScanner::Scanner';
+#pod =head1 DESCRIPTION
+#pod
+#pod This scanner will look for dependencies from the L<superclass> module:
+#pod
+#pod use superclass 'Foo', Bar => 1.23;
+#pod
+#pod =cut
my $mod_re = qr/^[A-Z_a-z][0-9A-Z_a-z]*(?:(?:::|')[0-9A-Z_a-z]+)*$/;
@@ -53,7 +57,7 @@ Perl::PrereqScanner::Scanner::Superclass - scan for modules loaded with supercla
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
diff --git a/lib/Perl/PrereqScanner/Scanner/TestMore.pm b/lib/Perl/PrereqScanner/Scanner/TestMore.pm
index 4401fe1..5a64e52 100644
--- a/lib/Perl/PrereqScanner/Scanner/TestMore.pm
+++ b/lib/Perl/PrereqScanner/Scanner/TestMore.pm
@@ -2,11 +2,8 @@ use strict;
use warnings;
package Perl::PrereqScanner::Scanner::TestMore;
-{
- $Perl::PrereqScanner::Scanner::TestMore::VERSION = '1.019';
-}
# ABSTRACT: scanner to find recent Test::More usage
-
+$Perl::PrereqScanner::Scanner::TestMore::VERSION = '1.020';
use Moose;
use List::MoreUtils 'none';
with 'Perl::PrereqScanner::Scanner';
@@ -26,8 +23,6 @@ sub scan_for_prereqs {
1;
-__END__
-
=pod
=encoding UTF-8
@@ -38,7 +33,7 @@ Perl::PrereqScanner::Scanner::TestMore - scanner to find recent Test::More usage
=head1 VERSION
-version 1.019
+version 1.020
=head1 DESCRIPTION
@@ -68,3 +63,12 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut
+
+__END__
+
+#pod =head1 DESCRIPTION
+#pod
+#pod This scanner will check if a given test is using recent functions from
+#pod L<Test::More>, and increase the minimum version for this module
+#pod accordingly.
+#pod
diff --git a/t/000-report-versions-tiny.t b/t/000-report-versions-tiny.t
index 3c2d285..2c4622b 100644
--- a/t/000-report-versions-tiny.t
+++ b/t/000-report-versions-tiny.t
@@ -48,7 +48,7 @@ sub pmver {
return sprintf('%-45s => %-10s%-15s%s', $module, $pmver, $wanted, "\n");
}
-eval { $v .= pmver('CPAN::Meta::Requirements','2.120630') };
+eval { $v .= pmver('CPAN::Meta::Requirements','2.124') };
eval { $v .= pmver('ExtUtils::MakeMaker','6.30') };
eval { $v .= pmver('File::Find','any version') };
eval { $v .= pmver('File::Spec::Functions','any version') };
diff --git a/t/scan-module.t b/t/scan-module.t
index 49eb573..8b3b676 100644
--- a/t/scan-module.t
+++ b/t/scan-module.t
@@ -29,7 +29,7 @@ sub module_prereq_is {
module_prereq_is(
'Perl::PrereqScanner',
{
- 'CPAN::Meta::Requirements' => '2.120630',
+ 'CPAN::Meta::Requirements' => '2.124',
'List::Util' => 0,
'Module::Path' => 0,
'Moose' => 0,
diff --git a/xt/release/changes_has_content.t b/xt/release/changes_has_content.t
index 5279972..b61e634 100644
--- a/xt/release/changes_has_content.t
+++ b/xt/release/changes_has_content.t
@@ -4,7 +4,7 @@ use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '1.019';
+my $newver = '1.020';
my $trial_token = '-TRIAL';
SKIP: {
diff --git a/xt/release/pod-syntax.t b/xt/release/pod-syntax.t
index 3a69ee9..f0468f1 100644
--- a/xt/release/pod-syntax.t
+++ b/xt/release/pod-syntax.t
@@ -1,8 +1,6 @@
#!perl
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libperl-prereqscanner-perl.git
More information about the Pkg-perl-cvs-commits
mailing list