Author: turnstep
Date: Mon Apr 14 08:08:05 2008
New Revision: 11078
Added:
DBD-Pg/trunk/lib/
DBD-Pg/trunk/lib/Bundle/
DBD-Pg/trunk/lib/Bundle/DBD/
DBD-Pg/trunk/lib/Bundle/DBD/Pg.pm
Modified:
DBD-Pg/trunk/Changes
DBD-Pg/trunk/MANIFEST
DBD-Pg/trunk/README.dev
DBD-Pg/trunk/t/99_perlcritic.t
DBD-Pg/trunk/t/99_pod.t
Log:
Add in Bundle::DBD::Pg, including tests, MANIFEST, and dev version number
instructions.
Modified: DBD-Pg/trunk/Changes
==============================================================================
--- DBD-Pg/trunk/Changes (original)
+++ DBD-Pg/trunk/Changes Mon Apr 14 08:08:05 2008
@@ -4,8 +4,9 @@
- Make pg_notifies a true function, so that you can now
use $dbh->pg_notifies instead of $dbh->func('pg_notifies') [GSM]
- - Fix minor build issue with Strawberry Perl [GSM]
- Various performance improvements [GSM]
+ - Fix minor build issue with Strawberry Perl [GSM]
+ - Add Bundle::DBD::Pg [GSM]
2.5.1 Released April 7, 2008 (subversion r11056)
Modified: DBD-Pg/trunk/MANIFEST
==============================================================================
--- DBD-Pg/trunk/MANIFEST (original)
+++ DBD-Pg/trunk/MANIFEST Mon Apr 14 08:08:05 2008
@@ -50,3 +50,5 @@
t/lib/App/Info/RDBMS/PostgreSQL.pm
t/lib/App/Info/Request.pm
t/lib/App/Info/Util.pm
+
+lib/Bundle/DBD/Pg.pm
Modified: DBD-Pg/trunk/README.dev
==============================================================================
--- DBD-Pg/trunk/README.dev (original)
+++ DBD-Pg/trunk/README.dev Mon Apr 14 08:08:05 2008
@@ -79,6 +79,8 @@
META.yml - YAML description file. Updated by hand and contains version number
in two places.
+lib/Bundle/DBD/Pg.pm - Simple file used to enable perl -MCPAN -e 'install
Bundle::DBD::Pg'
+ Contains a version number.
* Distribution files:
@@ -476,13 +478,14 @@
tells CPAN not to consider this a "real" release. For example, if the upcoming
release is 2.2.3,
the first release candidate would be 2.2.3_1. A second would be 2.2.3_2 etc.
-Version numbers are currently set in five files:
+Version numbers are currently set in six files:
README (one or two places)
Pg.pm (two places)
Changes
Makefile.PL
META.yml (two places)
+lib/Bundle/DBD/Pg.pm
===============
Added: DBD-Pg/trunk/lib/Bundle/DBD/Pg.pm
==============================================================================
--- (empty file)
+++ DBD-Pg/trunk/lib/Bundle/DBD/Pg.pm Mon Apr 14 08:08:05 2008
@@ -0,0 +1,39 @@
+
+package Bundle::DBD::Pg;
+
+use strict;
+use warnings;
+
+$VERSION = '2.5.2';
+
+1;
+
+__END__
+
+=head1 NAME
+
+Bundle::DBD::Pg - A bundle to install all DBD::Pg related modules
+
+=head1 SYNOPSIS
+
+C<perl -MCPAN -e 'install Bundle::DBD::Pg'>
+
+=head1 CONTENTS
+
+DBI
+
+DBD::Pg
+
+=head1 DESCRIPTION
+
+This bundle includes all the modules needed for DBD::Pg (the Perl
+interface to the Postgres database system). Please feel free to
+ask for help or report any problems to [EMAIL PROTECTED]
+
+=cut
+
+=head1 AUTHOR
+
+Greg Sabino Mullane E<lt>F<[EMAIL PROTECTED]>E<gt>
+
+
Modified: DBD-Pg/trunk/t/99_perlcritic.t
==============================================================================
--- DBD-Pg/trunk/t/99_perlcritic.t (original)
+++ DBD-Pg/trunk/t/99_perlcritic.t Mon Apr 14 08:08:05 2008
@@ -25,14 +25,14 @@
opendir my $dir, 't' or die qq{Could not open directory 't': $!\n};
@testfiles = map { "t/$_" } grep { /^.+\.(t|pl)$/ } readdir $dir;
closedir $dir;
- plan tests => [EMAIL PROTECTED];
+ plan tests => [EMAIL PROTECTED];
}
ok(@testfiles, 'Found files in test directory');
-## Check the non-test files - just Pg.pm for now
+## Check some non-test files
my $critic = Perl::Critic->new(-severity => 1);
-for my $filename (qw/Pg.pm Makefile.PL/) {
+for my $filename (qw{Pg.pm Makefile.PL lib/Bundle/DBD/Pg.pm }) {
if ($ENV{TEST_CRITIC_SKIPNONTEST}) {
pass qq{Skipping non-test file "$filename"};
Modified: DBD-Pg/trunk/t/99_pod.t
==============================================================================
--- DBD-Pg/trunk/t/99_pod.t (original)
+++ DBD-Pg/trunk/t/99_pod.t Mon Apr 14 08:08:05 2008
@@ -7,7 +7,7 @@
use Test::More;
select(($|=1,select(STDERR),$|=1)[1]);
-plan tests => 2;
+plan tests => 3;
my $PODVERSION = '0.95';
eval {
@@ -19,6 +19,7 @@
}
else {
pod_file_ok('Pg.pm');
+ pod_file_ok('lib/Bundle/DBD/Pg.pm');
}
## We won't require everyone to have this, so silently move on if not found
@@ -173,4 +174,5 @@
];
pod_coverage_ok('DBD::Pg', {trustme => $trusted_names}, 'DBD::Pg pod
coverage okay');
+
}