line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Test::Class::Moose::Deprecated; |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
# ABSTRACT: Managed deprecation warnings for Test::Class::Moose |
4
|
|
|
|
|
|
|
|
5
|
34
|
|
|
34
|
|
205
|
use strict; |
|
34
|
|
|
|
|
65
|
|
|
34
|
|
|
|
|
906
|
|
6
|
34
|
|
|
34
|
|
152
|
use warnings; |
|
34
|
|
|
|
|
235
|
|
|
34
|
|
|
|
|
705
|
|
7
|
34
|
|
|
34
|
|
148
|
use namespace::autoclean; |
|
34
|
|
|
|
|
46
|
|
|
34
|
|
|
|
|
165
|
|
8
|
|
|
|
|
|
|
|
9
|
34
|
|
|
34
|
|
2000
|
use 5.010000; |
|
34
|
|
|
|
|
103
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
our $VERSION = '0.98'; |
12
|
|
|
|
|
|
|
|
13
|
34
|
|
|
|
|
259
|
use Package::DeprecationManager 0.16 -deprecations => { |
14
|
|
|
|
|
|
|
'Test::Class::Moose::Config::args' => '0.79', |
15
|
34
|
|
|
34
|
|
221
|
}; |
|
34
|
|
|
|
|
550
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
1; |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
__END__ |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=pod |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=encoding UTF-8 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 NAME |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Test::Class::Moose::Deprecated - Managed deprecation warnings for Test::Class::Moose |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 VERSION |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
version 0.98 |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
use Test::Class::Moose::Deprecated -api_version => $version; |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
=head1 FUNCTIONS |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This module manages deprecation warnings for features that have been |
40
|
|
|
|
|
|
|
deprecated in L<Test::Class::Moose>. |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
If you specify C<< -api_version => $version >>, you can use deprecated features |
43
|
|
|
|
|
|
|
without warnings. Note that this special treatment is limited to the package |
44
|
|
|
|
|
|
|
that loads C<Test::Class::Moose::Deprecated>. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 DEPRECATIONS BY VERSION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
The following features were deprecated in past versions and will now warn: |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 Test::Class::Moose::Config->args |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
This was deprecated in version 0.79. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head1 SUPPORT |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Bugs may be submitted at L<https://github.com/houseabsolute/test-class-moose/issues>. |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
I am also usually active on IRC as 'autarch' on C<irc://irc.perl.org>. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 SOURCE |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
The source code repository for Test-Class-Moose can be found at L<https://github.com/houseabsolute/test-class-moose>. |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head1 AUTHORS |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=over 4 |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=item * |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
Curtis "Ovid" Poe <ovid@cpan.org> |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=item * |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
Dave Rolsky <autarch@urth.org> |
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
=back |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
This software is copyright (c) 2012 - 2019 by Curtis "Ovid" Poe. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
83
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
The full text of the license can be found in the |
86
|
|
|
|
|
|
|
F<LICENSE> file included with this distribution. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |