From: David Kamholz Date: Fri, 3 Feb 2006 15:02:01 +0000 (+0000) Subject: changes in 0.05 dist that mst forgot to commit X-Git-Tag: v0.05005~60 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=fc69fea6a8923cb40755446f1bb914174f53114c;p=dbsrgits%2FDBIx-Class.git changes in 0.05 dist that mst forgot to commit --- diff --git a/Build.PL b/Build.PL index 3a609b8..3a2a75b 100644 --- a/Build.PL +++ b/Build.PL @@ -14,10 +14,10 @@ my %arguments = ( 'Storable' => 0, 'Class::Data::Accessor' => 0.01, 'Carp::Clan' => 0, + 'DBI' => 1.40, }, build_requires => { 'DBD::SQLite' => 1.11, - 'DBI' => 1.40, }, recommends => { 'Data::UUID' => 0, diff --git a/Changes b/Changes index 10ef062..4cbc7cc 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,7 @@ Revision history for DBIx::Class +0.05000 2006-02-01 16:48:30 + - assorted doc fixes - remove ObjectCache, not yet working in 0.05 - let many_to_many rels have attrs - fix ID method in PK.pm to be saner for new internals diff --git a/MANIFEST b/MANIFEST index 1a2a9c7..ed5d396 100644 --- a/MANIFEST +++ b/MANIFEST @@ -37,7 +37,6 @@ lib/DBIx/Class/Manual/FAQ.pod lib/DBIx/Class/Manual/Intro.pod lib/DBIx/Class/Manual/SchemaIntro.pod lib/DBIx/Class/Manual/Troubleshooting.pod -lib/DBIx/Class/ObjectCache.pm lib/DBIx/Class/PK.pm lib/DBIx/Class/PK/Auto.pm lib/DBIx/Class/PK/Auto/DB2.pm diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 4302793..7765f9a 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -13,7 +13,7 @@ sub component_base_class { 'DBIx::Class' } # i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports # brain damage and presumably various other packaging systems too -$VERSION = '0.04999_07'; +$VERSION = '0.05000'; 1; diff --git a/lib/DBIx/Class/Relationship/Base.pm b/lib/DBIx/Class/Relationship/Base.pm index e4d7488..ddc11b5 100644 --- a/lib/DBIx/Class/Relationship/Base.pm +++ b/lib/DBIx/Class/Relationship/Base.pm @@ -51,7 +51,7 @@ command immediately before C. An arrayref containing a list of accessors in the foreign class to proxy in the main class. If, for example, you do the following: - __PACKAGE__->might_have(bar => 'Bar', undef, { proxy => qw[/ margle /] }); + __PACKAGE__->might_have(bar => 'Bar', undef, { proxy => [ qw/margle/ ] }); Then, assuming Bar has an accessor named margle, you can do: diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index dcc57ad..5def68f 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -257,7 +257,7 @@ command immediately before C. An arrayref containing a list of accessors in the foreign class to proxy in the main class. If, for example, you do the following: - __PACKAGE__->might_have(bar => 'Bar', undef, { proxy => qw[/ margle /] }); + __PACKAGE__->might_have(bar => 'Bar', undef, { proxy => [ qw/margle/ ] }); Then, assuming Bar has an accessor named margle, you can do: diff --git a/t/lib/DBICTest/Plain.pm b/t/lib/DBICTest/Plain.pm index 67aa76a..313d1fc 100644 --- a/t/lib/DBICTest/Plain.pm +++ b/t/lib/DBICTest/Plain.pm @@ -13,7 +13,7 @@ mkdir("t/var") unless -d "t/var"; my $dsn = "dbi:SQLite:${db_file}"; -__PACKAGE__->load_classes; +__PACKAGE__->load_classes("Test"); my $schema = __PACKAGE__->compose_connection(__PACKAGE__, $dsn); my $dbh = DBI->connect($dsn);