pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/p5-Test-WWW-Mechanize



Module Name:    pkgsrc
Committed By:   wen
Date:           Fri Aug 26 07:53:59 UTC 2016

Modified Files:
        pkgsrc/www/p5-Test-WWW-Mechanize: Makefile distinfo

Log Message:
Update to 1.46
Update LICENSE

Upstream changes:
1.46
------------------------------------
[ENHANCEMENTS]
Added header_exists_ok(), lacks_header(), header_is() and header_like()
methods.  Thanks to Eric A. Zarko for the original patches.

The scraped_id_is() method used to assign a description for the test if
one was not passed.  Now it does not.

scraped_id_is() now gives proper diagnostics if an ID is not found in
the HTML.

Added a delete_ok() method.  Thanks, moznion.

content_contains() now fails if it's called with a regex.  content_like()
now fails if it's not called with a regex.

[FIXES]
The test server run during the test suite allowed URLs outside of the
document tree, which could potentially be a security problem.  This has
been fixed.  Thanks, Tynovsky.
https://github.com/petdance/test-www-mechanize/issues/33

Fixed an overly-restrictive optimization in scrape_text_by_id(), plus
scraped_id_is() and scraped_id_like() which wrap it.

The method checks to make sure that it doesn't bother looking for an ID
on the page if the ID doesn't exist.  It did this by looking for the text

    id="foo"

where foo is the ID being searched for.  However, that would mean that
tags like

    <p id='foo'>
    <p id=foo>
    <p id = "foo">
    <p id=
        "foo">
    <p id
    =
            "foo"
                    >

would be seen as not existing.  This has been fixed by making
scrape_text_by_id() search for the string "foo" anywhere on the page.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/www/p5-Test-WWW-Mechanize/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/p5-Test-WWW-Mechanize/distinfo

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

Modified files:

Index: pkgsrc/www/p5-Test-WWW-Mechanize/Makefile
diff -u pkgsrc/www/p5-Test-WWW-Mechanize/Makefile:1.21 pkgsrc/www/p5-Test-WWW-Mechanize/Makefile:1.22
--- pkgsrc/www/p5-Test-WWW-Mechanize/Makefile:1.21      Wed Jun  8 19:25:16 2016
+++ pkgsrc/www/p5-Test-WWW-Mechanize/Makefile   Fri Aug 26 07:53:59 2016
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.21 2016/06/08 19:25:16 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2016/08/26 07:53:59 wen Exp $
 
-DISTNAME=      Test-WWW-Mechanize-1.44
+DISTNAME=      Test-WWW-Mechanize-1.46
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Test/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/Test-WWW-Mechanize/
 COMMENT=       Perl5 module providing testing-specific WWW::Mechanize subclass
-LICENSE=       ${PERL5_LICENSE}
+LICENSE=       artistic-2.0
 
 PERL5_PACKLIST=                auto/Test/WWW/Mechanize/.packlist
 

Index: pkgsrc/www/p5-Test-WWW-Mechanize/distinfo
diff -u pkgsrc/www/p5-Test-WWW-Mechanize/distinfo:1.10 pkgsrc/www/p5-Test-WWW-Mechanize/distinfo:1.11
--- pkgsrc/www/p5-Test-WWW-Mechanize/distinfo:1.10      Wed Nov  4 02:47:19 2015
+++ pkgsrc/www/p5-Test-WWW-Mechanize/distinfo   Fri Aug 26 07:53:59 2016
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2015/11/04 02:47:19 agc Exp $
+$NetBSD: distinfo,v 1.11 2016/08/26 07:53:59 wen Exp $
 
-SHA1 (Test-WWW-Mechanize-1.44.tar.gz) = 1417fd0018eb0bb20497984778e0f202493c160d
-RMD160 (Test-WWW-Mechanize-1.44.tar.gz) = 9fc6b73aaaab3cb8e0bb5f40e5685cff9c424c34
-SHA512 (Test-WWW-Mechanize-1.44.tar.gz) = ab6f8c210a42ef14cd83bc4644a338f76d2e0c908855fe4fbf03b2dc3376476e418b5e71a080cf889b0c6a8f20185def1b54568e1cb2ba130fe484516614393d
-Size (Test-WWW-Mechanize-1.44.tar.gz) = 25824 bytes
+SHA1 (Test-WWW-Mechanize-1.46.tar.gz) = 6850be51ba7bf1b665c2e232c2f753c964a91a1c
+RMD160 (Test-WWW-Mechanize-1.46.tar.gz) = b73ea69f8e68ac1aff9726e309e74579a8c48c90
+SHA512 (Test-WWW-Mechanize-1.46.tar.gz) = 7ebc37eb233b56a8ffbe1c24957e6a4d7aea297553558567de99b6567daf3dc8e1e3e77b9edf4ef2ec8e249613b9db53a7aa6a9ccb93d7fb35137d30acda1636
+Size (Test-WWW-Mechanize-1.46.tar.gz) = 28624 bytes



Home | Main Index | Thread Index | Old Index