Hello community,
here is the log from the commit of package perl-Perl-PrereqScanner for
openSUSE:Factory checked in at 2013-11-26 19:30:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Perl-PrereqScanner (Old)
and /work/SRC/openSUSE:Factory/.perl-Perl-PrereqScanner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Perl-PrereqScanner"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Perl-PrereqScanner/perl-Perl-PrereqScanner.changes
2013-08-01 15:59:11.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Perl-PrereqScanner.new/perl-Perl-PrereqScanner.changes
2013-11-26 19:30:14.000000000 +0100
@@ -1,0 +2,10 @@
+Mon Nov 25 07:36:03 UTC 2013 - [email protected]
+
+- updated to 1.018
+ - make the scan-perl-prereqs program also scan .PL and .cgi files
+ - also check for "Foo->VERSION(x)" after "require Foo"
+ - doc improvements from David Steinbrunner and Karen Etheridge
+ - eliminate testing of Carp for its prereqs, which *did* change from older
+ 5.8.8 installs
+
+-------------------------------------------------------------------
Old:
----
Perl-PrereqScanner-1.016.tar.gz
New:
----
Perl-PrereqScanner-1.018.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Perl-PrereqScanner.spec ++++++
--- /var/tmp/diff_new_pack.YGNOps/_old 2013-11-26 19:30:17.000000000 +0100
+++ /var/tmp/diff_new_pack.YGNOps/_new 2013-11-26 19:30:17.000000000 +0100
@@ -17,7 +17,7 @@
Name: perl-Perl-PrereqScanner
-Version: 1.016
+Version: 1.018
Release: 0
%define cpan_name Perl-PrereqScanner
Summary: A tool to scan your Perl code for its prerequisites
++++++ Perl-PrereqScanner-1.016.tar.gz -> Perl-PrereqScanner-1.018.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/Changes
new/Perl-PrereqScanner-1.018/Changes
--- old/Perl-PrereqScanner-1.016/Changes 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/Changes 2013-11-04 03:53:50.000000000
+0100
@@ -1,5 +1,14 @@
Revision history for Perl-PrereqScanner
+1.018 2013-11-03 21:53:46 America/New_York
+ - make the scan-perl-prereqs program also scan .PL and .cgi files
+ - also check for "Foo->VERSION(x)" after "require Foo"
+ - doc improvements from David Steinbrunner and Karen Etheridge
+
+1.017 2013-10-07 17:56:34 America/New_York
+ - eliminate testing of Carp for its prereqs, which *did* change from older
+ 5.8.8 installs
+
1.016 2013-06-19 21:27:44 America/New_York
- new executable is bundled, scan-perl-prereqs, to take the plae of
scan_prereqs; it has cpanm-friendly output by default, but supports
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/MANIFEST
new/Perl-PrereqScanner-1.018/MANIFEST
--- old/Perl-PrereqScanner-1.016/MANIFEST 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/MANIFEST 2013-11-04 03:53:50.000000000
+0100
@@ -18,10 +18,9 @@
lib/Perl/PrereqScanner/Scanner/Perl5.pm
lib/Perl/PrereqScanner/Scanner/Superclass.pm
lib/Perl/PrereqScanner/Scanner/TestMore.pm
-t/00-compile.t
t/000-report-versions-tiny.t
t/autoprereq.t
t/scan-module.t
-t/scan_prereqs.t
+t/scan-prereqs.t
xt/release/changes_has_content.t
xt/release/pod-syntax.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/META.json
new/Perl-PrereqScanner-1.018/META.json
--- old/Perl-PrereqScanner-1.016/META.json 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/META.json 2013-11-04 03:53:50.000000000
+0100
@@ -5,7 +5,7 @@
"Ricardo Signes <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.300034, CPAN::Meta::Converter
version 2.131560",
+ "generated_by" : "Dist::Zilla version 5.005, CPAN::Meta::Converter version
2.132830",
"license" : [
"perl_5"
],
@@ -62,31 +62,31 @@
"release_status" : "stable",
"resources" : {
"bugtracker" : {
- "web" : "https://github.com/rjbs/perl-prereqscanner/issues"
+ "web" : "https://github.com/rjbs/Perl-PrereqScanner/issues"
},
- "homepage" : "https://github.com/rjbs/perl-prereqscanner",
+ "homepage" : "https://github.com/rjbs/Perl-PrereqScanner",
"repository" : {
"type" : "git",
- "url" : "https://github.com/rjbs/perl-prereqscanner.git",
- "web" : "https://github.com/rjbs/perl-prereqscanner"
+ "url" : "https://github.com/rjbs/Perl-PrereqScanner.git",
+ "web" : "https://github.com/rjbs/Perl-PrereqScanner"
},
"x_MailingList" : "http://www.listbox.com/subscribe/?list_id=139292"
},
- "version" : "1.016",
+ "version" : "1.018",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.019000"
+ "version" : "5.019005"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"name" : "@RJBS/Git::GatherDir",
- "version" : "2.013"
+ "version" : "2.017"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
@@ -96,97 +96,107 @@
{
"class" : "Dist::Zilla::Plugin::CheckExtraTests",
"name" : "@RJBS/CheckExtraTests",
- "version" : "0.011"
+ "version" : "0.015"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "name" : "@RJBS/RJBS-Outdated",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::PromptIfStale",
+ "name" : "@RJBS/CPAN-Outdated",
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Filter/PruneCruft",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Filter/ManifestSkip",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Filter/MetaYAML",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Filter/License",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Filter/Readme",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Filter/ExecDir",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Filter/ShareDir",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Filter/MakeMaker",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Filter/Manifest",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Filter/TestRelease",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Filter/ConfirmRelease",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Filter/UploadToCPAN",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
- "version" : "2.013"
+ "version" : "2.017"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -196,17 +206,12 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::ReportVersions::Tiny",
"name" : "@RJBS/ReportVersions::Tiny",
- "version" : "1.08"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::Compile",
- "name" : "@RJBS/Test::Compile",
- "version" : "2.002"
+ "version" : "1.10"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -217,67 +222,76 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
+ "config" : {
+ "Dist::Zilla::Plugin::PodWeaver" : {
+ "config_plugin" : "@RJBS",
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles"
+ ]
+ }
+ },
"name" : "@RJBS/PodWeaver",
- "version" : "3.101641"
+ "version" : "4.001"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@RJBS/GithubMeta",
- "version" : "0.28"
+ "version" : "0.42"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
- "version" : "2.013"
+ "version" : "2.017"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
- "version" : "2.013"
+ "version" : "2.017"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
- "version" : "2.013"
+ "version" : "2.017"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
- "version" : "2.013"
+ "version" : "2.017"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.300034"
+ "version" : "5.005"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "4.300034"
+ "version" : "5.005"
}
],
"zilla" : {
@@ -285,7 +299,7 @@
"config" : {
"is_trial" : "0"
},
- "version" : "4.300034"
+ "version" : "5.005"
}
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/META.yml
new/Perl-PrereqScanner-1.018/META.yml
--- old/Perl-PrereqScanner-1.016/META.yml 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/META.yml 2013-11-04 03:53:50.000000000
+0100
@@ -11,7 +11,7 @@
configure_requires:
ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.300034, CPAN::Meta::Converter version
2.131560'
+generated_by: 'Dist::Zilla version 5.005, CPAN::Meta::Converter version
2.132830'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -40,22 +40,22 @@
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.016
+ 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.018
x_Dist_Zilla:
perl:
- version: 5.019000
+ version: 5.019005
plugins:
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::Git::GatherDir
name: '@RJBS/Git::GatherDir'
- version: 2.013
+ version: 2.017
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@RJBS/CheckPrereqsIndexed'
@@ -63,79 +63,87 @@
-
class: Dist::Zilla::Plugin::CheckExtraTests
name: '@RJBS/CheckExtraTests'
- version: 0.011
+ version: 0.015
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ name: '@RJBS/RJBS-Outdated'
+ version: 0.009
+ -
+ class: Dist::Zilla::Plugin::PromptIfStale
+ name: '@RJBS/CPAN-Outdated'
+ version: 0.009
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Filter/PruneCruft'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Filter/ManifestSkip'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Filter/MetaYAML'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Filter/License'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Filter/Readme'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Filter/ExecDir'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Filter/ShareDir'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Filter/MakeMaker'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Filter/Manifest'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Filter/TestRelease'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Filter/ConfirmRelease'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Filter/UploadToCPAN'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
- version: 2.013
+ version: 2.017
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@RJBS/Test::ChangesHasContent'
@@ -143,15 +151,11 @@
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::ReportVersions::Tiny
name: '@RJBS/ReportVersions::Tiny'
- version: 1.08
- -
- class: Dist::Zilla::Plugin::Test::Compile
- name: '@RJBS/Test::Compile'
- version: 2.002
+ version: 1.10
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -159,57 +163,63 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::PodWeaver
+ config:
+ Dist::Zilla::Plugin::PodWeaver:
+ config_plugin: '@RJBS'
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
name: '@RJBS/PodWeaver'
- version: 3.101641
+ version: 4.001
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@RJBS/GithubMeta'
- version: 0.28
+ version: 0.42
-
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
- version: 2.013
+ version: 2.017
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
- version: 2.013
+ version: 2.017
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
- version: 2.013
+ version: 2.017
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
- version: 2.013
+ version: 2.017
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.300034
+ version: 5.005
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 4.300034
+ version: 5.005
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.300034
+ version: 5.005
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/Makefile.PL
new/Perl-PrereqScanner-1.018/Makefile.PL
--- old/Perl-PrereqScanner-1.016/Makefile.PL 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/Makefile.PL 2013-11-04 03:53:50.000000000
+0100
@@ -49,37 +49,44 @@
"Test::More" => "0.96",
"Try::Tiny" => 0
},
- "VERSION" => "1.016",
+ "VERSION" => "1.018",
"test" => {
"TESTS" => "t/*.t"
}
);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
- my $tr = delete $WriteMakefileArgs{TEST_REQUIRES};
- my $br = $WriteMakefileArgs{BUILD_REQUIRES};
- for my $mod ( keys %$tr ) {
- if ( exists $br->{$mod} ) {
- $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod};
- }
- else {
- $br->{$mod} = $tr->{$mod};
- }
- }
-}
+my %FallbackPrereqs = (
+ "CPAN::Meta::Requirements" => "2.120630",
+ "File::Find" => 0,
+ "File::Spec::Functions" => 0,
+ "File::Temp" => 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",
+ "PPI::Document" => 0,
+ "Params::Util" => 0,
+ "Scalar::Util" => 0,
+ "String::RewritePrefix" => "0.005",
+ "Test::More" => "0.96",
+ "Try::Tiny" => 0,
+ "lib" => 0,
+ "namespace::autoclean" => 0,
+ "strict" => 0,
+ "warnings" => 0
+);
-unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) {
- my $br = delete $WriteMakefileArgs{BUILD_REQUIRES};
- my $pp = $WriteMakefileArgs{PREREQ_PM};
- for my $mod ( keys %$br ) {
- if ( exists $pp->{$mod} ) {
- $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod};
- }
- else {
- $pp->{$mod} = $br->{$mod};
- }
- }
+
+unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
+ delete $WriteMakefileArgs{TEST_REQUIRES};
+ delete $WriteMakefileArgs{BUILD_REQUIRES};
+ $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs;
}
delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/README
new/Perl-PrereqScanner-1.018/README
--- old/Perl-PrereqScanner-1.016/README 2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/README 2013-11-04 03:53:50.000000000 +0100
@@ -1,7 +1,7 @@
This archive contains the distribution Perl-PrereqScanner,
-version 1.016:
+version 1.018:
a tool to scan your Perl code for its prerequisites
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/bin/scan-perl-prereqs
new/Perl-PrereqScanner-1.018/bin/scan-perl-prereqs
--- old/Perl-PrereqScanner-1.016/bin/scan-perl-prereqs 2013-06-20
03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/bin/scan-perl-prereqs 2013-11-04
03:53:50.000000000 +0100
@@ -1,7 +1,7 @@
#!/usr/bin/perl
package Perl::PrereqScanner::App;
{
- $Perl::PrereqScanner::App::VERSION = '1.016';
+ $Perl::PrereqScanner::App::VERSION = '1.018';
}
# ABSTRACT: scan your working dir for likely prereqs
@@ -43,7 +43,7 @@
sub scan_dir {
find( {
no_chdir => 1,
- wanted => sub { scan_file($_) if /\.(pl|pm|psgi|t)$/; }
+ wanted => sub { scan_file($_) if /\.(pl|PL|pm|cgi|psgi|t)$/; }
}, shift );
}
@@ -94,7 +94,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/bin/scan_prereqs
new/Perl-PrereqScanner-1.018/bin/scan_prereqs
--- old/Perl-PrereqScanner-1.016/bin/scan_prereqs 2013-06-20
03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/bin/scan_prereqs 2013-11-04
03:53:50.000000000 +0100
@@ -1,7 +1,7 @@
#!/usr/bin/perl
package Perl::PrereqScanner::App;
{
- $Perl::PrereqScanner::App::VERSION = '1.016';
+ $Perl::PrereqScanner::App::VERSION = '1.018';
}
# ABSTRACT: scan your working dir for likely prereqs
@@ -71,7 +71,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Aliased.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Aliased.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Aliased.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Aliased.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::Aliased;
{
- $Perl::PrereqScanner::Scanner::Aliased::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::Aliased::VERSION = '1.018';
}
# ABSTRACT: scan for OO module aliases via aliased.pm
@@ -43,7 +43,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Moose.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Moose.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Moose.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Moose.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::Moose;
{
- $Perl::PrereqScanner::Scanner::Moose::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::Moose::VERSION = '1.018';
}
# ABSTRACT: scan for Moose sugar indicators of required modules
@@ -126,7 +126,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/POE.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/POE.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/POE.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/POE.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::POE;
{
- $Perl::PrereqScanner::Scanner::POE::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::POE::VERSION = '1.018';
}
# ABSTRACT: scan for POE components
@@ -41,7 +41,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Perl5.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Perl5.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Perl5.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Perl5.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::Perl5;
{
- $Perl::PrereqScanner::Scanner::Perl5::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::Perl5::VERSION = '1.018';
}
# ABSTRACT: scan for core Perl 5 language indicators of required modules
@@ -43,7 +43,7 @@
# See if the next statement after require is Module->VERSION(min):
$version = $self->_check_required_version($node) || 0
- if not $version and $node->type eq 'require';
+ if not $version and $node->type =~ /\A(?:require|use)\z/;
$req->add_minimum($node->module, $version);
}
@@ -98,7 +98,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Superclass.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Superclass.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/Superclass.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/Superclass.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::Superclass;
{
- $Perl::PrereqScanner::Scanner::Superclass::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::Superclass::VERSION = '1.018';
}
# ABSTRACT: scan for modules loaded with superclass.pm
@@ -51,7 +51,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/TestMore.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/TestMore.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner/TestMore.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner/TestMore.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::TestMore;
{
- $Perl::PrereqScanner::Scanner::TestMore::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::TestMore::VERSION = '1.018';
}
# ABSTRACT: scanner to find recent Test::More usage
@@ -36,7 +36,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner/Scanner.pm
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner/Scanner.pm
2013-11-04 03:53:50.000000000 +0100
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner;
{
- $Perl::PrereqScanner::Scanner::VERSION = '1.016';
+ $Perl::PrereqScanner::Scanner::VERSION = '1.018';
}
# ABSTRACT: something that scans for prereqs in a Perl document
@@ -39,7 +39,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 DESCRIPTION
@@ -51,7 +51,7 @@
$scanner->scan_for_prereqs($ppi_doc, $version_requirements);
-The scanner should alter alter the L<CPAN::Meta::Requirements> object to
reflect
+The scanner should alter the L<CPAN::Meta::Requirements> object to reflect
its findings about the PPI document.
=head1 AUTHORS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner.pm
new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner.pm
--- old/Perl-PrereqScanner-1.016/lib/Perl/PrereqScanner.pm 2013-06-20
03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/lib/Perl/PrereqScanner.pm 2013-11-04
03:53:50.000000000 +0100
@@ -4,7 +4,7 @@
package Perl::PrereqScanner;
{
- $Perl::PrereqScanner::VERSION = '1.016';
+ $Perl::PrereqScanner::VERSION = '1.018';
}
# ABSTRACT: a tool to scan your Perl code for its prerequisites
@@ -91,6 +91,7 @@
sub scan_module {
my ($self, $module_name) = @_;
+ # consider rewriting to use Module::Which -- rjbs, 2013-11-03
require Module::Path;
if (defined(my $path = Module::Path::module_path($module_name))) {
return $self->scan_file($path);
@@ -111,7 +112,7 @@
=head1 VERSION
-version 1.016
+version 1.018
=head1 SYNOPSIS
@@ -204,6 +205,10 @@
=for Pod::Coverage::TrustPod new
+=head1 SEE ALSO
+
+L<scan-perl-prereqs>, in this distribution, is a command-line interface to the
scanner
+
=head1 AUTHORS
=over 4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/t/00-compile.t
new/Perl-PrereqScanner-1.018/t/00-compile.t
--- old/Perl-PrereqScanner-1.016/t/00-compile.t 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/t/00-compile.t 1970-01-01 01:00:00.000000000
+0100
@@ -1,74 +0,0 @@
-#!perl
-
-use strict;
-use warnings;
-
-use Test::More;
-
-
-
-use File::Find;
-use File::Temp qw{ tempdir };
-
-my @modules;
-find(
- sub {
- return if $File::Find::name !~ /\.pm\z/;
- my $found = $File::Find::name;
- $found =~ s{^lib/}{};
- $found =~ s{[/\\]}{::}g;
- $found =~ s/\.pm$//;
- # nothing to skip
- push @modules, $found;
- },
- 'lib',
-);
-
-sub _find_scripts {
- my $dir = shift @_;
-
- my @found_scripts = ();
- find(
- sub {
- return unless -f;
- my $found = $File::Find::name;
- # nothing to skip
- open my $FH, '<', $_ or do {
- note( "Unable to open $found in ( $! ), skipping" );
- return;
- };
- my $shebang = <$FH>;
- return unless $shebang =~ /^#!.*?\bperl\b\s*$/;
- push @found_scripts, $found;
- },
- $dir,
- );
-
- return @found_scripts;
-}
-
-my @scripts;
-do { push @scripts, _find_scripts($_) if -d $_ }
- for qw{ bin script scripts };
-
-my $plan = scalar(@modules) + scalar(@scripts);
-$plan ? (plan tests => $plan) : (plan skip_all => "no tests to run");
-
-{
- # fake home for cpan-testers
- # no fake requested ## local $ENV{HOME} = tempdir( CLEANUP => 1 );
-
- like( qx{ $^X -Ilib -e "require $_; print '$_ ok'" }, qr/^\s*$_ ok/s, "$_
loaded ok" )
- for sort @modules;
-
- SKIP: {
- eval "use Test::Script 1.05; 1;";
- skip "Test::Script needed to test script compilation",
scalar(@scripts) if $@;
- foreach my $file ( @scripts ) {
- my $script = $file;
- $script =~ s!.*/!!;
- script_compiles( $file, "$script script compiles" );
- }
- }
-
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/t/000-report-versions-tiny.t
new/Perl-PrereqScanner-1.018/t/000-report-versions-tiny.t
--- old/Perl-PrereqScanner-1.016/t/000-report-versions-tiny.t 2013-06-20
03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/t/000-report-versions-tiny.t 2013-11-04
03:53:50.000000000 +0100
@@ -9,7 +9,7 @@
END { $success && done_testing; }
# List our own version used to generate this
-my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.08\n";
+my $v = "\nGenerated by Dist::Zilla::Plugin::ReportVersions::Tiny v1.10\n";
eval { # no excuses!
# report our Perl details
@@ -67,12 +67,10 @@
eval { $v .= pmver('Scalar::Util','any version') };
eval { $v .= pmver('String::RewritePrefix','0.005') };
eval { $v .= pmver('Test::More','0.96') };
-eval { $v .= pmver('Test::Pod','1.41') };
eval { $v .= pmver('Try::Tiny','any version') };
eval { $v .= pmver('lib','any version') };
eval { $v .= pmver('namespace::autoclean','any version') };
eval { $v .= pmver('strict','any version') };
-eval { $v .= pmver('version','0.9901') };
eval { $v .= pmver('warnings','any version') };
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/t/autoprereq.t
new/Perl-PrereqScanner-1.018/t/autoprereq.t
--- old/Perl-PrereqScanner-1.016/t/autoprereq.t 2013-06-20 03:27:47.000000000
+0200
+++ new/Perl-PrereqScanner-1.018/t/autoprereq.t 2013-11-04 03:53:50.000000000
+0100
@@ -77,6 +77,8 @@
prereq_is('require Require; Require->VERSION(0.50);', { Require => '0.50' });
+prereq_is('use Require; Require->VERSION(0.50);', { Require => '0.50' });
+
prereq_is('require Require; Require->VERSION(+0.50);', { Require => 0 });
prereq_is('require Require; foo(); Require->VERSION(1.00);', { Require => 0 });
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/t/scan-module.t
new/Perl-PrereqScanner-1.018/t/scan-module.t
--- old/Perl-PrereqScanner-1.016/t/scan-module.t 2013-06-20
03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/t/scan-module.t 2013-11-04
03:53:50.000000000 +0100
@@ -24,26 +24,6 @@
}
-# Test with some Core modules whose dependencies are unlikely to change (very
often)
-
-module_prereq_is(
- 'Getopt::Std',
- {
- 'Exporter' => 0,
- 'perl' => '5.000',
- },
-);
-
-module_prereq_is(
- 'Carp',
- {
- 'Exporter' => 0,
- 'perl' => '5.006',
- 'strict' => 0,
- 'warnings' => 0,
- },
-);
-
# Test with ourself!
module_prereq_is(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/t/scan-prereqs.t
new/Perl-PrereqScanner-1.018/t/scan-prereqs.t
--- old/Perl-PrereqScanner-1.016/t/scan-prereqs.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Perl-PrereqScanner-1.018/t/scan-prereqs.t 2013-11-04
03:53:50.000000000 +0100
@@ -0,0 +1,56 @@
+#!perl
+use strict;
+use warnings;
+
+use File::Temp qw{ tempfile };
+use Perl::PrereqScanner;
+use PPI::Document;
+use Try::Tiny;
+use File::Spec::Functions;
+
+use Test::More;
+
+# try to be cross-platform
+my $script = catfile(qw(bin scan_prereqs));
+my $files = join(' ', map { catfile(qw(corpus scan), "$_.pl") } qw(foo bar));
+
+# depending on exact output match is a bit fragile and may become cumbersome
+# but we'll try it for now.
+foreach my $test (
+ [default => '' => <<OUTPUT],
+* ${\catfile(qw( corpus scan foo.pl ))}
+File::Spec = 0
+IO::File = 1.08
+strict = 0
+warnings = 0
+* ${\catfile(qw( corpus scan bar.pl ))}
+Exporter = 0
+File::Temp = 0.12
+Time::Local = 0
+strict = 0
+warnings = 0
+OUTPUT
+
+ [combined => '--combine' => <<OUTPUT],
+Exporter = 0
+File::Spec = 0
+File::Temp = 0.12
+IO::File = 1.08
+Time::Local = 0
+strict = 0
+warnings = 0
+OUTPUT
+
+) {
+ my ( $name, $args, $exp ) = @$test;
+ my $command = "$^X $script $args $files";
+ my $out = do {
+ open(my $fh, "$command |")
+ or die "Failed to execute '$command': $!";
+ local $/;
+ <$fh>;
+ };
+ is $out, $exp, "Expected output for $name";
+}
+
+done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Perl-PrereqScanner-1.016/t/scan_prereqs.t
new/Perl-PrereqScanner-1.018/t/scan_prereqs.t
--- old/Perl-PrereqScanner-1.016/t/scan_prereqs.t 2013-06-20
03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/t/scan_prereqs.t 1970-01-01
01:00:00.000000000 +0100
@@ -1,56 +0,0 @@
-#!perl
-use strict;
-use warnings;
-
-use File::Temp qw{ tempfile };
-use Perl::PrereqScanner;
-use PPI::Document;
-use Try::Tiny;
-use File::Spec::Functions;
-
-use Test::More;
-
-# try to be cross-platform
-my $script = catfile(qw(bin scan_prereqs));
-my $files = join(' ', map { catfile(qw(corpus scan), "$_.pl") } qw(foo bar));
-
-# depending on exact output match is a bit fragile and may become cumbersome
-# but we'll try it for now.
-foreach my $test (
- [default => '' => <<OUTPUT],
-* ${\catfile(qw( corpus scan foo.pl ))}
-File::Spec = 0
-IO::File = 1.08
-strict = 0
-warnings = 0
-* ${\catfile(qw( corpus scan bar.pl ))}
-Exporter = 0
-File::Temp = 0.12
-Time::Local = 0
-strict = 0
-warnings = 0
-OUTPUT
-
- [combined => '--combine' => <<OUTPUT],
-Exporter = 0
-File::Spec = 0
-File::Temp = 0.12
-IO::File = 1.08
-Time::Local = 0
-strict = 0
-warnings = 0
-OUTPUT
-
-) {
- my ( $name, $args, $exp ) = @$test;
- my $command = "$^X $script $args $files";
- my $out = do {
- open(my $fh, "$command |")
- or die "Failed to execute '$command': $!";
- local $/;
- <$fh>;
- };
- is $out, $exp, "Expected output for $name";
-}
-
-done_testing;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Perl-PrereqScanner-1.016/xt/release/changes_has_content.t
new/Perl-PrereqScanner-1.018/xt/release/changes_has_content.t
--- old/Perl-PrereqScanner-1.016/xt/release/changes_has_content.t
2013-06-20 03:27:47.000000000 +0200
+++ new/Perl-PrereqScanner-1.018/xt/release/changes_has_content.t
2013-11-04 03:53:50.000000000 +0100
@@ -4,7 +4,7 @@
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '1.016';
+my $newver = '1.018';
my $trial_token = '-TRIAL';
SKIP: {
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]