use strict;
use warnings;
-use MRO::Compat;
+BEGIN {
+ if ($] < 5.009_005) {
+ require MRO::Compat;
+ *DBIx::Class::_ENV_::OLD_MRO = sub () { 1 };
+ }
+ else {
+ require mro;
+ *DBIx::Class::_ENV_::OLD_MRO = sub () { 0 };
+ }
+
+ # ::Runmode would only be loaded by DBICTest, which in turn implies t/
+ *DBIx::Class::_ENV_::DBICTEST = eval { DBICTest::RunMode->is_author }
+ ? sub () { 1 }
+ : sub () { 0 }
+ ;
+}
+
use mro 'c3';
use DBIx::Class::Optional::Dependencies;
use vars qw($VERSION);
-use base qw/DBIx::Class::Componentised Class::Accessor::Grouped/;
+use base qw/DBIx::Class::Componentised DBIx::Class::AccessorGroup/;
use DBIx::Class::StartupCheck;
+__PACKAGE__->mk_group_accessors(inherited => '_skip_namespace_frames');
+__PACKAGE__->_skip_namespace_frames('^DBIx::Class|^SQL::Abstract|^Try::Tiny');
+
sub mk_classdata {
shift->mk_classaccessor(@_);
}
# 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.08126';
+$VERSION = '0.08127';
$VERSION = eval $VERSION if $VERSION =~ /_/; # numify for warning-free dev releases
caelum: Rafael Kitover <rkitover@cpan.org>
+caldrin: Maik Hentsche <maik.hentsche@amd.com>
+
castaway: Jess Robinson
claco: Christopher H. Laco
gphat: Cory G Watson <gphat@cpan.org>
+Grant Street Group L<http://www.grantstreet.com/>
+
groditi: Guillermo Roditi <groditi@cpan.org>
Haarg: Graham Knop <haarg@haarg.org>
initself: Mike Baas <mike@initselftech.com>
+jawnsy: Jonathan Yu <jawnsy@cpan.org>
+
jasonmay: Jason May <jason.a.may@gmail.com>
jesper: Jesper Krogh
mattlaw: Matt Lawrence
+mattp: Matt Phillips <mattp@cpan.org>
+
michaelr: Michael Reddick <michael.reddick@gmail.com>
+milki: Jonathan Chu <milki@rescomp.berkeley.edu>
+
ned: Neil de Carteret
nigel: Nigel Metheringham <nigelm@cpan.org>
robkinyon: Rob Kinyon <rkinyon@cpan.org>
+Robert Olson <bob@rdolson.org>
+
Roman: Roman Filippov <romanf@cpan.org>
Sadrak: Felix Antonius Wilhelm Ostmann <sadrak@cpan.org>
talexb: Alex Beamish <talexb@gmail.com>
+tamias: Ronald J Kimball <rjk@tamias.net>
+
teejay : Aaron Trevena <teejay@cpan.org>
Todd Lipcon