From: Dave Rolsky Date: Mon, 19 Jul 2010 17:08:48 +0000 (-0500) Subject: Ignore Moose::Meta::Attribute and Moose::Meta::Class for deprecation warnings X-Git-Tag: 1.09~14 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e9b0308ca3300205be634cf7c9b929351ec3744b;p=gitmo%2FMoose.git Ignore Moose::Meta::Attribute and Moose::Meta::Class for deprecation warnings --- diff --git a/lib/Moose/Deprecated.pm b/lib/Moose/Deprecated.pm index c79751c..7a42482 100644 --- a/lib/Moose/Deprecated.pm +++ b/lib/Moose/Deprecated.pm @@ -8,14 +8,21 @@ $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; use Package::DeprecationManager -deprecations => { - 'coerce without coercion' => '1.08', - 'pre-0.94 MetaRole API' => '0.93', - 'Role type' => '0.84', - 'subtype without sugar' => '0.72', - 'type without sugar' => '0.72', - 'Moose::init_meta' => '0.56', + 'coerce without coercion' => '1.08', + 'pre-0.94 MetaRole API' => '0.93', + 'Role type' => '0.84', + 'subtype without sugar' => '0.72', + 'type without sugar' => '0.72', + 'Moose::init_meta' => '0.56', }, - -ignore => [qw( Moose Moose::Exporter Moose::Util::MetaRole )], + -ignore => [ + qw( Moose + Moose::Exporter + Moose::Meta::Attribute + Moose::Meta::Class + Moose::Util::MetaRole + ) + ], ; 1;