[Bast-commits] r4259 - in branches/DBIx-Class-Schema-Loader/current: . lib/DBIx/Class/Schema/Loader

ilmari at dev.catalyst.perl.org ilmari at dev.catalyst.perl.org
Sun Apr 13 01:43:26 BST 2008


Author: ilmari
Date: 2008-04-13 01:43:26 +0100 (Sun, 13 Apr 2008)
New Revision: 4259

Modified:
   branches/DBIx-Class-Schema-Loader/current/Changes
   branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm
Log:
Cosmetic fixes to dumping of externally defined classes

Modified: branches/DBIx-Class-Schema-Loader/current/Changes
===================================================================
--- branches/DBIx-Class-Schema-Loader/current/Changes	2008-04-13 00:40:49 UTC (rev 4258)
+++ branches/DBIx-Class-Schema-Loader/current/Changes	2008-04-13 00:43:26 UTC (rev 4259)
@@ -5,6 +5,7 @@
         - Default db_schema to the username for DB2
         - Allow specifying a custom loader_class, overriding the
           storage_type-based detection
+        - Cosmetic fixes to dumping of externally defined classes
 
 0.04999_04 Wed Mar 12, 2008
         - Add is_auto_increment detecton for DB2

Modified: branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm
===================================================================
--- branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm	2008-04-13 00:40:49 UTC (rev 4258)
+++ branches/DBIx-Class-Schema-Loader/current/lib/DBIx/Class/Schema/Loader/Base.pm	2008-04-13 00:43:26 UTC (rev 4259)
@@ -307,12 +307,12 @@
     open(my $fh, '<', $real_inc_path)
         or croak "Failed to open '$real_inc_path' for reading: $!";
     $self->_ext_stmt($class,
-        qq|# These lines were loaded from '$real_inc_path' found in \@INC.|
-        .q|# They are now part of the custom portion of this file|
-        .q|# for you to hand-edit.  If you do not either delete|
-        .q|# this section or remove that file from @INC, this section|
-        .q|# will be repeated redundantly when you re-create this|
-        .q|# file again via Loader!|
+         qq|# These lines were loaded from '$real_inc_path' found in \@INC.\n|
+        .qq|# They are now part of the custom portion of this file\n|
+        .qq|# for you to hand-edit.  If you do not either delete\n|
+        .qq|# this section or remove that file from \@INC, this section\n|
+        .qq|# will be repeated redundantly when you re-create this\n|
+        .qq|# file again via Loader!\n|
     );
     while(<$fh>) {
         chomp;




More information about the Bast-commits mailing list