From: Stevan Little Date: Thu, 6 Sep 2007 20:54:28 +0000 (+0000) Subject: overload fix X-Git-Tag: 0_26~25 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=18ea2bcc9b6905168c8c0cc7520f047e0d3f6126;p=gitmo%2FMoose.git overload fix --- diff --git a/Changes b/Changes index a5fa13b..e1ff6c1 100644 --- a/Changes +++ b/Changes @@ -16,6 +16,13 @@ Revision history for Perl extension Moose - added this module (taken from MooseX::AttributeHelpers) to help construct nested collection types - added tests for this + + * Moose::Meta::Attribute + Moose::Meta::Method::Constructor + Moose::Meta::Method::Accessor + - fixed issue with overload::Overloaded getting called + on non-blessed items. + - added tests for this 0.25 Mon. Aug. 13, 2007 * Moose diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index 35aef25..f51788d 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -8,7 +8,7 @@ use Scalar::Util 'blessed', 'weaken', 'reftype'; use Carp 'confess'; use overload (); -our $VERSION = '0.11'; +our $VERSION = '0.12'; our $AUTHORITY = 'cpan:STEVAN'; use Moose::Meta::Method::Accessor; diff --git a/lib/Moose/Meta/Method/Accessor.pm b/lib/Moose/Meta/Method/Accessor.pm index 6e7e71c..b429cd4 100644 --- a/lib/Moose/Meta/Method/Accessor.pm +++ b/lib/Moose/Meta/Method/Accessor.pm @@ -6,7 +6,7 @@ use warnings; use Carp 'confess'; -our $VERSION = '0.04'; +our $VERSION = '0.05'; our $AUTHORITY = 'cpan:STEVAN'; use base 'Moose::Meta::Method', diff --git a/lib/Moose/Meta/Method/Constructor.pm b/lib/Moose/Meta/Method/Constructor.pm index 6ee165d..9e0bf7f 100644 --- a/lib/Moose/Meta/Method/Constructor.pm +++ b/lib/Moose/Meta/Method/Constructor.pm @@ -7,7 +7,7 @@ use warnings; use Carp 'confess'; use Scalar::Util 'blessed', 'weaken', 'looks_like_number'; -our $VERSION = '0.01'; +our $VERSION = '0.02'; our $AUTHORITY = 'cpan:STEVAN'; use base 'Moose::Meta::Method';