X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FMoose%2FDeprecated.pm;h=312604f1812cbccd67deb7de4c0490a2ca0c8c9d;hb=48ac876af2c1991bd6cdba0d54b775a121e01725;hp=5b8e3b3f05a82992a9197b0b1d27d4b761eb81a7;hpb=bb8ef15197850184a45acade3e8f387fd6b63829;p=gitmo%2FMoose.git diff --git a/lib/Moose/Deprecated.pm b/lib/Moose/Deprecated.pm index 5b8e3b3..312604f 100644 --- a/lib/Moose/Deprecated.pm +++ b/lib/Moose/Deprecated.pm @@ -3,34 +3,23 @@ package Moose::Deprecated; use strict; use warnings; -our $VERSION = '1.9900'; -$VERSION = eval $VERSION; -our $AUTHORITY = 'cpan:STEVAN'; - 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', + '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; @@ -44,17 +33,4 @@ 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. -=head1 AUTHORS - -Dave Rolsky Eautarch@urth.orgE - -=head1 COPYRIGHT AND LICENSE - -Copyright 2006-2010 by Infinity Interactive, Inc. - -L - -This library is free software; you can redistribute it and/or modify -it under the same terms as Perl itself. - =cut