| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
2
|
|
|
2
|
|
1856299
|
use 5.008; |
|
|
2
|
|
|
|
|
4
|
|
|
2
|
2
|
|
|
2
|
|
8
|
use strict; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
40
|
|
|
3
|
2
|
|
|
2
|
|
6
|
use warnings; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
102
|
|
|
4
|
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Dist::Zilla::Plugin::Test::CheckChanges; |
|
6
|
|
|
|
|
|
|
# ABSTRACT: Release tests for checking changes |
|
7
|
|
|
|
|
|
|
our $VERSION = '2.000004'; # VERSION |
|
8
|
2
|
|
|
2
|
|
6
|
use Moose; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
12
|
|
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
extends 'Dist::Zilla::Plugin::InlineFiles'; |
|
11
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
12
|
2
|
|
|
2
|
|
8074
|
no Moose; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
8
|
|
|
13
|
|
|
|
|
|
|
1; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=pod |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=encoding UTF-8 |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 NAME |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Dist::Zilla::Plugin::Test::CheckChanges - Release tests for checking changes |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 VERSION |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
version 2.000004 |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
In C<dist.ini>: |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
[Test::CheckChanges] |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This is an extension of L<Dist::Zilla::Plugin::InlineFiles>, providing the |
|
36
|
|
|
|
|
|
|
following file: |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
xt/release/check-changes.t - a standard Test::CheckChanges test |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 AVAILABILITY |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
The project homepage is L<http://metacpan.org/release/Dist-Zilla-Plugin-Test-CheckChanges/>. |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The latest version of this module is available from the Comprehensive Perl |
|
45
|
|
|
|
|
|
|
Archive Network (CPAN). Visit L<http://www.perl.com/CPAN/> to find a CPAN |
|
46
|
|
|
|
|
|
|
site near you, or see L<https://metacpan.org/module/Dist::Zilla::Plugin::Test::CheckChanges/>. |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 SOURCE |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
The development version is on github at L<http://github.com/doherty/Dist-Zilla-Plugin-Test-CheckChanges> |
|
51
|
|
|
|
|
|
|
and may be cloned from L<git://github.com/doherty/Dist-Zilla-Plugin-Test-CheckChanges.git> |
|
52
|
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=head1 BUGS AND LIMITATIONS |
|
54
|
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
You can make new bug reports, and view existing ones, through the |
|
56
|
|
|
|
|
|
|
web interface at L<https://github.com/doherty/Dist-Zilla-Plugin-Test-CheckChanges/issues>. |
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head1 AUTHORS |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=over 4 |
|
61
|
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=item * |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
Marcel Grünauer <marcel@cpan.org> |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Mike Doherty <doherty@cpan.org> |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=back |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This software is copyright (c) 2010 by Mike Doherty. |
|
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 |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
__DATA__ |
|
82
|
|
|
|
|
|
|
___[ xt/release/check-changes.t ]___ |
|
83
|
|
|
|
|
|
|
#!perl |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
use Test::More; |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
eval "use Test::CheckChanges"; |
|
88
|
|
|
|
|
|
|
plan skip_all => "Test::CheckChanges required for testing changes" |
|
89
|
|
|
|
|
|
|
if $@; |
|
90
|
|
|
|
|
|
|
ok_changes(); |