diff options
author | Nick Morrott <knowledgejunkie@gmail.com> | 2019-12-05 13:31:12 +0000 |
---|---|---|
committer | Nick Morrott <knowledgejunkie@gmail.com> | 2019-12-05 13:31:12 +0000 |
commit | 6921f6e9e78ba881967b034c310fa1475a894bf1 (patch) | |
tree | 348a2d8618573538794eeee5b665868c6c931c4a | |
parent | 065f0a19fdd4225f6cff04a50a171d80d03b54f6 (diff) |
New upstream version 3.200000
-rw-r--r-- | Changes | 6 | ||||
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | META.json | 259 | ||||
-rw-r--r-- | META.yml | 210 | ||||
-rw-r--r-- | Makefile.PL | 4 | ||||
-rw-r--r-- | README | 2 | ||||
-rwxr-xr-x | bin/pod2markdown | 2 | ||||
-rw-r--r-- | dist.ini | 6 | ||||
-rw-r--r-- | lib/Pod/Markdown.pm | 19 | ||||
-rw-r--r-- | lib/Pod/Perldoc/ToMarkdown.pm | 4 | ||||
-rw-r--r-- | t/00-report-prereqs.dd | 3 | ||||
-rw-r--r-- | t/codes.t | 2 | ||||
-rw-r--r-- | t/links.t | 48 | ||||
-rw-r--r-- | xt/author/minimum-version.t | 4 | ||||
-rw-r--r-- | xt/author/pod-spell.t | 58 |
15 files changed, 295 insertions, 333 deletions
@@ -1,5 +1,11 @@ Revision history for Perl extension Pod-Markdown +3.200 2019-10-09T16:36:15Z + + - Allow local_module_url_prefix to be '' [rt-129865]. + - URI Escape the module name in external pod links + (introduces dependency on URI::Escape). + 3.101 2018-08-06T14:32:38Z - Ensure local_module_url_prefix defaults to current perldoc_url_prefix. @@ -44,7 +44,6 @@ xt/author/minimum-version.t xt/author/mojibake.t xt/author/no-tabs.t xt/author/pod-coverage.t -xt/author/pod-spell.t xt/author/pod-syntax.t xt/author/portability.t xt/author/synopsis.t @@ -8,7 +8,7 @@ "Randy Stauner <rwstauner@cpan.org>" ], "dynamic_config" : 0, - "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150005", + "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010", "license" : [ "perl_5" ], @@ -50,7 +50,6 @@ }, "requires" : { "Pod::Coverage::TrustPod" : "0", - "Pod::Wordlist" : "0", "Test::CPAN::Changes" : "0.19", "Test::CPAN::Meta" : "0", "Test::CPAN::Meta::JSON" : "0.16", @@ -64,7 +63,6 @@ "Test::Pod" : "1.41", "Test::Pod::Coverage" : "1.08", "Test::Portability::Files" : "0", - "Test::Spelling" : "0.12", "Test::Synopsis" : "0", "Test::Version" : "1" } @@ -79,6 +77,7 @@ "Pod::Simple" : "3.27", "Pod::Simple::Methody" : "0", "Pod::Usage" : "0", + "URI::Escape" : "0", "parent" : "0", "perl" : "5.008", "strict" : "0", @@ -109,11 +108,11 @@ "provides" : { "Pod::Markdown" : { "file" : "lib/Pod/Markdown.pm", - "version" : "3.101" + "version" : "3.200" }, "Pod::Perldoc::ToMarkdown" : { "file" : "lib/Pod/Perldoc/ToMarkdown.pm", - "version" : "3.101" + "version" : "3.200" } }, "release_status" : "stable", @@ -129,10 +128,10 @@ "web" : "https://github.com/rwstauner/Pod-Markdown" } }, - "version" : "3.101", + "version" : "3.200", "x_Dist_Zilla" : { "perl" : { - "version" : "5.024004" + "version" : "5.028002" }, "plugins" : [ { @@ -144,12 +143,12 @@ "version_regexp" : "(?^:^v(.+)$)" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.22.0", "repo_root" : "." } }, "name" : "@Author::RWSTAUNER/Git::NextVersion", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::GenerateFile", @@ -390,7 +389,7 @@ { "class" : "Dist::Zilla::Plugin::GitHubREADME::Badge", "name" : "@Author::RWSTAUNER/GitHubREADME::Badge", - "version" : "0.27" + "version" : "0.29" }, { "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", @@ -419,7 +418,7 @@ "class" : "Dist::Zilla::Plugin::Git::Contributors", "config" : { "Dist::Zilla::Plugin::Git::Contributors" : { - "git_version" : "2.18.0", + "git_version" : "2.22.0", "include_authors" : 0, "include_releaser" : 1, "order_by" : "name", @@ -427,7 +426,7 @@ } }, "name" : "@Author::RWSTAUNER/Git::Contributors", - "version" : "0.034" + "version" : "0.035" }, { "class" : "Dist::Zilla::Plugin::AutoPrereqs", @@ -454,12 +453,12 @@ }, "Dist::Zilla::Role::MetaProvider::Provider" : { "$Dist::Zilla::Role::MetaProvider::Provider::VERSION" : "2.002004", - "inherit_missing" : "1", - "inherit_version" : "1", - "meta_noindex" : "1" + "inherit_missing" : 1, + "inherit_version" : 1, + "meta_noindex" : 1 }, "Dist::Zilla::Role::ModuleMetadata" : { - "Module::Metadata" : "1.000031", + "Module::Metadata" : "1.000033", "version" : "0.006" } }, @@ -512,86 +511,82 @@ "version" : "0.027" }, { - "class" : "Dist::Zilla::Plugin::Test::PodSpelling", + "class" : "Dist::Zilla::Plugin::Test::Synopsis", + "name" : "@Author::RWSTAUNER/@TestingMania/Test::Synopsis", + "version" : "2.000007" + }, + { + "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", "config" : { - "Dist::Zilla::Plugin::Test::PodSpelling" : { - "directories" : [ - "bin", - "lib" - ], - "spell_cmd" : "", - "stopwords" : [], - "wordlist" : "Pod::Wordlist" + "Dist::Zilla::Plugin::Test::CPAN::Changes" : { + "changelog" : "Changes" } }, - "name" : "@Author::RWSTAUNER/Test::PodSpelling", - "version" : "2.007005" - }, - { - "class" : "Dist::Zilla::Plugin::Test::DistManifest", - "name" : "@Author::RWSTAUNER/@TestingMania/Test::DistManifest", - "version" : "2.000005" + "name" : "@Author::RWSTAUNER/@TestingMania/Test::CPAN::Changes", + "version" : "0.012" }, { - "class" : "Dist::Zilla::Plugin::Test::Portability", + "class" : "Dist::Zilla::Plugin::Test::Compile", "config" : { - "Dist::Zilla::Plugin::Test::Portability" : { - "options" : "" + "Dist::Zilla::Plugin::Test::Compile" : { + "bail_out_on_fail" : 0, + "fail_on_warning" : "author", + "fake_home" : 1, + "filename" : "t/00-compile.t", + "module_finder" : [ + ":InstallModules" + ], + "needs_display" : 0, + "phase" : "test", + "script_finder" : [ + ":PerlExecFiles" + ], + "skips" : [], + "switch" : [] } }, - "name" : "@Author::RWSTAUNER/@TestingMania/Test::Portability", - "version" : "2.001000" + "name" : "@Author::RWSTAUNER/@TestingMania/Test::Compile", + "version" : "2.058" }, { - "class" : "Dist::Zilla::Plugin::MojibakeTests", - "name" : "@Author::RWSTAUNER/@TestingMania/MojibakeTests", - "version" : "0.8" + "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", + "name" : "@Author::RWSTAUNER/@TestingMania/Test::Perl::Critic", + "version" : "3.001" }, { - "class" : "Dist::Zilla::Plugin::Test::Synopsis", - "name" : "@Author::RWSTAUNER/@TestingMania/Test::Synopsis", - "version" : "2.000007" + "class" : "Dist::Zilla::Plugin::Test::Version", + "name" : "@Author::RWSTAUNER/@TestingMania/Test::Version", + "version" : "1.09" }, { - "class" : "Dist::Zilla::Plugin::PodCoverageTests", - "name" : "@Author::RWSTAUNER/@TestingMania/PodCoverageTests", - "version" : "6.012" + "class" : "Dist::Zilla::Plugin::MojibakeTests", + "name" : "@Author::RWSTAUNER/@TestingMania/MojibakeTests", + "version" : "0.8" }, { - "class" : "Dist::Zilla::Plugin::Test::EOL", + "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", "config" : { - "Dist::Zilla::Plugin::Test::EOL" : { - "filename" : "xt/author/eol.t", - "finder" : [ - ":ExecFiles", - ":InstallModules", - ":TestFiles" - ], - "trailing_whitespace" : 0 + "Dist::Zilla::Plugin::Test::MinimumVersion" : { + "max_target_perl" : "5.008" } }, - "name" : "@Author::RWSTAUNER/@TestingMania/Test::EOL", - "version" : "0.19" + "name" : "@Author::RWSTAUNER/@TestingMania/Test::MinimumVersion", + "version" : "2.000010" }, { - "class" : "Dist::Zilla::Plugin::Test::Perl::Critic", - "name" : "@Author::RWSTAUNER/@TestingMania/Test::Perl::Critic", - "version" : "3.001" + "class" : "Dist::Zilla::Plugin::MetaTests", + "name" : "@Author::RWSTAUNER/@TestingMania/MetaTests", + "version" : "6.012" }, { - "class" : "Dist::Zilla::Plugin::Test::NoTabs", - "config" : { - "Dist::Zilla::Plugin::Test::NoTabs" : { - "filename" : "xt/author/no-tabs.t", - "finder" : [ - ":InstallModules", - ":ExecFiles", - ":TestFiles" - ] - } - }, - "name" : "@Author::RWSTAUNER/@TestingMania/Test::NoTabs", - "version" : "0.15" + "class" : "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON", + "name" : "@Author::RWSTAUNER/@TestingMania/Test::CPAN::Meta::JSON", + "version" : "0.004" + }, + { + "class" : "Dist::Zilla::Plugin::Test::DistManifest", + "name" : "@Author::RWSTAUNER/@TestingMania/Test::DistManifest", + "version" : "2.000005" }, { "class" : "Dist::Zilla::Plugin::Test::Kwalitee", @@ -605,34 +600,30 @@ "version" : "2.12" }, { - "class" : "Dist::Zilla::Plugin::Test::CPAN::Meta::JSON", - "name" : "@Author::RWSTAUNER/@TestingMania/Test::CPAN::Meta::JSON", - "version" : "0.004" - }, - { - "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", - "name" : "@Author::RWSTAUNER/@TestingMania/Test::MinimumVersion", - "version" : "2.000008" - }, - { - "class" : "Dist::Zilla::Plugin::MetaTests", - "name" : "@Author::RWSTAUNER/@TestingMania/MetaTests", - "version" : "6.012" - }, - { - "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", + "class" : "Dist::Zilla::Plugin::Test::EOL", "config" : { - "Dist::Zilla::Plugin::Test::CPAN::Changes" : { - "changelog" : "Changes" + "Dist::Zilla::Plugin::Test::EOL" : { + "filename" : "xt/author/eol.t", + "finder" : [ + ":ExecFiles", + ":InstallModules", + ":TestFiles" + ], + "trailing_whitespace" : 0 } }, - "name" : "@Author::RWSTAUNER/@TestingMania/Test::CPAN::Changes", - "version" : "0.012" + "name" : "@Author::RWSTAUNER/@TestingMania/Test::EOL", + "version" : "0.19" }, { - "class" : "Dist::Zilla::Plugin::Test::Version", - "name" : "@Author::RWSTAUNER/@TestingMania/Test::Version", - "version" : "1.09" + "class" : "Dist::Zilla::Plugin::Test::Portability", + "config" : { + "Dist::Zilla::Plugin::Test::Portability" : { + "options" : "" + } + }, + "name" : "@Author::RWSTAUNER/@TestingMania/Test::Portability", + "version" : "2.001000" }, { "class" : "Dist::Zilla::Plugin::PodSyntaxTests", @@ -640,27 +631,24 @@ "version" : "6.012" }, { - "class" : "Dist::Zilla::Plugin::Test::Compile", + "class" : "Dist::Zilla::Plugin::PodCoverageTests", + "name" : "@Author::RWSTAUNER/@TestingMania/PodCoverageTests", + "version" : "6.012" + }, + { + "class" : "Dist::Zilla::Plugin::Test::NoTabs", "config" : { - "Dist::Zilla::Plugin::Test::Compile" : { - "bail_out_on_fail" : "0", - "fail_on_warning" : "author", - "fake_home" : 1, - "filename" : "t/00-compile.t", - "module_finder" : [ - ":InstallModules" - ], - "needs_display" : 0, - "phase" : "test", - "script_finder" : [ - ":PerlExecFiles" - ], - "skips" : [], - "switch" : [] + "Dist::Zilla::Plugin::Test::NoTabs" : { + "filename" : "xt/author/no-tabs.t", + "finder" : [ + ":InstallModules", + ":ExecFiles", + ":TestFiles" + ] } }, - "name" : "@Author::RWSTAUNER/@TestingMania/Test::Compile", - "version" : "2.058" + "name" : "@Author::RWSTAUNER/@TestingMania/Test::NoTabs", + "version" : "0.15" }, { "class" : "Dist::Zilla::Plugin::Manifest", @@ -709,12 +697,12 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.22.0", "repo_root" : "." } }, "name" : "@Author::RWSTAUNER/@Git/Check", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Commit", @@ -734,7 +722,7 @@ "changelog" : "Changes" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.22.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -742,7 +730,7 @@ } }, "name" : "@Author::RWSTAUNER/@Git/Commit", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Tag", @@ -751,12 +739,12 @@ "branch" : null, "changelog" : "Changes", "signed" : 0, - "tag" : "v3.101", - "tag_format" : "v%v", - "tag_message" : "v%v" + "tag" : "v3.200", + "tag_format" : "v%V", + "tag_message" : "v%V" }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.22.0", "repo_root" : "." }, "Dist::Zilla::Role::Git::StringFormatter" : { @@ -764,7 +752,7 @@ } }, "name" : "@Author::RWSTAUNER/@Git/Tag", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::Git::Push", @@ -776,12 +764,12 @@ "remotes_must_exist" : 1 }, "Dist::Zilla::Role::Git::Repo" : { - "git_version" : "2.18.0", + "git_version" : "2.22.0", "repo_root" : "." } }, "name" : "@Author::RWSTAUNER/@Git/Push", - "version" : "2.045" + "version" : "2.046" }, { "class" : "Dist::Zilla::Plugin::ConfirmRelease", @@ -808,6 +796,17 @@ "config" : { "Dist::Zilla::Plugin::Prereqs" : { "phase" : "runtime", + "type" : "requires" + } + }, + "name" : "RuntimeRequires", + "version" : "6.012" + }, + { + "class" : "Dist::Zilla::Plugin::Prereqs", + "config" : { + "Dist::Zilla::Plugin::Prereqs" : { + "phase" : "runtime", "type" : "recommends" } }, @@ -834,11 +833,11 @@ "run" : [ "perl -i -pe '$orig = q[2009-2011 by Marcel Gruenauer.]; /\\Q$orig\\E/ and $already=1; $already or s/^(#?)(\\s*This software is copyright \\(c\\))( \\d+ by Randy Stauner\\.)/$1$2 $orig\\n$1\\n$1$2$3/' %d/lib/Pod/Markdown.pm %d/bin/pod2markdown %d/README* %d/LICENSE README*" ], - "version" : "0.047" + "version" : "0.048" } }, "name" : "Run::AfterRelease", - "version" : "0.047" + "version" : "0.048" }, { "class" : "Dist::Zilla::Plugin::FinderCode", @@ -899,7 +898,7 @@ "zilla" : { "class" : "Dist::Zilla::Dist::Builder", "config" : { - "is_trial" : "0" + "is_trial" : 0 }, "version" : "6.012" } @@ -916,7 +915,7 @@ "Ryan C. Thompson <rthompson@cpan.org>", "Yasutaka ATARASHI <yakex@cpan.org>" ], - "x_generated_by_perl" : "v5.24.4", - "x_serialization_backend" : "Cpanel::JSON::XS version 4.04" + "x_generated_by_perl" : "v5.28.2", + "x_serialization_backend" : "Cpanel::JSON::XS version 4.12" } @@ -24,7 +24,7 @@ configure_requires: ExtUtils::MakeMaker: '0' perl: '5.008' dynamic_config: 0 -generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150005' +generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -49,10 +49,10 @@ no_index: provides: Pod::Markdown: file: lib/Pod/Markdown.pm - version: '3.101' + version: '3.200' Pod::Perldoc::ToMarkdown: file: lib/Pod/Perldoc/ToMarkdown.pm - version: '3.101' + version: '3.200' recommends: HTML::Entities: '0' requires: @@ -61,6 +61,7 @@ requires: Pod::Simple: '3.27' Pod::Simple::Methody: '0' Pod::Usage: '0' + URI::Escape: '0' parent: '0' perl: '5.008' strict: '0' @@ -69,10 +70,10 @@ resources: bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Markdown homepage: https://github.com/rwstauner/Pod-Markdown repository: https://github.com/rwstauner/Pod-Markdown.git -version: '3.101' +version: '3.200' x_Dist_Zilla: perl: - version: '5.024004' + version: '5.028002' plugins: - class: Dist::Zilla::Plugin::Git::NextVersion @@ -82,10 +83,10 @@ x_Dist_Zilla: version_by_branch: 0 version_regexp: (?^:^v(.+)$) Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.22.0 repo_root: . name: '@Author::RWSTAUNER/Git::NextVersion' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::GenerateFile name: '@Author::RWSTAUNER/GenerateManifestSkip' @@ -274,7 +275,7 @@ x_Dist_Zilla: - class: Dist::Zilla::Plugin::GitHubREADME::Badge name: '@Author::RWSTAUNER/GitHubREADME::Badge' - version: '0.27' + version: '0.29' - class: Dist::Zilla::Plugin::CopyFilesFromRelease config: @@ -296,13 +297,13 @@ x_Dist_Zilla: class: Dist::Zilla::Plugin::Git::Contributors config: Dist::Zilla::Plugin::Git::Contributors: - git_version: 2.18.0 + git_version: 2.22.0 include_authors: 0 include_releaser: 1 order_by: name paths: [] name: '@Author::RWSTAUNER/Git::Contributors' - version: '0.034' + version: '0.035' - class: Dist::Zilla::Plugin::AutoPrereqs name: '@Author::RWSTAUNER/AutoPrereqs' @@ -327,7 +328,7 @@ x_Dist_Zilla: inherit_version: '1' meta_noindex: '1' Dist::Zilla::Role::ModuleMetadata: - Module::Metadata: '1.000031' + Module::Metadata: '1.000033' version: '0.006' name: '@Author::RWSTAUNER/MetaProvides::Package' version: '2.004003' @@ -367,41 +368,74 @@ x_Dist_Zilla: name: '@Author::RWSTAUNER/Test::ReportPrereqs' version: '0.027' - - class: Dist::Zilla::Plugin::Test::PodSpelling - config: - Dist::Zilla::Plugin::Test::PodSpelling: - directories: - - bin - - lib - spell_cmd: '' - stopwords: [] - wordlist: Pod::Wordlist - name: '@Author::RWSTAUNER/Test::PodSpelling' - version: '2.007005' + class: Dist::Zilla::Plugin::Test::Synopsis + name: '@Author::RWSTAUNER/@TestingMania/Test::Synopsis' + version: '2.000007' - - class: Dist::Zilla::Plugin::Test::DistManifest - name: '@Author::RWSTAUNER/@TestingMania/Test::DistManifest' - version: '2.000005' + class: Dist::Zilla::Plugin::Test::CPAN::Changes + config: + Dist::Zilla::Plugin::Test::CPAN::Changes: + changelog: Changes + name: '@Author::RWSTAUNER/@TestingMania/Test::CPAN::Changes' + version: '0.012' - - class: Dist::Zilla::Plugin::Test::Portability + class: Dist::Zilla::Plugin::Test::Compile config: - Dist::Zilla::Plugin::Test::Portability: - options: '' - name: '@Author::RWSTAUNER/@TestingMania/Test::Portability' - version: '2.001000' + Dist::Zilla::Plugin::Test::Compile: + bail_out_on_fail: '0' + fail_on_warning: author + fake_home: 1 + filename: t/00-compile.t + module_finder: + - ':InstallModules' + needs_display: 0 + phase: test + script_finder: + - ':PerlExecFiles' + skips: [] + switch: [] + name: '@Author::RWSTAUNER/@TestingMania/Test::Compile' + version: '2.058' + - + class: Dist::Zilla::Plugin::Test::Perl::Critic + name: '@Author::RWSTAUNER/@TestingMania/Test::Perl::Critic' + version: '3.001' + - + class: Dist::Zilla::Plugin::Test::Version + name: '@Author::RWSTAUNER/@TestingMania/Test::Version' + version: '1.09' - class: Dist::Zilla::Plugin::MojibakeTests name: '@Author::RWSTAUNER/@TestingMania/MojibakeTests' version: '0.8' - - class: Dist::Zilla::Plugin::Test::Synopsis - name: '@Author::RWSTAUNER/@TestingMania/Test::Synopsis' - version: '2.000007' + class: Dist::Zilla::Plugin::Test::MinimumVersion + config: + Dist::Zilla::Plugin::Test::MinimumVersion: + max_target_perl: '5.008' + name: '@Author::RWSTAUNER/@TestingMania/Test::MinimumVersion' + version: '2.000010' - - class: Dist::Zilla::Plugin::PodCoverageTests - name: '@Author::RWSTAUNER/@TestingMania/PodCoverageTests' + class: Dist::Zilla::Plugin::MetaTests + name: '@Author::RWSTAUNER/@TestingMania/MetaTests' version: '6.012' - + class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON + name: '@Author::RWSTAUNER/@TestingMania/Test::CPAN::Meta::JSON' + version: '0.004' + - + class: Dist::Zilla::Plugin::Test::DistManifest + name: '@Author::RWSTAUNER/@TestingMania/Test::DistManifest' + version: '2.000005' + - + class: Dist::Zilla::Plugin::Test::Kwalitee + config: + Dist::Zilla::Plugin::Test::Kwalitee: + filename: xt/release/kwalitee.t + skiptest: [] + name: '@Author::RWSTAUNER/@TestingMania/Test::Kwalitee' + version: '2.12' + - class: Dist::Zilla::Plugin::Test::EOL config: Dist::Zilla::Plugin::Test::EOL: @@ -414,9 +448,20 @@ x_Dist_Zilla: name: '@Author::RWSTAUNER/@TestingMania/Test::EOL' version: '0.19' - - class: Dist::Zilla::Plugin::Test::Perl::Critic - name: '@Author::RWSTAUNER/@TestingMania/Test::Perl::Critic' - version: '3.001' + class: Dist::Zilla::Plugin::Test::Portability + config: + Dist::Zilla::Plugin::Test::Portability: + options: '' + name: '@Author::RWSTAUNER/@TestingMania/Test::Portability' + version: '2.001000' + - + class: Dist::Zilla::Plugin::PodSyntaxTests + name: '@Author::RWSTAUNER/@TestingMania/PodSyntaxTests' + version: '6.012' + - + class: Dist::Zilla::Plugin::PodCoverageTests + name: '@Author::RWSTAUNER/@TestingMania/PodCoverageTests' + version: '6.012' - class: Dist::Zilla::Plugin::Test::NoTabs config: @@ -429,59 +474,6 @@ x_Dist_Zilla: name: '@Author::RWSTAUNER/@TestingMania/Test::NoTabs' version: '0.15' - - class: Dist::Zilla::Plugin::Test::Kwalitee - config: - Dist::Zilla::Plugin::Test::Kwalitee: - filename: xt/release/kwalitee.t - skiptest: [] - name: '@Author::RWSTAUNER/@TestingMania/Test::Kwalitee' - version: '2.12' - - - class: Dist::Zilla::Plugin::Test::CPAN::Meta::JSON - name: '@Author::RWSTAUNER/@TestingMania/Test::CPAN::Meta::JSON' - version: '0.004' - - - class: Dist::Zilla::Plugin::Test::MinimumVersion - name: '@Author::RWSTAUNER/@TestingMania/Test::MinimumVersion' - version: '2.000008' - - - class: Dist::Zilla::Plugin::MetaTests - name: '@Author::RWSTAUNER/@TestingMania/MetaTests' - version: '6.012' - - - class: Dist::Zilla::Plugin::Test::CPAN::Changes - config: - Dist::Zilla::Plugin::Test::CPAN::Changes: - changelog: Changes - name: '@Author::RWSTAUNER/@TestingMania/Test::CPAN::Changes' - version: '0.012' - - - class: Dist::Zilla::Plugin::Test::Version - name: '@Author::RWSTAUNER/@TestingMania/Test::Version' - version: '1.09' - - - class: Dist::Zilla::Plugin::PodSyntaxTests - name: '@Author::RWSTAUNER/@TestingMania/PodSyntaxTests' - version: '6.012' - - - class: Dist::Zilla::Plugin::Test::Compile - config: - Dist::Zilla::Plugin::Test::Compile: - bail_out_on_fail: '0' - fail_on_warning: author - fake_home: 1 - filename: t/00-compile.t - module_finder: - - ':InstallModules' - needs_display: 0 - phase: test - script_finder: - - ':PerlExecFiles' - skips: [] - switch: [] - name: '@Author::RWSTAUNER/@TestingMania/Test::Compile' - version: '2.058' - - class: Dist::Zilla::Plugin::Manifest name: '@Author::RWSTAUNER/Manifest' version: '6.012' @@ -519,10 +511,10 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.22.0 repo_root: . name: '@Author::RWSTAUNER/@Git/Check' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Commit config: @@ -538,12 +530,12 @@ x_Dist_Zilla: allow_dirty_match: [] changelog: Changes Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.22.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::RWSTAUNER/@Git/Commit' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Tag config: @@ -551,16 +543,16 @@ x_Dist_Zilla: branch: ~ changelog: Changes signed: 0 - tag: v3.101 - tag_format: v%v - tag_message: v%v + tag: v3.200 + tag_format: v%V + tag_message: v%V Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.22.0 repo_root: . Dist::Zilla::Role::Git::StringFormatter: time_zone: local name: '@Author::RWSTAUNER/@Git/Tag' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::Git::Push config: @@ -569,10 +561,10 @@ x_Dist_Zilla: - origin remotes_must_exist: 1 Dist::Zilla::Role::Git::Repo: - git_version: 2.18.0 + git_version: 2.22.0 repo_root: . name: '@Author::RWSTAUNER/@Git/Push' - version: '2.045' + version: '2.046' - class: Dist::Zilla::Plugin::ConfirmRelease name: '@Author::RWSTAUNER/ConfirmRelease' @@ -594,6 +586,14 @@ x_Dist_Zilla: config: Dist::Zilla::Plugin::Prereqs: phase: runtime + type: requires + name: RuntimeRequires + version: '6.012' + - + class: Dist::Zilla::Plugin::Prereqs + config: + Dist::Zilla::Plugin::Prereqs: + phase: runtime type: recommends name: RuntimeRecommends version: '6.012' @@ -613,9 +613,9 @@ x_Dist_Zilla: quiet: 0 run: - "perl -i -pe '$orig = q[2009-2011 by Marcel Gruenauer.]; /\\Q$orig\\E/ and $already=1; $already or s/^(#?)(\\s*This software is copyright \\(c\\))( \\d+ by Randy Stauner\\.)/$1$2 $orig\\n$1\\n$1$2$3/' %d/lib/Pod/Markdown.pm %d/bin/pod2markdown %d/README* %d/LICENSE README*" - version: '0.047' + version: '0.048' name: Run::AfterRelease - version: '0.047' + version: '0.048' - class: Dist::Zilla::Plugin::FinderCode name: ':InstallModules' @@ -676,5 +676,5 @@ x_contributors: - 'Peter Vereshagin <veresc@cpan.org>' - 'Ryan C. Thompson <rthompson@cpan.org>' - 'Yasutaka ATARASHI <yakex@cpan.org>' -x_generated_by_perl: v5.24.4 +x_generated_by_perl: v5.28.2 x_serialization_backend: 'YAML::Tiny version 1.73' diff --git a/Makefile.PL b/Makefile.PL index ad0f3af..d448504 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -33,6 +33,7 @@ my %WriteMakefileArgs = ( "Pod::Simple" => "3.27", "Pod::Simple::Methody" => 0, "Pod::Usage" => 0, + "URI::Escape" => 0, "parent" => 0, "strict" => 0, "warnings" => 0 @@ -51,7 +52,7 @@ my %WriteMakefileArgs = ( "lib" => 0, "utf8" => 0 }, - "VERSION" => "3.101", + "VERSION" => "3.200", "test" => { "TESTS" => "t/*.t" } @@ -74,6 +75,7 @@ my %FallbackPrereqs = ( "Symbol" => 0, "Test::Differences" => 0, "Test::More" => "0.88", + "URI::Escape" => 0, "lib" => 0, "parent" => 0, "strict" => 0, @@ -1,5 +1,5 @@ This archive contains the distribution Pod-Markdown, -version 3.101: +version 3.200: Convert POD to Markdown diff --git a/bin/pod2markdown b/bin/pod2markdown index 13128b2..5ae2067 100755 --- a/bin/pod2markdown +++ b/bin/pod2markdown @@ -79,7 +79,7 @@ pod2markdown - Convert POD text to Markdown =head1 VERSION -version 3.101 +version 3.200 =head1 SYNOPSIS @@ -8,6 +8,9 @@ copyright_holder = Randy Stauner copyright_year = 2011 license = Perl_5 +; NOTE: To test this module on its own README: +; $ DZIL_README_PHASE=build dzil build + [@Author::RWSTAUNER] ; This seems broken (https://rt.cpan.org/Public/Bug/Display.html?id=73280) -remove = Test::Pod::LinkCheck @@ -21,6 +24,9 @@ Test::EOL.trailing_whitespace = 0 match = corpus/lit-cp1252 encoding = cp1252 +[Prereqs / RuntimeRequires] +URI::Escape = 0 + [Prereqs / RuntimeRecommends] HTML::Entities = 0 diff --git a/lib/Pod/Markdown.pm b/lib/Pod/Markdown.pm index d2d19b2..070c6e5 100644 --- a/lib/Pod/Markdown.pm +++ b/lib/Pod/Markdown.pm @@ -12,14 +12,15 @@ use strict; use warnings; package Pod::Markdown; -# git description: v3.100-2-g1399a61 +# git description: v3.101-3-g70682ef our $AUTHORITY = 'cpan:RWSTAUNER'; # ABSTRACT: Convert POD to Markdown -$Pod::Markdown::VERSION = '3.101'; +$Pod::Markdown::VERSION = '3.200'; use Pod::Simple 3.27 (); # detected_encoding and keep_encoding bug fix use parent qw(Pod::Simple::Methody); use Encode (); +use URI::Escape (); our %URL_PREFIXES = ( sco => 'http://search.cpan.org/perldoc?', @@ -1050,16 +1051,20 @@ sub format_man_url { sub format_perldoc_url { my ($self, $name, $section) = @_; - my $url_prefix = defined($name) + my $url_prefix = $self->perldoc_url_prefix; + if ( + defined($name) && $self->is_local_module($name) - && $self->local_module_url_prefix - || $self->perldoc_url_prefix; + && defined($self->local_module_url_prefix) + ) { + $url_prefix = $self->local_module_url_prefix; + } my $url = ''; # If the link is to another module (external link). if ($name) { - $url = $url_prefix . $name; + $url = $url_prefix . URI::Escape::uri_escape($name); } # See https://rt.cpan.org/Ticket/Display.html?id=57776 @@ -1197,7 +1202,7 @@ Pod::Markdown - Convert POD to Markdown =head1 VERSION -version 3.101 +version 3.200 =for test_synopsis my ($pod_string); diff --git a/lib/Pod/Perldoc/ToMarkdown.pm b/lib/Pod/Perldoc/ToMarkdown.pm index bd7ad61..ba160a6 100644 --- a/lib/Pod/Perldoc/ToMarkdown.pm +++ b/lib/Pod/Perldoc/ToMarkdown.pm @@ -11,7 +11,7 @@ use warnings; package Pod::Perldoc::ToMarkdown; our $AUTHORITY = 'cpan:RWSTAUNER'; -$Pod::Perldoc::ToMarkdown::VERSION = '3.101'; +$Pod::Perldoc::ToMarkdown::VERSION = '3.200'; # ABSTRACT: Enable `perldoc -o Markdown` use parent qw(Pod::Markdown); @@ -60,7 +60,7 @@ Pod::Perldoc::ToMarkdown - Enable `perldoc -o Markdown` =head1 VERSION -version 3.101 +version 3.200 =for test_synopsis 1; __END__ diff --git a/t/00-report-prereqs.dd b/t/00-report-prereqs.dd index 82d0f96..ed6fc56 100644 --- a/t/00-report-prereqs.dd +++ b/t/00-report-prereqs.dd @@ -11,7 +11,6 @@ do { my $x = { }, 'requires' => { 'Pod::Coverage::TrustPod' => '0', - 'Pod::Wordlist' => '0', 'Test::CPAN::Changes' => '0.19', 'Test::CPAN::Meta' => '0', 'Test::CPAN::Meta::JSON' => '0.16', @@ -25,7 +24,6 @@ do { my $x = { 'Test::Pod' => '1.41', 'Test::Pod::Coverage' => '1.08', 'Test::Portability::Files' => '0', - 'Test::Spelling' => '0.12', 'Test::Synopsis' => '0', 'Test::Version' => '1' } @@ -40,6 +38,7 @@ do { my $x = { 'Pod::Simple' => '3.27', 'Pod::Simple::Methody' => '0', 'Pod::Usage' => '0', + 'URI::Escape' => '0', 'parent' => '0', 'perl' => '5.008', 'strict' => '0', @@ -49,7 +49,7 @@ code 'C<c*de>', '`c*de`'; # Links tested extensively in t/links.t. code 'L<link>', "[link](${pod_prefix}link)"; -code 'L<star*>', "[star\\*](${pod_prefix}star*)"; +code 'L<star*>', "[star\\*](${pod_prefix}star%2A)"; # Pod::Simple handles the E<> entirely (Pod::Markdown never sees them). code 'E<lt>', '<'; @@ -28,21 +28,21 @@ my @tests = ( # in order of L<> examples in perlpod: ['name', q<name>, qq^[name](${pod_prefix}name)^], -['other module', q<Other::Pod>, qq^[Other::Pod](${pod_prefix}Other::Pod)^], -['other module, empty text', q<|Other::Pod>, qq^[Other::Pod](${pod_prefix}Other::Pod)^], +['other module', q<Other::Pod>, qq^[Other::Pod](${pod_prefix}Other%3A%3APod)^], +['other module, empty text', q<|Other::Pod>, qq^[Other::Pod](${pod_prefix}Other%3A%3APod)^], -['other module/sec, empty text', q<|Other::Pod/sec>, qq^["sec" in Other::Pod](${pod_prefix}Other::Pod#sec)^], -['section in other module', q<Other::Pod/sec>, qq^["sec" in Other::Pod](${pod_prefix}Other::Pod#sec)^], +['other module/sec, empty text', q<|Other::Pod/sec>, qq^["sec" in Other::Pod](${pod_prefix}Other%3A%3APod#sec)^], +['section in other module', q<Other::Pod/sec>, qq^["sec" in Other::Pod](${pod_prefix}Other%3A%3APod#sec)^], ['quoted section in other doc', q<perlsyn/"For Loops">, qq^["For Loops" in perlsyn](${pod_prefix}perlsyn#For${space}Loops)^], ['section in this doc', q</sec>, qq^["sec"](#sec)^], ['quoted section in this doc', q</"sec">, qq^["sec"](#sec)^], ['/sec, empty text', q<|/sec>, qq^["sec"](#sec)^], -['other module, alternate text', q<other-pod|Other::Pod>, qq^[other-pod](${pod_prefix}Other::Pod)^], +['other module, alternate text', q<other-pod|Other::Pod>, qq^[other-pod](${pod_prefix}Other%3A%3APod)^], -['sec in other mod, alt text', q<x-sec|Other::Pod/sec>, qq^[x-sec](${pod_prefix}Other::Pod#sec)^], -['"sec" in other mod, alt text', q<x-sec|Other::Pod/"sec">, qq^[x-sec](${pod_prefix}Other::Pod#sec)^], +['sec in other mod, alt text', q<x-sec|Other::Pod/sec>, qq^[x-sec](${pod_prefix}Other%3A%3APod#sec)^], +['"sec" in other mod, alt text', q<x-sec|Other::Pod/"sec">, qq^[x-sec](${pod_prefix}Other%3A%3APod#sec)^], ['/"sec" in this doc, alt text', q<other-sec|/"sec">, qq^[other-sec](#sec)^], ['/sec in this doc, alt text', q<other-sec|/sec>, qq^[other-sec](#sec)^], @@ -56,7 +56,7 @@ my @tests = ( ["don't expand nested L's", q^perlpodspec/"About LE<lt>...E<gt> Codes"^, qq^["About L<...> Codes" in perlpodspec](${pod_prefix}perlpodspec#About${space}L<...>${space}Codes)^], # perlpodspec examples: -['name', q<Foo::Bar>, qq^[Foo::Bar](${pod_prefix}Foo::Bar)^], +['name', q<Foo::Bar>, qq^[Foo::Bar](${pod_prefix}Foo%3A%3ABar)^], ['alt|pod/sec', q<Perlport's section on NL's|perlport/Newlines>, qq^[Perlport's section on NL's](${pod_prefix}perlport#Newlines)^], ['pod/sec', q<perlport/Newlines>, qq^["Newlines" in perlport](${pod_prefix}perlport#Newlines)^], ['man/sec', q<crontab(5)/"DESCRIPTION">, qq^["DESCRIPTION" in crontab(5)](${man_prefix}5/crontab)^], @@ -80,7 +80,7 @@ my @tests = ( # Insert backslashes (to escape markdown). ['_underscore_', q<_underscore_>, qq^[\\_underscore\\_](${pod_prefix}_underscore_)^], -['*asterisk*', q<*asterisk*>, qq^[\\*asterisk\\*](${pod_prefix}*asterisk*)^], +['*asterisk*', q<*asterisk*>, qq^[\\*asterisk\\*](${pod_prefix}%2Aasterisk%2A)^], ['section with quotes', q<whiskey|/Say "Cheese">, qq^[whiskey](#Say${space}${quot}Cheese${quot})^], # is there something better to do? @@ -99,10 +99,10 @@ my @tests = ( ['man alias: manny', q<crontab(1)>, qq^[crontab(1)](http://manny.local/page/1/crontab)^, man_url_prefix => 'manny'], ['man alias: man', q<crontab(1)>, qq^[crontab(1)](http://man.he.net/man1/crontab)^, man_url_prefix => 'man'], -['pod url', q<Foo::Bar>, qq^[Foo::Bar](http://localhost/pod/Foo::Bar)^, perldoc_url_prefix => 'http://localhost/pod/'], -['pod alias: sco', q<Foo::Bar>, qq^[Foo::Bar](http://search.cpan.org/perldoc?Foo::Bar)^, perldoc_url_prefix => 'sco'], -['pod alias: metacpan', q<Foo::Bar>, qq^[Foo::Bar](https://metacpan.org/pod/Foo::Bar)^, perldoc_url_prefix => 'metacpan'], -['pod alias: perldoc', q<Foo::Bar>, qq^[Foo::Bar](https://metacpan.org/pod/Foo::Bar)^, perldoc_url_prefix => 'perldoc'], +['pod url', q<Foo::Bar>, qq^[Foo::Bar](http://localhost/pod/Foo%3A%3ABar)^, perldoc_url_prefix => 'http://localhost/pod/'], +['pod alias: sco', q<Foo::Bar>, qq^[Foo::Bar](http://search.cpan.org/perldoc?Foo%3A%3ABar)^, perldoc_url_prefix => 'sco'], +['pod alias: metacpan', q<Foo::Bar>, qq^[Foo::Bar](https://metacpan.org/pod/Foo%3A%3ABar)^, perldoc_url_prefix => 'metacpan'], +['pod alias: perldoc', q<Foo::Bar>, qq^[Foo::Bar](https://metacpan.org/pod/Foo%3A%3ABar)^, perldoc_url_prefix => 'perldoc'], ); # Local Module URLs @@ -110,31 +110,35 @@ my @tests = ( my $p = {}; #'<,'>perldo if (s/^\[|\],$//g){ $a = [map { s/^\s+|\s+$//gr } split /,/, $_, 4]; @$a > 2 and $_ = " test_link({$a->[3]}, $a->[1], $a->[2], $a->[0]);" } - test_link($p, q<Local::Foo>, qq^[Local::Foo](${pod_prefix}Local::Foo)^, + test_link($p, q<Local::Foo>, qq^[Local::Foo](${pod_prefix}Local%3A%3AFoo)^, 'Local::* defaults to perldoc'); - test_link($p, q<Foo_Corp::Bar>, qq^[Foo\\_Corp::Bar](${pod_prefix}Foo_Corp::Bar)^, + test_link($p, q<Foo_Corp::Bar>, qq^[Foo\\_Corp::Bar](${pod_prefix}Foo_Corp%3A%3ABar)^, 'Foo_Corp::* defaults to perldoc'); $p->{perldoc_url_prefix} = 'perldoc://'; - test_link($p, q<Local::Foo>, qq^[Local::Foo](perldoc://Local::Foo)^, + test_link($p, q<Local::Foo>, qq^[Local::Foo](perldoc://Local%3A%3AFoo)^, 'local module without custom url respects perldoc_url_prefix'); $p->{local_module_url_prefix} = 'local://'; - test_link($p, q<Local::Foo>, qq^[Local::Foo](local://Local::Foo)^, + test_link($p, q<Local::Foo>, qq^[Local::Foo](local://Local%3A%3AFoo)^, 'Local::* custom url'); - test_link($p, q<Foo_Corp::Bar>, qq^[Foo\\_Corp::Bar](local://Foo_Corp::Bar)^, + test_link($p, q<Foo_Corp::Bar>, qq^[Foo\\_Corp::Bar](local://Foo_Corp%3A%3ABar)^, 'Foo_Corp::* custom url'); - test_link($p, q<Normal::Foo>, qq^[Normal::Foo](perldoc://Normal::Foo)^, + test_link($p, q<Normal::Foo>, qq^[Normal::Foo](perldoc://Normal%3A%3AFoo)^, 'non local module'); $p->{local_module_re} = qr/Normal/; - test_link($p, q<Normal::Foo>, qq^[Normal::Foo](local://Normal::Foo)^, + test_link($p, q<Normal::Foo>, qq^[Normal::Foo](local://Normal%3A%3AFoo)^, 'Normal::* with custom RE'); - test_link($p, q<NonLocal::Foo>, qq^[NonLocal::Foo](perldoc://NonLocal::Foo)^, + test_link($p, q<NonLocal::Foo>, qq^[NonLocal::Foo](perldoc://NonLocal%3A%3AFoo)^, 'NonLocal* with custom RE'); - test_link($p, q<Local::Foo>, qq^[Local::Foo](perldoc://Local::Foo)^, + test_link($p, q<Local::Foo>, qq^[Local::Foo](perldoc://Local%3A%3AFoo)^, 'even Local::* uses perldoc when custom re does not match'); + + $p = {local_module_url_prefix => ''}; + test_link($p, q<Local::Foo::Bar>, qq^[Local::Foo::Bar](Local%3A%3AFoo%3A%3ABar)^, + 'local module with empty prefix'); } # Most of these examples were internal links diff --git a/xt/author/minimum-version.t b/xt/author/minimum-version.t index 30f8a9f..02eed39 100644 --- a/xt/author/minimum-version.t +++ b/xt/author/minimum-version.t @@ -1,6 +1,6 @@ -#!perl +use strict; +use warnings; use Test::More; - use Test::MinimumVersion; all_minimum_version_ok( qq{5.008} ); diff --git a/xt/author/pod-spell.t b/xt/author/pod-spell.t deleted file mode 100644 index 5ef8795..0000000 --- a/xt/author/pod-spell.t +++ /dev/null @@ -1,58 +0,0 @@ -use strict; -use warnings; -use Test::More; - -# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.007005 -use Test::Spelling 0.12; -use Pod::Wordlist; - - -add_stopwords(<DATA>); -all_pod_files_spelling_ok( qw( bin lib ) ); -__DATA__ -ATARASHI -Aristotle -Cindy -CindyLinz -Covington -Graham -Gruenauer -Marcel -Markdown -Mike -Moral -Ollis -Pagaltzis -Perldoc -Peter -Pod -Randy -Ryan -Stauner -Thompson -ToMarkdown -Vereshagin -Victor -Wang -Yasutaka -aristotle -at -bin -cindylinz -d0t -lib -marcel -mfcovington -motemen -moznion -org -pagaltzis -plicease -pod2markdown -rct -rthompson -rwstauner -thompsonclan -veresc -victor -yakex |