File Coverage

blib/lib/Dist/Zilla/Plugin/Author/Plicease.pm
Criterion Covered Total %
statement 13 13 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod 1 1 100.0
total 19 19 100.0


line stmt bran cond sub pod time code
1             package Dist::Zilla::Plugin::Author::Plicease 2.41 {
2              
3 3     3   178275 use strict;
  3         8  
  3         78  
4 3     3   13 use warnings;
  3         16  
  3         70  
5 3     3   636 use Path::Tiny ();
  3         8974  
  3         54  
6 3     3   881 use File::ShareDir::Dist ();
  3         1488  
  3         165  
7              
8             # ABSTRACT: Dist::Zilla plugins used by Plicease
9              
10              
11             sub dist_dir
12             {
13 3     3 1 1652906 Path::Tiny->new(
14             File::ShareDir::Dist::dist_share('Dist-Zilla-Plugin-Author-Plicease')
15             );
16             }
17             }
18              
19             1;
20              
21             __END__
22              
23             =pod
24              
25             =encoding UTF-8
26              
27             =head1 NAME
28              
29             Dist::Zilla::Plugin::Author::Plicease - Dist::Zilla plugins used by Plicease
30              
31             =head1 VERSION
32              
33             version 2.41
34              
35             =head1 DESCRIPTION
36              
37             This distribution contains some miscellaneous plugins that I use
38             that should probably not be of any use to anyone else. Historically
39             they were used and included by my bundle C<[@Author::Plicease]>, but
40             I've separated them into their own distribution so they can be
41             installed without the the full set of prereqs required by the bundle.
42              
43             =head1 METHODS
44              
45             =head2 dist_dir
46              
47             my $dir = Dist::Zilla::Plugin::Author::Plicease->dist_dir;
48              
49             Returns this distributions share directory.
50              
51             =head1 AUTHOR
52              
53             Graham Ollis <plicease@cpan.org>
54              
55             =head1 COPYRIGHT AND LICENSE
56              
57             This software is copyright (c) 2017 by Graham Ollis.
58              
59             This is free software; you can redistribute it and/or modify it under
60             the same terms as the Perl 5 programming language system itself.
61              
62             =cut