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