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   2328316 use strict;
  1         2  
  1         37  
2 1     1   4 use warnings;
  1         1  
  1         52  
3             package Dist::Zilla::Plugin::EOLTests;
4             # ABSTRACT: (DEPRECATED) Release tests making sure correct line endings are used
5             $Dist::Zilla::Plugin::EOLTests::VERSION = '0.17';
6 1     1   4 use Moose;
  1         1  
  1         7  
7             extends 'Dist::Zilla::Plugin::Test::EOL';
8 1     1   4902 use namespace::autoclean;
  1         1  
  1         9  
9              
10             before register_component => sub {
11             warnings::warnif('deprecated',
12             "!!! [EOLTests] is deprecated and may be removed in a future release; replace it with [Test::EOL] (note the different default filename)\n",
13             );
14             };
15              
16             has '+filename' => (
17             default => sub { return 'xt/release/eol.t' },
18             );
19              
20             __PACKAGE__->meta->make_immutable;
21             1;
22              
23             __END__
24              
25             =pod
26              
27             =encoding UTF-8
28              
29             =head1 NAME
30              
31             Dist::Zilla::Plugin::EOLTests - (DEPRECATED) Release tests making sure correct line endings are used
32              
33             =head1 VERSION
34              
35             version 0.17
36              
37             =head1 SYNOPSIS
38              
39             In your F<dist.ini>:
40              
41             [EOLTests]
42              
43             =head1 DESCRIPTION
44              
45             This is a plugin that runs at the L<gather files|Dist::Zilla::Role::FileGatherer> stage,
46             providing the file F<xt/release/eol.t>, a standard L<Test::EOL> test.
47              
48             THIS MODULE IS DEPRECATED. Please use
49             L<Dist::Zilla::Plugin::Test::EOL> instead. it may be removed at a
50             later time (but not before April 2015).
51              
52             In the meantime, it will continue working -- although with a warning.
53             Refer to the replacement for the full documentation.
54              
55             =head1 AUTHORS
56              
57             =over 4
58              
59             =item *
60              
61             Florian Ragwitz <rafl@debian.org>
62              
63             =item *
64              
65             Caleb Cushing <xenoterracide@gmail.com>
66              
67             =item *
68              
69             Karen Etheridge <ether@cpan.org>
70              
71             =back
72              
73             =head1 COPYRIGHT AND LICENSE
74              
75             This software is copyright (c) 2010 by Florian Ragwitz <rafl@debian.org>.
76              
77             This is free software; you can redistribute it and/or modify it under
78             the same terms as the Perl 5 programming language system itself.
79              
80             =cut