File Coverage

blib/lib/Dist/Zilla/Stash/Rights.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             # ABSTRACT: a stash of your default licensing terms
2              
3             use Moose;
4 2     2   2106 with 'Dist::Zilla::Role::Stash';
  2         6  
  2         16  
5              
6             use Dist::Zilla::Pragmas;
7 2     2   14634  
  2         6  
  2         25  
8             use namespace::autoclean;
9 2     2   19  
  2         10  
  2         17  
10             has license_class => (
11             is => 'ro',
12             isa => 'Str',
13             required => 1,
14             );
15              
16             has copyright_holder => (
17             is => 'ro',
18             isa => 'Str',
19             required => 1,
20             );
21              
22             has copyright_year => (
23             is => 'ro',
24             isa => 'Int',
25             );
26              
27             __PACKAGE__->meta->make_immutable;
28             1;
29              
30              
31             =pod
32              
33             =encoding UTF-8
34              
35             =head1 NAME
36              
37             Dist::Zilla::Stash::Rights - a stash of your default licensing terms
38              
39             =head1 VERSION
40              
41             version 6.028
42              
43             =head1 PERL VERSION
44              
45             This module should work on any version of perl still receiving updates from
46             the Perl 5 Porters. This means it should work on any version of perl released
47             in the last two to three years. (That is, if the most recently released
48             version is v5.40, then this module should work on both v5.40 and v5.38.)
49              
50             Although it may work on older versions of perl, no guarantee is made that the
51             minimum required version will not be increased. The version may be increased
52             for any reason, and there is no promise that patches will be accepted to lower
53             the minimum required perl.
54              
55             =head1 AUTHOR
56              
57             Ricardo SIGNES 😏 <cpan@semiotic.systems>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2022 by Ricardo SIGNES.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut