[Moose-commits] r7950 - in MooseX-Method/trunk: . lib/MooseX
lib/MooseX/Meta/Parameter
gphat at code2.0beta.co.uk
gphat at code2.0beta.co.uk
Tue Jun 30 18:59:56 GMT 2009
Author: gphat
Date: 2009-06-30 11:59:56 -0700 (Tue, 30 Jun 2009)
New Revision: 7950
Modified:
MooseX-Method/trunk/Changes
MooseX-Method/trunk/lib/MooseX/Meta/Parameter/Moose.pm
MooseX-Method/trunk/lib/MooseX/Method.pm
Log:
Quiet warnings.
Modified: MooseX-Method/trunk/Changes
===================================================================
--- MooseX-Method/trunk/Changes 2009-06-29 19:56:27 UTC (rev 7949)
+++ MooseX-Method/trunk/Changes 2009-06-30 18:59:56 UTC (rev 7950)
@@ -1,3 +1,6 @@
+0.44 2009-06-30
+ - Use bare option to some attributes to quiet warnings from newer Moose
+
0.43 2009-06-15
- Add deprecation notice
- Add inline_constructor => 0 to various classes that define their own
Modified: MooseX-Method/trunk/lib/MooseX/Meta/Parameter/Moose.pm
===================================================================
--- MooseX-Method/trunk/lib/MooseX/Meta/Parameter/Moose.pm 2009-06-29 19:56:27 UTC (rev 7949)
+++ MooseX-Method/trunk/lib/MooseX/Meta/Parameter/Moose.pm 2009-06-30 18:59:56 UTC (rev 7950)
@@ -8,12 +8,12 @@
with qw/MooseX::Meta::Parameter/;
-has isa => (isa => 'Str | Object');
-has does => (isa => 'Str');
-has required => (isa => 'Bool');
-has default => (isa => 'Defined');
-has coerce => (isa => 'Bool');
-has type_constraint => (isa => 'Moose::Meta::TypeConstraint');
+has isa => (is => 'bare', isa => 'Str | Object');
+has does => (is => 'bare', isa => 'Str');
+has required => (is => 'bare', isa => 'Bool');
+has default => (is => 'bare', isa => 'Defined');
+has coerce => (is => 'bare', isa => 'Bool');
+has type_constraint => (is => 'bare', isa => 'Moose::Meta::TypeConstraint');
our $VERSION = '0.01';
Modified: MooseX-Method/trunk/lib/MooseX/Method.pm
===================================================================
--- MooseX-Method/trunk/lib/MooseX/Method.pm 2009-06-29 19:56:27 UTC (rev 7949)
+++ MooseX-Method/trunk/lib/MooseX/Method.pm 2009-06-30 18:59:56 UTC (rev 7950)
@@ -19,7 +19,7 @@
use Sub::Exporter;
use Sub::Name qw/subname/;
-our $VERSION = '0.43';
+our $VERSION = '0.44';
our $AUTHORITY = 'cpan:BERLE';
More information about the Moose-commits
mailing list