pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-Test-WWW-Mechanize Update to 1.20:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1239e2bbf02
branches:  trunk
changeset: 541622:d1239e2bbf02
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Apr 23 21:10:32 2008 +0000

description:
Update to 1.20:

1.20    Wed Mar 12 23:56:11 CDT 2008
-----------------------------------
[FIXES]
stuff_inputs() used to do nothing.  Now it works.
http://code.google.com/p/www-mechanize/issues/detail?id=9

Fixed punctuation in some error messages.

Fixed compatibility with WWW::Mechanize 1.36.


1.18    Thu Dec  6 10:12:14 CST 2007
------------------------------------
[ENHANCEMENTS]
Added default descriptions for most test assertions.

[FIXES]
HTML::Lint is now properly optional.

Added delays in all the tests that use HTTP::Server::Simple to give
it time to correctly fire up.


1.16    Mon Oct 29 15:34:21 CDT 2007
------------------------------------
[ENHANCEMENTS]
Added $mech->post_ok().  Thanks, Greg Sheard.

Added $mech->submit_form_ok().  Thanks, Mark Stosberg.

Added $mech->html_lint_ok()

[FIXES]
Fixed some bugs that were causing test failures.


1.14    Fri May 11 16:22:02 CDT 2007
------------------------------------
[FIXES]
Fixes test failures.  Thanks to Mark Blackman for RT #26602:

The module tests currently spawn a server (based on
HTTP::Server::Simple::CGI) which is killed when a __DIE__
signal is received, normally only when the invoking
perl dies. However, as perlvar makes clear, the __DIE__
signal is received when eval blocks die as well. The
new version (1.22) of WWW::Mechanize now calles
HTTP::Message::decoded_content which calls Encode.pm
which has a eval block that require's Encode::ConfigLocal
which is usually not present, so the eval dies and the
HTTP server is killed as soon as the $mech object tries
to do a 'get'. It's simple to use a system variable,
$^S to find out if the __DIE__ signal is being called
for an eval so we ignore that case with the patch
attached.

The stuff_inputs() function now actually works.

[DOCUMENTATION]
*   Made the synopsis show that T:W:M doesn't take the tests=>$x
like other Test::* modules.  It'd be nice if it did, though.

diffstat:

 www/p5-Test-WWW-Mechanize/Makefile |  4 ++--
 www/p5-Test-WWW-Mechanize/distinfo |  8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r ebb92ab56c1e -r d1239e2bbf02 www/p5-Test-WWW-Mechanize/Makefile
--- a/www/p5-Test-WWW-Mechanize/Makefile        Wed Apr 23 21:05:31 2008 +0000
+++ b/www/p5-Test-WWW-Mechanize/Makefile        Wed Apr 23 21:10:32 2008 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2007/06/08 11:34:30 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2008/04/23 21:10:32 wiz Exp $
 #
 
-DISTNAME=      Test-WWW-Mechanize-1.12
+DISTNAME=      Test-WWW-Mechanize-1.20
 PKGNAME=       p5-${DISTNAME}
 SVR4_PKGNAME=  p5twm
 CATEGORIES=    www perl5
diff -r ebb92ab56c1e -r d1239e2bbf02 www/p5-Test-WWW-Mechanize/distinfo
--- a/www/p5-Test-WWW-Mechanize/distinfo        Wed Apr 23 21:05:31 2008 +0000
+++ b/www/p5-Test-WWW-Mechanize/distinfo        Wed Apr 23 21:10:32 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2007/06/08 11:34:31 wiz Exp $
+$NetBSD: distinfo,v 1.3 2008/04/23 21:10:32 wiz Exp $
 
-SHA1 (Test-WWW-Mechanize-1.12.tar.gz) = dd5cef86726f95f5197f934d2b99edfd6e52fcb4
-RMD160 (Test-WWW-Mechanize-1.12.tar.gz) = 7e75565af3e5c5900aa16ee97cf51716486e2a2d
-Size (Test-WWW-Mechanize-1.12.tar.gz) = 11710 bytes
+SHA1 (Test-WWW-Mechanize-1.20.tar.gz) = 36c0ea02b0e4296f5002686154ab79fa216b0e7c
+RMD160 (Test-WWW-Mechanize-1.20.tar.gz) = e25934a6832bb6abfd22ab0ddbc375343e212ac9
+Size (Test-WWW-Mechanize-1.20.tar.gz) = 16211 bytes



Home | Main Index | Thread Index | Old Index