Skip to content

Commit

Permalink
Update CPANPLUS to CPAN version 0.9116
Browse files Browse the repository at this point in the history
  [DELTA]

  Changes for 0.9116      Thu Jan  5 22:45:06 2012
  ================================================
  * add NAME headings in modules with POD, Debian
    Lintian fixes, http://bugs.debian.org/65045
  * Implement reload command in the shell
  • Loading branch information
bingos committed Jan 6, 2012
1 parent 492ebab commit ce6b844
Show file tree
Hide file tree
Showing 31 changed files with 43 additions and 32 deletions.
2 changes: 1 addition & 1 deletion Porting/Maintainers.pl
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ package Maintainers;

'CPANPLUS' => {
'MAINTAINER' => 'kane',
'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9115.tar.gz',
'DISTRIBUTION' => 'BINGOS/CPANPLUS-0.9116.tar.gz',
'FILES' => q[cpan/CPANPLUS],
'EXCLUDED' => [
qr{^inc/},
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ BEGIN {
use vars qw( @EXPORT @ISA $VERSION );
@EXPORT = qw( shell fetch get install );
@ISA = qw( Exporter );
$VERSION = "0.9115"; #have to hardcode or cpan.org gets unhappy
$VERSION = "0.9116"; #have to hardcode or cpan.org gets unhappy
}

### purely for backward compatibility, so we can call it from the commandline:
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Backend.pm
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ $ENV{'PERL5_CPANPLUS_IS_VERSION'} = __PACKAGE__->VERSION;
=head1 NAME
CPANPLUS::Backend
CPANPLUS::Backend - programmer's interface to CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Backend/RV.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ local $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Backend::RV
CPANPLUS::Backend::RV - return value objects
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Config.pm
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ use version;
=head1 NAME
CPANPLUS::Config
CPANPLUS::Config - configuration defaults and heuristics for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Configure.pm
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ for my $meth ( qw[conf _lib _perl5lib]) {
=head1 NAME
CPANPLUS::Configure
CPANPLUS::Configure - configuration for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Dist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ local $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Dist
CPANPLUS::Dist - base class for plugins
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Dist/Autobundle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use base qw[CPANPLUS::Dist::Base];

=head1 NAME
CPANPLUS::Dist::Autobundle
CPANPLUS::Dist::Autobundle - distribution class for installation snapshots
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Dist/MM.pm
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ local $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Dist::MM
CPANPLUS::Dist::MM - distribution class for MakeMaker related modules
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Error.pm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use Log::Message private => 0;;
=head1 NAME
CPANPLUS::Error
CPANPLUS::Error - error handling for CPANPLUS
=head1 SYNOPSIS
Expand Down
4 changes: 4 additions & 0 deletions cpan/CPANPLUS/lib/CPANPLUS/FAQ.pod
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

=head1 NAME

CPANPLUS::FAQ - CPANPLUS Frequently Asked Questions

=head1 NAME

CPANPLUS::FAQ

=head1 DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Hacking.pod
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

=head1 NAME

CPANPLUS::Hacking
CPANPLUS::Hacking - developing CPANPLUS

=head1 DESCRIPTION

Expand Down
4 changes: 2 additions & 2 deletions cpan/CPANPLUS/lib/CPANPLUS/Internals.pm
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ use vars qw[@ISA $VERSION];
CPANPLUS::Internals::Report
];

$VERSION = "0.9115";
$VERSION = "0.9116";

=pod
=head1 NAME
CPANPLUS::Internals
CPANPLUS::Internals - CPANPLUS internals
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Internals/Extract.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ local $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Internals::Extract
CPANPLUS::Internals::Extract - internals for archive extraction
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Internals/Fetch.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Internals::Fetch
CPANPLUS::Internals::Fetch - internals for fetching files
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Internals/Report.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ require CPANPLUS::Internals;

=head1 NAME
CPANPLUS::Internals::Report
CPANPLUS::Internals::Report - internals for sending test reports
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Internals/Search.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Internals::Search
CPANPLUS::Internals::Search - internals for searching for modules
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Internals/Source.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Internals::Source
CPANPLUS::Internals::Source - internals for updating source files
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Internals/Utils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ local $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Internals::Utils
CPANPLUS::Internals::Utils - convenience functions for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Module.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Module
CPANPLUS::Module - CPAN module objects for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Module/Author.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ local $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Module::Author
CPANPLUS::Module::Author - CPAN author object for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Module/Author/Fake.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Module::Author::Fake
CPANPLUS::Module::Author::Fake - dummy author object for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Module/Checksums.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $Params::Check::VERBOSE = 1;

=head1 NAME
CPANPLUS::Module::Checksums
CPANPLUS::Module::Checksums - checking the checksum of a distribution
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Module/Fake.pm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $Params::Check::VERBOSE = 1;
=head1 NAME
CPANPLUS::Module::Fake
CPANPLUS::Module::Fake - fake module object for internal use
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Selfupdate.pm
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $Params::Check::VERBOSE = 1;

=head1 NAME
CPANPLUS::Selfupdate
CPANPLUS::Selfupdate - self-updating for CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Shell.pm
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $DEFAULT = SHELL_DEFAULT;
=head1 NAME
CPANPLUS::Shell
CPANPLUS::Shell - base class for CPANPLUS shells
=head1 SYNOPSIS
Expand Down
11 changes: 9 additions & 2 deletions cpan/CPANPLUS/lib/CPANPLUS/Shell/Default.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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.9115";
$VERSION = "0.9116";
}

load CPANPLUS::Shell;
Expand Down Expand Up @@ -56,6 +56,7 @@ my $map = {
'u' => '_uninstall',
'/' => '_meta', # undocumented for now
'c' => '_reports',
'e' => '_reload_shell',
};
### free letters: e g j k n y ###

Expand All @@ -73,7 +74,7 @@ my $Prompt = $Brand . '> ';
=head1 NAME
CPANPLUS::Shell::Default
CPANPLUS::Shell::Default - the default CPANPLUS shell
=head1 SYNOPSIS
Expand Down Expand Up @@ -141,6 +142,7 @@ CPANPLUS::Shell::Default
cpanp> w # show last search results again
cpanp> q # quit the shell
cpanp> e # exit the shell and reload
cpanp> /plugins # list available plugins
cpanp> /? PLUGIN # list help test of <PLUGIN>
Expand Down Expand Up @@ -544,6 +546,7 @@ sub _quit {
loc('[General]' ),
loc(' h | ? # display help' ),
loc(' q # exit' ),
loc(' e # exit and reload' ),
loc(' v # version information' ),
loc('[Search]' ),
loc(' a AUTHOR ... # search by author(s)' ),
Expand Down Expand Up @@ -1896,6 +1899,10 @@ sub _read_configuration_from_rc {
}
}

sub _reload_shell {
{ exec ($^X, '-MCPANPLUS', '-e', 'shell') }; print STDERR "couldn't exec foo: $!";
}

1;

__END__
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext';

=head1 NAME
CPANPLUS::Shell::Default::Plugins::CustomSource
CPANPLUS::Shell::Default::Plugins::CustomSource - add custom sources to CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Remote.pm
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext';

=head1 NAME
CPANPLUS::Shell::Default::Plugins::Remote
CPANPLUS::Shell::Default::Plugins::Remote - connect to a remote CPANPLUS
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion cpan/CPANPLUS/lib/CPANPLUS/Shell/Default/Plugins/Source.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use Locale::Maketext::Simple Class => 'CPANPLUS', Style => 'gettext';

=head1 NAME
CPANPLUS::Shell::Default::Plugins::Source
CPANPLUS::Shell::Default::Plugins::Source - read in CPANPLUS commands
=head1 SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion pod/perldelta.pod
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Version::Requirements has now been merged as CPAN::Meta::Requirements.

=item *

L<CPANPLUS> has been upgraded from version 0.9113 to version 0.9115.
L<CPANPLUS> has been upgraded from version 0.9113 to version 0.9116.

=item *

Expand Down

0 comments on commit ce6b844

Please sign in to comment.