Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

perl-Test-Spelling-0.25-1.19 RPM for noarch

From OpenSuSE Ports Tumbleweed for noarch

Name: perl-Test-Spelling Distribution: openSUSE:Factory:zSystems
Version: 0.25 Vendor: openSUSE
Release: 1.19 Build date: Mon Aug 7 19:42:47 2023
Group: Development/Libraries/Perl Build host: s390zp24
Size: 50357 Source RPM: perl-Test-Spelling-0.25-1.19.src.rpm
Packager: https://bugs.opensuse.org
Url: https://metacpan.org/release/Test-Spelling
Summary: Check for spelling errors in POD files
Test::Spelling lets you check the spelling of a 'POD' file, and report its
results in standard Test::More fashion. This module requires a spellcheck
program such as at http://hunspell.github.io/, _aspell_, _spell_, or,
_ispell_. We suggest using Hunspell.

    use Test::Spelling;
    pod_file_spelling_ok('lib/Foo/Bar.pm', 'POD file spelling OK');

Note that it is a bad idea to run spelling tests during an ordinary CPAN
distribution install, or in a package that will run in an uncontrolled
environment. There is no way of predicting whether the word list or
spellcheck program used will give the same results. You *can* include the
test in your distribution, but be sure to run it only for authors of the
module by guarding it in a 'skip_all unless $ENV{AUTHOR_TESTING}' clause,
or by putting the test in your distribution's _xt/author_ directory.
Anyway, people installing your module really do not need to run such tests,
as it is unlikely that the documentation will acquire typos while in
transit.

You can add your own stop words, which are words that should be ignored by
the spell check, like so:

    add_stopwords(qw(asdf thiswordiscorrect));

Adding stop words in this fashion affects all files checked for the
remainder of the test script. See Pod::Spell (which this module is built
upon) for a variety of ways to add per-file stop words to each .pm file.

If you have a lot of stop words, it's useful to put them in your test
file's 'DATA' section like so:

    use strict;
    use warnings;
    use Test::More;

    use Test::Spelling;
    use Pod::Wordlist;

    add_stopwords(<DATA>);
    all_pod_files_spelling_ok();

    __DATA__
    folksonomy
    Jifty
    Zakirov

To maintain backwards compatibility, comment markers and some whitespace
are ignored. In the near future, the preprocessing we do on the arguments
to Test::Spelling/"add_stopwords" will be changed and documented properly.

Provides

Requires

License

Artistic-1.0 OR GPL-1.0-or-later

Changelog

* Wed May 29 2019 Stephan Kulow <coolo@suse.com>
  - updated to 0.25
    see /usr/share/doc/packages/perl-Test-Spelling/Changes
    0.25      2019-05-28
    - Re-worded the documentation.
    - Ordered documented function in alphabetical order.
    - Fixed up the synopsis.
    - Put function usage examples directly below the function name; this
      makes it easier to get clickable links for functions in metacpan
    - Documented get_pod_parser
    - Moved hunspell up to the preferred checker
* Sat May 25 2019 Stephan Kulow <coolo@suse.com>
  - updated to 0.24
    see /usr/share/doc/packages/perl-Test-Spelling/Changes
    0.24      2019-05-24
    - Fixup the prereqs some
    - Revert the unicode support added in the last release as it caused
      some test breakage
