pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/p5-Set-Array



Module Name:    pkgsrc
Committed By:   wen
Date:           Sun Dec 15 14:25:50 UTC 2013

Modified Files:
        pkgsrc/devel/p5-Set-Array: Makefile distinfo

Log Message:
Update to 0.30

Upstream changes:
0.30  Wed Sep 18 09:21:00 2013
        - No code changes.
        - Add t/intersection.*.pl as part of the expanded discussion of methods 
such as intersection().
                This code was developed in conjunction with Joern Behre, to 
help clear up confusion over
                the issue of the uniqueness of items returned from various 
methods.
        - Add an FAQ with an item discussing this issue.
        - Expand the discussion of overloaded operators to recommend testing of 
the output of various methods
                before production use, and that unique() may need to be called, 
since unique() is not called
                automatically during a call to, say, intersection().
        - Include docs for bag(), difference(), intersection(), is_equal() and 
not_equal() explicitly among
                all other methods, besides their original mention under 
'OVERLOADED (COMPARISON) OPERATORS'.
        - Include docs for new() as well.

0.29  Wed Jul  3 16:20:00 2013
        - No code changes.
        - Rename CHANGES to Changes as per CPAN::Changes::SPEC.
        - Recreate META.* files so they say licence is artistic_2 rather than 
artistic_1.
                Build.PL and Makefile.PL already said artistic_2, but the 
META.* files didn't.
                There is no reference to licences in the source of the module 
itself.
                This was requested by Christopher Meng who packages stuff for 
Fedora.

0.28  Wed Dec 19 08:50:00 2012
        - Extend fix for RT#81971 to add ^ in the regexps used in index() and 
rindex(), so they are now
                /^\Q$value\E$/ and not just /\Q$value\E$/. This issue was also 
reported by Henrik Hald N鴕gaard.
        - Update docs for rindex() is say undef is returned - as with index() - 
if the value is not found.
        - Extend t/rt.81971.t to check rindex() returns undef when searching 
for the suffix of a value.

0.27  Sat Dec 15 07:19:00 2012
        - Fix RT#81971, kindly reported by Henrik Hald N鴕gaard.
                When special chars, as used in regexps, are set members, or 
used to find set members, they
                must be quoted with \Q$value\E inside regexps.
                This fix was applied to count(), delete(), exists(), index() 
and rindex().
        - Add t/rt.81971.t to exercise the new code.
        - While examining the code for this fix, I found a couple of other 
bugs: In index() and rindex(),
                the value searched for was compared with each set member using 
this regexp, /$value/,
                instead of this regexp, /$value$/. The missing, trailing, $ 
meant that the member could match just
                the prefix of $value, rather than match the value exactly. So 
in those 2 methods the tests are now
                /\Q$value\E$/. The other 3 methods mentioned above already used 
/$value$/.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/devel/p5-Set-Array/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/p5-Set-Array/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index