[Rt-commit] rt branch, 4.0/pod-spell, updated. rt-4.0.0rc6-128-g0a48ecf

Shawn Moore sartak at bestpractical.com
Thu Mar 17 17:11:19 EDT 2011


The branch, 4.0/pod-spell has been updated
       via  0a48ecffe1cecd8155e1fe9cf7e515ae93940c8b (commit)
       via  966e60b8e2b3fe9bdf1c180c1873104068082fa5 (commit)
      from  06c604b7f99922d978a248ffd57e6cf60b9cb1b7 (commit)

Summary of changes:
 t/99-pod-spelling.t |   82 +++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 80 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 966e60b8e2b3fe9bdf1c180c1873104068082fa5
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 17 16:30:48 2011 -0400

    Fix my stopword stripper

diff --git a/t/99-pod-spelling.t b/t/99-pod-spelling.t
index 755890c..b528681 100644
--- a/t/99-pod-spelling.t
+++ b/t/99-pod-spelling.t
@@ -6,8 +6,8 @@ use Test::More;
 eval "use Test::Spelling";
 plan skip_all => "Test::Spelling required for testing POD spelling" if $@;
 
-# strip comments
-my @stopwords = map { s/#.*// } <DATA>;
+# strip comments and empty lines
+my @stopwords = grep { /\S/ } map { s/#.*//; $_ } <DATA>;
 
 add_stopwords(@stopwords);
 

commit 0a48ecffe1cecd8155e1fe9cf7e515ae93940c8b
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Thu Mar 17 17:11:13 2011 -0400

    More stopwords

diff --git a/t/99-pod-spelling.t b/t/99-pod-spelling.t
index b528681..154b0d4 100644
--- a/t/99-pod-spelling.t
+++ b/t/99-pod-spelling.t
@@ -18,5 +18,83 @@ all_pod_files_spelling_ok();
 
 __DATA__
 # PERSON NAMES
+Autrijus
+Falcone
+Riggle
 Ruslan
 Zakirov
+
+# ENGLISH
+one's
+
+# PROGRAMMING JARGON
+API
+APIs
+CGI
+CPAN
+DBI
+DSN
+GPG
+GnuPG
+MUA
+SQL
+STDERR
+STDOUT
+TODO
+UI
+autohandler
+checkboxes
+datetime
+dhandler
+dropdown
+filename
+html
+keyserver
+login
+logins
+longblob
+metadata
+multipart
+optree
+paramhash
+paramhash's
+passphrase
+perltidy
+perltidyrc
+plugin's
+plugins
+prepopulated
+rebless
+reblesses
+resultset
+runtime
+startup
+tuple
+tuples
+unicode
+unix
+username
+workflow
+
+# RT JARGON
+ACEs
+ACL
+ACLs
+AdminCc
+AdminCcs
+Bcc
+Cc
+Ccs
+CustomField
+Gecos
+LastUpdated
+LastUpdatedBy
+Portlet
+Portlets
+RT's
+Requestor
+Requestors
+crontool
+lifecycle
+lifecycles
+mailgate

-----------------------------------------------------------------------


More information about the Rt-commit mailing list