Clarify that one year starts at the major release which does the deprecation
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
index 1894a27..db19dc8 100644 (file)
@@ -3,27 +3,22 @@ package Moose::Deprecated;
 use strict;
 use warnings;
 
-our $VERSION = '1.11';
+our $VERSION = '1.19';
 $VERSION = eval $VERSION;
 our $AUTHORITY = 'cpan:STEVAN';
 
-use Package::DeprecationManager -deprecations => {
-    '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',
+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::Meta::Attribute
-        Moose::Meta::Class
-        Moose::Util::MetaRole
-        )
-    ],
+    -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
     ;
 
 1;