X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FDeprecated.pm;h=db19dc8864a92de6bab11888a04775a3fef11944;hb=4c0880b233a64c4bf359ed40cbc766517964353d;hp=760cada155ae5d307172abd07e88c41a3e76e50f;hpb=1dd7b08b80f3c58d63359e925ded082aa2cfc5cb;p=gitmo%2FMoose.git diff --git a/lib/Moose/Deprecated.pm b/lib/Moose/Deprecated.pm index 760cada..db19dc8 100644 --- a/lib/Moose/Deprecated.pm +++ b/lib/Moose/Deprecated.pm @@ -3,18 +3,22 @@ package Moose::Deprecated; use strict; use warnings; -our $VERSION = '1.08'; +our $VERSION = '1.19'; $VERSION = eval $VERSION; our $AUTHORITY = 'cpan:STEVAN'; -use Package::DeprecationManager -deprecations => { - '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', +use Package::DeprecationManager 0.07 -deprecations => { + 'default is for Native Trait' => '1.14', + 'default default for Native Trait' => '1.14', + 'coerce without coercion' => '1.08', + 'pre-0.94 MetaRole API' => '0.94', + 'alias or excludes' => '0.89', + '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 => [qr/^(?:Class::MOP|Moose)(?:::)?/], ; 1; @@ -38,7 +42,7 @@ deprecated in Moose. If you specify C<< -api_version => $version >>, you can use deprecated features without warnings. Note that this special treatment is limited to the package -that loads C. +that loads C. =head1 AUTHORS