File Coverage

blib/lib/Dist/Zilla/Role/Stash/Login.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 with username/password credentials
2              
3             use Moose::Role;
4 3     3   1719 with 'Dist::Zilla::Role::Stash';
  3         9  
  3         26  
5              
6             use Dist::Zilla::Pragmas;
7 3     3   14327  
  3         5  
  3         36  
8             use namespace::autoclean;
9 3     3   20  
  3         8  
  3         17  
10             #pod =head1 OVERVIEW
11             #pod
12             #pod A Login stash must provide a C<username> and C<password> method.
13             #pod
14             #pod =cut
15              
16             requires 'username';
17             requires 'password';
18              
19             1;
20              
21              
22             =pod
23              
24             =encoding UTF-8
25              
26             =head1 NAME
27              
28             Dist::Zilla::Role::Stash::Login - a stash with username/password credentials
29              
30             =head1 VERSION
31              
32             version 6.028
33              
34             =head1 OVERVIEW
35              
36             A Login stash must provide a C<username> and C<password> method.
37              
38             =head1 PERL VERSION
39              
40             This module should work on any version of perl still receiving updates from
41             the Perl 5 Porters. This means it should work on any version of perl released
42             in the last two to three years. (That is, if the most recently released
43             version is v5.40, then this module should work on both v5.40 and v5.38.)
44              
45             Although it may work on older versions of perl, no guarantee is made that the
46             minimum required version will not be increased. The version may be increased
47             for any reason, and there is no promise that patches will be accepted to lower
48             the minimum required perl.
49              
50             =head1 AUTHOR
51              
52             Ricardo SIGNES 😏 <cpan@semiotic.systems>
53              
54             =head1 COPYRIGHT AND LICENSE
55              
56             This software is copyright (c) 2022 by Ricardo SIGNES.
57              
58             This is free software; you can redistribute it and/or modify it under
59             the same terms as the Perl 5 programming language system itself.
60              
61             =cut