[Bast-commits] r6796 - in DBIx-Class-Schema-PopulateMore/truck: . lib/DBIx/Class/Schema lib/DBIx/Class/Schema/PopulateMore/Test t/var

jnapiorkowski at dev.catalyst.perl.org jnapiorkowski at dev.catalyst.perl.org
Fri Jun 26 14:53:44 GMT 2009


Author: jnapiorkowski
Date: 2009-06-26 14:53:43 +0000 (Fri, 26 Jun 2009)
New Revision: 6796

Added:
   DBIx-Class-Schema-PopulateMore/truck/t/var/README
Modified:
   DBIx-Class-Schema-PopulateMore/truck/Changes
   DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore.pm
   DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore/Test/Schema.pm
Log:
make sure we keep the t/var directory, and canonicalize the path to the testing area

Modified: DBIx-Class-Schema-PopulateMore/truck/Changes
===================================================================
--- DBIx-Class-Schema-PopulateMore/truck/Changes	2009-06-26 14:41:11 UTC (rev 6795)
+++ DBIx-Class-Schema-PopulateMore/truck/Changes	2009-06-26 14:53:43 UTC (rev 6796)
@@ -1,5 +1,9 @@
 Revision history for Perl extension DBIx-Class-Schema-PopulateMore.
 
+0.07 Friday, June 26, 2009
+    - Add a placeholder to make sure the t/var directory is around at test
+      time.
+
 0.06 Thursday, June 25, 2009
     - Added SQLT to the build recommends, otherwise tests fail
 

Modified: DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore/Test/Schema.pm
===================================================================
--- DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore/Test/Schema.pm	2009-06-26 14:41:11 UTC (rev 6795)
+++ DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore/Test/Schema.pm	2009-06-26 14:53:43 UTC (rev 6796)
@@ -70,7 +70,8 @@
 }
 
 sub test_dbfile_path {
-	return Path::Class::File->new(qw/t var dbfile.sqlite/); 
+	my $path = Path::Class::File->new(qw/t var dbfile.sqlite/); 
+	return $path->absolute;
 }
 
 =head2 default_dsn

Modified: DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore.pm
===================================================================
--- DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore.pm	2009-06-26 14:41:11 UTC (rev 6795)
+++ DBIx-Class-Schema-PopulateMore/truck/lib/DBIx/Class/Schema/PopulateMore.pm	2009-06-26 14:53:43 UTC (rev 6796)
@@ -11,11 +11,11 @@
 
 =head1 VERSION
 
-Version 0.06
+Version 0.07
 
 =cut
 
-our $VERSION = '0.06';
+our $VERSION = '0.07';
 
 =head1 SYNOPSIS
 

Added: DBIx-Class-Schema-PopulateMore/truck/t/var/README
===================================================================
--- DBIx-Class-Schema-PopulateMore/truck/t/var/README	                        (rev 0)
+++ DBIx-Class-Schema-PopulateMore/truck/t/var/README	2009-06-26 14:53:43 UTC (rev 6796)
@@ -0,0 +1,2 @@
+This directory needs to exists to run all the database tests.  Please don't
+delete it!




More information about the Bast-commits mailing list