Clean up code a bit
Dave Rolsky [Sat, 14 Mar 2009 18:12:07 +0000 (13:12 -0500)]
xt/pod_spell.t [new file with mode: 0644]

diff --git a/xt/pod_spell.t b/xt/pod_spell.t
new file mode 100644 (file)
index 0000000..71366fe
--- /dev/null
@@ -0,0 +1,176 @@
+use strict;
+use warnings;
+
+use Test::Spelling;
+
+my @stopwords;
+for (<DATA>) {
+    chomp;
+    push @stopwords, $_
+        unless /\A (?: \# | \s* \z)/msx;    # skip comments, whitespace
+}
+
+add_stopwords(@stopwords);
+set_spell_cmd('aspell list -l en');
+all_pod_files_spelling_ok;
+
+__DATA__
+## personal names
+Aankhen
+Aran
+autarch
+blblack
+chansen
+chromatic's
+Debolaz
+Deltac
+dexter
+ewilhelm
+Goulah
+gphat
+groditi
+jrockway
+Kinyon
+Kinyon's
+Kogman
+kolibrie
+konobi
+lbr
+McWhirter
+merlyn
+mst
+nothingmuch
+Pearcey
+perigrin
+phaylon
+Prather
+Ragwitz
+rafl
+Reis
+rindolf
+rlb
+robkinyon
+Rockway
+Roditi
+Rolsky
+Roszatycki
+sartak
+Sedlacek
+Shlomi
+SL
+stevan
+Stevan
+Vilain
+wreis
+Yuval
+
+## proper names
+AOP
+CLOS
+cpan
+CPAN
+OCaml
+ohloh
+SVN
+
+## Class::MOP
+CLR
+JVM
+MetaModel
+metamodel
+metaclass
+BUILDARGS
+MOPs
+Metalevel
+
+## computerese
+API
+APIs
+Baz
+continutation
+datetimes
+definedness
+destructor
+destructors
+DWIM
+hashrefs
+immutabilize
+immutabilized
+inline
+invocant
+invocant's
+irc
+IRC
+isa
+login
+munge
+namespace
+namespaced
+namespaces
+namespacing
+OO
+OOP
+ORM
+overridable
+parameterizable
+parameterize
+parameterized
+parameterizes
+pluggable
+prechecking
+prepends
+runtime
+sigil
+stacktrace
+subclassable
+subtyping
+TODO
+unblessed
+unexport
+UNIMPORTING
+uninitialize
+Unported
+unsets
+unsettable
+Whitelist
+
+## other jargon
+bey
+gey
+
+## neologisms
+breakability
+hackery
+wrappee
+
+## compound
+# half-assed
+assed
+# role-ish, Ruby-ish, medium-to-large-ish
+ish
+# kool-aid
+kool
+# pre-5.10
+pre
+# vice versa
+versa
+
+## slang
+C'mon
+might've
+Nuff
+
+## things that should be in the dictionary, but are not
+attribute's
+declaratively
+everyone's
+human's
+initializers
+newfound
+reimplements
+reinitializes
+specializer
+unintrusive
+
+## misspelt on purpose
+emali