Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: 0b66d70fe7769af01a6bea67bd2ea91b2404eb4b
https://github.com/Perl/perl5/commit/0b66d70fe7769af01a6bea67bd2ea91b2404eb4b
Author: Mike Fulton <[email protected]>
Date: 2022-01-19 (Wed, 19 Jan 2022)
Changed paths:
M AUTHORS
M MANIFEST
M dist/Locale-Maketext/ChangeLog
M dist/Locale-Maketext/lib/Locale/Maketext.pm
M dist/Locale-Maketext/lib/Locale/Maketext.pod
M dist/Locale-Maketext/t/92_blacklist.t
M dist/Locale-Maketext/t/93_whitelist.t
A dist/Locale-Maketext/t/94_denylist.t
A dist/Locale-Maketext/t/95_allowlist.t
Log Message:
-----------
Provide inclusive names allowlist and denylist
Updated the following files:
AUTHORS:
- corrected my email address
MANIFEST:
- added new testcases for Locale-Maketext
dist/Locale-Maketext/ChangeLog:
- short summary of changes made
dist/Locale-Maketext/lib/Locale/Maketext.pm:
- updated the version to 1.30
- refactored the code to create a common method _include
called by the allowlist and whitelist methods
(whitelist is now an alias, deprecated method, for allowlist).
The _include method now has an internal list called allowlist
that is updated by calls to _include through whitelist or
allowlist methods.
- refactored the code to create a common method _exclude
called by the denylist and blacklist methods
(blacklist is now an alias, deprecated method, for denylist).
The _exclude method now has an internal list called denylist
that is updated by calls to _exclude through blacklist or
denylist methods.
dist/Locale-Maketext/lib/Locale/Maketext.pod:
- documented allowlist and denylist as new methods
- added a NOTE for allowlist and denylist indicating that
they are now the preferred method names to use instead
of whitelist and blacklist
dist/Locale-Maketext/t/92_blacklist.t
- updated the code to have messages in terms of allowlist
and denylist. Actual code continues to test blacklist
method.
dist/Locale-Maketext/t/93_whitelist.t
- updated the code to have messages in terms of allowlist
and denylist. Actual code continues to test whitelist
method.
Created 2 new testcases:
dist/Locale-Maketext/t/94_denylist.t
- this testcase is analagous to 92_blacklist.t but calls
the denylist method instead of the blacklist method.
dist/Locale-Maketext/t/95_allowlist.t
- this testcase is analagous to 93_whitelist.t but calls
the allowlist method instead of the whitelist method.