From: Stevan Little Date: Fri, 15 Feb 2008 18:03:25 +0000 (+0000) Subject: changelog on it X-Git-Tag: 0_55~305 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c3b815052a7219d0e93f6969a5f05a01f5567391;p=gitmo%2FMoose.git changelog on it --- diff --git a/Changes b/Changes index c4379ab..c781160 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,12 @@ Revision history for Perl extension Moose 0.38 + * Moose::Meta::Attribute + - fixed initializer to correctly do + type checking and coercion in the + callback + - added tests for this + * t/ - fixed some finicky tests (thanks to konobi) diff --git a/lib/Moose/Meta/Attribute.pm b/lib/Moose/Meta/Attribute.pm index fa3db88..952da9b 100644 --- a/lib/Moose/Meta/Attribute.pm +++ b/lib/Moose/Meta/Attribute.pm @@ -9,7 +9,7 @@ use Carp 'confess'; use Sub::Name 'subname'; use overload (); -our $VERSION = '0.20'; +our $VERSION = '0.21'; our $AUTHORITY = 'cpan:STEVAN'; use Moose::Meta::Method::Accessor; diff --git a/t/020_attributes/019_attribute_lazy_initializer.t b/t/020_attributes/019_attribute_lazy_initializer.t index 40dbe54..6f89493 100644 --- a/t/020_attributes/019_attribute_lazy_initializer.t +++ b/t/020_attributes/019_attribute_lazy_initializer.t @@ -150,8 +150,3 @@ dies_ok { Fail::Bar->new(foo => 10) } '... this fails, because initializer returns a bad type'; - - - - -