File Coverage

blib/lib/Dist/Zilla/Plugin/EOLTests.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1 1     1   1650757 use strict;
  1         2  
  1         36  
2 1     1   3 use warnings;
  1         1  
  1         132  
3             package Dist::Zilla::Plugin::EOLTests;
4             # vim: set ts=8 sts=4 sw=4 tw=115 et :
5             # ABSTRACT: (DEPRECATED) Release tests making sure correct line endings are used
6              
7             our $VERSION = '0.19';
8              
9 1     1   5 use Moose;
  1         2  
  1         11  
10             extends 'Dist::Zilla::Plugin::Test::EOL';
11 1     1   4981 use namespace::autoclean;
  1         3  
  1         16  
12              
13             before register_component => sub {
14             warnings::warnif('deprecated',
15             "!!! [EOLTests] is deprecated and may be removed in a future release; replace it with [Test::EOL] (note the different default filename)\n",
16             );
17             };
18              
19             has '+filename' => (
20             default => sub { return 'xt/release/eol.t' },
21             );
22              
23             __PACKAGE__->meta->make_immutable;
24             1;
25              
26             __END__
27              
28             =pod
29              
30             =encoding UTF-8
31              
32             =head1 NAME
33              
34             Dist::Zilla::Plugin::EOLTests - (DEPRECATED) Release tests making sure correct line endings are used
35              
36             =head1 VERSION
37              
38             version 0.19
39              
40             =head1 SYNOPSIS
41              
42             In your F<dist.ini>:
43              
44             [EOLTests]
45              
46             =head1 DESCRIPTION
47              
48             This is a plugin that runs at the L<gather files|Dist::Zilla::Role::FileGatherer> stage,
49             providing the file F<xt/release/eol.t>, a standard L<Test::EOL> test.
50              
51             THIS MODULE IS DEPRECATED. Please use
52             L<Dist::Zilla::Plugin::Test::EOL> instead. it may be removed at a
53             later time (but not before April 2015).
54              
55             In the meantime, it will continue working -- although with a warning.
56             Refer to the replacement for the full documentation.
57              
58             =head1 SUPPORT
59              
60             Bugs may be submitted through L<the RT bug tracker|https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-Test-EOL>
61             (or L<bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org|mailto:bug-Dist-Zilla-Plugin-Test-EOL@rt.cpan.org>).
62              
63             There is also a mailing list available for users of this distribution, at
64             L<http://dzil.org/#mailing-list>.
65              
66             There is also an irc channel available for users of this distribution, at
67             L<C<#distzilla> on C<irc.perl.org>|irc://irc.perl.org/#distzilla>.
68              
69             =head1 AUTHORS
70              
71             =over 4
72              
73             =item *
74              
75             Florian Ragwitz <rafl@debian.org>
76              
77             =item *
78              
79             Caleb Cushing <xenoterracide@gmail.com>
80              
81             =item *
82              
83             Karen Etheridge <ether@cpan.org>
84              
85             =back
86              
87             =head1 COPYRIGHT AND LICENCE
88              
89             This software is copyright (c) 2010 by Florian Ragwitz <rafl@debian.org>.
90              
91             This is free software; you can redistribute it and/or modify it under
92             the same terms as the Perl 5 programming language system itself.
93              
94             =cut