Hello community,
here is the log from the commit of package perl-WWW-Mechanize for openSUSE:Factory checked in at 2019-09-02 12:42:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-WWW-Mechanize (Old)
and /work/SRC/openSUSE:Factory/.perl-WWW-Mechanize.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-WWW-Mechanize"
Mon Sep 2 12:42:14 2019 rev:26 rq:726160 version:1.92
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-WWW-Mechanize/perl-WWW-Mechanize.changes 2019-01-24 14:01:37.696173795 +0100
+++ /work/SRC/openSUSE:Factory/.perl-WWW-Mechanize.new.7948/perl-WWW-Mechanize.changes 2019-09-02 12:42:16.865780449 +0200
@@ -1,0 +2,21 @@
+Sat Aug 24 05:39:03 UTC 2019 - Stephan Kulow
+
+- updated to 1.92
+ see /usr/share/doc/packages/perl-WWW-Mechanize/Changes
+
+ 1.92 2019-08-24 01:00:35Z
+ [FIXED]
+ - Test requires HTTP::Daemon 6.05+ and uses 127.0.0.1 or [::1] according to
+ server's sockdomain (GH#280) (Shoichi Kaji)
+ - Install LWP::Protocol::https and fix xt/author/live/encoding.t (GH#277)
+ (Shoichi Kaji)
+ - Set dist trusty for old Perls on Travis (GH#279) (Shoichi Kaji)
+ - Fixed pod errors as reported by CPANTS. (GH#273) (Mohammad S Anwar)
+
+ [DOCUMENTATION]
+ - Document that follow_link will die on failure with autocheck enabled (GH#271) (Olaf Alders)
+
+ [TESTS]
+ - Add a test for finding a link in a meta refresh tag (GH#275) (Olaf Alders)
+
+-------------------------------------------------------------------
Old:
----
WWW-Mechanize-1.91.tar.gz
New:
----
WWW-Mechanize-1.92.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-WWW-Mechanize.spec ++++++
--- /var/tmp/diff_new_pack.e4xB7F/_old 2019-09-02 12:42:17.613780314 +0200
+++ /var/tmp/diff_new_pack.e4xB7F/_new 2019-09-02 12:42:17.617780314 +0200
@@ -17,7 +17,7 @@
Name: perl-WWW-Mechanize
-Version: 1.91
+Version: 1.92
Release: 0
%define cpan_name WWW-Mechanize
Summary: Handy web browsing in a Perl object
@@ -36,7 +36,7 @@
BuildRequires: perl(HTML::TokeParser)
BuildRequires: perl(HTML::TreeBuilder) >= 5
BuildRequires: perl(HTTP::Cookies)
-BuildRequires: perl(HTTP::Daemon)
+BuildRequires: perl(HTTP::Daemon) >= 6.05
BuildRequires: perl(HTTP::Request) >= 1.30
BuildRequires: perl(HTTP::Request::Common)
BuildRequires: perl(HTTP::Response)
++++++ WWW-Mechanize-1.91.tar.gz -> WWW-Mechanize-1.92.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/CONTRIBUTORS new/WWW-Mechanize-1.92/CONTRIBUTORS
--- old/WWW-Mechanize-1.91/CONTRIBUTORS 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/CONTRIBUTORS 2019-08-24 03:00:40.000000000 +0200
@@ -44,6 +44,7 @@
* Ricardo Signes
* Schuyler Langdon
* Sergey Romanov
+ * Shoichi Kaji
* simbabque
* Steve Scaffidi
* Stuart Johnston
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/Changes new/WWW-Mechanize-1.92/Changes
--- old/WWW-Mechanize-1.91/Changes 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/Changes 2019-08-24 03:00:40.000000000 +0200
@@ -1,8 +1,22 @@
Revision history for WWW::Mechanize
+1.92 2019-08-24 01:00:35Z
+ [FIXED]
+ - Test requires HTTP::Daemon 6.05+ and uses 127.0.0.1 or [::1] according to
+ server's sockdomain (GH#280) (Shoichi Kaji)
+ - Install LWP::Protocol::https and fix xt/author/live/encoding.t (GH#277)
+ (Shoichi Kaji)
+ - Set dist trusty for old Perls on Travis (GH#279) (Shoichi Kaji)
+ - Fixed pod errors as reported by CPANTS. (GH#273) (Mohammad S Anwar)
+
+ [DOCUMENTATION]
+ - Document that follow_link will die on failure with autocheck enabled (GH#271) (Olaf Alders)
+
+ [TESTS]
+ - Add a test for finding a link in a meta refresh tag (GH#275) (Olaf Alders)
+
1.91 2019-01-10 18:44:33Z
[ENHANCEMENTS]
-
- Don't install Perl::Critic and Perl::Tidy to run user tests (GH#268)
(Julien Fiegehenn)
- Remove redundant PodSyntaxTests (GH#265) (Andrew Grangaard)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/MANIFEST new/WWW-Mechanize-1.92/MANIFEST
--- old/WWW-Mechanize-1.91/MANIFEST 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/MANIFEST 2019-08-24 03:00:40.000000000 +0200
@@ -90,6 +90,7 @@
t/local/submit.t
t/mech-dump/mech-dump.t
t/new.t
+t/refresh.html
t/regex-error.t
t/save_content.html
t/save_content.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/META.json new/WWW-Mechanize-1.92/META.json
--- old/WWW-Mechanize-1.91/META.json 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/META.json 2019-08-24 03:00:40.000000000 +0200
@@ -37,6 +37,7 @@
"Code::TidyAll" : "0.71",
"Code::TidyAll::Plugin::SortLines::Naturally" : "0.000003",
"Code::TidyAll::Plugin::Test::Vars" : "0.04",
+ "Code::TidyAll::Plugin::UniqueLines" : "0.000003",
"Encode" : "0",
"Parallel::ForkManager" : "1.19",
"Perl::Critic" : "1.132",
@@ -87,7 +88,7 @@
"File::Spec" : "0",
"File::Temp" : "0",
"FindBin" : "0",
- "HTTP::Daemon" : "0",
+ "HTTP::Daemon" : "6.05",
"HTTP::Response" : "0",
"HTTP::Server::Simple::CGI" : "0",
"LWP" : "0",
@@ -108,15 +109,15 @@
"provides" : {
"WWW::Mechanize" : {
"file" : "lib/WWW/Mechanize.pm",
- "version" : "1.91"
+ "version" : "1.92"
},
"WWW::Mechanize::Image" : {
"file" : "lib/WWW/Mechanize/Image.pm",
- "version" : "1.91"
+ "version" : "1.92"
},
"WWW::Mechanize::Link" : {
"file" : "lib/WWW/Mechanize/Link.pm",
- "version" : "1.91"
+ "version" : "1.92"
}
},
"release_status" : "stable",
@@ -131,7 +132,7 @@
"web" : "https://github.com/libwww-perl/WWW-Mechanize"
}
},
- "version" : "1.91",
+ "version" : "1.92",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.026001"
@@ -236,8 +237,14 @@
},
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
+ "config" : {
+ "Dist::Zilla::Role::ModuleMetadata" : {
+ "Module::Metadata" : "1.000033",
+ "version" : "0.004"
+ }
+ },
"name" : "@Author::OALDERS/InstallGuide",
- "version" : "1.200012"
+ "version" : "1.200013"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -424,7 +431,7 @@
}
},
"name" : "@Author::OALDERS/Git::GatherDir",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
@@ -460,18 +467,18 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.23.0",
"repo_root" : "."
}
},
"name" : "@Author::OALDERS/Git::Check",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.23.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -492,6 +499,17 @@
"version" : "0.163250"
},
{
+ "class" : "Dist::Zilla::Plugin::StaticInstall",
+ "config" : {
+ "Dist::Zilla::Plugin::StaticInstall" : {
+ "dry_run" : 1,
+ "mode" : "auto"
+ }
+ },
+ "name" : "@Author::OALDERS/StaticInstall",
+ "version" : "0.012"
+ },
+ {
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::OALDERS/ShareDir",
"version" : "6.012"
@@ -502,6 +520,11 @@
"version" : "0.007"
},
{
+ "class" : "Dist::Zilla::Plugin::CheckIssues",
+ "name" : "@Author::OALDERS/CheckIssues",
+ "version" : "0.010"
+ },
+ {
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::OALDERS/ConfirmRelease",
"version" : "6.012"
@@ -562,7 +585,7 @@
"config" : {
"Dist::Zilla::Plugin::Git::Commit" : {
"add_files_in" : [],
- "commit_msg" : "v%v%n%n%c"
+ "commit_msg" : "v%V%n%n%c"
},
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
@@ -579,7 +602,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.23.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -587,7 +610,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/release snapshot",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -596,12 +619,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v1.91",
- "tag_format" : "v%v",
- "tag_message" : "v%v"
+ "tag" : "v1.92",
+ "tag_format" : "v%V",
+ "tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.23.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -609,7 +632,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/Git::Tag",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
@@ -651,7 +674,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.23.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -659,7 +682,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/post-release commit",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -671,12 +694,12 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.20.1",
+ "git_version" : "2.23.0",
"repo_root" : "."
}
},
"name" : "@Author::OALDERS/Git::Push",
- "version" : "2.045"
+ "version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
@@ -856,6 +879,7 @@
"Ricardo Signes ",
"Schuyler Langdon ",
"Sergey Romanov ",
+ "Shoichi Kaji ",
"simbabque ",
"Steve Scaffidi ",
"Stuart Johnston ",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/META.yml new/WWW-Mechanize-1.92/META.yml
--- old/WWW-Mechanize-1.91/META.yml 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/META.yml 2019-08-24 03:00:40.000000000 +0200
@@ -9,7 +9,7 @@
File::Spec: '0'
File::Temp: '0'
FindBin: '0'
- HTTP::Daemon: '0'
+ HTTP::Daemon: '6.05'
HTTP::Response: '0'
HTTP::Server::Simple::CGI: '0'
LWP: '0'
@@ -41,13 +41,13 @@
provides:
WWW::Mechanize:
file: lib/WWW/Mechanize.pm
- version: '1.91'
+ version: '1.92'
WWW::Mechanize::Image:
file: lib/WWW/Mechanize/Image.pm
- version: '1.91'
+ version: '1.92'
WWW::Mechanize::Link:
file: lib/WWW/Mechanize/Link.pm
- version: '1.91'
+ version: '1.92'
requires:
Carp: '0'
Getopt::Long: '0'
@@ -72,7 +72,7 @@
bugtracker: https://github.com/libwww-perl/WWW-Mechanize/issues
homepage: https://github.com/libwww-perl/WWW-Mechanize
repository: https://github.com/libwww-perl/WWW-Mechanize.git
-version: '1.91'
+version: '1.92'
x_Dist_Zilla:
perl:
version: '5.026001'
@@ -155,8 +155,12 @@
version: '6.012'
-
class: Dist::Zilla::Plugin::InstallGuide
+ config:
+ Dist::Zilla::Role::ModuleMetadata:
+ Module::Metadata: '1.000033'
+ version: '0.004'
name: '@Author::OALDERS/InstallGuide'
- version: '1.200012'
+ version: '1.200013'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -302,7 +306,7 @@
Dist::Zilla::Plugin::Git::GatherDir:
include_untracked: 0
name: '@Author::OALDERS/Git::GatherDir'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
config:
@@ -330,15 +334,15 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.23.0
repo_root: .
name: '@Author::OALDERS/Git::Check'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Contributors
config:
Dist::Zilla::Plugin::Git::Contributors:
- git_version: 2.20.1
+ git_version: 2.23.0
include_authors: 0
include_releaser: 1
order_by: name
@@ -353,6 +357,14 @@
name: '@Author::OALDERS/ReadmeMdInBuild'
version: '0.163250'
-
+ class: Dist::Zilla::Plugin::StaticInstall
+ config:
+ Dist::Zilla::Plugin::StaticInstall:
+ dry_run: 1
+ mode: auto
+ name: '@Author::OALDERS/StaticInstall'
+ version: '0.012'
+ -
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::OALDERS/ShareDir'
version: '6.012'
@@ -361,6 +373,10 @@
name: '@Author::OALDERS/TravisCI::StatusBadge'
version: '0.007'
-
+ class: Dist::Zilla::Plugin::CheckIssues
+ name: '@Author::OALDERS/CheckIssues'
+ version: '0.010'
+ -
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::OALDERS/ConfirmRelease'
version: '6.012'
@@ -407,7 +423,7 @@
config:
Dist::Zilla::Plugin::Git::Commit:
add_files_in: []
- commit_msg: v%v%n%n%c
+ commit_msg: v%V%n%n%c
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
- Changes
@@ -421,12 +437,12 @@
allow_dirty_match: []
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.23.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Author::OALDERS/@Git::VersionManager/release snapshot'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
@@ -434,16 +450,16 @@
branch: ~
changelog: Changes
signed: 0
- tag: v1.91
- tag_format: v%v
- tag_message: v%v
+ tag: v1.92
+ tag_format: v%V
+ tag_message: v%V
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.23.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Author::OALDERS/@Git::VersionManager/Git::Tag'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional
config:
@@ -475,12 +491,12 @@
- (?^:^lib/.*\.pm$)
changelog: Changes
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.23.0
repo_root: .
Dist::Zilla::Role::Git::StringFormatter:
time_zone: local
name: '@Author::OALDERS/@Git::VersionManager/post-release commit'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -489,10 +505,10 @@
- origin
remotes_must_exist: 1
Dist::Zilla::Role::Git::Repo:
- git_version: 2.20.1
+ git_version: 2.23.0
repo_root: .
name: '@Author::OALDERS/Git::Push'
- version: '2.045'
+ version: '2.046'
-
class: Dist::Zilla::Plugin::ExecDir
name: ExecDir
@@ -636,6 +652,7 @@
- 'Ricardo Signes '
- 'Schuyler Langdon '
- 'Sergey Romanov '
+ - 'Shoichi Kaji '
- 'simbabque '
- 'Steve Scaffidi '
- 'Stuart Johnston '
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/Makefile.PL new/WWW-Mechanize-1.92/Makefile.PL
--- old/WWW-Mechanize-1.91/Makefile.PL 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/Makefile.PL 2019-08-24 03:00:40.000000000 +0200
@@ -46,7 +46,7 @@
"File::Spec" => 0,
"File::Temp" => 0,
"FindBin" => 0,
- "HTTP::Daemon" => 0,
+ "HTTP::Daemon" => "6.05",
"HTTP::Response" => 0,
"HTTP::Server::Simple::CGI" => 0,
"LWP" => 0,
@@ -62,7 +62,7 @@
"lib" => 0,
"vars" => 0
},
- "VERSION" => "1.91",
+ "VERSION" => "1.92",
"test" => {
"TESTS" => "t/*.t t/local/*.t t/mech-dump/*.t"
}
@@ -83,7 +83,7 @@
"HTML::TokeParser" => 0,
"HTML::TreeBuilder" => 5,
"HTTP::Cookies" => 0,
- "HTTP::Daemon" => 0,
+ "HTTP::Daemon" => "6.05",
"HTTP::Request" => "1.30",
"HTTP::Request::Common" => 0,
"HTTP::Response" => 0,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/README.md new/WWW-Mechanize-1.92/README.md
--- old/WWW-Mechanize-1.91/README.md 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/README.md 2019-08-24 03:00:40.000000000 +0200
@@ -4,7 +4,7 @@
# VERSION
-version 1.91
+version 1.92
# SYNOPSIS
@@ -489,9 +489,11 @@
$mech->follow_link( url => 'http://example.com/page' );
-Returns the result of the GET method (an HTTP::Response object) if
-a link was found. If the page has no links, or the specified link
-couldn't be found, returns undef.
+Returns the result of the `GET` method (an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object) if a link
+was found.
+
+If the page has no links, or the specified link couldn't be found, returns
+`undef`. If `autocheck` is enabled an exception will be thrown instead.
## $mech->find\_link( ... )
@@ -1040,7 +1042,8 @@
fields mentioned in `\%fields`. This is nice because you don't need to know
the name or number of the form to do this.
- (calls `["form_with_fields()"](#form_with_fields)` and `["set_fields()"](#set_fields)`).
+ (calls `[form_with_fields()](#mech-form_with_fields-fields)` and
+ `[set_fields()](#mech-set_fields-name-value)`).
If you choose `with_fields`, the `fields` option will be ignored. The
`form_number`, `form_name` and `form_id` options will still be used. An
@@ -1083,7 +1086,7 @@
If no form is selected, the first form found is used.
-If _button_ is not passed, then the [`submit()|"$mech->submit()"`](https://metacpan.org/pod/submit\(\)|"$mech->submit\(\)";)
+If _button_ is not passed, then the `[submit()](#mech-submit)`
method is used instead.
If you want to submit a file and get its content from a scalar rather
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/bin/mech-dump new/WWW-Mechanize-1.92/bin/mech-dump
--- old/WWW-Mechanize-1.91/bin/mech-dump 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/bin/mech-dump 2019-08-24 03:00:40.000000000 +0200
@@ -131,7 +131,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/cpanfile new/WWW-Mechanize-1.92/cpanfile
--- old/WWW-Mechanize-1.91/cpanfile 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/cpanfile 2019-08-24 03:00:40.000000000 +0200
@@ -25,7 +25,7 @@
requires "File::Spec" => "0";
requires "File::Temp" => "0";
requires "FindBin" => "0";
- requires "HTTP::Daemon" => "0";
+ requires "HTTP::Daemon" => "6.05";
requires "HTTP::Response" => "0";
requires "HTTP::Server::Simple::CGI" => "0";
requires "LWP" => "0";
@@ -58,6 +58,7 @@
requires "Code::TidyAll" => "0.71";
requires "Code::TidyAll::Plugin::SortLines::Naturally" => "0.000003";
requires "Code::TidyAll::Plugin::Test::Vars" => "0.04";
+ requires "Code::TidyAll::Plugin::UniqueLines" => "0.000003";
requires "Encode" => "0";
requires "Parallel::ForkManager" => "1.19";
requires "Perl::Critic" => "1.132";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Cookbook.pod new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Cookbook.pod
--- old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Cookbook.pod 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Cookbook.pod 2019-08-24 03:00:40.000000000 +0200
@@ -13,7 +13,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 INTRODUCTION
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Examples.pod new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Examples.pod
--- old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Examples.pod 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Examples.pod 2019-08-24 03:00:40.000000000 +0200
@@ -13,7 +13,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/lib/WWW/Mechanize/FAQ.pod new/WWW-Mechanize-1.92/lib/WWW/Mechanize/FAQ.pod
--- old/WWW-Mechanize-1.91/lib/WWW/Mechanize/FAQ.pod 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/lib/WWW/Mechanize/FAQ.pod 2019-08-24 03:00:40.000000000 +0200
@@ -13,7 +13,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 How to get help with WWW::Mechanize
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Image.pm new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Image.pm
--- old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Image.pm 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Image.pm 2019-08-24 03:00:40.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.91';
+our $VERSION = '1.92';
#ABSTRACT: Image object for WWW::Mechanize
@@ -69,7 +69,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Link.pm new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Link.pm
--- old/WWW-Mechanize-1.91/lib/WWW/Mechanize/Link.pm 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/lib/WWW/Mechanize/Link.pm 2019-08-24 03:00:40.000000000 +0200
@@ -3,7 +3,7 @@
use strict;
use warnings;
-our $VERSION = '1.91';
+our $VERSION = '1.92';
#ABSTRACT: Link object for WWW::Mechanize
@@ -65,7 +65,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/lib/WWW/Mechanize.pm new/WWW-Mechanize-1.92/lib/WWW/Mechanize.pm
--- old/WWW-Mechanize-1.91/lib/WWW/Mechanize.pm 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/lib/WWW/Mechanize.pm 2019-08-24 03:00:40.000000000 +0200
@@ -6,7 +6,7 @@
use strict;
use warnings;
-our $VERSION = '1.91';
+our $VERSION = '1.92';
use Tie::RefHash;
use HTTP::Request 1.30;
@@ -1687,7 +1687,7 @@
=head1 VERSION
-version 1.91
+version 1.92
=head1 SYNOPSIS
@@ -2221,9 +2221,11 @@
=back
-Returns the result of the GET method (an HTTP::Response object) if
-a link was found. If the page has no links, or the specified link
-couldn't be found, returns undef.
+Returns the result of the C<GET> method (an LHTTP::Response object) if a link
+was found.
+
+If the page has no links, or the specified link couldn't be found, returns
+C<undef>. If C<autocheck> is enabled an exception will be thrown instead.
=head2 $mech->find_link( ... )
@@ -2796,7 +2798,8 @@
fields mentioned in C<\%fields>. This is nice because you don't need to know
the name or number of the form to do this.
-(calls C> and C>).
+(calls Cform_with_fields( @fields )" >>> and
+ Cset_fields( $name => $value ... )" >>>).
If you choose C, the C<fields> option will be ignored. The
C, C and C options will still be used. An
@@ -2841,7 +2844,7 @@
If no form is selected, the first form found is used.
-If I<button> is not passed, then the Lsubmit()" >>>
+If I<button> is not passed, then the Csubmit()" >>>
method is used instead.
If you want to submit a file and get its content from a scalar rather
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/00-report-prereqs.dd new/WWW-Mechanize-1.92/t/00-report-prereqs.dd
--- old/WWW-Mechanize-1.91/t/00-report-prereqs.dd 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/00-report-prereqs.dd 2019-08-24 03:00:40.000000000 +0200
@@ -15,6 +15,7 @@
'Code::TidyAll' => '0.71',
'Code::TidyAll::Plugin::SortLines::Naturally' => '0.000003',
'Code::TidyAll::Plugin::Test::Vars' => '0.04',
+ 'Code::TidyAll::Plugin::UniqueLines' => '0.000003',
'Encode' => '0',
'Parallel::ForkManager' => '1.19',
'Perl::Critic' => '1.132',
@@ -65,7 +66,7 @@
'File::Spec' => '0',
'File::Temp' => '0',
'FindBin' => '0',
- 'HTTP::Daemon' => '0',
+ 'HTTP::Daemon' => '6.05',
'HTTP::Response' => '0',
'HTTP::Server::Simple::CGI' => '0',
'LWP' => '0',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/find_link.t new/WWW-Mechanize-1.92/t/find_link.t
--- old/WWW-Mechanize-1.91/t/find_link.t 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/find_link.t 2019-08-24 03:00:40.000000000 +0200
@@ -2,7 +2,8 @@
use warnings;
use strict;
-use Test::More tests => 65;
+
+use Test::More;
use URI::file;
BEGIN {
@@ -154,3 +155,9 @@
isa_ok( $x, 'WWW::Mechanize::Link' );
is( $x->[0], 'http://www.yahoo.com/', 'Got js url link' );
is( $x->url, 'http://www.yahoo.com/', 'Got js url link' );
+
+$mech->get( URI::file->new_abs('t/refresh.html') );
+my $link = $mech->find_link( tag => 'meta' );
+is( $link->url, 'http://www.mysite.com/', 'got link from meta tag via tag search' );
+
+done_testing();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/local/LocalServer.pm new/WWW-Mechanize-1.92/t/local/LocalServer.pm
--- old/WWW-Mechanize-1.91/t/local/LocalServer.pm 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/local/LocalServer.pm 2019-08-24 03:00:40.000000000 +0200
@@ -113,11 +113,7 @@
die "Couldn't read back local server url"
unless $url;
- # What is this code supposed to fix?
- my $lhurl = URI::URL->new( $url );
- $lhurl->host( '127.0.0.1' );
- $self->{_server_url} = $lhurl;
-
+ $self->{_server_url} = URI::URL->new($url);
$self->{_fh} = $server;
$self->{_pid} = $pid;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/local/back.t new/WWW-Mechanize-1.92/t/local/back.t
--- old/WWW-Mechanize-1.91/t/local/back.t 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/local/back.t 2019-08-24 03:00:40.000000000 +0200
@@ -3,7 +3,7 @@
use Test::More tests => 47;
use lib qw( t t/local );
use LocalServer;
-use HTTP::Daemon;
+use HTTP::Daemon 6.05;
use HTTP::Response;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/local/log-server new/WWW-Mechanize-1.92/t/local/log-server
--- old/WWW-Mechanize-1.91/t/local/log-server 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/local/log-server 2019-08-24 03:00:40.000000000 +0200
@@ -1,8 +1,9 @@
# Thanks to merlyn for nudging me and giving me this snippet!
use strict;
-use HTTP::Daemon;
+use HTTP::Daemon 6.05;
use CGI 4.08;
use Getopt::Long;
+use Socket ();
$|++;
@@ -10,15 +11,16 @@
'e=s' => \my $expression,
);
-my $host = 'localhost';
-my $d = HTTP::Daemon->new(
- LocalAddr => $host,
-) or die;
+my $d = HTTP::Daemon->new or die;
-# HTTP::Deamon doesn't return http://localhost:.../
-# for LocalAddr => 'localhost'. This causes the
-# tests to fail of many machines.
-( my $url = URI->new($d->url) )->host($host);
+my $url = URI->new($d->url);
+if ($d->sockdomain == Socket::AF_INET) {
+ $url->host( '127.0.0.1' );
+} elsif ($d->sockdomain == Socket::AF_INET6) {
+ $url->host( '[::1]' );
+} else {
+ die "unexpected sockdomain: " . $d->sockdomain;
+}
print "$url\n";
my ($filename,$logfile) = @ARGV[0,1];
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/local/referer-server new/WWW-Mechanize-1.92/t/local/referer-server
--- old/WWW-Mechanize-1.91/t/local/referer-server 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/local/referer-server 2019-08-24 03:00:40.000000000 +0200
@@ -1,13 +1,20 @@
# Thanks to merlyn for nudging me and giving me this snippet!
-use HTTP::Daemon;
+use HTTP::Daemon 6.05;
use URI::URL;
+use Socket ();
$|++;
my $d = HTTP::Daemon->new or die;
my $lhurl = URI::URL->new( $d->url );
-$lhurl->host( "127.0.0.1" );
+if ($d->sockdomain == Socket::AF_INET) {
+ $lhurl->host( '127.0.0.1' );
+} elsif ($d->sockdomain == Socket::AF_INET6) {
+ $lhurl->host( '[::1]' );
+} else {
+ die "unexpected sockdomain: " . $d->sockdomain;
+}
print $lhurl->as_string, "\n";
$counter = 5;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/local/referer.t new/WWW-Mechanize-1.92/t/local/referer.t
--- old/WWW-Mechanize-1.91/t/local/referer.t 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/local/referer.t 2019-08-24 03:00:40.000000000 +0200
@@ -19,7 +19,7 @@
isa_ok( $agent, 'WWW::Mechanize' );
SKIP: {
- eval { require HTTP::Daemon; };
+ eval { require HTTP::Daemon; HTTP::Daemon->VERSION(6.05); };
skip 'HTTP::Daemon required to test the referrer header',10 if $@;
# We want to be safe from non-resolving local host names
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/t/refresh.html new/WWW-Mechanize-1.92/t/refresh.html
--- old/WWW-Mechanize-1.91/t/refresh.html 1970-01-01 01:00:00.000000000 +0100
+++ new/WWW-Mechanize-1.92/t/refresh.html 2019-08-24 03:00:40.000000000 +0200
@@ -0,0 +1,3 @@
+<body>
+ <meta content="0; url='http://www.mysite.com/'" http-equiv="refresh">
+</body>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/WWW-Mechanize-1.91/tidyall.ini new/WWW-Mechanize-1.92/tidyall.ini
--- old/WWW-Mechanize-1.91/tidyall.ini 2019-01-10 19:44:39.000000000 +0100
+++ new/WWW-Mechanize-1.92/tidyall.ini 2019-08-24 03:00:40.000000000 +0200
@@ -10,3 +10,6 @@
[SortLines::Naturally]
select = .gitignore
+
+[UniqueLines]
+select = .gitignore