@@ -77,7 +77,6 @@ You can submit code changes by forking the repository, pushing your code
changes to your clone, and then submitting a pull request. Detailed
instructions for doing that is available here:
-https://help.github.com/
https://help.github.com/articles/creating-a-pull-request
If you have found a bug, but do not have an accompanying patch to fix it, you
@@ -93,9 +92,9 @@ irc://irc.perl.org/#perl-qa.
If you send me a patch or pull request, your name and email address will be
included in the documentation as a contributor (using the attribution on the
commit or patch), unless you specifically request for it not to be. If you
-wish to be listed under a different name, you should submit a pull request to
-the .mailmap file to contain the correct mapping.
+wish to be listed under a different name or address, you should submit a pull
+request to the .mailmap file to contain the correct mapping.
This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.005 from a
-template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.078.
+template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.087.
@@ -1,5 +1,10 @@
Revision history for Test-LWP-UserAgent
+0.027 2015-02-26 04:57:32Z
+ - register_psgi, unregister_psgi, map_response, map_network_response
+ and unmap_all all return their invocant, to allow for method
+ chaining (Tom Hukins, github #2)
+
0.026 2014-11-12 03:46:16Z
- resolve test failure when a prereq is too old
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.025.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.032.
CONTRIBUTING
Changes
INSTALL
@@ -8,8 +8,8 @@ META.json
META.yml
Makefile.PL
README
-advent_2012.pod
dist.ini
+docs/advent_2012.pod
examples/MyApp/Client.pm
examples/advent_2012_1.pl
examples/advent_2012_2.pl
@@ -31,6 +31,7 @@ t/08-isa-coderef.t
t/09-dispatch-to-request-method.t
t/10-request-args-network.t
t/11-request-args-internal.t
+t/12-chained-method-call.t
t/50-examples-application_client_test.t
t/51-call_psgi.t
weaver.ini
@@ -4,7 +4,7 @@
"Karen Etheridge <ether@cpan.org>"
],
"dynamic_config" : 1,
- "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.142690",
+ "generated_by" : "Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.143240",
"keywords" : [
"testing",
"useragent",
@@ -18,7 +18,7 @@
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "Test-LWP-UserAgent",
"no_index" : {
@@ -37,7 +37,7 @@
},
"develop" : {
"recommends" : {
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0.078"
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.087"
},
"requires" : {
"Dist::Zilla" : "5",
@@ -45,6 +45,7 @@
"Dist::Zilla::Plugin::AuthorityFromModule" : "0.002",
"Dist::Zilla::Plugin::AutoMetaResources" : "0",
"Dist::Zilla::Plugin::AutoPrereqs" : "0",
+ "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional" : "0.004",
"Dist::Zilla::Plugin::CheckIssues" : "0",
"Dist::Zilla::Plugin::CheckPrereqsIndexed" : "0",
"Dist::Zilla::Plugin::CheckSelfDependency" : "0",
@@ -61,13 +62,12 @@
"Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts" : "0",
"Dist::Zilla::Plugin::Git::Commit" : "2.020",
"Dist::Zilla::Plugin::Git::Contributors" : "0.004",
- "Dist::Zilla::Plugin::Git::Describe" : "0",
+ "Dist::Zilla::Plugin::Git::Describe" : "0.004",
"Dist::Zilla::Plugin::Git::GatherDir" : "2.016",
- "Dist::Zilla::Plugin::Git::NextVersion" : "0",
"Dist::Zilla::Plugin::Git::Push" : "0",
"Dist::Zilla::Plugin::Git::Remote::Check" : "0",
"Dist::Zilla::Plugin::Git::Tag" : "0",
- "Dist::Zilla::Plugin::GitHub::Update" : "0",
+ "Dist::Zilla::Plugin::GitHub::Update" : "0.40",
"Dist::Zilla::Plugin::GithubMeta" : "0",
"Dist::Zilla::Plugin::InstallGuide" : "0",
"Dist::Zilla::Plugin::Keywords" : "0.004",
@@ -81,32 +81,32 @@
"Dist::Zilla::Plugin::MetaResources" : "0",
"Dist::Zilla::Plugin::MetaTests" : "0",
"Dist::Zilla::Plugin::MetaYAML" : "0",
- "Dist::Zilla::Plugin::MinimumPerl" : "0",
+ "Dist::Zilla::Plugin::MinimumPerl" : "1.006",
"Dist::Zilla::Plugin::MojibakeTests" : "0",
"Dist::Zilla::Plugin::NextRelease" : "4.300018",
- "Dist::Zilla::Plugin::PkgVersion" : "5.010",
"Dist::Zilla::Plugin::PodCoverageTests" : "0",
"Dist::Zilla::Plugin::PodSyntaxTests" : "0",
- "Dist::Zilla::Plugin::PodWeaver" : "0",
+ "Dist::Zilla::Plugin::PodWeaver" : "4.005",
"Dist::Zilla::Plugin::Prereqs" : "0",
"Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0",
"Dist::Zilla::Plugin::PromptIfStale" : "0",
"Dist::Zilla::Plugin::Readme" : "0",
"Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142180",
- "Dist::Zilla::Plugin::Run::AfterBuild" : "0.024",
+ "Dist::Zilla::Plugin::RewriteVersion::Transitional" : "0.004",
+ "Dist::Zilla::Plugin::Run::AfterBuild" : "0.028",
"Dist::Zilla::Plugin::Run::AfterRelease" : "0.024",
- "Dist::Zilla::Plugin::RunExtraTests" : "0.019",
+ "Dist::Zilla::Plugin::RunExtraTests" : "0.024",
"Dist::Zilla::Plugin::ShareDir" : "0",
"Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008",
"Dist::Zilla::Plugin::Test::ChangesHasContent" : "0",
"Dist::Zilla::Plugin::Test::CleanNamespaces" : "0",
"Dist::Zilla::Plugin::Test::Compile" : "2.039",
"Dist::Zilla::Plugin::Test::EOL" : "0.14",
- "Dist::Zilla::Plugin::Test::Kwalitee" : "0",
+ "Dist::Zilla::Plugin::Test::Kwalitee" : "2.06",
"Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000003",
- "Dist::Zilla::Plugin::Test::NoTabs" : "0",
+ "Dist::Zilla::Plugin::Test::NoTabs" : "0.08",
"Dist::Zilla::Plugin::Test::Pod::No404s" : "0",
- "Dist::Zilla::Plugin::Test::PodSpelling" : "0",
+ "Dist::Zilla::Plugin::Test::PodSpelling" : "2.006001",
"Dist::Zilla::Plugin::Test::Portability" : "0",
"Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.019",
"Dist::Zilla::Plugin::TestRelease" : "0",
@@ -178,7 +178,7 @@
"provides" : {
"Test::LWP::UserAgent" : {
"file" : "lib/Test/LWP/UserAgent.pm",
- "version" : "0.026"
+ "version" : "0.027"
}
},
"release_status" : "stable",
@@ -196,10 +196,10 @@
"x_IRC" : "irc://irc.perl.org/#perl-qa",
"x_MailingList" : "http://lists.perl.org/list/perl-qa.html"
},
- "version" : "0.026",
+ "version" : "0.027",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.021005"
+ "version" : "5.021006"
},
"plugins" : [
{
@@ -211,22 +211,31 @@
}
},
"name" : "@Author::ETHER/bundle_plugins",
- "version" : "5.025"
+ "version" : "5.032"
},
{
- "class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
"config" : {
- "Dist::Zilla::Plugin::Git::NextVersion" : {
- "first_version" : "0.001",
- "version_by_branch" : "0",
- "version_regexp" : "(?^:^v([\\d._]+)(-TRIAL)?$)"
+ "Dist::Zilla::Plugin::PkgVersion" : {},
+ "Dist::Zilla::Plugin::RewriteVersion::Transitional" : {
+ "_fallback_version_provider_args" : {
+ "version_regexp" : "^v([\\d._]+)(-TRIAL)?$"
+ },
+ "fallback_version_provider" : "Git::NextVersion"
},
- "Dist::Zilla::Role::Git::Repo" : {
- "repo_root" : "."
+ "Git::NextVersion" : {
+ "Dist::Zilla::Plugin::Git::NextVersion" : {
+ "first_version" : "0.001",
+ "version_by_branch" : "0",
+ "version_regexp" : "(?^:^v([\\d._]+)(-TRIAL)?$)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
}
},
- "name" : "@Author::ETHER/Git::NextVersion",
- "version" : "2.025"
+ "name" : "@Author::ETHER/RewriteVersion::Transitional",
+ "version" : "0.004"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -242,7 +251,7 @@
}
},
"name" : "@Author::ETHER/stale modules, build",
- "version" : "0.029"
+ "version" : "0.038"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -256,34 +265,33 @@
}
},
"name" : "@Author::ETHER/stale modules, release",
- "version" : "0.029"
+ "version" : "0.038"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Author::ETHER/ExecDir",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::ETHER/ShareDir",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/Examples",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/ExtraTestFiles",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
"config" : {
"Dist::Zilla::Plugin::GatherDir" : {
"exclude_filename" : [
- "README.md",
"README.pod",
"LICENSE",
"CONTRIBUTING"
@@ -303,32 +311,32 @@
}
},
"name" : "@Author::ETHER/Git::GatherDir",
- "version" : "2.025"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::ETHER/MetaYAML",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::ETHER/MetaJSON",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::ETHER/License",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Author::ETHER/Readme",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::ETHER/Manifest",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir",
@@ -345,6 +353,11 @@
"version" : "0.005"
},
{
+ "class" : "Dist::Zilla::Plugin::InstallGuide",
+ "name" : "@Author::ETHER/InstallGuide",
+ "version" : "1.200006"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Test::Compile",
"config" : {
"Dist::Zilla::Plugin::Test::Compile" : {
@@ -382,27 +395,33 @@
}
},
"name" : "@Author::ETHER/Test::NoTabs",
- "version" : "0.09"
+ "version" : "0.13"
},
{
"class" : "Dist::Zilla::Plugin::Test::EOL",
"config" : {
"Dist::Zilla::Plugin::Test::EOL" : {
- "filename" : "xt/author/eol.t"
+ "filename" : "xt/author/eol.t",
+ "finder" : [
+ ":InstallModules",
+ ":ExecFiles",
+ ":TestFiles"
+ ],
+ "trailing_whitespace" : "1"
}
},
"name" : "@Author::ETHER/Test::EOL",
- "version" : "0.15"
+ "version" : "0.17"
},
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@Author::ETHER/MetaTests",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
"name" : "@Author::ETHER/Test::CPAN::Changes",
- "version" : "0.008"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
@@ -412,17 +431,17 @@
{
"class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
"name" : "@Author::ETHER/Test::MinimumVersion",
- "version" : "2.000005"
+ "version" : "2.000006"
},
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::ETHER/PodSyntaxTests",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::PodCoverageTests",
"name" : "@Author::ETHER/PodCoverageTests",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Test::PodSpelling",
@@ -453,37 +472,17 @@
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@Author::ETHER/Test::ReportPrereqs",
- "version" : "0.019"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::Test::Portability",
"name" : "@Author::ETHER/Test::Portability",
- "version" : "2.000005"
+ "version" : "2.000006"
},
{
"class" : "Dist::Zilla::Plugin::Git::Describe",
"name" : "@Author::ETHER/Git::Describe",
- "version" : "0.003"
- },
- {
- "class" : "Dist::Zilla::Plugin::PkgVersion",
- "name" : "@Author::ETHER/PkgVersion",
- "version" : "5.025"
- },
- {
- "class" : "Dist::Zilla::Plugin::AuthorityFromModule",
- "config" : {
- "Dist::Zilla::Plugin::AuthorityFromModule" : {
- "module" : "Test::LWP::UserAgent"
- }
- },
- "name" : "@Author::ETHER/AuthorityFromModule",
- "version" : "0.003"
- },
- {
- "class" : "Dist::Zilla::Plugin::Authority",
- "name" : "@Author::ETHER/Authority",
- "version" : "1.009"
+ "version" : "0.004"
},
{
"class" : "Dist::Zilla::Plugin::PodWeaver",
@@ -497,92 +496,92 @@
{
"class" : "Pod::Weaver::Plugin::EnsurePod5",
"name" : "@CorePrep/EnsurePod5",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Plugin::H1Nester",
"name" : "@CorePrep/H1Nester",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Plugin::SingleEncoding",
"name" : "@Default/SingleEncoding",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Name",
"name" : "@Default/Name",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Version",
"name" : "@Default/Version",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@Default/prelude",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "SYNOPSIS",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "DESCRIPTION",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Generic",
"name" : "OVERVIEW",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "ATTRIBUTES",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "METHODS",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Collect",
"name" : "FUNCTIONS",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Leftovers",
"name" : "@Default/Leftovers",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Region",
"name" : "@Default/postlude",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Authors",
"name" : "@Default/Authors",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Legal",
"name" : "@Default/Legal",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Plugin::Transformer",
"name" : "-Transformer",
- "version" : "4.007"
+ "version" : "4.010"
},
{
"class" : "Pod::Weaver::Section::Contributors",
"name" : "Contributors",
- "version" : "0.008"
+ "version" : "0.009"
}
]
}
@@ -593,12 +592,12 @@
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::ETHER/NextRelease",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
"name" : "@Author::ETHER/ReadmeAnyFromPod",
- "version" : "0.142470"
+ "version" : "0.150250"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
@@ -611,9 +610,24 @@
"version" : "1.20"
},
{
+ "class" : "Dist::Zilla::Plugin::AuthorityFromModule",
+ "config" : {
+ "Dist::Zilla::Plugin::AuthorityFromModule" : {
+ "module" : "Test::LWP::UserAgent"
+ }
+ },
+ "name" : "@Author::ETHER/AuthorityFromModule",
+ "version" : "0.004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Authority",
+ "name" : "@Author::ETHER/Authority",
+ "version" : "1.009"
+ },
+ {
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "@Author::ETHER/MetaNoIndex",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -626,7 +640,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.025"
+ "version" : "5.032"
}
]
},
@@ -637,12 +651,12 @@
}
},
"name" : "@Author::ETHER/MetaProvides::Package",
- "version" : "2.001002"
+ "version" : "2.003001"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::ETHER/MetaConfig",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Keywords",
@@ -672,12 +686,12 @@
}
},
"name" : "@Author::ETHER/Git::Contributors",
- "version" : "0.008"
+ "version" : "0.010"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::ETHER/AutoPrereqs",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps",
@@ -698,7 +712,7 @@
}
},
"name" : "@Author::ETHER/pluginbundle_version",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -708,12 +722,7 @@
}
},
"name" : "@Author::ETHER/MakeMaker",
- "version" : "5.025"
- },
- {
- "class" : "Dist::Zilla::Plugin::InstallGuide",
- "name" : "@Author::ETHER/InstallGuide",
- "version" : "1.200005"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -723,7 +732,7 @@
}
},
"name" : "@Author::ETHER/RunExtraTests",
- "version" : "0.024"
+ "version" : "0.025"
},
{
"class" : "Dist::Zilla::Plugin::CheckSelfDependency",
@@ -735,19 +744,20 @@
}
},
"name" : "@Author::ETHER/CheckSelfDependency",
- "version" : "0.007"
+ "version" : "0.010"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterBuild",
"config" : {
"Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "fatal_errors" : 1,
"run" : [
- "bash -c \"if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\""
+ "bash -c \"test -e .ackrc && grep -q -- '--ignore-dir=.latest' .ackrc || echo '--ignore-dir=.latest' >> .ackrc; if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\""
]
}
},
"name" : "@Author::ETHER/.ackrc",
- "version" : "0.027"
+ "version" : "0.034"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterBuild",
@@ -755,11 +765,12 @@
"Dist::Zilla::Plugin::Run::Role::Runner" : {
"eval" : [
"if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
- ]
+ ],
+ "fatal_errors" : 1
}
},
"name" : "@Author::ETHER/.latest",
- "version" : "0.027"
+ "version" : "0.034"
},
{
"class" : "Dist::Zilla::Plugin::CheckStrictVersion",
@@ -782,7 +793,7 @@
}
},
"name" : "@Author::ETHER/initial check",
- "version" : "2.025"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
@@ -792,7 +803,7 @@
}
},
"name" : "@Author::ETHER/Git::CheckFor::MergeConflicts",
- "version" : "0.011"
+ "version" : "0.012"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch",
@@ -802,7 +813,7 @@
}
},
"name" : "@Author::ETHER/Git::CheckFor::CorrectBranch",
- "version" : "0.011"
+ "version" : "0.012"
},
{
"class" : "Dist::Zilla::Plugin::Git::Remote::Check",
@@ -812,12 +823,12 @@
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@Author::ETHER/CheckPrereqsIndexed",
- "version" : "0.012"
+ "version" : "0.015"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::ETHER/TestRelease",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
@@ -835,17 +846,17 @@
}
},
"name" : "@Author::ETHER/after tests",
- "version" : "2.025"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::CheckIssues",
"name" : "@Author::ETHER/CheckIssues",
- "version" : "0.004"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::ETHER/UploadToCPAN",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
@@ -859,19 +870,7 @@
}
},
"name" : "@Author::ETHER/CopyFilesFromRelease",
- "version" : "0.003"
- },
- {
- "class" : "Dist::Zilla::Plugin::Run::AfterRelease",
- "config" : {
- "Dist::Zilla::Plugin::Run::Role::Runner" : {
- "eval" : [
- "unlink 'README.md'"
- ]
- }
- },
- "name" : "@Author::ETHER/remove old READMEs",
- "version" : "0.027"
+ "version" : "0.005"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -886,7 +885,6 @@
"Dist::Zilla::Role::Git::DirtyFiles" : {
"allow_dirty" : [
"Changes",
- "README.md",
"README.pod",
"LICENSE",
"CONTRIBUTING"
@@ -898,8 +896,8 @@
"repo_root" : "."
}
},
- "name" : "@Author::ETHER/Git::Commit",
- "version" : "2.025"
+ "name" : "@Author::ETHER/release snapshot",
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -907,7 +905,7 @@
"Dist::Zilla::Plugin::Git::Tag" : {
"branch" : null,
"signed" : 0,
- "tag" : "v0.026",
+ "tag" : "v0.027",
"tag_format" : "v%v%t",
"tag_message" : "v%v%t",
"time_zone" : "local"
@@ -917,12 +915,45 @@
}
},
"name" : "@Author::ETHER/Git::Tag",
- "version" : "2.025"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::GitHub::Update",
"name" : "@Author::ETHER/GitHub::Update",
- "version" : "0.38"
+ "version" : "0.40"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
+ "config" : {
+ "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional" : {}
+ },
+ "name" : "@Author::ETHER/BumpVersionAfterRelease::Transitional",
+ "version" : "0.004"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [],
+ "commit_msg" : "increment $VERSION after release",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "dist.ini",
+ "Changes"
+ ],
+ "allow_dirty_match" : [
+ "(?^:^lib/)"
+ ],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
+ "name" : "@Author::ETHER/post-release commit",
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -938,27 +969,30 @@
}
},
"name" : "@Author::ETHER/Git::Push",
- "version" : "2.025"
+ "version" : "2.029"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterRelease",
"config" : {
"Dist::Zilla::Plugin::Run::Role::Runner" : {
- "run" : "REDACTED"
+ "eval" : [
+ "print \"release complete!\\xa\""
+ ],
+ "fatal_errors" : 1
}
},
- "name" : "@Author::ETHER/install release",
- "version" : "0.027"
+ "name" : "@Author::ETHER/release complete",
+ "version" : "0.034"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::ETHER/ConfirmRelease",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::DynamicPrereqs",
"name" : "DynamicPrereqs",
- "version" : "0.008"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -969,7 +1003,7 @@
}
},
"name" : "DevelopRequires",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::Test::CleanNamespaces",
@@ -985,62 +1019,62 @@
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "MetaResources",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile",
"name" : "application_client_test",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile",
"name" : "call_psgi",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.025"
+ "version" : "5.032"
},
{
"class" : "Dist::Zilla::Plugin::VerifyPhases",
"name" : "@Author::ETHER/PHASE VERIFICATION",
- "version" : "0.006"
+ "version" : "0.010"
}
],
"zilla" : {
@@ -1048,11 +1082,14 @@
"config" : {
"is_trial" : "0"
},
- "version" : "5.025"
+ "version" : "5.032"
}
},
"x_authority" : "cpan:ETHER",
"x_authority_from_module" : "Test::LWP::UserAgent",
+ "x_contributors" : [
+ "Tom Hukins <tom@eborcom.com>"
+ ],
"x_permissions_from_module" : "Test::LWP::UserAgent"
}
@@ -20,7 +20,7 @@ configure_requires:
ExtUtils::MakeMaker: '0'
perl: '5.006'
dynamic_config: 1
-generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.142690'
+generated_by: 'Dist::Zilla version 5.032, CPAN::Meta::Converter version 2.143240'
keywords:
- testing
- useragent
@@ -41,7 +41,7 @@ no_index:
provides:
Test::LWP::UserAgent:
file: lib/Test/LWP/UserAgent.pm
- version: '0.026'
+ version: '0.027'
requires:
Carp: '0'
HTTP::Date: '0'
@@ -65,10 +65,10 @@ resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Test-LWP-UserAgent
homepage: https://github.com/karenetheridge/Test-LWP-UserAgent
repository: https://github.com/karenetheridge/Test-LWP-UserAgent.git
-version: '0.026'
+version: '0.027'
x_Dist_Zilla:
perl:
- version: '5.021005'
+ version: '5.021006'
plugins:
-
class: Dist::Zilla::Plugin::Prereqs
@@ -77,18 +77,24 @@ x_Dist_Zilla:
phase: develop
type: requires
name: '@Author::ETHER/bundle_plugins'
- version: '5.025'
- -
- class: Dist::Zilla::Plugin::Git::NextVersion
- config:
- Dist::Zilla::Plugin::Git::NextVersion:
- first_version: '0.001'
- version_by_branch: '0'
- version_regexp: (?^:^v([\d._]+)(-TRIAL)?$)
- Dist::Zilla::Role::Git::Repo:
- repo_root: .
- name: '@Author::ETHER/Git::NextVersion'
- version: '2.025'
+ version: '5.032'
+ -
+ class: Dist::Zilla::Plugin::RewriteVersion::Transitional
+ config:
+ Dist::Zilla::Plugin::PkgVersion: {}
+ Dist::Zilla::Plugin::RewriteVersion::Transitional:
+ _fallback_version_provider_args:
+ version_regexp: ^v([\d._]+)(-TRIAL)?$
+ fallback_version_provider: Git::NextVersion
+ Git::NextVersion:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: '0.001'
+ version_by_branch: '0'
+ version_regexp: (?^:^v([\d._]+)(-TRIAL)?$)
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@Author::ETHER/RewriteVersion::Transitional'
+ version: '0.004'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -100,7 +106,7 @@ x_Dist_Zilla:
phase: build
skip: []
name: '@Author::ETHER/stale modules, build'
- version: '0.029'
+ version: '0.038'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -111,29 +117,28 @@ x_Dist_Zilla:
phase: release
skip: []
name: '@Author::ETHER/stale modules, release'
- version: '0.029'
+ version: '0.038'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::ETHER/ExecDir'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::ETHER/ShareDir'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/Examples'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/ExtraTestFiles'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Git::GatherDir
config:
Dist::Zilla::Plugin::GatherDir:
exclude_filename:
- - README.md
- README.pod
- LICENSE
- CONTRIBUTING
@@ -148,27 +153,27 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::GatherDir'
- version: '2.025'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::ETHER/MetaYAML'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::ETHER/MetaJSON'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::License
name: '@Author::ETHER/License'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Readme
name: '@Author::ETHER/Readme'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::ETHER/Manifest'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::GenerateFile::ShareDir
config:
@@ -181,6 +186,10 @@ x_Dist_Zilla:
name: '@Author::ETHER/generate CONTRIBUTING'
version: '0.005'
-
+ class: Dist::Zilla::Plugin::InstallGuide
+ name: '@Author::ETHER/InstallGuide'
+ version: '1.200006'
+ -
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
@@ -210,22 +219,27 @@ x_Dist_Zilla:
- ':TestFiles'
- '@Author::ETHER/ExtraTestFiles'
name: '@Author::ETHER/Test::NoTabs'
- version: '0.09'
+ version: '0.13'
-
class: Dist::Zilla::Plugin::Test::EOL
config:
Dist::Zilla::Plugin::Test::EOL:
filename: xt/author/eol.t
+ finder:
+ - ':InstallModules'
+ - ':ExecFiles'
+ - ':TestFiles'
+ trailing_whitespace: '1'
name: '@Author::ETHER/Test::EOL'
- version: '0.15'
+ version: '0.17'
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::ETHER/MetaTests'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::ETHER/Test::CPAN::Changes'
- version: '0.008'
+ version: '0.009'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@Author::ETHER/Test::ChangesHasContent'
@@ -233,15 +247,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Test::MinimumVersion
name: '@Author::ETHER/Test::MinimumVersion'
- version: '2.000005'
+ version: '2.000006'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::ETHER/PodSyntaxTests'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::PodCoverageTests
name: '@Author::ETHER/PodCoverageTests'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Test::PodSpelling
name: '@Author::ETHER/Test::PodSpelling'
@@ -265,30 +279,15 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@Author::ETHER/Test::ReportPrereqs'
- version: '0.019'
+ version: '0.020'
-
class: Dist::Zilla::Plugin::Test::Portability
name: '@Author::ETHER/Test::Portability'
- version: '2.000005'
+ version: '2.000006'
-
class: Dist::Zilla::Plugin::Git::Describe
name: '@Author::ETHER/Git::Describe'
- version: '0.003'
- -
- class: Dist::Zilla::Plugin::PkgVersion
- name: '@Author::ETHER/PkgVersion'
- version: '5.025'
- -
- class: Dist::Zilla::Plugin::AuthorityFromModule
- config:
- Dist::Zilla::Plugin::AuthorityFromModule:
- module: Test::LWP::UserAgent
- name: '@Author::ETHER/AuthorityFromModule'
- version: '0.003'
- -
- class: Dist::Zilla::Plugin::Authority
- name: '@Author::ETHER/Authority'
- version: '1.009'
+ version: '0.004'
-
class: Dist::Zilla::Plugin::PodWeaver
config:
@@ -300,85 +299,85 @@ x_Dist_Zilla:
-
class: Pod::Weaver::Plugin::EnsurePod5
name: '@CorePrep/EnsurePod5'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Plugin::H1Nester
name: '@CorePrep/H1Nester'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Plugin::SingleEncoding
name: '@Default/SingleEncoding'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Name
name: '@Default/Name'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Version
name: '@Default/Version'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Region
name: '@Default/prelude'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Generic
name: SYNOPSIS
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Generic
name: DESCRIPTION
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Generic
name: OVERVIEW
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Collect
name: ATTRIBUTES
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Collect
name: METHODS
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Collect
name: FUNCTIONS
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Leftovers
name: '@Default/Leftovers'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Region
name: '@Default/postlude'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Authors
name: '@Default/Authors'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Legal
name: '@Default/Legal'
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Plugin::Transformer
name: -Transformer
- version: '4.007'
+ version: '4.010'
-
class: Pod::Weaver::Section::Contributors
name: Contributors
- version: '0.008'
+ version: '0.009'
name: '@Author::ETHER/PodWeaver'
version: '4.006'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::ETHER/NextRelease'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::ETHER/ReadmeAnyFromPod'
- version: '0.142470'
+ version: '0.150250'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::ETHER/GithubMeta'
@@ -388,9 +387,20 @@ x_Dist_Zilla:
name: '@Author::ETHER/AutoMetaResources'
version: '1.20'
-
+ class: Dist::Zilla::Plugin::AuthorityFromModule
+ config:
+ Dist::Zilla::Plugin::AuthorityFromModule:
+ module: Test::LWP::UserAgent
+ name: '@Author::ETHER/AuthorityFromModule'
+ version: '0.004'
+ -
+ class: Dist::Zilla::Plugin::Authority
+ name: '@Author::ETHER/Authority'
+ version: '1.009'
+ -
class: Dist::Zilla::Plugin::MetaNoIndex
name: '@Author::ETHER/MetaNoIndex'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -401,17 +411,17 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.025'
+ version: '5.032'
Dist::Zilla::Role::MetaProvider::Provider:
inherit_missing: '1'
inherit_version: '1'
meta_noindex: '1'
name: '@Author::ETHER/MetaProvides::Package'
- version: '2.001002'
+ version: '2.003001'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::ETHER/MetaConfig'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Keywords
config:
@@ -434,11 +444,11 @@ x_Dist_Zilla:
order_by: commits
paths: []
name: '@Author::ETHER/Git::Contributors'
- version: '0.008'
+ version: '0.010'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::ETHER/AutoPrereqs'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Prereqs::AuthorDeps
name: '@Author::ETHER/Prereqs::AuthorDeps'
@@ -454,25 +464,21 @@ x_Dist_Zilla:
phase: develop
type: recommends
name: '@Author::ETHER/pluginbundle_version'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::MakeMaker
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@Author::ETHER/MakeMaker'
- version: '5.025'
- -
- class: Dist::Zilla::Plugin::InstallGuide
- name: '@Author::ETHER/InstallGuide'
- version: '1.200005'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::RunExtraTests
config:
Dist::Zilla::Role::TestRunner:
default_jobs: 9
name: '@Author::ETHER/RunExtraTests'
- version: '0.024'
+ version: '0.025'
-
class: Dist::Zilla::Plugin::CheckSelfDependency
config:
@@ -480,23 +486,25 @@ x_Dist_Zilla:
finder:
- ':InstallModules'
name: '@Author::ETHER/CheckSelfDependency'
- version: '0.007'
+ version: '0.010'
-
class: Dist::Zilla::Plugin::Run::AfterBuild
config:
Dist::Zilla::Plugin::Run::Role::Runner:
+ fatal_errors: 1
run:
- - "bash -c \"if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\""
+ - "bash -c \"test -e .ackrc && grep -q -- '--ignore-dir=.latest' .ackrc || echo '--ignore-dir=.latest' >> .ackrc; if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\""
name: '@Author::ETHER/.ackrc'
- version: '0.027'
+ version: '0.034'
-
class: Dist::Zilla::Plugin::Run::AfterBuild
config:
Dist::Zilla::Plugin::Run::Role::Runner:
eval:
- "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ fatal_errors: 1
name: '@Author::ETHER/.latest'
- version: '0.027'
+ version: '0.034'
-
class: Dist::Zilla::Plugin::CheckStrictVersion
name: '@Author::ETHER/CheckStrictVersion'
@@ -513,21 +521,21 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/initial check'
- version: '2.025'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
config:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::CheckFor::MergeConflicts'
- version: '0.011'
+ version: '0.012'
-
class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
config:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::CheckFor::CorrectBranch'
- version: '0.011'
+ version: '0.012'
-
class: Dist::Zilla::Plugin::Git::Remote::Check
name: '@Author::ETHER/Git::Remote::Check'
@@ -535,11 +543,11 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@Author::ETHER/CheckPrereqsIndexed'
- version: '0.012'
+ version: '0.015'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::ETHER/TestRelease'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Git::Check
config:
@@ -552,15 +560,15 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/after tests'
- version: '2.025'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::CheckIssues
name: '@Author::ETHER/CheckIssues'
- version: '0.004'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::ETHER/UploadToCPAN'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
config:
@@ -570,15 +578,7 @@ x_Dist_Zilla:
- CONTRIBUTING
match: []
name: '@Author::ETHER/CopyFilesFromRelease'
- version: '0.003'
- -
- class: Dist::Zilla::Plugin::Run::AfterRelease
- config:
- Dist::Zilla::Plugin::Run::Role::Runner:
- eval:
- - "unlink 'README.md'"
- name: '@Author::ETHER/remove old READMEs'
- version: '0.027'
+ version: '0.005'
-
class: Dist::Zilla::Plugin::Git::Commit
config:
@@ -590,7 +590,6 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::DirtyFiles:
allow_dirty:
- Changes
- - README.md
- README.pod
- LICENSE
- CONTRIBUTING
@@ -598,26 +597,50 @@ x_Dist_Zilla:
changelog: Changes
Dist::Zilla::Role::Git::Repo:
repo_root: .
- name: '@Author::ETHER/Git::Commit'
- version: '2.025'
+ name: '@Author::ETHER/release snapshot'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::Tag
config:
Dist::Zilla::Plugin::Git::Tag:
branch: ~
signed: 0
- tag: v0.026
+ tag: v0.027
tag_format: v%v%t
tag_message: v%v%t
time_zone: local
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::Tag'
- version: '2.025'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::GitHub::Update
name: '@Author::ETHER/GitHub::Update'
- version: '0.38'
+ version: '0.40'
+ -
+ class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional
+ config:
+ Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional: {}
+ name: '@Author::ETHER/BumpVersionAfterRelease::Transitional'
+ version: '0.004'
+ -
+ class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in: []
+ commit_msg: 'increment $VERSION after release'
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - dist.ini
+ - Changes
+ allow_dirty_match:
+ - (?^:^lib/)
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
+ name: '@Author::ETHER/post-release commit'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Git::Push
config:
@@ -628,22 +651,24 @@ x_Dist_Zilla:
Dist::Zilla::Role::Git::Repo:
repo_root: .
name: '@Author::ETHER/Git::Push'
- version: '2.025'
+ version: '2.029'
-
class: Dist::Zilla::Plugin::Run::AfterRelease
config:
Dist::Zilla::Plugin::Run::Role::Runner:
- run: REDACTED
- name: '@Author::ETHER/install release'
- version: '0.027'
+ eval:
+ - 'print "release complete!\xa"'
+ fatal_errors: 1
+ name: '@Author::ETHER/release complete'
+ version: '0.034'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::ETHER/ConfirmRelease'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::DynamicPrereqs
name: DynamicPrereqs
- version: '0.008'
+ version: '0.009'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -651,7 +676,7 @@ x_Dist_Zilla:
phase: develop
type: requires
name: DevelopRequires
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::Test::CleanNamespaces
config:
@@ -663,56 +688,58 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::MetaResources
name: MetaResources
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::GenerateFile
name: application_client_test
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::GenerateFile
name: call_psgi
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: '5.025'
+ version: '5.032'
-
class: Dist::Zilla::Plugin::VerifyPhases
name: '@Author::ETHER/PHASE VERIFICATION'
- version: '0.006'
+ version: '0.010'
zilla:
class: Dist::Zilla::Dist::Builder
config:
is_trial: '0'
- version: '5.025'
+ version: '5.032'
x_authority: cpan:ETHER
x_authority_from_module: Test::LWP::UserAgent
+x_contributors:
+ - 'Tom Hukins <tom@eborcom.com>'
x_permissions_from_module: Test::LWP::UserAgent
@@ -1,5 +1,4 @@
-
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.025.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.032.
use strict;
use warnings;
@@ -7,8 +6,6 @@ use 5.006;
use ExtUtils::MakeMaker;
-
-
my %WriteMakefileArgs = (
"ABSTRACT" => "A LWP::UserAgent suitable for simulating and testing network calls",
"AUTHOR" => "Karen Etheridge <ether\@cpan.org>",
@@ -51,7 +48,7 @@ my %WriteMakefileArgs = (
"lib" => 0,
"overload" => 0
},
- "VERSION" => "0.026",
+ "VERSION" => "0.027",
"test" => {
"TESTS" => "t/*.t"
}
@@ -88,7 +85,7 @@ my %FallbackPrereqs = (
"warnings" => 0
);
-# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.008
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.009
$WriteMakefileArgs{PREREQ_PM}{'URI'} = $FallbackPrereqs{'URI'} = '1.62'
if $] >= '5.021002';
@@ -104,6 +101,3 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
WriteMakefile(%WriteMakefileArgs);
-
-
-
@@ -1,7 +1,7 @@
This archive contains the distribution Test-LWP-UserAgent,
-version 0.026:
+version 0.027:
A LWP::UserAgent suitable for simulating and testing network calls
@@ -11,5 +11,5 @@ This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
-This README file was generated by Dist::Zilla::Plugin::Readme v5.025.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.032.
@@ -1,108 +0,0 @@
-=pod
-
-=head1 Perl Advent Calendar 2012
-
-This article was originally published on the
-L<Perl Advent Calendar 2012|http://www.perladvent.org/2012/2012-12-12.html>.
-
-=head1 Testing networking client code using Test::LWP::UserAgent
-
-L<Test::LWP::UserAgent> is a module I wrote after writing several networking
-client libraries for $work with inconsistent and spotty test coverage -- what
-I most wanted to do was fully simulate the server end of a network
-connection, without having to delve deeply into L<LWP>'s internal
-implementation, nor mock a lot of methods, which the traditional mock object
-approach would require.
-
-Exploring the options available led me to Yury Zavarin's
-L<Test::Mock::LWP::Dispatch>, whose API I adapted into the initial version of
-L<Test::LWP::UserAgent>. It behaves exactly like L<LWP::UserAgent>, one of
-the main networking client libraries in perl, in all respects except for the
-portion that actually sends the request out to the network - at that point it
-returns the first response that you have preconfigured that matches the
-outbound request.
-
- my $useragent = Test::LWP::UserAgent->new;
- $useragent->map_response(qr/example.com/, HTTP::Response->new(200));
-
- my $response = $useragent->get('http://example.com');
- # prints 200
- say $response->code;
-
- $response = $useragent->get('http://google.com');
- # prints 404
- say $response->code;
-
-In the above example, no outbound request passing through this useragent will
-use the live network (this is the default behaviour). Any request whose URI
-matches C</example.com/> will receive an HTTP 200 response, and the remaining
-requests will return a 404.
-
-If, however, you wish to only capture some requests, while letting the
-remainder use the network normally, you can enable the C<network_fallback>
-feature:
-
- my $useragent = Test::LWP::UserAgent->new;
- $useragent->network_fallback(1);
- $useragent->map_response(qr/example.com/, HTTP::Response->new(200));
-
- my $response = $useragent->get('http://example.com');
- # prints 200
- say $response->code;
-
- $response = $useragent->get('http://google.com');
- # prints 200
- say $response->code;
-
-And indeed if you inspect the C<$response> object returned, you will see that
-it contains the actual network response from contacting L<http://google.com>.
-
-Configuration can also be done globally, if you want all useragents in your
-program to use the same settings (or if you do not have direct control over
-the actual useragent object being used, but just its class):
-
- Test::LWP::UserAgent->map_response(...);
- my $response = Test::LWP::UserAgent->new->request(...);
-
-L<Test::LWP::UserAgent> inherits from L<LWP::UserAgent>, so it satisfies
-C<isa()>/C<@ISA> requirements that you may have via L<Moose> or another system
-that uses type checking. This means that all the normal options available in
-L<LWP::UserAgent> are still available to you, and work identically, for
-example:
-
- my $useragent = Test::LWP::UserAgent->new(
- timeout => 10,
- cookie_jar => { file => "$ENV{HOME}/.cookies.txt" },
- );
-
-You can also use L<Test::LWP::UserAgent> to connect to a local L<PSGI>
-application seamlessly, which can be very useful when you have a client and
-server installed on the same box but do not want to fuss with separate code
-for handling this case, or if you want more fine-grained control over what
-responses to send:
-
- my $app = Plack::Util::load_psgi('./myapp.psgi');
- $useragent->register_psgi('mytestdomain.com', $app);
- my $response = $useragent->request(...);
-
-
-=head1 SUMMARY
-
-Use L<Test::LWP::UserAgent> to control data flow that you would otherwise receive
-over the network, to test your application's handling of that data.
-
-=head1 CODE EXAMPLES
-
-The code examples above are fleshed out as fully-working code in the examples/
-directory under L<http://metacpan.org/release/Test-LWP-UserAgent>, along with
-a detailed example of some unit tests for a hypothetical networking client
-library.
-
-=head1 AUTHOR
-
-Karen Etheridge (ether)
-L<http://metacpan.org/author/ETHER>
-L<http://github.com/karenetheridge>
-
-=cut
-
@@ -0,0 +1,108 @@
+=pod
+
+=head1 Perl Advent Calendar 2012
+
+This article was originally published on the
+L<Perl Advent Calendar 2012|http://www.perladvent.org/2012/2012-12-12.html>.
+
+=head1 Testing networking client code using Test::LWP::UserAgent
+
+L<Test::LWP::UserAgent> is a module I wrote after writing several networking
+client libraries for $work with inconsistent and spotty test coverage -- what
+I most wanted to do was fully simulate the server end of a network
+connection, without having to delve deeply into L<LWP>'s internal
+implementation, nor mock a lot of methods, which the traditional mock object
+approach would require.
+
+Exploring the options available led me to Yury Zavarin's
+L<Test::Mock::LWP::Dispatch>, whose API I adapted into the initial version of
+L<Test::LWP::UserAgent>. It behaves exactly like L<LWP::UserAgent>, one of
+the main networking client libraries in perl, in all respects except for the
+portion that actually sends the request out to the network - at that point it
+returns the first response that you have preconfigured that matches the
+outbound request.
+
+ my $useragent = Test::LWP::UserAgent->new;
+ $useragent->map_response(qr/example.com/, HTTP::Response->new(200));
+
+ my $response = $useragent->get('http://example.com');
+ # prints 200
+ say $response->code;
+
+ $response = $useragent->get('http://google.com');
+ # prints 404
+ say $response->code;
+
+In the above example, no outbound request passing through this useragent will
+use the live network (this is the default behaviour). Any request whose URI
+matches C</example.com/> will receive an HTTP 200 response, and the remaining
+requests will return a 404.
+
+If, however, you wish to only capture some requests, while letting the
+remainder use the network normally, you can enable the C<network_fallback>
+feature:
+
+ my $useragent = Test::LWP::UserAgent->new;
+ $useragent->network_fallback(1);
+ $useragent->map_response(qr/example.com/, HTTP::Response->new(200));
+
+ my $response = $useragent->get('http://example.com');
+ # prints 200
+ say $response->code;
+
+ $response = $useragent->get('http://google.com');
+ # prints 200
+ say $response->code;
+
+And indeed if you inspect the C<$response> object returned, you will see that
+it contains the actual network response from contacting L<http://google.com>.
+
+Configuration can also be done globally, if you want all useragents in your
+program to use the same settings (or if you do not have direct control over
+the actual useragent object being used, but just its class):
+
+ Test::LWP::UserAgent->map_response(...);
+ my $response = Test::LWP::UserAgent->new->request(...);
+
+L<Test::LWP::UserAgent> inherits from L<LWP::UserAgent>, so it satisfies
+C<isa()>/C<@ISA> requirements that you may have via L<Moose> or another system
+that uses type checking. This means that all the normal options available in
+L<LWP::UserAgent> are still available to you, and work identically, for
+example:
+
+ my $useragent = Test::LWP::UserAgent->new(
+ timeout => 10,
+ cookie_jar => { file => "$ENV{HOME}/.cookies.txt" },
+ );
+
+You can also use L<Test::LWP::UserAgent> to connect to a local L<PSGI>
+application seamlessly, which can be very useful when you have a client and
+server installed on the same box but do not want to fuss with separate code
+for handling this case, or if you want more fine-grained control over what
+responses to send:
+
+ my $app = Plack::Util::load_psgi('./myapp.psgi');
+ $useragent->register_psgi('mytestdomain.com', $app);
+ my $response = $useragent->request(...);
+
+
+=head1 SUMMARY
+
+Use L<Test::LWP::UserAgent> to control data flow that you would otherwise receive
+over the network, to test your application's handling of that data.
+
+=head1 CODE EXAMPLES
+
+The code examples above are fleshed out as fully-working code in the examples/
+directory under L<http://metacpan.org/release/Test-LWP-UserAgent>, along with
+a detailed example of some unit tests for a hypothetical networking client
+library.
+
+=head1 AUTHOR
+
+Karen Etheridge (ether)
+L<http://metacpan.org/author/ETHER>
+L<http://github.com/karenetheridge>
+
+=cut
+
@@ -1,12 +1,10 @@
use strict;
use warnings;
-package Test::LWP::UserAgent;
-# git description: v0.025-10-geef9264
-$Test::LWP::UserAgent::VERSION = '0.026';
+package Test::LWP::UserAgent; # git description: v0.026-11-g6c86d85
# ABSTRACT: A LWP::UserAgent suitable for simulating and testing network calls
# KEYWORDS: testing useragent networking mock server client
# vim: set ts=8 sw=4 tw=78 et :
-
+our $VERSION = '0.027';
use parent 'LWP::UserAgent';
use Scalar::Util qw(blessed reftype);
use Storable 'freeze';
@@ -85,6 +83,7 @@ sub map_response
{
push @response_map, [ $request_description, $response ];
}
+ return $self;
}
sub map_network_response
@@ -102,6 +101,7 @@ sub map_network_response
push @response_map,
[ $request_description, sub { LWP::UserAgent->new->send_request($_[0]) } ];
}
+ return $self;
}
sub unmap_all
@@ -119,6 +119,7 @@ sub unmap_all
if $instance_only;
@response_map = ();
}
+ return $self;
}
sub register_psgi
@@ -154,6 +155,7 @@ sub unregister_psgi
{
@response_map = grep { $_->[0] ne $domain } @response_map;
}
+ return $self;
}
sub last_http_request_sent
@@ -339,7 +341,7 @@ Test::LWP::UserAgent - A LWP::UserAgent suitable for simulating and testing netw
=head1 VERSION
-version 0.026
+version 0.027
=head1 SYNOPSIS
@@ -529,6 +531,8 @@ Instance mappings take priority over global (class method) mappings - if no
matches are found from mappings added to the instance, the global mappings are
then examined. When no matches have been found, a 404 response is returned.
+This method returns the C<Test::LWP::UserAgent> object or class.
+
=head2 C<map_network_response($request_description)>
Same as C<map_response> above, only requests that match this description will
@@ -540,6 +544,8 @@ are used for making the real network call. If called as a class method, a
pristine L<LWP::UserAgent> object with no customized options will be used
instead.
+This method returns the C<Test::LWP::UserAgent> object or class.
+
=head2 C<unmap_all(instance_only?)>
When called as a class method, removes all mappings set up globally (across all
@@ -550,6 +556,8 @@ this instance, unless a true value is passed as an argument, in which only
mappings local to the object will be removed. (Any true value will do, so you
can pass a meaningful string.)
+This method returns the C<Test::LWP::UserAgent> object or class.
+
=head2 C<register_psgi($domain, $app)>
Register a particular L<PSGI> app (code reference) to be used when requests
@@ -574,6 +582,8 @@ a server so as to test your client code.
You might find using L<Plack::Test> or L<Plack::Test::ExternalServer> easier
for your needs, so check those out as well.
+This method returns the C<Test::LWP::UserAgent> object or class.
+
=head2 C<unregister_psgi($domain, instance_only?)>
When called as a class method, removes a domain->PSGI app entry that had been
@@ -590,6 +600,8 @@ then add C<undef> as a mapping on your instance:
$useragent->map_response($domain, undef);
+This method returns the C<Test::LWP::UserAgent> object or class.
+
=head2 C<last_http_request_sent>
The last L<HTTP::Request> object that this object (if called on an object) or
@@ -749,4 +761,10 @@ This software is copyright (c) 2012 by Karen Etheridge.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
+=head1 CONTRIBUTOR
+
+=for stopwords Tom Hukins
+
+Tom Hukins <tom@eborcom.com>
+
=cut
@@ -7,7 +7,7 @@ do { my $x = {
},
'develop' => {
'recommends' => {
- 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.078'
+ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.087'
},
'requires' => {
'Dist::Zilla' => '5',
@@ -15,6 +15,7 @@ do { my $x = {
'Dist::Zilla::Plugin::AuthorityFromModule' => '0.002',
'Dist::Zilla::Plugin::AutoMetaResources' => '0',
'Dist::Zilla::Plugin::AutoPrereqs' => '0',
+ 'Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional' => '0.004',
'Dist::Zilla::Plugin::CheckIssues' => '0',
'Dist::Zilla::Plugin::CheckPrereqsIndexed' => '0',
'Dist::Zilla::Plugin::CheckSelfDependency' => '0',
@@ -31,13 +32,12 @@ do { my $x = {
'Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts' => '0',
'Dist::Zilla::Plugin::Git::Commit' => '2.020',
'Dist::Zilla::Plugin::Git::Contributors' => '0.004',
- 'Dist::Zilla::Plugin::Git::Describe' => '0',
+ 'Dist::Zilla::Plugin::Git::Describe' => '0.004',
'Dist::Zilla::Plugin::Git::GatherDir' => '2.016',
- 'Dist::Zilla::Plugin::Git::NextVersion' => '0',
'Dist::Zilla::Plugin::Git::Push' => '0',
'Dist::Zilla::Plugin::Git::Remote::Check' => '0',
'Dist::Zilla::Plugin::Git::Tag' => '0',
- 'Dist::Zilla::Plugin::GitHub::Update' => '0',
+ 'Dist::Zilla::Plugin::GitHub::Update' => '0.40',
'Dist::Zilla::Plugin::GithubMeta' => '0',
'Dist::Zilla::Plugin::InstallGuide' => '0',
'Dist::Zilla::Plugin::Keywords' => '0.004',
@@ -51,32 +51,32 @@ do { my $x = {
'Dist::Zilla::Plugin::MetaResources' => '0',
'Dist::Zilla::Plugin::MetaTests' => '0',
'Dist::Zilla::Plugin::MetaYAML' => '0',
- 'Dist::Zilla::Plugin::MinimumPerl' => '0',
+ 'Dist::Zilla::Plugin::MinimumPerl' => '1.006',
'Dist::Zilla::Plugin::MojibakeTests' => '0',
'Dist::Zilla::Plugin::NextRelease' => '4.300018',
- 'Dist::Zilla::Plugin::PkgVersion' => '5.010',
'Dist::Zilla::Plugin::PodCoverageTests' => '0',
'Dist::Zilla::Plugin::PodSyntaxTests' => '0',
- 'Dist::Zilla::Plugin::PodWeaver' => '0',
+ 'Dist::Zilla::Plugin::PodWeaver' => '4.005',
'Dist::Zilla::Plugin::Prereqs' => '0',
'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0',
'Dist::Zilla::Plugin::PromptIfStale' => '0',
'Dist::Zilla::Plugin::Readme' => '0',
'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0.142180',
- 'Dist::Zilla::Plugin::Run::AfterBuild' => '0.024',
+ 'Dist::Zilla::Plugin::RewriteVersion::Transitional' => '0.004',
+ 'Dist::Zilla::Plugin::Run::AfterBuild' => '0.028',
'Dist::Zilla::Plugin::Run::AfterRelease' => '0.024',
- 'Dist::Zilla::Plugin::RunExtraTests' => '0.019',
+ 'Dist::Zilla::Plugin::RunExtraTests' => '0.024',
'Dist::Zilla::Plugin::ShareDir' => '0',
'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0.008',
'Dist::Zilla::Plugin::Test::ChangesHasContent' => '0',
'Dist::Zilla::Plugin::Test::CleanNamespaces' => '0',
'Dist::Zilla::Plugin::Test::Compile' => '2.039',
'Dist::Zilla::Plugin::Test::EOL' => '0.14',
- 'Dist::Zilla::Plugin::Test::Kwalitee' => '0',
+ 'Dist::Zilla::Plugin::Test::Kwalitee' => '2.06',
'Dist::Zilla::Plugin::Test::MinimumVersion' => '2.000003',
- 'Dist::Zilla::Plugin::Test::NoTabs' => '0',
+ 'Dist::Zilla::Plugin::Test::NoTabs' => '0.08',
'Dist::Zilla::Plugin::Test::Pod::No404s' => '0',
- 'Dist::Zilla::Plugin::Test::PodSpelling' => '0',
+ 'Dist::Zilla::Plugin::Test::PodSpelling' => '2.006001',
'Dist::Zilla::Plugin::Test::Portability' => '0',
'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0.019',
'Dist::Zilla::Plugin::TestRelease' => '0',
@@ -3,7 +3,7 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.020
use Test::More tests => 1;
@@ -152,9 +152,16 @@ for my $phase ( qw(configure build test runtime develop other) ) {
my $ml = _max( map { length $_->[0] } @reports );
my $wl = _max( map { length $_->[1] } @reports );
my $hl = _max( map { length $_->[2] } @reports );
- splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl];
- push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports;
+ if ($type eq 'modules') {
+ splice @reports, 1, 0, ["-" x $ml, "", "-" x $hl];
+ push @full_reports, map { sprintf(" %*s %*s\n", -$ml, $_->[0], $hl, $_->[2]) } @reports;
+ }
+ else {
+ splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl];
+ push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports;
+ }
+
push @full_reports, "\n";
}
}
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use Test::Deep;
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::Requires 'HTTP::Message::PSGI';
use Test::More;
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use Test::Warnings 0.009 ':no_end_test', ':all';
@@ -1,13 +1,13 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
BEGIN {
if ($ENV{NO_NETWORK_TESTING}
- or (not $ENV{AUTHOR_TESTING} and not $ENV{EXTENDED_TESTING})
+ or (not $ENV{AUTHOR_TESTING} and not $ENV{AUTOMATED_TESTING} and not $ENV{EXTENDED_TESTING})
)
{
- plan skip_all => 'these tests use the network: unset NO_NETWORK_TESTING and set EXTENDED_TESTING or AUTHOR_TESTING to run';
+ plan skip_all => 'these tests use the network: unset NO_NETWORK_TESTING and set EXTENDED_TESTING, AUTHOR_TESTING or AUTOMATED_TESTING to run';
}
}
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use Test::Warnings 0.009 ':no_end_test', ':all';
@@ -1,13 +1,13 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
BEGIN {
if ($ENV{NO_NETWORK_TESTING}
- or (not $ENV{AUTHOR_TESTING} and not $ENV{EXTENDED_TESTING})
+ or (not $ENV{AUTHOR_TESTING} and not $ENV{AUTOMATED_TESTING} and not $ENV{EXTENDED_TESTING})
)
{
- plan skip_all => 'these tests use the network: unset NO_NETWORK_TESTING and set EXTENDED_TESTING or AUTHOR_TESTING to run';
+ plan skip_all => 'these tests use the network: unset NO_NETWORK_TESTING and set EXTENDED_TESTING, AUTHOR_TESTING or AUTOMATED_TESTING to run';
}
}
@@ -1,5 +1,5 @@
use strict;
-use warnings FATAL => 'all';
+use warnings;
use Test::More;
use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
@@ -0,0 +1,38 @@
+use strict;
+use warnings;
+
+use Test::Requires 'HTTP::Message::PSGI';
+
+use Test::More;
+use if $ENV{AUTHOR_TESTING}, 'Test::Warnings';
+
+use HTTP::Response ();
+use Test::LWP::UserAgent ();
+
+{
+ my $ua = Test::LWP::UserAgent->new->register_psgi( abc => sub {} );
+ isa_ok $ua, 'Test::LWP::UserAgent', 'register_psgi returns self';
+}
+
+{
+ my $ua = Test::LWP::UserAgent->new->map_response(
+ abc => HTTP::Response->new(200),
+ );
+ isa_ok $ua, 'Test::LWP::UserAgent', 'map_response returns self';
+}
+
+{
+ my $ua = Test::LWP::UserAgent->new->register_psgi( abc => sub {} )
+ ->unregister_psgi('abc');
+ isa_ok $ua, 'Test::LWP::UserAgent', 'unregister_psgi returns self';
+}
+
+{
+ my $ua = Test::LWP::UserAgent->new->map_network_response( abc => sub {} );
+ isa_ok $ua, 'Test::LWP::UserAgent', 'map_network_response returns self';
+
+ $ua = $ua->unmap_all;
+ isa_ok $ua, 'Test::LWP::UserAgent', 'unmap_all returns self';
+}
+
+done_testing();
@@ -1,8 +1,30 @@
use strict;
use warnings;
-use Test::More;
-# generated by Dist::Zilla::Plugin::Test::EOL 0.15
+# this test was generated with Dist::Zilla::Plugin::Test::EOL 0.17
+
+use Test::More 0.88;
use Test::EOL;
-all_perl_files_ok({ trailing_whitespace => 1 });
+my @files = (
+ 'lib/Test/LWP/UserAgent.pm',
+ 't/00-report-prereqs.dd',
+ 't/00-report-prereqs.t',
+ 't/01-basic.t',
+ 't/02-overload.t',
+ 't/03-handlers.t',
+ 't/04-psgi.t',
+ 't/05-exceptions.t',
+ 't/06-network-fallback.t',
+ 't/07-mask-response.t',
+ 't/08-isa-coderef.t',
+ 't/09-dispatch-to-request-method.t',
+ 't/10-request-args-network.t',
+ 't/11-request-args-internal.t',
+ 't/12-chained-method-call.t',
+ 't/50-examples-application_client_test.t',
+ 't/51-call_psgi.t'
+);
+
+eol_unix_ok($_, { trailing_whitespace => 1 }) foreach @files;
+done_testing;
@@ -1,7 +1,7 @@
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.09
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.13
use Test::More 0.88;
use Test::NoTabs;
@@ -28,6 +28,7 @@ my @files = (
't/09-dispatch-to-request-method.t',
't/10-request-args-network.t',
't/11-request-args-internal.t',
+ 't/12-chained-method-call.t',
't/50-examples-application_client_test.t',
't/51-call_psgi.t',
'xt/author/00-compile.t',
@@ -13,6 +13,9 @@ __DATA__
Karen
Etheridge
ether
+Tom
+Hukins
+tom
lib
Test
LWP
@@ -4,7 +4,7 @@ use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.026';
+my $newver = '0.027';
my $trial_token = '-TRIAL';
SKIP: {
@@ -8,4 +8,5 @@ use Test::More;
eval 'use Test::Portability::Files';
plan skip_all => 'Test::Portability::Files required for testing portability'
if $@;
+
run_tests();