diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/Changes libdist-zilla-plugin-podspellingtests-perl-1.111520/Changes --- libdist-zilla-plugin-podspellingtests-perl-1.103491/Changes 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/Changes 2011-08-31 11:57:34.000000000 +0000 @@ -1,5 +1,13 @@ Revision history for Perl extension Dist-Zilla-Plugin-PodSpellingTests +1.111520 2011-06-01 14:35:59 Europe/Vienna + - Require Test::Spelling 0.12 in the injected test (thanks doherty for the + suggestion) + +1.111480 2011-05-28 23:20:32 Europe/Vienna + - automatically add author names from dist.ini to stopwords (thanks + xenoterracide for the suggestion) + 1.103491 2010-12-15 23:06:11 Europe/Vienna 1.103490 2010-12-15 17:12:06 Europe/Vienna diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/debian/changelog libdist-zilla-plugin-podspellingtests-perl-1.111520/debian/changelog --- libdist-zilla-plugin-podspellingtests-perl-1.103491/debian/changelog 2011-04-04 14:51:17.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/debian/changelog 2011-08-31 15:24:03.000000000 +0000 @@ -1,3 +1,23 @@ +libdist-zilla-plugin-podspellingtests-perl (1.111520-1) unstable; urgency=low + + * New upstream release + * control: + * updated my e-mail address + * correctly specified alternate dependencies for libtest-simple-perl + * Bump standard-version to 3.9.2 (no other changes) + + added Enhances: libdist-zilla-perl + * copyright: + * updated upstream (c) years + + added forgotten author + + -- Dominique Dumont Wed, 31 Aug 2011 17:24:03 +0200 + +libdist-zilla-plugin-podspellingtests-perl (1.103491-2) UNRELEASED; urgency=low + + * debian/control: Convert Vcs-* fields to Git. + + -- Ansgar Burchardt Wed, 27 Jul 2011 18:43:28 +0200 + libdist-zilla-plugin-podspellingtests-perl (1.103491-1) unstable; urgency=low * Initial Release. (Closes: #619740) diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/debian/control libdist-zilla-plugin-podspellingtests-perl-1.111520/debian/control --- libdist-zilla-plugin-podspellingtests-perl-1.103491/debian/control 2011-03-28 14:39:49.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/debian/control 2011-08-31 12:14:55.000000000 +0000 @@ -1,18 +1,18 @@ Source: libdist-zilla-plugin-podspellingtests-perl Maintainer: Debian Perl Group -Uploaders: Dominique Dumont +Uploaders: Dominique Dumont Section: perl Priority: optional Build-Depends: debhelper (>= 7) Build-Depends-Indep: perl, libdist-zilla-perl, - libtest-simple-perl (>= 0.94), + perl (>= 5.11.1) | libtest-simple-perl (>= 0.94), libtest-spelling-perl, libpod-wordlist-hanekomu-perl, libmoose-perl -Standards-Version: 3.9.1 -Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libdist-zilla-plugin-podspellingtests-perl/ -Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libdist-zilla-plugin-podspellingtests-perl/ +Standards-Version: 3.9.2 +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdist-zilla-plugin-podspellingtests-perl.git +Vcs-Git: git://git.debian.org/pkg-perl/packages/libdist-zilla-plugin-podspellingtests-perl.git Homepage: http://search.cpan.org/dist/Dist-Zilla-Plugin-PodSpellingTests/ Package: libdist-zilla-plugin-podspellingtests-perl @@ -23,6 +23,7 @@ libtest-spelling-perl, libmoose-perl, libpod-wordlist-hanekomu-perl +Enhances: libdist-zilla-perl Description: release tests for POD spelling Dist::Zilla::Plugin::PodSpellingTests Perl module is an extension of Dist::Zilla::Plugin::InlineFiles, providing the diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/debian/copyright libdist-zilla-plugin-podspellingtests-perl-1.111520/debian/copyright --- libdist-zilla-plugin-podspellingtests-perl-1.103491/debian/copyright 2011-04-04 14:51:17.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/debian/copyright 2011-08-31 12:14:55.000000000 +0000 @@ -4,15 +4,14 @@ Source: http://search.cpan.org/dist/Dist-Zilla-Plugin-PodSpellingTests/ Files: * -Copyright: 2010, Marcel Gruenauer +Copyright: 2010-2011, Marcel Gruenauer + 2010-2011, Harley Pig License: Artistic or GPL-1+ - Files: debian/* Copyright: 2011, Dominique Dumont License: Artistic or GPL-1+ - License: Artistic This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License, which comes with Perl. diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/lib/Dist/Zilla/Plugin/PodSpellingTests.pm libdist-zilla-plugin-podspellingtests-perl-1.111520/lib/Dist/Zilla/Plugin/PodSpellingTests.pm --- libdist-zilla-plugin-podspellingtests-perl-1.103491/lib/Dist/Zilla/Plugin/PodSpellingTests.pm 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/lib/Dist/Zilla/Plugin/PodSpellingTests.pm 2011-08-31 11:57:34.000000000 +0000 @@ -4,7 +4,7 @@ package Dist::Zilla::Plugin::PodSpellingTests; BEGIN { - $Dist::Zilla::Plugin::PodSpellingTests::VERSION = '1.103491'; + $Dist::Zilla::Plugin::PodSpellingTests::VERSION = '1.111520'; } # ABSTRACT: Release tests for POD spelling @@ -33,6 +33,13 @@ if ($self->spell_cmd) { $set_spell_cmd = sprintf "set_spell_cmd('%s');", $self->spell_cmd; } + + # automatically add author names to stopwords + for (@{ $self->zilla->authors }) { + local $_ = $_; # we don't want to modify $_ in-place + s/<.*?>//g; + push @{ $self->stopwords }, /(\w{2,})/g; + } if (@{ $self->stopwords } > 0) { $add_stopwords = 'add_stopwords();'; $stopwords = join "\n", '__DATA__', @{ $self->stopwords }; @@ -58,7 +65,6 @@ - =pod =for stopwords wordlist @@ -72,7 +78,7 @@ =head1 VERSION -version 1.103491 +version 1.111520 =head1 SYNOPSIS @@ -107,8 +113,8 @@ =head1 DESCRIPTION -This is an extension of L, providing the -following file: +This is an extension of L, providing +the following file: xt/release/pod-spell.t - a standard Test::Spelling test @@ -123,21 +129,23 @@ =head2 spell_cmd -If C is set then C is added -to the test file to allow for custom spell check programs. +If C is set then C is +added to the test file to allow for custom spell check programs. Defaults to nothing. =head2 stopwords -If stopwords is set then CDATAE )> is added to the -test file and the words are added after the C<__DATA__> section. +If stopwords is set then CDATAE )> is added +to the test file and the words are added after the C<__DATA__> +section. C can appear multiple times, one word per line. -Defaults to nothing. - -=head1 ATTRIBUTES +Normally no stopwords are added by default, but author names appearing in +C are automatically added as stopwords so you don't have to add them +manually just because they might appear in the C section of the +generated POD document. =for Pod::Coverage mvp_multivalue_args @@ -158,7 +166,7 @@ Archive Network (CPAN). Visit L to find a CPAN site near you, or see L. -The development version lives at L +The development version lives at L and may be cloned from L. Instead of sending patches, please fork this project using the standard git and github infrastructure. @@ -197,8 +205,8 @@ plan skip_all => "{{ $wordlist }} required for testing POD spelling" if $@; -eval "use Test::Spelling"; -plan skip_all => "Test::Spelling required for testing POD spelling" +eval "use Test::Spelling 0.12"; +plan skip_all => "Test::Spelling 0.12 required for testing POD spelling" if $@; {{ $set_spell_cmd }} diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/LICENSE libdist-zilla-plugin-podspellingtests-perl-1.111520/LICENSE --- libdist-zilla-plugin-podspellingtests-perl-1.103491/LICENSE 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/LICENSE 2011-08-31 11:57:34.000000000 +0000 @@ -18,15 +18,16 @@ The GNU General Public License, Version 1, February 1989 - GNU GENERAL PUBLIC LICENSE - Version 1, February 1989 + GNU GENERAL PUBLIC LICENSE + Version 1, February 1989 Copyright (C) 1989 Free Software Foundation, Inc. - 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble + Preamble The license agreements of most software companies try to keep users at the mercy of those companies. By contrast, our General Public @@ -67,7 +68,7 @@ The precise terms and conditions for copying, distribution and modification follow. - GNU GENERAL PUBLIC LICENSE + GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any program or other work which @@ -185,7 +186,7 @@ of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. - NO WARRANTY + NO WARRANTY 9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN @@ -207,9 +208,9 @@ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. - END OF TERMS AND CONDITIONS + END OF TERMS AND CONDITIONS - Appendix: How to Apply These Terms to Your New Programs + Appendix: How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to humanity, the best way to achieve this is to make it @@ -235,8 +236,9 @@ GNU General Public License for more details. You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA + Also add information on how to contact you by electronic and paper mail. diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/Makefile.PL libdist-zilla-plugin-podspellingtests-perl-1.111520/Makefile.PL --- libdist-zilla-plugin-podspellingtests-perl-1.103491/Makefile.PL 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/Makefile.PL 2011-08-31 11:57:34.000000000 +0000 @@ -4,7 +4,7 @@ BEGIN { require 5.008; } -use ExtUtils::MakeMaker 6.31; +use ExtUtils::MakeMaker 6.30; @@ -20,7 +20,7 @@ 'Test::More' => '0.94' }, 'CONFIGURE_REQUIRES' => { - 'ExtUtils::MakeMaker' => '6.31' + 'ExtUtils::MakeMaker' => '6.30' }, 'DISTNAME' => 'Dist-Zilla-Plugin-PodSpellingTests', 'EXE_FILES' => [], @@ -33,7 +33,7 @@ 'Pod::Wordlist::hanekomu' => '0', 'Test::Spelling' => '0' }, - 'VERSION' => '1.103491', + 'VERSION' => '1.111520', 'test' => { 'TESTS' => 't/*.t' } diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/META.json libdist-zilla-plugin-podspellingtests-perl-1.111520/META.json --- libdist-zilla-plugin-podspellingtests-perl-1.103491/META.json 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/META.json 2011-08-31 11:57:34.000000000 +0000 @@ -5,7 +5,7 @@ "Harley Pig " ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400", + "generated_by" : "Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930", "license" : [ "perl_5" ], @@ -17,7 +17,7 @@ "prereqs" : { "configure" : { "requires" : { - "ExtUtils::MakeMaker" : "6.31" + "ExtUtils::MakeMaker" : "6.30" } }, "runtime" : { @@ -44,7 +44,7 @@ "provides" : { "Dist::Zilla::Plugin::PodSpellingTests" : { "file" : "lib/Dist/Zilla/Plugin/PodSpellingTests.pm", - "version" : "1.103491" + "version" : "1.111520" } }, "release_status" : "stable", @@ -60,6 +60,6 @@ "web" : "http://github.com/hanekomu/Dist-Zilla-Plugin-PodSpellingTests" } }, - "version" : "1.103491" + "version" : "1.111520" } diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/META.yml libdist-zilla-plugin-podspellingtests-perl-1.111520/META.yml --- libdist-zilla-plugin-podspellingtests-perl-1.103491/META.yml 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/META.yml 2011-08-31 11:57:34.000000000 +0000 @@ -11,9 +11,9 @@ Scalar::Util: 0 Test::More: 0.94 configure_requires: - ExtUtils::MakeMaker: 6.31 + ExtUtils::MakeMaker: 6.30 dynamic_config: 0 -generated_by: 'Dist::Zilla version 4.200000, CPAN::Meta::Converter version 2.102400' +generated_by: 'Dist::Zilla version 4.200006, CPAN::Meta::Converter version 2.110930' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -22,7 +22,7 @@ provides: Dist::Zilla::Plugin::PodSpellingTests: file: lib/Dist/Zilla/Plugin/PodSpellingTests.pm - version: 1.103491 + version: 1.111520 requires: Dist::Zilla::Plugin::InlineFiles: 0 Dist::Zilla::Role::TextTemplate: 0 @@ -34,4 +34,4 @@ bugtracker: http://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-PodSpellingTests homepage: http://search.cpan.org/dist/Dist-Zilla-Plugin-PodSpellingTests/ repository: git://github.com/hanekomu/Dist-Zilla-Plugin-PodSpellingTests.git -version: 1.103491 +version: 1.111520 diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/README libdist-zilla-plugin-podspellingtests-perl-1.111520/README --- libdist-zilla-plugin-podspellingtests-perl-1.103491/README 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/README 2011-08-31 11:57:34.000000000 +0000 @@ -2,7 +2,7 @@ Dist::Zilla::Plugin::PodSpellingTests - Release tests for POD spelling VERSION - version 1.103491 + version 1.111520 SYNOPSIS In "dist.ini": @@ -59,9 +59,11 @@ "stopwords" can appear multiple times, one word per line. - Defaults to nothing. + Normally no stopwords are added by default, but author names appearing + in "dist.ini" are automatically added as stopwords so you don't have to + add them manually just because they might appear in the "AUTHORS" + section of the generated POD document. -ATTRIBUTES INSTALLATION See perlmodinstall for information and options on installing Perl modules. @@ -80,8 +82,8 @@ . The development version lives at - and - may be cloned from + and may + be cloned from . Instead of sending patches, please fork this project using the standard git and github infrastructure. diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/t/000-report-versions.t libdist-zilla-plugin-podspellingtests-perl-1.111520/t/000-report-versions.t --- libdist-zilla-plugin-podspellingtests-perl-1.103491/t/000-report-versions.t 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/t/000-report-versions.t 2011-08-31 11:57:34.000000000 +0000 @@ -415,6 +415,7 @@ Test::Pod::Coverage Test::Portability::Files Test::YAML::Meta + open ); my $Test = Test::Builder->new; diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/t/00-compile.t libdist-zilla-plugin-podspellingtests-perl-1.111520/t/00-compile.t --- libdist-zilla-plugin-podspellingtests-perl-1.103491/t/00-compile.t 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/t/00-compile.t 2011-08-31 11:57:34.000000000 +0000 @@ -24,7 +24,18 @@ 'lib', ); -my @scripts = glob "bin/*"; +my @scripts; +if ( -d 'bin' ) { + find( + sub { + return unless -f; + my $found = $File::Find::name; + # nothing to skip + push @scripts, $found; + }, + 'bin', + ); +} my $plan = scalar(@modules) + scalar(@scripts); $plan ? (plan tests => $plan) : (plan skip_all => "no tests to run"); diff -Nru libdist-zilla-plugin-podspellingtests-perl-1.103491/t/release-pod-spell.t libdist-zilla-plugin-podspellingtests-perl-1.111520/t/release-pod-spell.t --- libdist-zilla-plugin-podspellingtests-perl-1.103491/t/release-pod-spell.t 2010-12-15 22:06:14.000000000 +0000 +++ libdist-zilla-plugin-podspellingtests-perl-1.111520/t/release-pod-spell.t 2011-08-31 11:57:34.000000000 +0000 @@ -14,10 +14,15 @@ plan skip_all => "Pod::Wordlist::hanekomu required for testing POD spelling" if $@; -eval "use Test::Spelling"; -plan skip_all => "Test::Spelling required for testing POD spelling" +eval "use Test::Spelling 0.12"; +plan skip_all => "Test::Spelling 0.12 required for testing POD spelling" if $@; - +add_stopwords(); all_pod_files_spelling_ok('lib'); +__DATA__ +Marcel +Gruenauer +Harley +Pig