changes for 5.00001 dist
David Kamholz [Mon, 6 Feb 2006 02:10:14 +0000 (02:10 +0000)]
MANIFEST
lib/DBIx/Class.pm
lib/DBIx/Class/ResultSetManager.pm
t/lib/DBICTest/Extra/Foo.pm

index ed5d396..5f75b92 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -56,6 +56,7 @@ lib/DBIx/Class/Relationship/Helpers.pm
 lib/DBIx/Class/Relationship/ManyToMany.pm
 lib/DBIx/Class/Relationship/ProxyMethods.pm
 lib/DBIx/Class/ResultSet.pm
+lib/DBIx/Class/ResultSetManager.pm
 lib/DBIx/Class/ResultSetProxy.pm
 lib/DBIx/Class/ResultSource.pm
 lib/DBIx/Class/ResultSource/Table.pm
@@ -63,6 +64,7 @@ lib/DBIx/Class/ResultSourceProxy.pm
 lib/DBIx/Class/ResultSourceProxy/Table.pm
 lib/DBIx/Class/Row.pm
 lib/DBIx/Class/Schema.pm
+lib/DBIx/Class/Serialize.pm
 lib/DBIx/Class/Storage/DBI.pm
 lib/DBIx/Class/Storage/DBI/Cursor.pm
 lib/DBIx/Class/Test/SQLite.pm
@@ -81,6 +83,7 @@ t/18inserterror.t
 t/19quotes.t
 t/20setuperrors.t
 t/30dbicplain.t
+t/40resultsetmanager.t
 t/basicrels/01core.t
 t/basicrels/04db.t
 t/basicrels/05multipk.t
@@ -139,6 +142,8 @@ t/helperrels/19uuid.t
 t/helperrels/20unique.t
 t/lib/DBICTest.pm
 t/lib/DBICTest/BasicRels.pm
+t/lib/DBICTest/Extra.pm
+t/lib/DBICTest/Extra/Foo.pm
 t/lib/DBICTest/HelperRels.pm
 t/lib/DBICTest/Plain.pm
 t/lib/DBICTest/Plain/Test.pm
@@ -157,6 +162,7 @@ t/lib/DBICTest/Schema/SelfRef.pm
 t/lib/DBICTest/Schema/SelfRefAlias.pm
 t/lib/DBICTest/Schema/Tag.pm
 t/lib/DBICTest/Schema/Track.pm
+t/lib/DBICTest/Schema/TreeLike.pm
 t/lib/DBICTest/Schema/TwoKeys.pm
 t/lib/DBICTest/Setup.pm
 t/lib/sqlite.sql
index 6f2f893..80a589f 100644 (file)
@@ -94,23 +94,27 @@ manual below.
 
 =head1 SEE ALSO
 
-=head2 L<DBIx::Class::Core> - DBIC Core Classes
+=over 4
 
-=head2 L<DBIx::Class::Manual> - User's manual
+=item L<DBIx::Class::Core> - DBIC Core Classes
 
-=head2 L<DBIx::Class::CDBICompat> - L<Class::DBI> Compat layer
+=item L<DBIx::Class::Manual> - User's manual
 
-=head2 L<DBIx::Class::DB> - database-level methods
+=item L<DBIx::Class::CDBICompat> - L<Class::DBI> Compat layer
 
-=head2 L<DBIx::Class::Table> - table-level methods
+=item L<DBIx::Class::Schema>
 
-=head2 L<DBIx::Class::Row> - row-level methods
+=item L<DBIx::Class::ResultSet>
 
-=head2 L<DBIx::Class::PK> - primary key methods
+=item L<DBIx::Class::ResultSource>
 
-=head2 L<DBIx::Class::ResultSet> - search result-set methods
+=item L<DBIx::Class::Row> - row-level methods
 
-=head2 L<DBIx::Class::Relationship> - relationships between tables
+=item L<DBIx::Class::PK> - primary key methods
+
+=item L<DBIx::Class::Relationship> - relationships between tables
+
+=back
 
 =head1 AUTHOR
 
index 9989b2e..c3ab98d 100644 (file)
@@ -28,7 +28,7 @@ sub _register_attributes {
     foreach my $meth (@{Class::Inspector->methods($self) || []}) {
         my $attrs = $cache->{$self->can($meth)};
         next unless $attrs;
-        if ($attrs->[0] eq 'resultset') {
+        if ($attrs->[0] eq 'ResultSet') {
             no strict 'refs';
             my $resultset_class = $self->_setup_resultset_class;
             *{"$resultset_class\::$meth"} = *{"$self\::$meth"};
@@ -79,7 +79,7 @@ __END__
 
 This package implements two useful features for customizing resultset classes.
 C<load_resultset_components> loads components in addition to C<DBIx::Class::ResultSet>
-(or whatever you set as C<base_resultset_class>). Any methods tagged with the C<resultset>
+(or whatever you set as C<base_resultset_class>). Any methods tagged with the C<ResultSet>
 attribute will be moved into a table-specific resultset class (by default called
 C<Class::_resultset>).
 
index cee710e..65e539c 100644 (file)
@@ -4,4 +4,4 @@ use base 'DBIx::Class';
 __PACKAGE__->load_components(qw/ ResultSetManager Core /);
 __PACKAGE__->table('foo');
 
-sub bar : resultset { 'good' }
+sub bar : ResultSet { 'good' }