From 146ba7cd7898b82b7f9b216f98e61011c4aa1464 Mon Sep 17 00:00:00 2001 From: Olaf Alders Date: Fri, 23 Aug 2019 21:02:21 -0400 Subject: [PATCH] v1.92 [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) --- Changes | 2 +- META.json | 66 +++++++++++++++++++++++++++++++++++++------------------ README.md | 15 ++++++++----- 3 files changed, 55 insertions(+), 28 deletions(-) diff --git a/Changes b/Changes index 7db3c5cf..471c57fe 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,6 @@ Revision history for WWW::Mechanize -{{$NEXT}} +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) diff --git a/META.json b/META.json index 155dabd3..34d8474d 100644 --- a/META.json +++ b/META.json @@ -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", @@ -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", @@ -491,6 +498,17 @@ "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", @@ -501,6 +519,11 @@ "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", @@ -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 --git a/README.md b/README.md index c7c31d78..a4c90f11 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ WWW::Mechanize - Handy web browsing in a Perl object # VERSION -version 1.91 +version 1.92 # SYNOPSIS @@ -491,9 +491,11 @@ Here some examples: $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( ... ) @@ -1042,7 +1044,8 @@ are a list of key/value pairs, all of which are optional. 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 @@ -1085,7 +1088,7 @@ are a list of key/value pairs, all of which are optional. 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