File Coverage

blib/lib/Dist/Zilla/Stash/PAUSE.pm
Criterion Covered Total %
statement 10 10 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 0 1 0.0
total 14 15 93.3


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