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

perl-Test-Spelling-0.20-bp153.1.12 RPM for noarch

From OpenSuSE Leap 15.3 for noarch

Name: perl-Test-Spelling Distribution: SUSE Linux Enterprise 15 SP3
Version: 0.20 Vendor: openSUSE
Release: bp153.1.12 Build date: Sat Mar 6 11:22:43 2021
Group: Development/Libraries/Perl Build host: sheep86
Size: 25980 Source RPM: perl-Test-Spelling-0.20-bp153.1.12.src.rpm
Packager: https://bugs.opensuse.org
Url: http://search.cpan.org/dist/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 _spell_, _aspell_, _ispell_, or _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 -d 'inc/.author'' clause, or by
putting the test in your distribution's _xt/_ 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 Test::Spelling;
    add_stopwords(<DATA>);
    all_pod_files_spelling_ok();

    __END__
    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 add_stopwords will be changed and documented properly.

Provides

Requires

License

Artistic-1.0 or GPL-1.0+

Changelog

* 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
* Fri Aug 27 2010 pascal.bleser@opensuse.org
  - initial package (0.11)

Files

/usr/lib/perl5/vendor_perl/5.26.1/Test
/usr/lib/perl5/vendor_perl/5.26.1/Test/Spelling.pm
/usr/lib/perl5/vendor_perl/5.26.1/x86_64-linux-thread-multi
/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/man/man3/Test::Spelling.3pm.gz


Generated by rpm2html 1.8.1

Fabrice Bellet, Tue Apr 9 14:50:04 2024