r76521 - in /trunk/libperl-prereqscanner-perl: ./ bin/ debian/ lib/Perl/ lib/Perl/PrereqScanner/ lib/Perl/PrereqScanner/Scanner/ t/
mxey-guest at users.alioth.debian.org
mxey-guest at users.alioth.debian.org
Fri Jun 24 23:35:34 UTC 2011
Author: mxey-guest
Date: Fri Jun 24 23:35:32 2011
New Revision: 76521
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=76521
Log:
New upstream release
Modified:
trunk/libperl-prereqscanner-perl/Changes
trunk/libperl-prereqscanner-perl/LICENSE
trunk/libperl-prereqscanner-perl/META.json
trunk/libperl-prereqscanner-perl/META.yml
trunk/libperl-prereqscanner-perl/Makefile.PL
trunk/libperl-prereqscanner-perl/README
trunk/libperl-prereqscanner-perl/bin/scan_prereqs
trunk/libperl-prereqscanner-perl/debian/changelog
trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner.pm
trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner.pm
trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Moose.pm
trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Perl5.pm
trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/TestMore.pm
trunk/libperl-prereqscanner-perl/t/autoprereq.t
Modified: trunk/libperl-prereqscanner-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/Changes?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/Changes (original)
+++ trunk/libperl-prereqscanner-perl/Changes Fri Jun 24 23:35:32 2011
@@ -1,4 +1,12 @@
Revision history for Perl-PrereqScanner
+
+1.004 2011-05-30 21:02:52 America/New_York
+ - avoid calling a method on undef (i.e., cope with PPI doing surprising
+ things)
+
+1.003 2011-05-16 15:46:02 America/New_York
+ - fix a bug that caused things like "within" and "trextends" to trigger
+ the Moose scanner
1.002 2011-02-02 10:21:55 Europe/Paris
- fix rt#61608 - missing description in whatisentry for TestMore.pm
Modified: trunk/libperl-prereqscanner-perl/LICENSE
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/LICENSE?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/LICENSE (original)
+++ trunk/libperl-prereqscanner-perl/LICENSE Fri Jun 24 23:35:32 2011
@@ -18,15 +18,16 @@
The GNU General Public License, Version 1, February 1989
- GNU GENERAL PUBLIC LICENSE
- Version 1, February 1989
+ GNU GENERAL PUBLIC LICENSE
+ Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307, 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.
- Preamble
+ Preamble
The license agreements of most software companies try to keep users
at the mercy of those companies. By contrast, our General Public
@@ -67,7 +68,7 @@
The precise terms and conditions for copying, distribution and
modification follow.
- GNU GENERAL PUBLIC LICENSE
+ GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License Agreement applies to any program or other work which
@@ -185,7 +186,7 @@
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
- NO WARRANTY
+ NO WARRANTY
9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -207,9 +208,9 @@
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
- END OF TERMS AND CONDITIONS
-
- Appendix: How to Apply These Terms to Your New Programs
+ END OF TERMS AND CONDITIONS
+
+ Appendix: How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to humanity, the best way to achieve this is to make it
@@ -235,8 +236,9 @@
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with this program; if not, write to the Free Software Foundation,
- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
+
Also add information on how to contact you by electronic and paper mail.
Modified: trunk/libperl-prereqscanner-perl/META.json
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/META.json?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/META.json (original)
+++ trunk/libperl-prereqscanner-perl/META.json Fri Jun 24 23:35:32 2011
@@ -5,7 +5,7 @@
"Ricardo Signes <rjbs at cpan.org>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400",
+ "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930",
"license" : [
"perl_5"
],
@@ -17,7 +17,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.31"
+ "ExtUtils::MakeMaker" : "6.30"
}
},
"runtime" : {
@@ -47,130 +47,136 @@
},
"release_status" : "stable",
"resources" : {
+ "homepage" : "http://github.com/rjbs/perl-prereqscanner",
"repository" : {
"type" : "git",
- "url" : "git://github.com/jquelin/perl-prereqscanner.git",
- "web" : "http://github.com/jquelin/perl-prereqscanner"
+ "url" : "http://github.com/rjbs/perl-prereqscanner",
+ "web" : "http://github.com/rjbs/perl-prereqscanner"
},
"x_MailingList" : "http://www.listbox.com/subscribe/?list_id=139292"
},
- "version" : "1.002",
+ "version" : "1.004",
"x_Dist_Zilla" : {
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "4.200000"
+ "version" : "4.200006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
+ "name" : "@RJBS/CheckPrereqsIndexed",
+ "version" : "0.003"
},
{
"class" : "Dist::Zilla::Plugin::GatherDir",
"name" : "@RJBS/@Basic/GatherDir",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@RJBS/@Basic/PruneCruft",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ManifestSkip",
"name" : "@RJBS/@Basic/ManifestSkip",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@RJBS/@Basic/MetaYAML",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@RJBS/@Basic/License",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@RJBS/@Basic/Readme",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ExtraTests",
"name" : "@RJBS/@Basic/ExtraTests",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@RJBS/@Basic/ExecDir",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@RJBS/@Basic/ShareDir",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
"name" : "@RJBS/@Basic/MakeMaker",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@RJBS/@Basic/Manifest",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@RJBS/@Basic/TestRelease",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@RJBS/@Basic/ConfirmRelease",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@RJBS/@Basic/UploadToCPAN",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@RJBS/AutoPrereqs",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
"name" : "@RJBS/Git::NextVersion",
- "version" : "1.103520"
+ "version" : "1.111460"
},
{
"class" : "Dist::Zilla::Plugin::PkgVersion",
"name" : "@RJBS/PkgVersion",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@RJBS/MetaConfig",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@RJBS/MetaJSON",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@RJBS/NextRelease",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@RJBS/PodSyntaxTests",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::Repository",
"name" : "@RJBS/Repository",
- "version" : "0.17"
+ "version" : "0.18"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -181,7 +187,7 @@
}
},
"name" : "@RJBS/TestMoreWithSubtests",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -189,44 +195,59 @@
"version" : "3.101641"
},
{
+ "class" : "Dist::Zilla::Plugin::GithubMeta",
+ "name" : "@RJBS/GithubMeta",
+ "version" : "0.12"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Git::Check",
"name" : "@RJBS/@Git/Check",
- "version" : "1.103520"
+ "version" : "1.111460"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
"name" : "@RJBS/@Git/Commit",
- "version" : "1.103520"
+ "version" : "1.111460"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
"name" : "@RJBS/@Git/Tag",
- "version" : "1.103520"
+ "version" : "1.111460"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
"name" : "@RJBS/@Git/Push",
- "version" : "1.103520"
+ "version" : "1.111460"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "4.200000"
+ "version" : "4.200006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":IncModules",
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "4.200000"
+ "version" : "4.200006"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "4.200000"
+ "version" : "4.200006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FinderCode",
+ "name" : ":MainModule",
+ "version" : "4.200006"
}
],
"zilla" : {
@@ -234,7 +255,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "4.200000"
+ "version" : "4.200006"
}
}
}
Modified: trunk/libperl-prereqscanner-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/META.yml?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/META.yml (original)
+++ trunk/libperl-prereqscanner-perl/META.yml Fri Jun 24 23:35:32 2011
@@ -9,9 +9,9 @@
Test::More: 0.96
Try::Tiny: 0
configure_requires:
- ExtUtils::MakeMaker: 6.31
+ ExtUtils::MakeMaker: 6.30
dynamic_config: 0
-generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400'
+generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,103 +31,108 @@
namespace::autoclean: 0
perl: 5.008
resources:
- repository: git://github.com/jquelin/perl-prereqscanner.git
+ homepage: http://github.com/rjbs/perl-prereqscanner
+ repository: http://github.com/rjbs/perl-prereqscanner
x_MailingList: http://www.listbox.com/subscribe/?list_id=139292
-version: 1.002
+version: 1.004
x_Dist_Zilla:
plugins:
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: 4.200000
+ version: 4.200006
+ -
+ class: Dist::Zilla::Plugin::CheckPrereqsIndexed
+ name: '@RJBS/CheckPrereqsIndexed'
+ version: 0.003
-
class: Dist::Zilla::Plugin::GatherDir
name: '@RJBS/@Basic/GatherDir'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::PruneCruft
name: '@RJBS/@Basic/PruneCruft'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ManifestSkip
name: '@RJBS/@Basic/ManifestSkip'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@RJBS/@Basic/MetaYAML'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::License
name: '@RJBS/@Basic/License'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Readme
name: '@RJBS/@Basic/Readme'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ExtraTests
name: '@RJBS/@Basic/ExtraTests'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ExecDir
name: '@RJBS/@Basic/ExecDir'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ShareDir
name: '@RJBS/@Basic/ShareDir'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MakeMaker
name: '@RJBS/@Basic/MakeMaker'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Manifest
name: '@RJBS/@Basic/Manifest'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::TestRelease
name: '@RJBS/@Basic/TestRelease'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@RJBS/@Basic/ConfirmRelease'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@RJBS/@Basic/UploadToCPAN'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@RJBS/AutoPrereqs'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Git::NextVersion
name: '@RJBS/Git::NextVersion'
- version: 1.103520
+ version: 1.111460
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@RJBS/PkgVersion'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@RJBS/MetaConfig'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@RJBS/MetaJSON'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::NextRelease
name: '@RJBS/NextRelease'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@RJBS/PodSyntaxTests'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::Repository
name: '@RJBS/Repository'
- version: 0.17
+ version: 0.18
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -135,45 +140,57 @@
phase: test
type: requires
name: '@RJBS/TestMoreWithSubtests'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::PodWeaver
name: '@RJBS/PodWeaver'
version: 3.101641
-
+ class: Dist::Zilla::Plugin::GithubMeta
+ name: '@RJBS/GithubMeta'
+ version: 0.12
+ -
class: Dist::Zilla::Plugin::Git::Check
name: '@RJBS/@Git/Check'
- version: 1.103520
+ version: 1.111460
-
class: Dist::Zilla::Plugin::Git::Commit
name: '@RJBS/@Git/Commit'
- version: 1.103520
+ version: 1.111460
-
class: Dist::Zilla::Plugin::Git::Tag
name: '@RJBS/@Git/Tag'
- version: 1.103520
+ version: 1.111460
-
class: Dist::Zilla::Plugin::Git::Push
name: '@RJBS/@Git/Push'
- version: 1.103520
+ version: 1.111460
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 4.200000
+ version: 4.200006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':IncModules'
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 4.200000
+ version: 4.200006
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 4.200000
+ version: 4.200006
+ -
+ class: Dist::Zilla::Plugin::FinderCode
+ name: ':MainModule'
+ version: 4.200006
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: 0
- version: 4.200000
+ version: 4.200006
Modified: trunk/libperl-prereqscanner-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/Makefile.PL?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/Makefile.PL (original)
+++ trunk/libperl-prereqscanner-perl/Makefile.PL Fri Jun 24 23:35:32 2011
@@ -4,7 +4,7 @@
BEGIN { require 5.008; }
-use ExtUtils::MakeMaker 6.31;
+use ExtUtils::MakeMaker 6.30;
@@ -18,7 +18,7 @@
'Try::Tiny' => '0'
},
'CONFIGURE_REQUIRES' => {
- 'ExtUtils::MakeMaker' => '6.31'
+ 'ExtUtils::MakeMaker' => '6.30'
},
'DISTNAME' => 'Perl-PrereqScanner',
'EXE_FILES' => [
@@ -39,7 +39,7 @@
'Version::Requirements' => '0.100630',
'namespace::autoclean' => '0'
},
- 'VERSION' => '1.002',
+ 'VERSION' => '1.004',
'test' => {
'TESTS' => 't/*.t'
}
Modified: trunk/libperl-prereqscanner-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/README?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/README (original)
+++ trunk/libperl-prereqscanner-perl/README Fri Jun 24 23:35:32 2011
@@ -1,7 +1,7 @@
This archive contains the distribution Perl-PrereqScanner,
-version 1.002:
+version 1.004:
a tool to scan your Perl code for its prerequisites
Modified: trunk/libperl-prereqscanner-perl/bin/scan_prereqs
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/bin/scan_prereqs?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/bin/scan_prereqs (original)
+++ trunk/libperl-prereqscanner-perl/bin/scan_prereqs Fri Jun 24 23:35:32 2011
@@ -1,7 +1,7 @@
#!/usr/bin/perl
package Perl::PrereqScanner::App;
BEGIN {
- $Perl::PrereqScanner::App::VERSION = '1.002';
+ $Perl::PrereqScanner::App::VERSION = '1.004';
}
# ABSTRACT: scan your working dir for likely prereqs
@@ -34,12 +34,21 @@
=head1 VERSION
-version 1.002
+version 1.004
=head1 AUTHORS
- Jerome Quelin
- Ricardo Signes <rjbs at cpan.org>
+=over 4
+
+=item *
+
+Jerome Quelin
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: trunk/libperl-prereqscanner-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/debian/changelog?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/debian/changelog (original)
+++ trunk/libperl-prereqscanner-perl/debian/changelog Fri Jun 24 23:35:32 2011
@@ -1,3 +1,9 @@
+libperl-prereqscanner-perl (1.004-1) UNRELEASED; urgency=low
+
+ * New upstream release
+
+ -- Maximilian Gass <mxey at cloudconnected.org> Sat, 25 Jun 2011 01:35:29 +0200
+
libperl-prereqscanner-perl (1.002-1) unstable; urgency=low
* Team upload.
Modified: trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner.pm?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner.pm (original)
+++ trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner.pm Fri Jun 24 23:35:32 2011
@@ -4,7 +4,7 @@
package Perl::PrereqScanner;
BEGIN {
- $Perl::PrereqScanner::VERSION = '1.002';
+ $Perl::PrereqScanner::VERSION = '1.004';
}
use Moose;
# ABSTRACT: a tool to scan your Perl code for its prerequisites
@@ -98,7 +98,7 @@
=head1 VERSION
-version 1.002
+version 1.004
=head1 SYNOPSIS
@@ -184,8 +184,17 @@
=head1 AUTHORS
- Jerome Quelin
- Ricardo Signes <rjbs at cpan.org>
+=over 4
+
+=item *
+
+Jerome Quelin
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner.pm?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner.pm (original)
+++ trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner.pm Fri Jun 24 23:35:32 2011
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner;
BEGIN {
- $Perl::PrereqScanner::Scanner::VERSION = '1.002';
+ $Perl::PrereqScanner::Scanner::VERSION = '1.004';
}
use Moose::Role;
# ABSTRACT: something that scans for prereqs in a Perl document
@@ -37,7 +37,7 @@
=head1 VERSION
-version 1.002
+version 1.004
=head1 DESCRIPTION
@@ -54,8 +54,17 @@
=head1 AUTHORS
- Jerome Quelin
- Ricardo Signes <rjbs at cpan.org>
+=over 4
+
+=item *
+
+Jerome Quelin
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Moose.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Moose.pm?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Moose.pm (original)
+++ trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Moose.pm Fri Jun 24 23:35:32 2011
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::Moose;
BEGIN {
- $Perl::PrereqScanner::Scanner::Moose::VERSION = '1.002';
+ $Perl::PrereqScanner::Scanner::Moose::VERSION = '1.004';
}
use Moose;
with 'Perl::PrereqScanner::Scanner';
@@ -27,7 +27,7 @@
# PPI::Token::Structure
map { [ $_->children ] }
- grep { $_->child(0)->literal =~ m{\Awith|extends\z} }
+ grep { $_->child(0)->literal =~ m{\A(?:with|extends)\z} }
grep { $_->child(0)->isa('PPI::Token::Word') }
@{ $ppi_doc->find('PPI::Statement') || [] };
@@ -39,10 +39,12 @@
while ( $hunkdata[0]->isa('PPI::Token::Whitespace') ) { shift @hunkdata }
if ( $hunkdata[1]->isa('PPI::Structure::List') ) {
@hunkdata = $hunkdata[1]->children;
+ next unless @hunkdata;
while ( $hunkdata[0]->isa('PPI::Token::Whitespace') ) { shift @hunkdata }
}
if ( $hunkdata[0]->isa('PPI::Statement::Expression') ) {
@hunkdata = $hunkdata[0]->children;
+ next unless @hunkdata;
}
# possibly contains a version declaration!
@@ -122,7 +124,7 @@
=head1 VERSION
-version 1.002
+version 1.004
=head1 DESCRIPTION
@@ -142,8 +144,17 @@
=head1 AUTHORS
- Jerome Quelin
- Ricardo Signes <rjbs at cpan.org>
+=over 4
+
+=item *
+
+Jerome Quelin
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Perl5.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Perl5.pm?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Perl5.pm (original)
+++ trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/Perl5.pm Fri Jun 24 23:35:32 2011
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::Perl5;
BEGIN {
- $Perl::PrereqScanner::Scanner::Perl5::VERSION = '1.002';
+ $Perl::PrereqScanner::Scanner::Perl5::VERSION = '1.004';
}
use Moose;
with 'Perl::PrereqScanner::Scanner';
@@ -59,7 +59,7 @@
=head1 VERSION
-version 1.002
+version 1.004
=head1 DESCRIPTION
@@ -79,8 +79,17 @@
=head1 AUTHORS
- Jerome Quelin
- Ricardo Signes <rjbs at cpan.org>
+=over 4
+
+=item *
+
+Jerome Quelin
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/TestMore.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/TestMore.pm?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/TestMore.pm (original)
+++ trunk/libperl-prereqscanner-perl/lib/Perl/PrereqScanner/Scanner/TestMore.pm Fri Jun 24 23:35:32 2011
@@ -3,7 +3,7 @@
package Perl::PrereqScanner::Scanner::TestMore;
BEGIN {
- $Perl::PrereqScanner::Scanner::TestMore::VERSION = '1.002';
+ $Perl::PrereqScanner::Scanner::TestMore::VERSION = '1.004';
}
# ABSTRACT: scanner to find recent Test::More usage
@@ -36,7 +36,7 @@
=head1 VERSION
-version 1.002
+version 1.004
=head1 DESCRIPTION
@@ -46,8 +46,17 @@
=head1 AUTHORS
- Jerome Quelin
- Ricardo Signes <rjbs at cpan.org>
+=over 4
+
+=item *
+
+Jerome Quelin
+
+=item *
+
+Ricardo Signes <rjbs at cpan.org>
+
+=back
=head1 COPYRIGHT AND LICENSE
Modified: trunk/libperl-prereqscanner-perl/t/autoprereq.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libperl-prereqscanner-perl/t/autoprereq.t?rev=76521&op=diff
==============================================================================
--- trunk/libperl-prereqscanner-perl/t/autoprereq.t (original)
+++ trunk/libperl-prereqscanner-perl/t/autoprereq.t Fri Jun 24 23:35:32 2011
@@ -95,6 +95,8 @@
},
);
+prereq_is("within('With::Single');", { });
+
prereq_is(
"with 'With::Single', 'With::Double';",
{
More information about the Pkg-perl-cvs-commits
mailing list