X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMooseX%2FAttributeHelpers%2FCollection%2FArray.pm;h=874831e2e8a2bd99c69754e5327bf8d0f9687550;hb=fda444e70db8fa4a13c1a24dda315b506d45b839;hp=f8c9411e60a2e1aa5d4aacebbdf0f270c44f7980;hpb=b91f57afe2beaf8f2c49b42ea732c05332a8d04c;p=gitmo%2FMooseX-AttributeHelpers.git diff --git a/lib/MooseX/AttributeHelpers/Collection/Array.pm b/lib/MooseX/AttributeHelpers/Collection/Array.pm index f8c9411..874831e 100644 --- a/lib/MooseX/AttributeHelpers/Collection/Array.pm +++ b/lib/MooseX/AttributeHelpers/Collection/Array.pm @@ -2,23 +2,18 @@ package MooseX::AttributeHelpers::Collection::Array; use Moose; -our $VERSION = '0.01'; +our $VERSION = '0.20'; +$VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use MooseX::AttributeHelpers::MethodProvider::Array; - -extends 'MooseX::AttributeHelpers::Collection'; - -has '+method_provider' => ( - default => 'MooseX::AttributeHelpers::MethodProvider::Array' -); - -sub helper_type { 'ArrayRef' } +extends 'Moose::Meta::Attribute'; +with 'MooseX::AttributeHelpers::Trait::Collection::Array'; no Moose; # register the alias ... -package Moose::Meta::Attribute::Custom::Collection::Array; +package # hide me from search.cpan.org + Moose::Meta::Attribute::Custom::Collection::Array; sub register_implementation { 'MooseX::AttributeHelpers::Collection::Array' } @@ -81,7 +76,7 @@ Stevan Little Estevan@iinteractive.comE =head1 COPYRIGHT AND LICENSE -Copyright 2007 by Infinity Interactive, Inc. +Copyright 2007-2009 by Infinity Interactive, Inc. L