This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update CPANPLUS to CPAN version 0.9131
authorChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Wed, 19 Sep 2012 11:40:02 +0000 (12:40 +0100)
committerChris 'BinGOs' Williams <chris@bingosnet.co.uk>
Wed, 19 Sep 2012 11:40:02 +0000 (12:40 +0100)
  [DELTA]

  Changes for 0.9131      Tue Sep 18 14:10:16 2012
  ================================================
  * Add Pod::* modules to reported toolchain modules
  * Resolve issue with $cb->search() and SQLite
    source engine

Porting/Maintainers.pl
cpan/CPANPLUS/lib/CPANPLUS.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals/Constants/Report.pm
cpan/CPANPLUS/lib/CPANPLUS/Internals/Source/SQLite.pm
cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm

index 3dcdadf..e107f71 100755 (executable)
@@ -451,7 +451,7 @@ use File::Glob qw(:case);
 
     'CPANPLUS' => {
         'MAINTAINER'   => 'kane',
-        'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9130.tar.gz',
+        'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9131.tar.gz',
         'FILES'        => q[cpan/CPANPLUS],
         'EXCLUDED'     => [
             qr{^inc/},
index e03a3fb..74d2894 100644 (file)
@@ -13,7 +13,7 @@ BEGIN {
     use vars        qw( @EXPORT @ISA $VERSION );
     @EXPORT     =   qw( shell fetch get install );
     @ISA        =   qw( Exporter );
-    $VERSION = "0.9130";     #have to hardcode or cpan.org gets unhappy
+    $VERSION = "0.9131";     #have to hardcode or cpan.org gets unhappy
 }
 
 ### purely for backward compatibility, so we can call it from the commandline:
index 37b8596..c91acbd 100644 (file)
@@ -42,7 +42,7 @@ use vars qw[@ISA $VERSION];
             CPANPLUS::Internals::Report
         ];
 
-$VERSION = "0.9130";
+$VERSION = "0.9131";
 
 =pod
 
index 294de69..b2471b1 100644 (file)
@@ -347,6 +347,8 @@ use constant REPORT_TOOLCHAIN_VERSIONS
                                     ExtUtils::ParseXS
                                     File::Spec
                                     Module::Build
+                                    Pod::Parser
+                                    Pod::Simple
                                     Test::Harness
                                     Test::More
                                     version
index 47bdbeb..6bd3fdb 100644 (file)
@@ -240,7 +240,6 @@ CPANPLUS::Internals::Source::SQLite - SQLite implementation
         *$sub = sub {
             my $self = shift;
             my %hash = @_;
-            my $dbh  = $self->__sqlite_dbh;
 
             my($list,$type);
             my $tmpl = {
@@ -256,9 +255,15 @@ CPANPLUS::Internals::Source::SQLite - SQLite implementation
             ### we aliased 'module' to 'name', so change that here too
             $type = 'module' if $type eq 'name';
 
+            my $meth = $table .'_tree';
+
+            {
+              my $throw = $self->$meth;
+            }
+
+            my $dbh  = $self->__sqlite_dbh;
             my $res = $dbh->query( "SELECT * from $table" );
 
-            my $meth = $table .'_tree';
             my @rv = map  { $self->$meth( $_->{$key} ) }
                      grep { allow( $_->{$type} => $list ) } $res->hashes;
 
index abed7cb..67adde2 100644 (file)
@@ -26,7 +26,7 @@ local $Data::Dumper::Indent     = 1; # for dumpering from !
 BEGIN {
     use vars        qw[ $VERSION @ISA ];
     @ISA        =   qw[ CPANPLUS::Shell::_Base::ReadLine ];
-    $VERSION = "0.9130";
+    $VERSION = "0.9131";
 }
 
 load CPANPLUS::Shell;