deprecate non-arrayref enum and duck_type
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
index c578436..b371496 100644 (file)
@@ -4,23 +4,24 @@ use strict;
 use warnings;
 
 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',
+    'non-arrayref form of enum'         => '2.0700',
+    'non-arrayref form of duck_type'    => '2.0700',
+    'optimized type constraint sub ref' => '2.0000',
+    'default is for Native Trait'       => '1.14',
+    'default default for Native Trait'  => '1.14',
+    'coerce without coercion'           => '1.08',
     },
     -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
     ;
 
 1;
 
+# ABSTRACT: Manages deprecation warnings for Moose
+
 __END__
 
 =pod
 
-=head1 NAME 
-
-Moose::Deprecated - Manages deprecation warnings for Moose
-
 =head1 DESCRIPTION
 
     use Moose::Deprecated -api_version => $version;