diff options
author | wiz <wiz@pkgsrc.org> | 2007-02-18 03:21:59 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2007-02-18 03:21:59 +0000 |
commit | b59acd4f0a29939f7c462a25e532fb4cee2b847c (patch) | |
tree | 5b765b18084cbdaf98f42667a31dd5a56391f43b /www/p5-WWW-Mechanize | |
parent | 8426767dac28539f91048ef630c7d127ff6b5ff1 (diff) | |
download | pkgsrc-b59acd4f0a29939f7c462a25e532fb4cee2b847c.tar.gz |
Update to 1.20:
1.20
[ENHANCEMENTS]
* Added new two-argument form of credentials() method.
$mech->credentials($username, $password);
That provides simpler visiting of password-protected
resources in the vast majority of cases and still
allows the other cases to be supported. (Peter Scott)
[BUG FIXES]
* autocheck no longer is triggered when informational
responses are returned. (Mark Stosberg)
[INTERNALS]
* test suite no longer fails when Test::Warn is missing.
(CPAN testers, Mark Stosberg)
* Removed all the testing against live sites. The networking
code is not actually in Mech anway, and they were prone to
breaking, as the live sites changed. (Mark Stosberg)
1.19_02 Mon Aug 7 23:57:56 CDT 2006
[ENHANCEMENTS]
* Add new Do-What-I-Mean submit_form() option.
$mech->submit_form(
with_fields => \%data
);
That expresses that you want to select the first form contains all
fields in \%data, and then submit the data to that form. See the docs
for form_with_fields() and submit_form() for details.
(Mark Stosberg, inspired by RT#6100)
[BUG FIXES]
* The behavior of clone() now copies over the cookie jar, which
is probably what you expected it did in the first place.
This fixes bug RT#13541 filed against Test::WWW::Mechanize,
which was using clone() internally. (Mark Stosberg)
* The correct URL is returned after redirecting. This a regression
from 1.04 and was reported as RT#9059, RT#12882, and RT#12786.
The documentation about this has also been clarified that we
return a URI object, but that it stringifies to the URI itself.
[DOCUMENTATION]
* Fixed a misleading parm in the constructor.
* Document the return value of set_visible (RT#6071, MJD,
Mark Stosberg)
* Document that form_name and form_number return an HTML::Form
object (Mark Stosberg)
[INTERNALS]
* Made lots of little cleanups based on Perl::Critic
* Fix Taint-mode warnings with Perl 5.6.1 (RT#16945)
Diffstat (limited to 'www/p5-WWW-Mechanize')
-rw-r--r-- | www/p5-WWW-Mechanize/Makefile | 4 | ||||
-rw-r--r-- | www/p5-WWW-Mechanize/distinfo | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/www/p5-WWW-Mechanize/Makefile b/www/p5-WWW-Mechanize/Makefile index fb22ece7522..1d15079bc53 100644 --- a/www/p5-WWW-Mechanize/Makefile +++ b/www/p5-WWW-Mechanize/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.10 2006/02/26 09:09:05 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2007/02/18 03:21:59 wiz Exp $ # -DISTNAME= WWW-Mechanize-1.18 +DISTNAME= WWW-Mechanize-1.20 PKGNAME= p5-${DISTNAME} CATEGORIES= www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/} diff --git a/www/p5-WWW-Mechanize/distinfo b/www/p5-WWW-Mechanize/distinfo index 63a401f449a..5285152f9b8 100644 --- a/www/p5-WWW-Mechanize/distinfo +++ b/www/p5-WWW-Mechanize/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2006/02/26 09:09:05 wiz Exp $ +$NetBSD: distinfo,v 1.8 2007/02/18 03:21:59 wiz Exp $ -SHA1 (WWW-Mechanize-1.18.tar.gz) = f03855c83ce5f1b1ec157530ce8408ac2bb4f835 -RMD160 (WWW-Mechanize-1.18.tar.gz) = 705532222aebc0e50796ac9b48f0252e979a718b -Size (WWW-Mechanize-1.18.tar.gz) = 107253 bytes +SHA1 (WWW-Mechanize-1.20.tar.gz) = 6db4869ff4978637e3d8f2e31d771a94b52fa2ea +RMD160 (WWW-Mechanize-1.20.tar.gz) = d9c593ddd055cf9b6e346029823a772e8c598628 +Size (WWW-Mechanize-1.20.tar.gz) = 106488 bytes |