Browse files

rename some modules.

  • Loading branch information...
1 parent d8fb661 commit 4cdf974a3927de5068b16c9e6fd5b56e68c64cff @makamaka committed Dec 21, 2009
Showing with 25 additions and 25 deletions.
  1. +1 −1 Changes
  2. +1 −1 MANIFEST
  3. +3 −3 Makefile.PL
  4. +6 −6 README
  5. +2 −2 example/backpan_inst.pl
  6. +6 −6 lib/{BACKPAN → BackPAN}/Downloader.pm
  7. +2 −2 t/01_compile.t
  8. +4 −4 t/02_base.t
View
2 Changes
@@ -1,4 +1,4 @@
-Revision history for Perl extension BACKPAN::Downloader.
+Revision history for Perl extension BackPAN::Downloader.
0.01 Mon Dec 21 11:44:25 2009
- original version
View
2 MANIFEST
@@ -1,5 +1,5 @@
Changes
-lib/BACKPAN/Downloader.pm
+lib/BackPAN/Downloader.pm
example/backpan_inst.pl
Makefile.PL
MANIFEST
View
6 Makefile.PL
@@ -4,8 +4,8 @@ use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
- 'NAME' => 'BACKPAN::Downloader',
- 'VERSION_FROM' => 'lib/BACKPAN/Downloader.pm', # finds $VERSION
+ 'NAME' => 'BackPAN::Downloader',
+ 'VERSION_FROM' => 'lib/BackPAN/Downloader.pm', # finds $VERSION
'PREREQ_PM' => {
'Test::More' => 0,
'Mouse' => 0,
@@ -17,7 +17,7 @@ WriteMakefile(
'Try::Tiny' => 0.02,
},
($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT_FROM => 'lib/BACKPAN/Downloader.pm', # retrieve abstract from module
+ (ABSTRACT_FROM => 'lib/BackPAN/Downloader.pm', # retrieve abstract from module
AUTHOR => 'Makamaka Hannyaharamitu, E<lt>makamaka[at]cpan.orgE<gt>') : ()),
( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'perl', ) : () ),
);
View
12 README
@@ -1,7 +1,7 @@
-BACKPAN::Downloader version 0.01
+BackPAN::Downloader version 0.01
========================
-an installer of BACKPAN modules
+an installer of BackPAN modules
INSTALLATION
@@ -14,21 +14,21 @@ To install this module type the following:
SYNOPSYS
use strict;
- use BACKPAN::Downloader;
+ use BackPAN::Downloader;
- my $backpan = BACKPAN::Downloader->new( temp_dir => './tmp' );
+ my $backpan = BackPAN::Downloader->new( temp_dir => './tmp' );
my $distname = 'NOT::IN::CPAN::MODULE';
$backpan->lookup( $distname ) or die $backpan->error;
$backpan->download() or die sprintf("Can't download. (%s)", $backpan->error);
$backpan->install() or die "Can't install, " . $backpan->error;
DESCRIPTION
- This is a BACKPAN module installer.
+ This is a BackPAN module installer.
METHODS
new
- $backpan = BACKPAN::Downloader->new;
+ $backpan = BackPAN::Downloader->new;
Creates a new object. It can take an named option:
View
4 example/backpan_inst.pl
@@ -3,11 +3,11 @@
use strict;
use warnings;
use strict;
-use BACKPAN::Downloader;
+use BackPAN::Downloader;
@ARGV or die "Distribution name?";
-my $backpan = BACKPAN::Downloader->new( temp_dir => './tmp' );
+my $backpan = BackPAN::Downloader->new( temp_dir => './tmp' );
for my $distname ( @ARGV ) {
View
12 lib/BACKPAN/Downloader.pm → lib/BackPAN/Downloader.pm
@@ -1,4 +1,4 @@
-package BACKPAN::Downloader;
+package BackPAN::Downloader;
use Mouse;
use Parse::BACKPAN::Packages;
@@ -152,14 +152,14 @@ __END__
=head1 NAME
-BACKPAN::Downloader - an installer of BACKPAN modules
+BackPAN::Downloader - an installer of BackPAN modules
=head1 SYNOPSYS
use strict;
- use BACKPAN::Downloader;
+ use BackPAN::Downloader;
- my $backpan = BACKPAN::Downloader->new( temp_dir => './tmp' );
+ my $backpan = BackPAN::Downloader->new( temp_dir => './tmp' );
my $distname = 'NOT::IN::CPAN::MODULE';
$backpan->lookup( $distname ) or die $backpan->error;
@@ -168,13 +168,13 @@ BACKPAN::Downloader - an installer of BACKPAN modules
=head1 DESCRIPTION
-This is a BACKPAN module installer.
+This is a BackPAN module installer.
=head1 METHODS
=head2 new
- $backpan = BACKPAN::Downloader->new;
+ $backpan = BackPAN::Downloader->new;
Creates a new object.
It can take an named option:
View
4 t/01_compile.t
@@ -6,6 +6,6 @@ use warnings;
use Test::More tests => 1;
BEGIN {
- use_ok "BACKPAN::Downloader";
- plan skip_all => "Cannot load BACKPAN::Downloader" if $@;
+ use_ok "BackPAN::Downloader";
+ plan skip_all => "Cannot load BackPAN::Downloader" if $@;
}
View
8 t/02_base.t
@@ -6,14 +6,14 @@ use warnings;
use Test::More tests => 4;
BEGIN {
- use_ok "BACKPAN::Downloader";
- plan skip_all => "Cannot load BACKPAN::Downloader" if $@;
+ use_ok "BackPAN::Downloader";
+ plan skip_all => "Cannot load BackPAN::Downloader" if $@;
}
-my $backpan = BACKPAN::Downloader->new;
+my $backpan = BackPAN::Downloader->new;
SKIP: {
- skip "coludn't create BACKPAN::Downloader.", 3 unless $backpan;
+ skip "coludn't create BackPAN::Downloader.", 3 unless $backpan;
diag('Please wait a minuts');

0 comments on commit 4cdf974

Please sign in to comment.