line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# This file is part of Dist-Zilla-Plugin-NoSmartCommentsTests |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
# This software is Copyright (c) 2011 by Chris Weyl. |
5
|
|
|
|
|
|
|
# |
6
|
|
|
|
|
|
|
# This is free software, licensed under: |
7
|
|
|
|
|
|
|
# |
8
|
|
|
|
|
|
|
# The GNU Lesser General Public License, Version 2.1, February 1999 |
9
|
|
|
|
|
|
|
# |
10
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::Test::NoSmartComments; |
11
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:RSRCHBOY'; |
12
|
|
|
|
|
|
|
$Dist::Zilla::Plugin::Test::NoSmartComments::VERSION = '0.009'; |
13
|
|
|
|
|
|
|
# ABSTRACT: Make sure no Smart::Comments escape into the wild |
14
|
|
|
|
|
|
|
|
15
|
2
|
|
|
2
|
|
3705737
|
use Moose; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
12
|
|
16
|
2
|
|
|
2
|
|
8337
|
use namespace::autoclean; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
16
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
extends 'Dist::Zilla::Plugin::NoSmartCommentsTests'; |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
21
|
|
|
|
|
|
|
!!42; |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=pod |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=encoding UTF-8 |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=for :stopwords Chris Weyl |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=for :stopwords Wishlist flattr flattr'ed gittip gittip'ed |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
=head1 NAME |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Test::NoSmartComments - Make sure no Smart::Comments escape into the wild |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 VERSION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
This document describes version 0.009 of Dist::Zilla::Plugin::Test::NoSmartComments - released October 09, 2016 as part of Dist-Zilla-Plugin-NoSmartCommentsTests. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 SYNOPSIS |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
; In C<dist.ini>: |
42
|
|
|
|
|
|
|
[Test::NoSmartComments] |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the |
47
|
|
|
|
|
|
|
following file: |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
xt/release/no-smart-comments.t - test to ensure no Smart::Comments |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=head1 NOTE |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
The name of this plugin has turned out to be somewhat misleading, I'm afraid: |
54
|
|
|
|
|
|
|
we don't actually test for the _existance_ of smart comments, rather we |
55
|
|
|
|
|
|
|
ensure that Smart::Comment is not used by any file checked. |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head1 SEE ALSO |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
Please see those modules/websites for more information related to this module. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=over 4 |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=item * |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
L<Dist::Zilla::Plugin::NoSmartCommentsTests|Dist::Zilla::Plugin::NoSmartCommentsTests> |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=item * |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
L<Smart::Comments|Smart::Comments> |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=item * |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
L<Test::NoSmartComments|Test::NoSmartComments> |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=back |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 BUGS |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Please report any bugs or feature requests on the bugtracker website |
80
|
|
|
|
|
|
|
L<https://github.com/RsrchBoy/dist-zilla-plugin-nosmartcommentstests/issues> |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
When submitting a bug or request, please include a test-file or a |
83
|
|
|
|
|
|
|
patch to an existing test-file that illustrates the bug or desired |
84
|
|
|
|
|
|
|
feature. |
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head1 AUTHOR |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Chris Weyl <cweyl@alumni.drew.edu> |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head2 I'm a material boy in a material world |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=begin html |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
<a href="https://gratipay.com/RsrchBoy/"><img src="http://img.shields.io/gratipay/RsrchBoy.svg" /></a> |
95
|
|
|
|
|
|
|
<a href="http://bit.ly/rsrchboys-wishlist"><img src="http://wps.io/wp-content/uploads/2014/05/amazon_wishlist.resized.png" /></a> |
96
|
|
|
|
|
|
|
<a href="https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fdist-zilla-plugin-nosmartcommentstests&title=RsrchBoy's%20CPAN%20Dist-Zilla-Plugin-NoSmartCommentsTests&tags=%22RsrchBoy's%20Dist-Zilla-Plugin-NoSmartCommentsTests%20in%20the%20CPAN%22"><img src="http://api.flattr.com/button/flattr-badge-large.png" /></a> |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=end html |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Please note B<I do not expect to be gittip'ed or flattr'ed for this work>, |
101
|
|
|
|
|
|
|
rather B<it is simply a very pleasant surprise>. I largely create and release |
102
|
|
|
|
|
|
|
works like this because I need them or I find it enjoyable; however, don't let |
103
|
|
|
|
|
|
|
that stop you if you feel like it ;) |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
L<Flattr|https://flattr.com/submit/auto?user_id=RsrchBoy&url=https%3A%2F%2Fgithub.com%2FRsrchBoy%2Fdist-zilla-plugin-nosmartcommentstests&title=RsrchBoy's%20CPAN%20Dist-Zilla-Plugin-NoSmartCommentsTests&tags=%22RsrchBoy's%20Dist-Zilla-Plugin-NoSmartCommentsTests%20in%20the%20CPAN%22>, |
106
|
|
|
|
|
|
|
L<Gratipay|https://gratipay.com/RsrchBoy/>, or indulge my |
107
|
|
|
|
|
|
|
L<Amazon Wishlist|http://bit.ly/rsrchboys-wishlist>... If and *only* if you so desire. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
This software is Copyright (c) 2011 by Chris Weyl. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
This is free software, licensed under: |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
The GNU Lesser General Public License, Version 2.1, February 1999 |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=cut |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
__DATA__ |