fix code running 2x in dynamic schema_base_class
authorRafael Kitover <rkitover@cpan.org>
Wed, 9 Nov 2011 02:33:46 +0000 (21:33 -0500)
committerRafael Kitover <rkitover@cpan.org>
Wed, 9 Nov 2011 02:33:46 +0000 (21:33 -0500)
commit50b95db6f08695f02fd804bc71c6c222cd310d05
tree757b630f74b401bff9edfbed1a604be849b6971a
parent310f3603f4dee670ce5b733c862c62c35d96cd3c
fix code running 2x in dynamic schema_base_class

Fix a bug that ran the connection method in
schema_base_class/schema_components twice on the second connect, with
tests.

Move the RelBuilder _array_eq method to an array_eq sub in Utils.
Changes
lib/DBIx/Class/Schema/Loader.pm
lib/DBIx/Class/Schema/Loader/RelBuilder.pm
lib/DBIx/Class/Schema/Loader/RelBuilder/Compat/v0_05.pm
lib/DBIx/Class/Schema/Loader/Utils.pm
t/70schema_base_dispatched.t
t/lib/DBIx/Class/TestSchemaComponent.pm
t/lib/TestSchemaBaseClass.pm