From: Stevan Little Date: Tue, 22 Jan 2008 03:18:00 +0000 (+0000) Subject: some version changes and such X-Git-Tag: 0_35~2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7701d0aa9144f2376b7e82a345ab377018c35acf;p=gitmo%2FMoose.git some version changes and such --- diff --git a/README b/README index 75b802e..ef6a9b7 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -Moose version 0.34 +Moose version 0.35 =========================== See the individual module documentation for more information diff --git a/lib/Moose.pm b/lib/Moose.pm index 0b09568..4191d62 100644 --- a/lib/Moose.pm +++ b/lib/Moose.pm @@ -4,7 +4,7 @@ package Moose; use strict; use warnings; -our $VERSION = '0.34'; +our $VERSION = '0.35'; our $AUTHORITY = 'cpan:STEVAN'; use Scalar::Util 'blessed', 'reftype'; diff --git a/lib/Moose/Meta/Method/Constructor.pm b/lib/Moose/Meta/Method/Constructor.pm index c62f316..c06a651 100644 --- a/lib/Moose/Meta/Method/Constructor.pm +++ b/lib/Moose/Meta/Method/Constructor.pm @@ -90,9 +90,8 @@ sub intialize_body { # We need to check if the attribute ->can('type_constraint') # since we may be trying to immutabilize a Moose meta class, # which in turn has attributes which are Class::MOP::Attribute - # objects, rather than - # Moose::Meta::Attribute. Class::MOP::Attribute attributes - # have no type constraints. + # objects, rather than Moose::Meta::Attribute. And + # Class::MOP::Attribute attributes have no type constraints. my @type_constraints = map { $_->type_constraint } grep { $_->can('type_constraint') } @$attrs; my @type_constraint_bodies = map { $_ && $_->_compiled_type_constraint;