Author: turnstep
Date: Tue Aug  7 07:33:34 2007
New Revision: 9823

Modified:
   DBD-Pg/trunk/Changes
   DBD-Pg/trunk/Makefile.PL
   DBD-Pg/trunk/Pg.pm
   DBD-Pg/trunk/README.dev
   DBD-Pg/trunk/t/00basic.t

Log:
Use version.pm, per suggestion from David E. Wheeler.


Modified: DBD-Pg/trunk/Changes
==============================================================================
--- DBD-Pg/trunk/Changes        (original)
+++ DBD-Pg/trunk/Changes        Tue Aug  7 07:33:34 2007
@@ -1,7 +1,7 @@
 ('GSM' is Greg Sabino Mullane, [EMAIL PROTECTED])
 
 2.0.0
-       - Change versioning system to three numbered system.
+       - Change versioning system to three numbered system, use version.pm.
        - Add support for arrays: can pass in arrayrefs to execute, and 
                they are automatically returned as arrays when fetching. [GSM]
        - Overhauled the data type system. [GSM]

Modified: DBD-Pg/trunk/Makefile.PL
==============================================================================
--- DBD-Pg/trunk/Makefile.PL    (original)
+++ DBD-Pg/trunk/Makefile.PL    Tue Aug  7 07:33:34 2007
@@ -8,7 +8,7 @@
 use DBI 1.45;
 use DBI::DBD;
 
-my $VERSION = '2.0.0';
+use version; my $VERSION = qv("2.0.0_1");
 
 my $lib;
 BEGIN {

Modified: DBD-Pg/trunk/Pg.pm
==============================================================================
--- DBD-Pg/trunk/Pg.pm  (original)
+++ DBD-Pg/trunk/Pg.pm  Tue Aug  7 07:33:34 2007
@@ -16,7 +16,7 @@
 {
        package DBD::Pg;
 
-       our $VERSION = '2.0.0';
+       use version; our $VERSION = qv("2.0.0_1");
 
        use DBI ();
        use DynaLoader ();

Modified: DBD-Pg/trunk/README.dev
==============================================================================
--- DBD-Pg/trunk/README.dev     (original)
+++ DBD-Pg/trunk/README.dev     Tue Aug  7 07:33:34 2007
@@ -487,8 +487,8 @@
 
 Beta versions are simply the number *before* the new anticipated number, plus 
an 
 underscore to indicate the beta version. For example, if the current version 
is 
-2.1.4 and you are making betas for an upcoming 2.2.4 version, you should name 
the 
-beta version as 2.2.4_1. A second beta would be 2.2.4_2, etc.
+2.1.4 and you are making betas for an upcoming 2.1.5 version, you should name 
the 
+beta version as 2.1.4_1. A second beta would be 2.1.4_2, etc.
 
 Version numbers are currently set in five files:
 

Modified: DBD-Pg/trunk/t/00basic.t
==============================================================================
--- DBD-Pg/trunk/t/00basic.t    (original)
+++ DBD-Pg/trunk/t/00basic.t    Tue Aug  7 07:33:34 2007
@@ -16,5 +16,5 @@
        use_ok('DBD::Pg');
 };
 
-like( $DBD::Pg::VERSION, qr/^[\d\._]+$/, qq{Found DBD::Pg::VERSION as 
"$DBD::Pg::VERSION"});
+like( $DBD::Pg::VERSION, qr/^v[\d\._]+$/, qq{Found DBD::Pg::VERSION as 
"$DBD::Pg::VERSION"});
 

Reply via email to