Skip to content

Commit

Permalink
v1.92
Browse files Browse the repository at this point in the history
    [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)
  • Loading branch information
oalders committed Aug 24, 2019
1 parent 5b3f2e9 commit 146ba7c
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 28 deletions.
2 changes: 1 addition & 1 deletion Changes
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
66 changes: 45 additions & 21 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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"
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -424,7 +431,7 @@
}
},
"name" : "@Author::OALDERS/Git::GatherDir",
"version" : "2.045"
"version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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" : [
Expand All @@ -579,15 +602,15 @@
"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",
Expand All @@ -596,20 +619,20 @@
"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" : {
"time_zone" : "local"
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/Git::Tag",
"version" : "2.045"
"version" : "2.046"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
Expand Down Expand Up @@ -651,15 +674,15 @@
"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",
Expand All @@ -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",
Expand Down Expand Up @@ -856,6 +879,7 @@
"Ricardo Signes <rjbs@cpan.org>",
"Schuyler Langdon <schuyler@velargo.com>",
"Sergey Romanov <sromanov-dev@yandex.ru>",
"Shoichi Kaji <skaji@cpan.org>",
"simbabque <simbabque@cpan.org>",
"Steve Scaffidi <stephen@scaffidi.net>",
"Stuart Johnston <saj_git@thecommune.net>",
Expand Down
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WWW::Mechanize - Handy web browsing in a Perl object

# VERSION

version 1.91
version 1.92

# SYNOPSIS

Expand Down Expand Up @@ -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( ... )

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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\(\)|&#x22;$mech->submit\(\)&#x22;)
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
Expand Down

0 comments on commit 146ba7c

Please sign in to comment.