add $source->resultset_attributes, include_columns rs attr
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class.pm
index 42f6d38..6f2f893 100644 (file)
@@ -13,7 +13,18 @@ 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_04';
+$VERSION = '0.05001';
+
+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;
 
@@ -139,6 +150,12 @@ Alexander Hartmaier <alex_hartmaier@hotmail.com>
 
 Zbigniew Lukasiak
 
+Nigel Metheringham <nigelm@cpan.org>
+
+Jesper Krogh
+
+Brandon Black
+
 =head1 LICENSE
 
 You may distribute this code under the same terms as Perl itself.