HiD/Role/PublishesDrafts.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« HiD/App.pm ↑ Summary
1 #ABSTRACT: Role for the 'publishes_drafts' attr
2  
3 package HiD::Role::PublishesDrafts;
4 7 our $AUTHORITY = 'cpan:GENEHACK';
5 7 $HiD::Role::PublishesDrafts::VERSION = '1.96';
6 7 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 7 requires '_run';
9  
10  
11 7 has publish_drafts=> (
12 is => 'ro' ,
13 isa => 'Bool' ,
14 cmd_aliases => 'D' ,
15 traits => [ 'Getopt' ] ,
16 );
17  
18 7 ▶no Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 7 1;
20  
21 __END__
22  
23 =pod
24  
25 =encoding UTF-8
26  
27 =head1 NAME
28  
29 HiD::Role::PublishesDrafts - Role for the 'publishes_drafts' attr
30  
31 =head1 ATTRIBUTES
32  
33 =head2 publish_drafts
34  
35 Flag indicating whether or not to publish draft posts stored in the drafts
36 directory (which defaults to '_drafts' but can be set with the 'drafts_dir'
37 config key).
38  
39 =head1 VERSION
40  
41 version 1.96
42  
43 =head1 AUTHOR
44  
45 John SJ Anderson <genehack@genehack.org>
46  
47 =head1 COPYRIGHT AND LICENSE
48  
49 This software is copyright (c) 2015 by John SJ Anderson.
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
« HiD/App.pm ↑ Summary