[Bast-commits] r3598 - in trunk/DBIx-Class-Schema-Loader: .
lib/DBIx/Class/Schema lib/DBIx/Class/Schema/Loader
lib/DBIx/Class/Schema/Loader/DBI
blblack at dev.catalyst.perl.org
blblack at dev.catalyst.perl.org
Tue Jul 24 06:56:54 GMT 2007
Author: blblack
Date: 2007-07-24 06:56:53 +0100 (Tue, 24 Jul 2007)
New Revision: 3598
Modified:
trunk/DBIx-Class-Schema-Loader/Changes
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/mysql.pm
trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/RelBuilder.pm
Log:
0.04002 - disable oracle.pm indexing and fix rescan return values
Modified: trunk/DBIx-Class-Schema-Loader/Changes
===================================================================
--- trunk/DBIx-Class-Schema-Loader/Changes 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/Changes 2007-07-24 05:56:53 UTC (rev 3598)
@@ -1,5 +1,13 @@
Revision history for Perl extension DBIx::Class::Schema::Loader
+0.04002 Tue Jul 24, 2007
+ - rescan method now returns the actual list of new tables
+ loaded (previously, the return value wasn't taking
+ constraint/exclude into account, even though the meat
+ of the operation was).
+ - Hid the Oracle module so that search.cpan.org will stop
+ ignoring this package, temporary fix until perms are
+ sorted out
- Fix Win32 test skip counts (RT #27715, Alexandr Ciornii)
- Fix a small output quoting bug (RT #28073, Tokuhiro Matsuno)
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/Base.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -14,7 +14,7 @@
use Digest::MD5 qw//;
require DBIx::Class;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
__PACKAGE__->mk_ro_accessors(qw/
schema
@@ -352,9 +352,9 @@
}
}
- $self->_load_tables(@created);
+ my $loaded = $self->_load_tables(@created);
- return map { $self->monikers->{$_} } @created;
+ return map { $self->monikers->{$_} } @$loaded;
}
sub _load_tables {
@@ -399,7 +399,7 @@
# Drop temporary cache
delete $self->{_cache};
- 1;
+ return \@tables;
}
sub _get_dump_filename {
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/DB2.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -6,7 +6,7 @@
use Carp::Clan qw/^DBIx::Class/;
use Class::C3;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Oracle.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -1,4 +1,6 @@
-package DBIx::Class::Schema::Loader::DBI::Oracle;
+package # hide from pause/cpan for now, as there's a permissions
+ # issue and it's screwing the rest of the package
+ DBIx::Class::Schema::Loader::DBI::Oracle;
use strict;
use warnings;
@@ -6,7 +8,7 @@
use Carp::Clan qw/^DBIx::Class/;
use Class::C3;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Pg.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -6,7 +6,7 @@
use Carp::Clan qw/^DBIx::Class/;
use Class::C3;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/SQLite.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -7,7 +7,7 @@
use Text::Balanced qw( extract_bracketed );
use Class::C3;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -1,7 +1,7 @@
package DBIx::Class::Schema::Loader::DBI::Writing;
use strict;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
# Empty. POD only.
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/mysql.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/mysql.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI/mysql.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -6,7 +6,7 @@
use Carp::Clan qw/^DBIx::Class/;
use Class::C3;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/DBI.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -7,7 +7,7 @@
use Carp::Clan qw/^DBIx::Class/;
use UNIVERSAL::require;
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/RelBuilder.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/RelBuilder.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader/RelBuilder.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -5,7 +5,7 @@
use Carp::Clan qw/^DBIx::Class/;
use Lingua::EN::Inflect::Number ();
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
=head1 NAME
Modified: trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader.pm
===================================================================
--- trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader.pm 2007-07-21 06:04:28 UTC (rev 3597)
+++ trunk/DBIx-Class-Schema-Loader/lib/DBIx/Class/Schema/Loader.pm 2007-07-24 05:56:53 UTC (rev 3598)
@@ -11,7 +11,7 @@
# Always remember to do all digits for the version even if they're 0
# i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports
# brain damage and presumably various other packaging systems too
-our $VERSION = '0.04001';
+our $VERSION = '0.04002';
__PACKAGE__->mk_classaccessor('_loader_args' => {});
__PACKAGE__->mk_classaccessors(qw/dump_to_dir _loader_invoked _loader/);
More information about the Bast-commits
mailing list