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