X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass.pm;h=855f0b496e14a14a25e52e6161089fbdd13bd14a;hb=d0bb3812791971bbc5f40490d704b511a5f1b00d;hp=9f02215dad80a438f82c02a036cc5a39ba0dc039;hpb=4db53147659188879e74f8add5b8fddb8034d40d;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 9f02215..855f0b4 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -4,9 +4,27 @@ use strict; use warnings; use vars qw($VERSION); -use base qw/DBIx::Class::Componentised Class::Data::Inheritable/; +use base qw/DBIx::Class::Componentised Class::Data::Accessor/; -$VERSION = '0.04001'; +sub mk_classdata { shift->mk_classaccessor(@_); } +sub component_base_class { 'DBIx::Class' } + +# 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 + +$VERSION = '0.05005'; + +sub MODIFY_CODE_ATTRIBUTES { + my ($class,$code,@attrs) = @_; + unless ($class->can('_attr_cache')) { + $class->mk_classdata('_attr_cache'); + $class->_attr_cache({}); + } + my $cache = $class->_attr_cache; + $class->_attr_cache->{$code} = [@attrs]; + return (); +} 1; @@ -76,23 +94,27 @@ manual below. =head1 SEE ALSO -=head2 L - DBIC Core Classes +=over 4 + +=item L - DBIC Core Classes + +=item L - User's manual -=head2 L - User's manual +=item L - L Compat layer -=head2 L - L Compat layer +=item L -=head2 L - database-level methods +=item L -=head2 L - table-level methods +=item L -=head2 L - row-level methods +=item L - row-level methods -=head2 L - primary key methods +=item L - primary key methods -=head2 L - search result-set methods +=item L - relationships between tables -=head2 L - relationships between tables +=back =head1 AUTHOR @@ -116,6 +138,30 @@ Marcus Ramberg Paul Makepeace +CL Kao + +Jess Robinson + +Marcus Ramberg + +Will Hawes + +Todd Lipcon + +Daniel Westermann-Clark + +Alexander Hartmaier + +Zbigniew Lukasiak + +Nigel Metheringham + +Jesper Krogh + +Brandon Black + +Scotty Allen + =head1 LICENSE You may distribute this code under the same terms as Perl itself.