File Coverage

lib/Dist/Zilla/Plugin/CSJEWELL/FakeReleaseAnnounce.pm
Criterion Covered Total %
statement 8 11 72.7
branch n/a
condition n/a
subroutine 3 4 75.0
pod 0 1 0.0
total 11 16 68.7


line stmt bran cond sub pod time code
1             package Dist::Zilla::Plugin::CSJEWELL::FakeReleaseAnnounce;
2              
3 1     1   1598 use 5.008003;
  1         5  
4 1     1   6 use Moose;
  1         2  
  1         11  
5             with 'Dist::Zilla::Role::BeforeBuild';
6              
7             our $VERSION = '0.994';
8              
9             sub before_build {
10 0     0 0   my ($self) = @_;
11              
12 0           $self->log(['WARNING! WARNING! WARNING! *** You are in fake_release mode!! ***']);
13              
14 0           return 1;
15             }
16              
17             __PACKAGE__->meta->make_immutable;
18 1     1   8029 no Moose;
  1         3  
  1         7  
19             1;
20              
21             __END__
22              
23             =pod
24              
25             =head1 NAME
26              
27             Dist::Zilla::Plugin::CSJEWELL::FakeReleaseAnnounce - Announce a fake release.
28              
29             =head1 VERSION
30              
31             This document describes Dist::Zilla::Plugin::CSJEWELL::FakeReleaseAnnounce version 0.994.
32              
33             =head1 DESCRIPTION
34              
35             =for Pod::Coverage before_build
36              
37             =head1 AUTHOR
38              
39             Curtis Jewell <CSJewell@cpan.org>
40              
41             =head1 SEE ALSO
42              
43             L<Dist::Zilla::BeLike::CSJEWELL|Dist::Zilla::BeLike::CSJEWELL>
44              
45             =head1 LICENSE AND COPYRIGHT
46              
47             Copyright (c) 2010, Curtis Jewell C<< CSJewell@cpan.org >>.
48              
49             This module is free software; you can redistribute it and/or
50             modify it under the same terms as Perl itself, either version
51             5.8.1 or any later version. See L<perlartistic|perlartistic>
52             and L<perlgpl|perlgpl>.
53              
54             The full text of the license can be found in the
55             LICENSE file included with this module.
56              
57             =head1 DISCLAIMER OF WARRANTY
58              
59             BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
60             FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
61             OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
62             PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
63             EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
64             WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
65             ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH
66             YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
67             NECESSARY SERVICING, REPAIR, OR CORRECTION.
68              
69             IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
70             WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
71             REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE
72             LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL,
73             OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE
74             THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
75             RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
76             FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
77             SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
78             SUCH DAMAGES.
79              
80             =cut
81