File Coverage

blib/lib/Dist/Zooky/Role/DistIni.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             package Dist::Zooky::Role::DistIni;
2             $Dist::Zooky::Role::DistIni::VERSION = '0.24';
3             # ABSTRACT: role for DistIni plugins
4              
5 2     2   981 use strict;
  2         5  
  2         51  
6 2     2   9 use warnings;
  2         4  
  2         45  
7 2     2   694 use Moose::Role;
  2         8571  
  2         9  
8              
9             with 'Dist::Zilla::Role::TextTemplate';
10              
11             has 'type' => (
12             is => 'ro',
13             isa => 'Str',
14             required => 1,
15             );
16              
17             has 'metadata' => (
18             is => 'ro',
19             isa => 'HashRef',
20             required => 1,
21             );
22              
23             requires 'content';
24              
25 2     2   9880 no Moose::Role;
  2         6  
  2         9  
26              
27             qq[Gotta role];
28              
29             __END__
30              
31             =pod
32              
33             =encoding UTF-8
34              
35             =head1 NAME
36              
37             Dist::Zooky::Role::DistIni - role for DistIni plugins
38              
39             =head1 VERSION
40              
41             version 0.24
42              
43             =head1 AUTHOR
44              
45             Chris Williams <chris@bingosnet.co.uk>
46              
47             =head1 COPYRIGHT AND LICENSE
48              
49             This software is copyright (c) 2017 by Chris Williams.
50              
51             This is free software; you can redistribute it and/or modify it under
52             the same terms as the Perl 5 programming language system itself.
53              
54             =cut