bump version to 1.25
[gitmo/Moose.git] / lib / Moose / Deprecated.pm
CommitLineData
3b400403 1package Moose::Deprecated;
2
3use strict;
4use warnings;
5
0c3879e8 6our $VERSION = '1.25';
3b400403 7$VERSION = eval $VERSION;
8our $AUTHORITY = 'cpan:STEVAN';
9
b693686e 10use Package::DeprecationManager 0.07 -deprecations => {
34d6d196 11 'default is for Native Trait' => '1.14',
12 'default default for Native Trait' => '1.14',
13 'coerce without coercion' => '1.08',
14 'pre-0.94 MetaRole API' => '0.94',
15 'alias or excludes' => '0.89',
16 'Role type' => '0.84',
17 'subtype without sugar' => '0.72',
18 'type without sugar' => '0.72',
19 'Moose::init_meta' => '0.56',
3b400403 20 },
3cf2f9ec 21 -ignore => [qr/^(?:Class::MOP|Moose)(?:::)?/],
3b400403 22 ;
23
241;
7ebd38db 25
26__END__
27
28=pod
29
30=head1 NAME
31
32Moose::Deprecated - Manages deprecation warnings for Moose
33
34=head1 DESCRIPTION
35
36 use Moose::Deprecated -api_version => $version;
37
38=head1 FUNCTIONS
39
40This module manages deprecation warnings for features that have been
41deprecated in Moose.
42
43If you specify C<< -api_version => $version >>, you can use deprecated features
44without warnings. Note that this special treatment is limited to the package
14c095bc 45that loads C<Moose::Deprecated>.
7ebd38db 46
47=head1 AUTHORS
48
49Dave Rolsky E<lt>autarch@urth.orgE<gt>
50
51=head1 COPYRIGHT AND LICENSE
52
53Copyright 2006-2010 by Infinity Interactive, Inc.
54
55L<http://www.iinteractive.com>
56
57This library is free software; you can redistribute it and/or modify
58it under the same terms as Perl itself.
59
60=cut