r74912 - in /trunk/libtest-spelling-perl: Changes META.yml README debian/changelog debian/patches/ lib/Test/Spelling.pm

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Fri May 27 20:22:31 UTC 2011


Author: periapt-guest
Date: Fri May 27 20:22:23 2011
New Revision: 74912

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=74912
Log:
New upstream release (Closes: #627963)

Removed:
    trunk/libtest-spelling-perl/debian/patches/
Modified:
    trunk/libtest-spelling-perl/Changes
    trunk/libtest-spelling-perl/META.yml
    trunk/libtest-spelling-perl/README
    trunk/libtest-spelling-perl/debian/changelog
    trunk/libtest-spelling-perl/lib/Test/Spelling.pm

Modified: trunk/libtest-spelling-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-spelling-perl/Changes?rev=74912&op=diff
==============================================================================
--- trunk/libtest-spelling-perl/Changes (original)
+++ trunk/libtest-spelling-perl/Changes Fri May 27 20:22:23 2011
@@ -1,4 +1,8 @@
 Revision history for Test-Spelling
+
+0.14  2011-05-27
+        - Fix an error when using add_stopwords("constant", "strings")
+          [rt.cpan.org #68471] (reported by Nicholas Bamber)
 
 0.13  2011-04-27
         - Make alternatives checking more robust by reading the spellchecker's

Modified: trunk/libtest-spelling-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-spelling-perl/META.yml?rev=74912&op=diff
==============================================================================
--- trunk/libtest-spelling-perl/META.yml (original)
+++ trunk/libtest-spelling-perl/META.yml Fri May 27 20:22:23 2011
@@ -23,4 +23,4 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/bestpractical/test-spelling
-version: 0.13
+version: 0.14

Modified: trunk/libtest-spelling-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-spelling-perl/README?rev=74912&op=diff
==============================================================================
--- trunk/libtest-spelling-perl/README (original)
+++ trunk/libtest-spelling-perl/README Fri May 27 20:22:23 2011
@@ -69,12 +69,8 @@
     "has_working_spellchecker"), this test will issue a "skip all"
     directive.
 
-    If you're testing a distribution, just create a t/pod-spell.t:
-
-        use Test::More;
-        plan skip_all => "Spelling tests only for authors" unless -d "inc/.author";
-        use Test::Spelling;
-        all_pod_files_spelling_ok();
+    If you're testing a distribution, just create a t/pod-spell.t with the
+    code in the "SYNOPSIS".
 
     Returns true if every POD file has correct spelling, or false if any of
     them fail. This function will show any spelling errors as diagnostics.

Modified: trunk/libtest-spelling-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-spelling-perl/debian/changelog?rev=74912&op=diff
==============================================================================
--- trunk/libtest-spelling-perl/debian/changelog (original)
+++ trunk/libtest-spelling-perl/debian/changelog Fri May 27 20:22:23 2011
@@ -1,11 +1,8 @@
-libtest-spelling-perl (0.13-2) UNRELEASED; urgency=low
+libtest-spelling-perl (0.14-1) UNRELEASED; urgency=low
 
-  TODO:
-  - let's wait a bit for a solution in the discussion on RT/perlmonks
+  * New upstream release (Closes: #627963)
 
-  * Stopped add_stopwords from modifying constants (Closes: #627963)
-
- -- Nicholas Bamber <nicholas at periapt.co.uk>  Wed, 25 May 2011 23:29:19 +0100
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Fri, 27 May 2011 21:23:05 +0100
 
 libtest-spelling-perl (0.13-1) unstable; urgency=low
 

Modified: trunk/libtest-spelling-perl/lib/Test/Spelling.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtest-spelling-perl/lib/Test/Spelling.pm?rev=74912&op=diff
==============================================================================
--- trunk/libtest-spelling-perl/lib/Test/Spelling.pm (original)
+++ trunk/libtest-spelling-perl/lib/Test/Spelling.pm Fri May 27 20:22:23 2011
@@ -10,7 +10,7 @@
 use IPC::Open3;
 use Symbol 'gensym';
 
-our $VERSION = '0.13';
+our $VERSION = '0.14';
 
 our @EXPORT = qw(
     pod_file_spelling_ok
@@ -216,7 +216,10 @@
 }
 
 sub add_stopwords {
-    for my $word (@_) {
+    for (@_) {
+        # explicit copy so we don't modify constants as in add_stopwords("SQLite")
+        my $word = $_;
+
         # XXX: the processing this performs is to support "perl t/spell.t 2>>
         # t/spell.t" which is bunk. in the near future the processing here will
         # become more modern




More information about the Pkg-perl-cvs-commits mailing list