* Wed May 22 2019 Stephan Kulow <coolo@suse.com>
  - updated to 0.23
    see /usr/share/doc/packages/perl-Test-Spelling/Changes
    0.23      2019-05-21
    - Fixed some documentation errors (Mohammad S Anwar)
    - Added unicode support (Kivanc Yazan, GH PR#10)
    - Bump Perl prereq to 5.8 now that we support unicode
    - Don't inherit from Exporter (Olivier Mengué, GH PR#9)
    - Bump Exporter prereq to 5.57
* Thu Apr 25 2019 Stephan Kulow <coolo@suse.com>
  - updated to 0.22
    see /usr/share/doc/packages/perl-Test-Spelling/Changes
    0.22      2019-04-24
    - Zero-code-change release encompassing everything from 0.21
    - Resolves RT#120425 . in @INC should no longer be an issue
    0.21      2019-04-19 (TRIAL)
    - Removed the POD spelling test from /t as it's now in /xt
    - Forego usage of inc::Module::Install for EU::MM
    - List out all prereqs individually; provide cpanfile
    - Use dzil to build the dist
    - Convert the README to markdown
    - Add a LICENSE file
    - Clean up the Changes log
* Tue Oct 03 2017 coolo@suse.com
  - patch the Makefile to build with perl 5.26
* Sat Feb 07 2015 coolo@suse.com
  - updated to 0.20
    - Add a sorted list of your most commonly misspelled words to
      the end of all_pod_files_spelling_ok to aid stopword list creation
      and bulk correction. (Kent Fredric)
* Tue Jun 04 2013 coolo@suse.com
  - updated to 0.19
    - for more consistent results avoid using the user's local aspell
      dictionary [rt.cpan.org #56483] (Karen Etheridge)
    - Work around Pod::Spell limitations (David Golden)
    - Improve case handling (David Golden)
    - Improve test failure reporting (Karen Etheridge)
    - Include more useful info in Test-Spelling's own test
      suite (Shawn Moore)
    - Use IPC::Run3 instead of IPC::Open3
      Quoth IPC::Open3:
      If you try to read from the child's stdout writer
      and their stderr writer, you'll have problems with
      blocking ... This is very dangerous, as you may
      block forever.
      Also the code is nicely shorter. (Randy Stauner)
    - Allow use of a custom POD parser rather than Pod::Spell
      using set_pod_parser (Thomas Sibley)
* Mon Dec 19 2011 coolo@suse.de
  - update to 0.15
    - Begin adding actual tests
      (Hilariously, adding the suggested t/pod-spell.t to this
      dist to test itself found a typo: "stopwards")
    - Fix an error when using add_stopwords("constant", "strings")
      [rt.cpan.org #68471] (reported by Nicholas Bamber)
    - Make alternatives checking more robust by reading the spellchecker's
      STDERR
    - Best Practical has taken over maintainership of this module
    - Try various spellcheck programs instead of hardcoding the ancient
      `spell` [rt.cpan.org #56483] (reported by Lars Dɪᴇᴄᴋᴏᴡ, et al)
    - Remove temporary files more aggressively [rt.cpan.org #41586]
      (reported by Tokuhiro Matsuno)
    - fixed by not creating them at all :) instead we now use IPC::Open3
    - Remove suggestion to use broken `aspell -l` [rt.cpan.org #28967]
      (reported by David Hand)
    - Add set_pod_file_filter for skipping translations, etc.
    - Skip tests in all_pod_files_spelling_ok if there is no working
      spellchecker
    - Provide a has_working_spellchecker so you can skip your own tests if
      there's no working spellchecker
    - Switch to Module::Install
    - Rewrite and modernize a lot of the documentation
    - Decruftify code, such as by using Exporter and lexical filehandles
    - Support .plx files (you're welcome Schwern)
* Wed Dec 01 2010 coolo@novell.com
  - switch to perl_requires macro
* Mon Nov 29 2010 coolo@novell.com
  - remove /var/adm/perl-modules

Files

/usr/lib/perl5/vendor_perl/5.38.0/Test
/usr/lib/perl5/vendor_perl/5.38.0/Test/Spelling.pm
/usr/share/doc/packages/perl-Test-Spelling
/usr/share/doc/packages/perl-Test-Spelling/Changes
/usr/share/doc/packages/perl-Test-Spelling/README
/usr/share/licenses/perl-Test-Spelling
/usr/share/licenses/perl-Test-Spelling/LICENSE
/usr/share/man/man3/Test::Spelling.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 12:39:58 2024