@@ -1,4 +0,0 @@
-# This Build.PL for App-Nopaste was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.006.
-use 5.008003;
-use Module::Build::Tiny 0.034;
-Build_PL();
@@ -4,9 +4,16 @@ CONTRIBUTING
Thank you for considering contributing to this distribution. This file
contains instructions that will help you work with the source code.
-The distribution is managed with Dist::Zilla. This means than many of the
-usual files you might expect are not in the repository, but are generated
-at release time (e.g. Makefile.PL).
+PLEASE NOTE that if you have any questions or difficulties, you can reach the
+maintainer(s) through the bug queue described later in this document
+(preferred), or by emailing the releaser directly. You are not required to
+follow any of the steps in this document to submit a patch or bug report;
+these are just recommendations, intended to help you (and help us help you
+faster).
+
+The distribution is managed with Dist::Zilla (https://metacpan.org/release/Dist-Zilla).
+This means than many of the usual files you might expect are not in the
+repository, but are generated at release time (e.g. Makefile.PL).
However, you can run tests directly using the 'prove' tool:
@@ -31,14 +38,24 @@ install it from CPAN, then run one of the following commands, depending on
your CPAN client:
$ cpan `dzil authordeps --missing`
+or
$ dzil authordeps --missing | cpanm
You should then also install any additional requirements not needed by the
dzil build but may be needed by tests or other development:
- # cpan `dzil listdeps --author --missing`
+ $ cpan `dzil listdeps --author --missing`
+or
$ dzil listdeps --author --missing | cpanm
+Or, you can use the 'dzil stale' command to install all requirements at once:
+
+ $ cpan Dist::Zilla::App::Command::stale
+ $ cpan `dzil stale --all`
+or
+ $ cpanm Dist::Zilla::App::Command::stale
+ $ dzil stale --all | cpanm
+
You can also do this via cpanm directly:
$ cpanm --reinstall --installdeps --with-develop --with-recommends App::Nopaste
@@ -60,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
@@ -69,6 +85,12 @@ https://rt.cpan.org/Public/Dist/Display.html?Name=App-Nopaste
or via bug-App-Nopaste@rt.cpan.org.
This is a good place to send your questions about the usage of this distribution.
+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 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.049.
+template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.081.
@@ -1,17 +1,38 @@
Revision history for App-Nopaste
-0.96 2014-01-29 03:24:58Z
+1.002 2014-12-19 06:50:34Z
+ - new Mojopaste plugin (thanks, Dean Hamstead!)
+
+1.001 2014-12-13 21:21:10Z
+ - fix test of installed plugins to allow for third-party plugins also
+ being installed
+
+1.000 2014-12-12 03:25:40Z
+ - fix the accidental loss of the plugins() method in 0.97 (thanks,
+ Dean Hamstead!)
+
+0.99 2014-12-10 04:53:43Z
+ - gist URLs now use HTTPS (thanks, Darian Anthony Patrick!)
+
+0.98 2014-11-22 07:45:48Z
+ - make install prompts a bit more intelligible
+
+0.97 2014-11-16 19:29:13Z
+ - switched the JSON backend in the Gist plugin from JSON.pm to
+ JSON::MaybeXS
+
+0.96 2014-01-29 03:24:58Z
- added missing prereqs
-0.95 2014-01-26 17:41:29Z
+0.95 2014-01-26 17:41:29Z
- bumped the minimum version needed for the (optional) prerequisite
WWW::Pastebin::PastebinCom::Create, to avoid errors in previous
versions (thanks, Zoffix!)
-0.94 2014-01-18 22:13:29Z
+0.94 2014-01-18 22:13:29Z
- updated and fixed debian and ubuntu language mappings (haarg, PR#1)
-0.93 2014-01-14 00:41:21Z
+0.93 2014-01-14 00:41:21Z
- packaging converted to Dist::Zilla; handling of optional features
fixed (see RT#91053)
@@ -1,4 +1,3 @@
-
This is the Perl distribution App-Nopaste.
Installing App-Nopaste is straightforward.
@@ -25,16 +24,16 @@ Alternatively, if your CPAN shell is set up, you should just be able to do:
As a last resort, you can manually install it. Download the tarball, untar it,
then build it:
- % perl Build.PL
- % ./Build && ./Build test
+ % perl Makefile.PL
+ % make && make test
Then install it:
- % ./Build install
+ % make install
If you are installing into a system-wide directory, you may need to run:
- % sudo ./Build install
+ % sudo make install
## Documentation
@@ -22,7 +22,7 @@ This is free software, licensed under:
Version 1, February 1989
Copyright (C) 1989 Free Software Foundation, Inc.
- 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -1,5 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.012.
-Build.PL
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.029.
CONTRIBUTING
Changes
INSTALL
@@ -9,7 +8,6 @@ META.json
META.yml
Makefile.PL
README
-README.md
dist.ini
lib/App/Nopaste.pm
lib/App/Nopaste/Command.pm
@@ -17,6 +15,7 @@ lib/App/Nopaste/Service.pm
lib/App/Nopaste/Service/Codepeek.pm
lib/App/Nopaste/Service/Debian.pm
lib/App/Nopaste/Service/Gist.pm
+lib/App/Nopaste/Service/Mojopaste.pm
lib/App/Nopaste/Service/PastebinCom.pm
lib/App/Nopaste/Service/Pastie.pm
lib/App/Nopaste/Service/Shadowcat.pm
@@ -24,19 +23,21 @@ lib/App/Nopaste/Service/Snitch.pm
lib/App/Nopaste/Service/Ubuntu.pm
lib/App/Nopaste/Service/ssh.pm
script/nopaste
+t/00-report-prereqs.dd
t/00-report-prereqs.t
t/000-load.t
t/001-subclass_cmd.t
t/002-encoding.t
xt/author/00-compile.t
+xt/author/clean-namespaces.t
+xt/author/eol.t
+xt/author/no-tabs.t
+xt/author/pod-spell.t
xt/release/changes_has_content.t
xt/release/cpan-changes.t
xt/release/distmeta.t
-xt/release/eol.t
xt/release/kwalitee.t
xt/release/minimum-version.t
xt/release/mojibake.t
-xt/release/no-tabs.t
xt/release/pod-syntax.t
xt/release/portability.t
-xt/release/test-version.t
@@ -1,44 +1,42 @@
{
- "abstract" : "easy access to any pastebin",
+ "abstract" : "Easy access to any pastebin",
"author" : [
"Shawn M Moore, <sartak@gmail.com>"
],
- "dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380",
+ "dynamic_config" : 1,
+ "generated_by" : "Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "App-Nopaste",
"no_index" : {
"directory" : [
"t",
- "xt",
- "examples",
- "share"
+ "xt"
]
},
"optional_features" : {
- "Clipboard" : {
- "description" : "copying of URLs with -x/--copy",
+ "browser" : {
+ "description" : "opening of URLs in a browser with --open_url/--open/-o",
"prereqs" : {
"runtime" : {
"requires" : {
- "Clipboard" : "0"
+ "Browser::Open" : "0"
}
}
},
"x_default" : "0"
},
- "browser" : {
- "description" : "open URLs in a browser",
+ "clipboard" : {
+ "description" : "copying of URLs with -x/--copy",
"prereqs" : {
"runtime" : {
"requires" : {
- "Browser::Open" : "0"
+ "Clipboard" : "0"
}
}
},
@@ -54,53 +52,102 @@
}
},
"x_default" : "0"
- },
- "scp" : {
- "description" : "copy files to remote server with scp",
- "prereqs" : {
- "runtime" : {
- "requires" : {
- "File::Spec" : "0",
- "File::Temp" : "0"
- }
- }
- },
- "x_default" : "1"
}
},
"prereqs" : {
"configure" : {
"requires" : {
- "ExtUtils::MakeMaker" : "6.30",
- "Module::Build::Tiny" : "0.034"
+ "ExtUtils::MakeMaker" : "0",
+ "perl" : "5.008003"
}
},
"develop" : {
"recommends" : {
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0.049"
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.081"
},
"requires" : {
"Browser::Open" : "0",
"Clipboard" : "0",
- "Dist::Zilla" : "5.012",
- "Dist::Zilla::Plugin::ContributorsFromGit" : "0",
+ "Dist::Zilla" : "5",
+ "Dist::Zilla::Plugin::Authority" : "0",
+ "Dist::Zilla::Plugin::AuthorityFromModule" : "0.002",
+ "Dist::Zilla::Plugin::AutoMetaResources" : "0",
+ "Dist::Zilla::Plugin::AutoPrereqs" : "0",
+ "Dist::Zilla::Plugin::CheckIssues" : "0",
+ "Dist::Zilla::Plugin::CheckPrereqsIndexed" : "0",
+ "Dist::Zilla::Plugin::CheckSelfDependency" : "0",
+ "Dist::Zilla::Plugin::CheckStrictVersion" : "0",
+ "Dist::Zilla::Plugin::ConfirmRelease" : "0",
+ "Dist::Zilla::Plugin::CopyFilesFromRelease" : "0",
+ "Dist::Zilla::Plugin::ExecDir" : "0",
+ "Dist::Zilla::Plugin::FileFinder::ByName" : "0",
+ "Dist::Zilla::Plugin::GenerateFile::ShareDir" : "0",
+ "Dist::Zilla::Plugin::Git::Check" : "2.025",
+ "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch" : "0.004",
+ "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::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::GithubMeta" : "0",
- "Dist::Zilla::Plugin::MakeMaker::Fallback" : "0",
- "Dist::Zilla::Plugin::ModuleBuildTiny" : "0.004",
+ "Dist::Zilla::Plugin::InstallGuide" : "0",
+ "Dist::Zilla::Plugin::Keywords" : "0.004",
+ "Dist::Zilla::Plugin::License" : "0",
+ "Dist::Zilla::Plugin::MakeMaker" : "0",
+ "Dist::Zilla::Plugin::Manifest" : "0",
+ "Dist::Zilla::Plugin::MetaConfig" : "0",
+ "Dist::Zilla::Plugin::MetaJSON" : "0",
+ "Dist::Zilla::Plugin::MetaNoIndex" : "0",
+ "Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000002",
+ "Dist::Zilla::Plugin::MetaTests" : "0",
+ "Dist::Zilla::Plugin::MetaYAML" : "0",
+ "Dist::Zilla::Plugin::MinimumPerl" : "1.006",
+ "Dist::Zilla::Plugin::MojibakeTests" : "0",
+ "Dist::Zilla::Plugin::NextRelease" : "4.300018",
"Dist::Zilla::Plugin::OptionalFeature" : "0",
+ "Dist::Zilla::Plugin::PkgVersion" : "5.026",
+ "Dist::Zilla::Plugin::PodSyntaxTests" : "0",
"Dist::Zilla::Plugin::PodVersion" : "0",
- "Dist::Zilla::PluginBundle::Author::ETHER" : "0",
+ "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.028",
+ "Dist::Zilla::Plugin::Run::AfterRelease" : "0.024",
+ "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" : "2.06",
+ "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000003",
+ "Dist::Zilla::Plugin::Test::NoTabs" : "0.08",
+ "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",
+ "Dist::Zilla::Plugin::UploadToCPAN" : "0",
+ "Dist::Zilla::PluginBundle::Author::ETHER" : "0.076",
"File::Spec" : "0",
- "File::Temp" : "0",
"IO::Handle" : "0",
"IPC::Open3" : "0",
"Test::CPAN::Changes" : "0.19",
"Test::CPAN::Meta" : "0",
- "Test::Kwalitee" : "1.12",
+ "Test::CleanNamespaces" : "0.15",
+ "Test::EOL" : "0",
+ "Test::Kwalitee" : "1.21",
"Test::More" : "0.94",
"Test::NoTabs" : "0",
"Test::Pod" : "1.41",
+ "Test::Spelling" : "0.12",
"WWW::Pastebin::PastebinCom::Create" : "1.003"
}
},
@@ -108,8 +155,6 @@
"recommends" : {
"Browser::Open" : "0",
"Clipboard" : "0",
- "File::Spec" : "0",
- "File::Temp" : "0",
"WWW::Pastebin::PastebinCom::Create" : "1.003"
},
"requires" : {
@@ -119,13 +164,14 @@
"File::Spec" : "0",
"File::Temp" : "0",
"Getopt::Long::Descriptive" : "0",
- "JSON" : "0",
+ "JSON::MaybeXS" : "0",
"Module::Pluggable" : "0",
"Module::Runtime" : "0",
"POSIX" : "0",
"URI::Escape" : "0",
"WWW::Mechanize" : "0",
"base" : "0",
+ "namespace::clean" : "0",
"perl" : "5.008003",
"strict" : "0",
"warnings" : "0"
@@ -133,67 +179,70 @@
},
"test" : {
"recommends" : {
- "CPAN::Meta" : "0",
- "CPAN::Meta::Requirements" : "2.120900"
+ "CPAN::Meta" : "2.120900"
},
"requires" : {
"ExtUtils::MakeMaker" : "0",
- "File::Spec::Functions" : "0",
+ "File::Spec" : "0",
"LWP::Protocol" : "0",
- "List::Util" : "0",
+ "Test::Deep" : "0",
"Test::More" : "0",
- "version" : "0"
+ "perl" : "5.008003"
}
}
},
"provides" : {
"App::Nopaste" : {
"file" : "lib/App/Nopaste.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Command" : {
"file" : "lib/App/Nopaste/Command.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service" : {
"file" : "lib/App/Nopaste/Service.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Codepeek" : {
"file" : "lib/App/Nopaste/Service/Codepeek.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Debian" : {
"file" : "lib/App/Nopaste/Service/Debian.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Gist" : {
"file" : "lib/App/Nopaste/Service/Gist.pm",
- "version" : "0.96"
+ "version" : "1.002"
+ },
+ "App::Nopaste::Service::Mojopaste" : {
+ "file" : "lib/App/Nopaste/Service/Mojopaste.pm",
+ "version" : "1.002"
},
"App::Nopaste::Service::PastebinCom" : {
"file" : "lib/App/Nopaste/Service/PastebinCom.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Pastie" : {
"file" : "lib/App/Nopaste/Service/Pastie.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Shadowcat" : {
"file" : "lib/App/Nopaste/Service/Shadowcat.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Snitch" : {
"file" : "lib/App/Nopaste/Service/Snitch.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::Ubuntu" : {
"file" : "lib/App/Nopaste/Service/Ubuntu.pm",
- "version" : "0.96"
+ "version" : "1.002"
},
"App::Nopaste::Service::ssh" : {
"file" : "lib/App/Nopaste/Service/ssh.pm",
- "version" : "0.96"
+ "version" : "1.002"
}
},
"release_status" : "stable",
@@ -209,21 +258,42 @@
"web" : "https://github.com/karenetheridge/App-Nopaste"
}
},
- "version" : "0.96",
+ "version" : "1.002",
"x_Dist_Zilla" : {
"perl" : {
- "version" : "5.019007"
+ "version" : "5.021006"
},
"plugins" : [
{
"class" : "Dist::Zilla::Plugin::PodVersion",
"name" : "PodVersion",
- "version" : "5.012"
+ "version" : "5.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs" : {
+ "phase" : "develop",
+ "type" : "requires"
+ }
+ },
+ "name" : "@Author::ETHER/bundle_plugins",
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::NextVersion",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::NextVersion" : {
+ "first_version" : "0.001",
+ "version_by_branch" : "0",
+ "version_regexp" : "(?^u:^([\\d._]+)(-TRIAL)?$)"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::NextVersion",
- "version" : "2.019"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -238,8 +308,8 @@
"skip" : []
}
},
- "name" : "@Author::ETHER/build",
- "version" : "0.015"
+ "name" : "@Author::ETHER/stale modules, build",
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::PromptIfStale",
@@ -252,53 +322,79 @@
"skip" : []
}
},
- "name" : "@Author::ETHER/release",
- "version" : "0.015"
+ "name" : "@Author::ETHER/stale modules, release",
+ "version" : "0.032"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Author::ETHER/ExecDir",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::ETHER/ShareDir",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FileFinder::ByName",
"name" : "@Author::ETHER/Examples",
- "version" : "5.012"
+ "version" : "5.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::FileFinder::ByName",
+ "name" : "@Author::ETHER/ExtraTestFiles",
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::GatherDir",
+ "config" : {
+ "Dist::Zilla::Plugin::GatherDir" : {
+ "exclude_filename" : [
+ "README.pod",
+ "LICENSE",
+ "CONTRIBUTING"
+ ],
+ "exclude_match" : [],
+ "follow_symlinks" : "0",
+ "include_dotfiles" : "0",
+ "prefix" : "",
+ "prune_directory" : [],
+ "root" : "."
+ },
+ "Dist::Zilla::Plugin::Git::GatherDir" : {
+ "include_untracked" : "0"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::GatherDir",
- "version" : "2.019"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::ETHER/MetaYAML",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::ETHER/MetaJSON",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::ETHER/License",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Readme",
"name" : "@Author::ETHER/Readme",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::ETHER/Manifest",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir",
@@ -307,6 +403,7 @@
"destination_filename" : "CONTRIBUTING",
"dist" : "Dist-Zilla-PluginBundle-Author-ETHER",
"encoding" : "UTF-8",
+ "has_xs" : 0,
"source_filename" : "CONTRIBUTING"
}
},
@@ -314,52 +411,64 @@
"version" : "0.005"
},
{
+ "class" : "Dist::Zilla::Plugin::InstallGuide",
+ "name" : "@Author::ETHER/InstallGuide",
+ "version" : "1.200005"
+ },
+ {
"class" : "Dist::Zilla::Plugin::Test::Compile",
"config" : {
"Dist::Zilla::Plugin::Test::Compile" : {
+ "bail_out_on_fail" : "1",
+ "fail_on_warning" : "author",
+ "fake_home" : "0",
"filename" : "xt/author/00-compile.t",
"module_finder" : [
":InstallModules"
],
+ "needs_display" : "0",
+ "phase" : "develop",
"script_finder" : [
":ExecFiles",
"@Author::ETHER/Examples"
- ]
+ ],
+ "skips" : []
}
},
"name" : "@Author::ETHER/Test::Compile",
- "version" : "2.039"
+ "version" : "2.051"
},
{
"class" : "Dist::Zilla::Plugin::Test::NoTabs",
"config" : {
"Dist::Zilla::Plugin::Test::NoTabs" : {
- "module_finder" : [
- ":InstallModules"
- ],
- "script_finder" : [
+ "filename" : "xt/author/no-tabs.t",
+ "finder" : [
+ ":InstallModules",
":ExecFiles",
- "@Author::ETHER/Examples"
+ "@Author::ETHER/Examples",
+ ":TestFiles",
+ "@Author::ETHER/ExtraTestFiles"
]
}
},
"name" : "@Author::ETHER/Test::NoTabs",
- "version" : "0.06"
+ "version" : "0.09"
},
{
- "class" : "Dist::Zilla::Plugin::EOLTests",
- "name" : "@Author::ETHER/EOLTests",
- "version" : "0.02"
+ "class" : "Dist::Zilla::Plugin::Test::EOL",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::EOL" : {
+ "filename" : "xt/author/eol.t"
+ }
+ },
+ "name" : "@Author::ETHER/Test::EOL",
+ "version" : "0.16"
},
{
"class" : "Dist::Zilla::Plugin::MetaTests",
"name" : "@Author::ETHER/MetaTests",
- "version" : "5.012"
- },
- {
- "class" : "Dist::Zilla::Plugin::Test::Version",
- "name" : "@Author::ETHER/Test::Version",
- "version" : "0.002004"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
@@ -369,7 +478,7 @@
{
"class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
"name" : "@Author::ETHER/Test::ChangesHasContent",
- "version" : "0.006"
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
@@ -379,22 +488,33 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::ETHER/PodSyntaxTests",
- "version" : "5.012"
+ "version" : "5.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Test::PodSpelling",
+ "name" : "@Author::ETHER/Test::PodSpelling",
+ "version" : "2.006008"
},
{
"class" : "Dist::Zilla::Plugin::Test::Kwalitee",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::Kwalitee" : {
+ "filename" : "xt/release/kwalitee.t",
+ "skiptest" : []
+ }
+ },
"name" : "@Author::ETHER/Test::Kwalitee",
- "version" : "2.07"
+ "version" : "2.11"
},
{
"class" : "Dist::Zilla::Plugin::MojibakeTests",
"name" : "@Author::ETHER/MojibakeTests",
- "version" : "0.5"
+ "version" : "0.7"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
"name" : "@Author::ETHER/Test::ReportPrereqs",
- "version" : "0.013"
+ "version" : "0.019"
},
{
"class" : "Dist::Zilla::Plugin::Test::Portability",
@@ -402,34 +522,29 @@
"version" : "2.000005"
},
{
- "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.012"
+ "version" : "5.029"
},
{
- "class" : "Dist::Zilla::Plugin::Authority",
- "name" : "@Author::ETHER/Authority",
- "version" : "1.006"
+ "class" : "Dist::Zilla::Plugin::Git::Describe",
+ "name" : "@Author::ETHER/Git::Describe",
+ "version" : "0.003"
},
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::ETHER/NextRelease",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
"name" : "@Author::ETHER/ReadmeAnyFromPod",
- "version" : "0.133360"
+ "version" : "0.142470"
},
{
"class" : "Dist::Zilla::Plugin::GithubMeta",
"name" : "@Author::ETHER/GithubMeta",
- "version" : "0.42"
+ "version" : "0.46"
},
{
"class" : "Dist::Zilla::Plugin::AutoMetaResources",
@@ -437,9 +552,24 @@
"version" : "1.20"
},
{
+ "class" : "Dist::Zilla::Plugin::AuthorityFromModule",
+ "config" : {
+ "Dist::Zilla::Plugin::AuthorityFromModule" : {
+ "module" : "App::Nopaste"
+ }
+ },
+ "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.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -452,7 +582,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.012"
+ "version" : "5.029"
}
]
},
@@ -463,69 +593,81 @@
}
},
"name" : "@Author::ETHER/MetaProvides::Package",
- "version" : "1.15000003"
+ "version" : "2.001002"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::ETHER/MetaConfig",
- "version" : "5.012"
+ "version" : "5.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Keywords",
+ "config" : {
+ "Dist::Zilla::Plugin::Keywords" : {
+ "keywords" : []
+ }
+ },
+ "name" : "@Author::ETHER/Keywords",
+ "version" : "0.006"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Git::Contributors",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Contributors" : {
+ "include_authors" : "0",
+ "include_releaser" : "1",
+ "order_by" : "commits",
+ "paths" : []
+ }
+ },
+ "name" : "@Author::ETHER/Git::Contributors",
+ "version" : "0.008"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::ETHER/AutoPrereqs",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps",
"name" : "@Author::ETHER/Prereqs::AuthorDeps",
- "version" : "0.002"
+ "version" : "0.004"
},
{
"class" : "Dist::Zilla::Plugin::MinimumPerl",
"name" : "@Author::ETHER/MinimumPerl",
- "version" : "1.003"
+ "version" : "1.006"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
"config" : {
"Dist::Zilla::Plugin::Prereqs" : {
"phase" : "develop",
- "type" : "requires"
+ "type" : "recommends"
}
},
- "name" : "@Author::ETHER/installer_requirements",
- "version" : "5.012"
+ "name" : "@Author::ETHER/pluginbundle_version",
+ "version" : "5.029"
},
{
- "class" : "Dist::Zilla::Plugin::Prereqs",
+ "class" : "Dist::Zilla::Plugin::MakeMaker",
"config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "develop",
- "type" : "recommends"
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 9
}
},
- "name" : "@Author::ETHER/pluginbundle_version",
- "version" : "5.012"
+ "name" : "@Author::ETHER/MakeMaker",
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
+ "config" : {
+ "Dist::Zilla::Role::TestRunner" : {
+ "default_jobs" : 9
+ }
+ },
"name" : "@Author::ETHER/RunExtraTests",
- "version" : "0.016"
- },
- {
- "class" : "Dist::Zilla::Plugin::MakeMaker::Fallback",
- "name" : "@Author::ETHER/MakeMaker::Fallback",
- "version" : "0.006"
- },
- {
- "class" : "Dist::Zilla::Plugin::ModuleBuildTiny",
- "name" : "@Author::ETHER/ModuleBuildTiny",
- "version" : "0.006"
- },
- {
- "class" : "Dist::Zilla::Plugin::InstallGuide",
- "name" : "@Author::ETHER/InstallGuide",
- "version" : "1.200002"
+ "version" : "0.025"
},
{
"class" : "Dist::Zilla::Plugin::CheckSelfDependency",
@@ -537,102 +679,235 @@
}
},
"name" : "@Author::ETHER/CheckSelfDependency",
- "version" : "0.007"
+ "version" : "0.009"
},
{
"class" : "Dist::Zilla::Plugin::Run::AfterBuild",
- "name" : "@Author::ETHER/Run::AfterBuild",
- "version" : "0.020"
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "run" : [
+ "bash -c \"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.028"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Run::AfterBuild",
+ "config" : {
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "eval" : [
+ "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ ]
+ }
+ },
+ "name" : "@Author::ETHER/.latest",
+ "version" : "0.028"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CheckStrictVersion",
+ "name" : "@Author::ETHER/CheckStrictVersion",
+ "version" : "0.001"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/initial check",
- "version" : "2.019"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts",
+ "config" : {
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::CheckFor::MergeConflicts",
- "version" : "0.009"
+ "version" : "0.011"
},
{
"class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch",
+ "config" : {
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::CheckFor::CorrectBranch",
- "version" : "0.009"
+ "version" : "0.011"
},
{
"class" : "Dist::Zilla::Plugin::Git::Remote::Check",
"name" : "@Author::ETHER/Git::Remote::Check",
- "version" : "0.2.0"
+ "version" : "0.1.2"
},
{
"class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed",
"name" : "@Author::ETHER/CheckPrereqsIndexed",
- "version" : "0.010"
+ "version" : "0.013"
},
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::ETHER/TestRelease",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::Git::Check",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Check" : {
+ "untracked_files" : "die"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/after tests",
- "version" : "2.019"
+ "version" : "2.028"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::CheckIssues",
+ "name" : "@Author::ETHER/CheckIssues",
+ "version" : "0.007"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::ETHER/UploadToCPAN",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
+ "config" : {
+ "Dist::Zilla::Plugin::CopyFilesFromRelease" : {
+ "filename" : [
+ "LICENSE",
+ "CONTRIBUTING"
+ ],
+ "match" : []
+ }
+ },
"name" : "@Author::ETHER/CopyFilesFromRelease",
- "version" : "0.001"
+ "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.028"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Commit" : {
+ "add_files_in" : [
+ "."
+ ],
+ "commit_msg" : "%N-%v%t%n%n%c",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::DirtyFiles" : {
+ "allow_dirty" : [
+ "Changes",
+ "README.md",
+ "README.pod",
+ "LICENSE",
+ "CONTRIBUTING"
+ ],
+ "allow_dirty_match" : [],
+ "changelog" : "Changes"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::Commit",
- "version" : "2.019"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Tag" : {
+ "branch" : null,
+ "signed" : 0,
+ "tag" : "1.002",
+ "tag_format" : "%v%t",
+ "tag_message" : "v%v%t",
+ "time_zone" : "local"
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::Tag",
- "version" : "2.019"
+ "version" : "2.028"
},
{
"class" : "Dist::Zilla::Plugin::GitHub::Update",
"name" : "@Author::ETHER/GitHub::Update",
- "version" : "0.36"
+ "version" : "0.38"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
+ "config" : {
+ "Dist::Zilla::Plugin::Git::Push" : {
+ "push_to" : [
+ "origin"
+ ],
+ "remotes_must_exist" : 1
+ },
+ "Dist::Zilla::Role::Git::Repo" : {
+ "repo_root" : "."
+ }
+ },
"name" : "@Author::ETHER/Git::Push",
- "version" : "2.019"
- },
- {
- "class" : "Dist::Zilla::Plugin::InstallRelease",
- "name" : "@Author::ETHER/InstallRelease",
- "version" : "0.008"
+ "version" : "2.028"
},
{
- "class" : "Dist::Zilla::Plugin::Prereqs",
+ "class" : "Dist::Zilla::Plugin::Run::AfterRelease",
"config" : {
- "Dist::Zilla::Plugin::Prereqs" : {
- "phase" : "develop",
- "type" : "requires"
+ "Dist::Zilla::Plugin::Run::Role::Runner" : {
+ "run" : "REDACTED"
}
},
- "name" : "@Author::ETHER/via_options",
- "version" : "5.012"
+ "name" : "@Author::ETHER/install release",
+ "version" : "0.028"
},
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::ETHER/ConfirmRelease",
- "version" : "5.012"
+ "version" : "5.029"
},
{
- "class" : "Dist::Zilla::Plugin::ContributorsFromGit",
- "name" : "ContributorsFromGit",
+ "class" : "Dist::Zilla::Plugin::Test::CleanNamespaces",
+ "config" : {
+ "Dist::Zilla::Plugin::Test::CleanNamespaces" : {
+ "filename" : "xt/author/clean-namespaces.t",
+ "skips" : []
+ }
+ },
+ "name" : "Test::CleanNamespaces",
"version" : "0.006"
},
{
@@ -647,12 +922,13 @@
"prereqs" : {
"WWW::Pastebin::PastebinCom::Create" : "1.003"
},
+ "prompt" : "1",
"require_develop" : "1",
"type" : "requires"
}
},
"name" : "pastebin",
- "version" : "0.011"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::OptionalFeature",
@@ -661,37 +937,18 @@
"always_recommend" : "1",
"default" : "0",
"description" : "copying of URLs with -x/--copy",
- "name" : "Clipboard",
+ "name" : "clipboard",
"phase" : "runtime",
"prereqs" : {
"Clipboard" : "0"
},
+ "prompt" : "1",
"require_develop" : "1",
"type" : "requires"
}
},
- "name" : "Clipboard",
- "version" : "0.011"
- },
- {
- "class" : "Dist::Zilla::Plugin::OptionalFeature",
- "config" : {
- "Dist::Zilla::Plugin::OptionalFeature" : {
- "always_recommend" : "1",
- "default" : "1",
- "description" : "copy files to remote server with scp",
- "name" : "scp",
- "phase" : "runtime",
- "prereqs" : {
- "File::Spec" : "0",
- "File::Temp" : "0"
- },
- "require_develop" : "1",
- "type" : "requires"
- }
- },
- "name" : "scp",
- "version" : "0.011"
+ "name" : "clipboard",
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::OptionalFeature",
@@ -699,58 +956,69 @@
"Dist::Zilla::Plugin::OptionalFeature" : {
"always_recommend" : "1",
"default" : "0",
- "description" : "open URLs in a browser",
+ "description" : "opening of URLs in a browser with --open_url/--open/-o",
"name" : "browser",
"phase" : "runtime",
"prereqs" : {
"Browser::Open" : "0"
},
+ "prompt" : "1",
"require_develop" : "1",
"type" : "requires"
}
},
"name" : "browser",
- "version" : "0.011"
+ "version" : "0.020"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "5.012"
+ "version" : "5.029"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "5.012"
+ "version" : "5.029"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::VerifyPhases",
+ "name" : "@Author::ETHER/PHASE VERIFICATION",
+ "version" : "0.009"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::DynamicPrereqs",
+ "name" : "via OptionalFeature",
+ "version" : "0.009"
}
],
"zilla" : {
@@ -758,39 +1026,39 @@
"config" : {
"is_trial" : "0"
},
- "version" : "5.012"
+ "version" : "5.029"
}
},
"x_authority" : "cpan:SARTAK",
+ "x_authority_from_module" : "App::Nopaste",
"x_contributors" : [
- "Arthur Axel 'fREW' Schmidt <frioux@gmail.com>",
- "David Bremner <bremner@unb.ca>",
+ "Shawn M Moore <code@sartak.org>",
+ "Karen Etheridge <ether@cpan.org>",
+ "Thomas Sibley <tsibley@cpan.org>",
+ "François Gannaz <francois.gannaz@silecs.info>",
+ "Ricardo Signes <rjbs@cpan.org>",
+ "Justin Hunter <justin.d.hunter@gmail.com>",
+ "Kevin Falcone <kevin@jibsheet.com>",
+ "Zoffix Znet <cpan@zoffix.com>",
+ "Jesse Luehrs <doy@tozt.net>",
+ "Sergey Romanov <complefor@rambler.ru>",
+ "Dean Hamstead <dean@fragfest.com.au>",
+ "Rafael Kitover <rkitover@cpan.org>",
"David Golden <dagolden@cpan.org>",
- "Fran\u00e7ois Gannaz <francois.gannaz@silecs.info>",
+ "יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>",
+ "Darian Anthony Patrick <dap@darianpatrick.com>",
+ "David Bremner <bremner@unb.ca>",
"Graham Knop <haarg@haarg.org>",
"Jason Mills <jmmills@cpan.org>",
- "Jesse Luehrs <doy@tozt.net>",
"John Goulah <jgoulah@gmail.com>",
- "Justin Hunter <justin.d.hunter@gmail.com>",
- "Karen Etheridge <ether@cpan.org>",
- "Kevin Falcone <kevin@jibsheet.com>",
"Maximilian Gass <mxey@ghosthacking.net>",
- "Rafael Kitover <rkitover@cpan.org>",
- "Ricardo Signes <rjbs@cpan.org>",
- "Sebastian Paaske T\u00f8rholm <Eckankar+github@gmail.com>",
- "Sergey Romanov <complefor@rambler.ru>",
- "Shawn M Moore <code@sartak.org>",
- "Shawn M Moore <sartak@bestpractical.com>",
- "Shawn M Moore <sartak@gmail.com>",
- "Thomas Sibley <tom@zulutango.org>",
- "Thomas Sibley <trs@bestpractical.com>",
- "Thomas Sibley <tsibley@cpan.org>",
- "Yuval Kogman <nothingmuch@woobling.org>",
- "Zoffix Znet <cpan@zoffix.com>",
+ "Sebastian Paaske Tørholm <Eckankar+github@gmail.com>",
"gregor herrmann <gregoa@debian.org>",
- "jluehrs2 <jluehrs2@uiuc.edu>",
"vti <viacheslav.t@gmail.com>",
- "\u00c6var Arnfj\u00f6r\u00f0 Bjarmason <avarab@gmail.com>"
- ]
+ "Ævar Arnfjörð Bjarmason <avarab@gmail.com>",
+ "Сергей Романов <sromanov@cpan.org>",
+ "Arthur Axel 'fREW' Schmidt <frioux@gmail.com>"
+ ],
+ "x_permissions_from_module" : "App::Nopaste"
}
@@ -1,125 +1,135 @@
---
-abstract: 'easy access to any pastebin'
+abstract: 'Easy access to any pastebin'
author:
- 'Shawn M Moore, <sartak@gmail.com>'
build_requires:
- ExtUtils::MakeMaker: 0
- File::Spec::Functions: 0
- LWP::Protocol: 0
- List::Util: 0
- Test::More: 0
- version: 0
+ ExtUtils::MakeMaker: '0'
+ File::Spec: '0'
+ LWP::Protocol: '0'
+ Test::Deep: '0'
+ Test::More: '0'
+ perl: '5.008003'
configure_requires:
- ExtUtils::MakeMaker: 6.30
- Module::Build::Tiny: 0.034
-dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.012, CPAN::Meta::Converter version 2.133380'
+ ExtUtils::MakeMaker: '0'
+ perl: '5.008003'
+dynamic_config: 1
+generated_by: 'Dist::Zilla version 5.029, CPAN::Meta::Converter version 2.143240'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: App-Nopaste
no_index:
directory:
- t
- xt
- - examples
- - share
optional_features:
- Clipboard:
- description: 'copying of URLs with -x/--copy'
- requires:
- Clipboard: 0
browser:
- description: 'open URLs in a browser'
+ description: 'opening of URLs in a browser with --open_url/--open/-o'
+ requires:
+ Browser::Open: '0'
+ clipboard:
+ description: 'copying of URLs with -x/--copy'
requires:
- Browser::Open: 0
+ Clipboard: '0'
pastebin:
description: 'pastebin.com support'
requires:
- WWW::Pastebin::PastebinCom::Create: 1.003
- scp:
- description: 'copy files to remote server with scp'
- requires:
- File::Spec: 0
- File::Temp: 0
+ WWW::Pastebin::PastebinCom::Create: '1.003'
provides:
App::Nopaste:
file: lib/App/Nopaste.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Command:
file: lib/App/Nopaste/Command.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service:
file: lib/App/Nopaste/Service.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Codepeek:
file: lib/App/Nopaste/Service/Codepeek.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Debian:
file: lib/App/Nopaste/Service/Debian.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Gist:
file: lib/App/Nopaste/Service/Gist.pm
- version: 0.96
+ version: '1.002'
+ App::Nopaste::Service::Mojopaste:
+ file: lib/App/Nopaste/Service/Mojopaste.pm
+ version: '1.002'
App::Nopaste::Service::PastebinCom:
file: lib/App/Nopaste/Service/PastebinCom.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Pastie:
file: lib/App/Nopaste/Service/Pastie.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Shadowcat:
file: lib/App/Nopaste/Service/Shadowcat.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Snitch:
file: lib/App/Nopaste/Service/Snitch.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::Ubuntu:
file: lib/App/Nopaste/Service/Ubuntu.pm
- version: 0.96
+ version: '1.002'
App::Nopaste::Service::ssh:
file: lib/App/Nopaste/Service/ssh.pm
- version: 0.96
+ version: '1.002'
recommends:
- Browser::Open: 0
- Clipboard: 0
- File::Spec: 0
- File::Temp: 0
- WWW::Pastebin::PastebinCom::Create: 1.003
+ Browser::Open: '0'
+ Clipboard: '0'
+ WWW::Pastebin::PastebinCom::Create: '1.003'
requires:
- Class::Load: 0
- Exporter: 0
- File::Basename: 0
- File::Spec: 0
- File::Temp: 0
- Getopt::Long::Descriptive: 0
- JSON: 0
- Module::Pluggable: 0
- Module::Runtime: 0
- POSIX: 0
- URI::Escape: 0
- WWW::Mechanize: 0
- base: 0
- perl: 5.008003
- strict: 0
- warnings: 0
+ Class::Load: '0'
+ Exporter: '0'
+ File::Basename: '0'
+ File::Spec: '0'
+ File::Temp: '0'
+ Getopt::Long::Descriptive: '0'
+ JSON::MaybeXS: '0'
+ Module::Pluggable: '0'
+ Module::Runtime: '0'
+ POSIX: '0'
+ URI::Escape: '0'
+ WWW::Mechanize: '0'
+ base: '0'
+ namespace::clean: '0'
+ perl: '5.008003'
+ strict: '0'
+ warnings: '0'
resources:
bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=App-Nopaste
homepage: https://github.com/karenetheridge/App-Nopaste
repository: https://github.com/karenetheridge/App-Nopaste.git
-version: 0.96
+version: '1.002'
x_Dist_Zilla:
perl:
- version: 5.019007
+ version: '5.021006'
plugins:
-
class: Dist::Zilla::Plugin::PodVersion
name: PodVersion
- version: 5.012
+ version: '5.029'
+ -
+ class: Dist::Zilla::Plugin::Prereqs
+ config:
+ Dist::Zilla::Plugin::Prereqs:
+ phase: develop
+ type: requires
+ name: '@Author::ETHER/bundle_plugins'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Git::NextVersion
+ config:
+ Dist::Zilla::Plugin::Git::NextVersion:
+ first_version: '0.001'
+ version_by_branch: '0'
+ version_regexp: (?^u:^([\d._]+)(-TRIAL)?$)
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::NextVersion'
- version: 2.019
+ version: '2.028'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
@@ -130,55 +140,75 @@ x_Dist_Zilla:
- Dist::Zilla::PluginBundle::Author::ETHER
phase: build
skip: []
- name: '@Author::ETHER/build'
- version: 0.015
+ name: '@Author::ETHER/stale modules, build'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::PromptIfStale
config:
Dist::Zilla::Plugin::PromptIfStale:
- check_all_plugins: 1
- check_all_prereqs: 1
+ check_all_plugins: '1'
+ check_all_prereqs: '1'
modules: []
phase: release
skip: []
- name: '@Author::ETHER/release'
- version: 0.015
+ name: '@Author::ETHER/stale modules, release'
+ version: '0.032'
-
class: Dist::Zilla::Plugin::ExecDir
name: '@Author::ETHER/ExecDir'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::ShareDir
name: '@Author::ETHER/ShareDir'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FileFinder::ByName
name: '@Author::ETHER/Examples'
- version: 5.012
+ version: '5.029'
+ -
+ class: Dist::Zilla::Plugin::FileFinder::ByName
+ name: '@Author::ETHER/ExtraTestFiles'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Git::GatherDir
+ config:
+ Dist::Zilla::Plugin::GatherDir:
+ exclude_filename:
+ - README.pod
+ - LICENSE
+ - CONTRIBUTING
+ exclude_match: []
+ follow_symlinks: '0'
+ include_dotfiles: '0'
+ prefix: ''
+ prune_directory: []
+ root: .
+ Dist::Zilla::Plugin::Git::GatherDir:
+ include_untracked: '0'
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::GatherDir'
- version: 2.019
+ version: '2.028'
-
class: Dist::Zilla::Plugin::MetaYAML
name: '@Author::ETHER/MetaYAML'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::MetaJSON
name: '@Author::ETHER/MetaJSON'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::License
name: '@Author::ETHER/License'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Readme
name: '@Author::ETHER/Readme'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Manifest
name: '@Author::ETHER/Manifest'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::GenerateFile::ShareDir
config:
@@ -186,108 +216,135 @@ x_Dist_Zilla:
destination_filename: CONTRIBUTING
dist: Dist-Zilla-PluginBundle-Author-ETHER
encoding: UTF-8
+ has_xs: 0
source_filename: CONTRIBUTING
name: '@Author::ETHER/generate CONTRIBUTING'
- version: 0.005
+ version: '0.005'
+ -
+ class: Dist::Zilla::Plugin::InstallGuide
+ name: '@Author::ETHER/InstallGuide'
+ version: '1.200005'
-
class: Dist::Zilla::Plugin::Test::Compile
config:
Dist::Zilla::Plugin::Test::Compile:
+ bail_out_on_fail: '1'
+ fail_on_warning: author
+ fake_home: '0'
filename: xt/author/00-compile.t
module_finder:
- ':InstallModules'
+ needs_display: '0'
+ phase: develop
script_finder:
- ':ExecFiles'
- '@Author::ETHER/Examples'
+ skips: []
name: '@Author::ETHER/Test::Compile'
- version: 2.039
+ version: '2.051'
-
class: Dist::Zilla::Plugin::Test::NoTabs
config:
Dist::Zilla::Plugin::Test::NoTabs:
- module_finder:
+ filename: xt/author/no-tabs.t
+ finder:
- ':InstallModules'
- script_finder:
- ':ExecFiles'
- '@Author::ETHER/Examples'
+ - ':TestFiles'
+ - '@Author::ETHER/ExtraTestFiles'
name: '@Author::ETHER/Test::NoTabs'
- version: 0.06
+ version: '0.09'
-
- class: Dist::Zilla::Plugin::EOLTests
- name: '@Author::ETHER/EOLTests'
- version: 0.02
+ class: Dist::Zilla::Plugin::Test::EOL
+ config:
+ Dist::Zilla::Plugin::Test::EOL:
+ filename: xt/author/eol.t
+ name: '@Author::ETHER/Test::EOL'
+ version: '0.16'
-
class: Dist::Zilla::Plugin::MetaTests
name: '@Author::ETHER/MetaTests'
- version: 5.012
- -
- class: Dist::Zilla::Plugin::Test::Version
- name: '@Author::ETHER/Test::Version'
- version: 0.002004
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Test::CPAN::Changes
name: '@Author::ETHER/Test::CPAN::Changes'
- version: 0.008
+ version: '0.008'
-
class: Dist::Zilla::Plugin::Test::ChangesHasContent
name: '@Author::ETHER/Test::ChangesHasContent'
- version: 0.006
+ version: '0.007'
-
class: Dist::Zilla::Plugin::Test::MinimumVersion
name: '@Author::ETHER/Test::MinimumVersion'
- version: 2.000005
+ version: '2.000005'
-
class: Dist::Zilla::Plugin::PodSyntaxTests
name: '@Author::ETHER/PodSyntaxTests'
- version: 5.012
+ version: '5.029'
+ -
+ class: Dist::Zilla::Plugin::Test::PodSpelling
+ name: '@Author::ETHER/Test::PodSpelling'
+ version: '2.006008'
-
class: Dist::Zilla::Plugin::Test::Kwalitee
+ config:
+ Dist::Zilla::Plugin::Test::Kwalitee:
+ filename: xt/release/kwalitee.t
+ skiptest: []
name: '@Author::ETHER/Test::Kwalitee'
- version: 2.07
+ version: '2.11'
-
class: Dist::Zilla::Plugin::MojibakeTests
name: '@Author::ETHER/MojibakeTests'
- version: 0.5
+ version: '0.7'
-
class: Dist::Zilla::Plugin::Test::ReportPrereqs
name: '@Author::ETHER/Test::ReportPrereqs'
- version: 0.013
+ version: '0.019'
-
class: Dist::Zilla::Plugin::Test::Portability
name: '@Author::ETHER/Test::Portability'
- version: 2.000005
- -
- class: Dist::Zilla::Plugin::Git::Describe
- name: '@Author::ETHER/Git::Describe'
- version: 0.003
+ version: '2.000005'
-
class: Dist::Zilla::Plugin::PkgVersion
name: '@Author::ETHER/PkgVersion'
- version: 5.012
+ version: '5.029'
-
- class: Dist::Zilla::Plugin::Authority
- name: '@Author::ETHER/Authority'
- version: 1.006
+ class: Dist::Zilla::Plugin::Git::Describe
+ name: '@Author::ETHER/Git::Describe'
+ version: '0.003'
-
class: Dist::Zilla::Plugin::NextRelease
name: '@Author::ETHER/NextRelease'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::ReadmeAnyFromPod
name: '@Author::ETHER/ReadmeAnyFromPod'
- version: 0.133360
+ version: '0.142470'
-
class: Dist::Zilla::Plugin::GithubMeta
name: '@Author::ETHER/GithubMeta'
- version: 0.42
+ version: '0.46'
-
class: Dist::Zilla::Plugin::AutoMetaResources
name: '@Author::ETHER/AutoMetaResources'
- version: 1.20
+ version: '1.20'
+ -
+ class: Dist::Zilla::Plugin::AuthorityFromModule
+ config:
+ Dist::Zilla::Plugin::AuthorityFromModule:
+ module: App::Nopaste
+ 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.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::MetaProvides::Package
config:
@@ -298,37 +355,46 @@ x_Dist_Zilla:
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 5.012
+ version: '5.029'
Dist::Zilla::Role::MetaProvider::Provider:
- inherit_missing: 1
- inherit_version: 1
- meta_noindex: 1
+ inherit_missing: '1'
+ inherit_version: '1'
+ meta_noindex: '1'
name: '@Author::ETHER/MetaProvides::Package'
- version: 1.15000003
+ version: '2.001002'
-
class: Dist::Zilla::Plugin::MetaConfig
name: '@Author::ETHER/MetaConfig'
- version: 5.012
+ version: '5.029'
+ -
+ class: Dist::Zilla::Plugin::Keywords
+ config:
+ Dist::Zilla::Plugin::Keywords:
+ keywords: []
+ name: '@Author::ETHER/Keywords'
+ version: '0.006'
+ -
+ class: Dist::Zilla::Plugin::Git::Contributors
+ config:
+ Dist::Zilla::Plugin::Git::Contributors:
+ include_authors: '0'
+ include_releaser: '1'
+ order_by: commits
+ paths: []
+ name: '@Author::ETHER/Git::Contributors'
+ version: '0.008'
-
class: Dist::Zilla::Plugin::AutoPrereqs
name: '@Author::ETHER/AutoPrereqs'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Prereqs::AuthorDeps
name: '@Author::ETHER/Prereqs::AuthorDeps'
- version: 0.002
+ version: '0.004'
-
class: Dist::Zilla::Plugin::MinimumPerl
name: '@Author::ETHER/MinimumPerl'
- version: 1.003
- -
- class: Dist::Zilla::Plugin::Prereqs
- config:
- Dist::Zilla::Plugin::Prereqs:
- phase: develop
- type: requires
- name: '@Author::ETHER/installer_requirements'
- version: 5.012
+ version: '1.006'
-
class: Dist::Zilla::Plugin::Prereqs
config:
@@ -336,23 +402,21 @@ x_Dist_Zilla:
phase: develop
type: recommends
name: '@Author::ETHER/pluginbundle_version'
- version: 5.012
+ version: '5.029'
+ -
+ class: Dist::Zilla::Plugin::MakeMaker
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 9
+ name: '@Author::ETHER/MakeMaker'
+ version: '5.029'
-
class: Dist::Zilla::Plugin::RunExtraTests
+ config:
+ Dist::Zilla::Role::TestRunner:
+ default_jobs: 9
name: '@Author::ETHER/RunExtraTests'
- version: 0.016
- -
- class: Dist::Zilla::Plugin::MakeMaker::Fallback
- name: '@Author::ETHER/MakeMaker::Fallback'
- version: 0.006
- -
- class: Dist::Zilla::Plugin::ModuleBuildTiny
- name: '@Author::ETHER/ModuleBuildTiny'
- version: 0.006
- -
- class: Dist::Zilla::Plugin::InstallGuide
- name: '@Author::ETHER/InstallGuide'
- version: 1.200002
+ version: '0.025'
-
class: Dist::Zilla::Plugin::CheckSelfDependency
config:
@@ -360,208 +424,294 @@ x_Dist_Zilla:
finder:
- ':InstallModules'
name: '@Author::ETHER/CheckSelfDependency'
- version: 0.007
+ version: '0.009'
-
class: Dist::Zilla::Plugin::Run::AfterBuild
- name: '@Author::ETHER/Run::AfterBuild'
- version: 0.020
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ run:
+ - "bash -c \"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.028'
+ -
+ class: Dist::Zilla::Plugin::Run::AfterBuild
+ config:
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ eval:
+ - "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }"
+ name: '@Author::ETHER/.latest'
+ version: '0.028'
+ -
+ class: Dist::Zilla::Plugin::CheckStrictVersion
+ name: '@Author::ETHER/CheckStrictVersion'
+ version: '0.001'
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty: []
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/initial check'
- version: 2.019
+ version: '2.028'
-
class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
+ config:
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::CheckFor::MergeConflicts'
- version: 0.009
+ version: '0.011'
-
class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
+ config:
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::CheckFor::CorrectBranch'
- version: 0.009
+ version: '0.011'
-
class: Dist::Zilla::Plugin::Git::Remote::Check
name: '@Author::ETHER/Git::Remote::Check'
- version: 0.2.0
+ version: 0.1.2
-
class: Dist::Zilla::Plugin::CheckPrereqsIndexed
name: '@Author::ETHER/CheckPrereqsIndexed'
- version: 0.010
+ version: '0.013'
-
class: Dist::Zilla::Plugin::TestRelease
name: '@Author::ETHER/TestRelease'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::Git::Check
+ config:
+ Dist::Zilla::Plugin::Git::Check:
+ untracked_files: die
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty: []
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/after tests'
- version: 2.019
+ version: '2.028'
+ -
+ class: Dist::Zilla::Plugin::CheckIssues
+ name: '@Author::ETHER/CheckIssues'
+ version: '0.007'
-
class: Dist::Zilla::Plugin::UploadToCPAN
name: '@Author::ETHER/UploadToCPAN'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::CopyFilesFromRelease
+ config:
+ Dist::Zilla::Plugin::CopyFilesFromRelease:
+ filename:
+ - LICENSE
+ - CONTRIBUTING
+ match: []
name: '@Author::ETHER/CopyFilesFromRelease'
- version: 0.001
+ 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.028'
-
class: Dist::Zilla::Plugin::Git::Commit
+ config:
+ Dist::Zilla::Plugin::Git::Commit:
+ add_files_in:
+ - .
+ commit_msg: '%N-%v%t%n%n%c'
+ time_zone: local
+ Dist::Zilla::Role::Git::DirtyFiles:
+ allow_dirty:
+ - Changes
+ - README.md
+ - README.pod
+ - LICENSE
+ - CONTRIBUTING
+ allow_dirty_match: []
+ changelog: Changes
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::Commit'
- version: 2.019
+ version: '2.028'
-
class: Dist::Zilla::Plugin::Git::Tag
+ config:
+ Dist::Zilla::Plugin::Git::Tag:
+ branch: ~
+ signed: 0
+ tag: '1.002'
+ tag_format: '%v%t'
+ tag_message: v%v%t
+ time_zone: local
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::Tag'
- version: 2.019
+ version: '2.028'
-
class: Dist::Zilla::Plugin::GitHub::Update
name: '@Author::ETHER/GitHub::Update'
- version: 0.36
+ version: '0.38'
-
class: Dist::Zilla::Plugin::Git::Push
+ config:
+ Dist::Zilla::Plugin::Git::Push:
+ push_to:
+ - origin
+ remotes_must_exist: 1
+ Dist::Zilla::Role::Git::Repo:
+ repo_root: .
name: '@Author::ETHER/Git::Push'
- version: 2.019
- -
- class: Dist::Zilla::Plugin::InstallRelease
- name: '@Author::ETHER/InstallRelease'
- version: 0.008
+ version: '2.028'
-
- class: Dist::Zilla::Plugin::Prereqs
+ class: Dist::Zilla::Plugin::Run::AfterRelease
config:
- Dist::Zilla::Plugin::Prereqs:
- phase: develop
- type: requires
- name: '@Author::ETHER/via_options'
- version: 5.012
+ Dist::Zilla::Plugin::Run::Role::Runner:
+ run: REDACTED
+ name: '@Author::ETHER/install release'
+ version: '0.028'
-
class: Dist::Zilla::Plugin::ConfirmRelease
name: '@Author::ETHER/ConfirmRelease'
- version: 5.012
+ version: '5.029'
-
- class: Dist::Zilla::Plugin::ContributorsFromGit
- name: ContributorsFromGit
- version: 0.006
+ class: Dist::Zilla::Plugin::Test::CleanNamespaces
+ config:
+ Dist::Zilla::Plugin::Test::CleanNamespaces:
+ filename: xt/author/clean-namespaces.t
+ skips: []
+ name: Test::CleanNamespaces
+ version: '0.006'
-
class: Dist::Zilla::Plugin::OptionalFeature
config:
Dist::Zilla::Plugin::OptionalFeature:
- always_recommend: 1
- default: 0
+ always_recommend: '1'
+ default: '0'
description: 'pastebin.com support'
name: pastebin
phase: runtime
prereqs:
- WWW::Pastebin::PastebinCom::Create: 1.003
- require_develop: 1
+ WWW::Pastebin::PastebinCom::Create: '1.003'
+ prompt: '1'
+ require_develop: '1'
type: requires
name: pastebin
- version: 0.011
+ version: '0.020'
-
class: Dist::Zilla::Plugin::OptionalFeature
config:
Dist::Zilla::Plugin::OptionalFeature:
- always_recommend: 1
- default: 0
+ always_recommend: '1'
+ default: '0'
description: 'copying of URLs with -x/--copy'
- name: Clipboard
- phase: runtime
- prereqs:
- Clipboard: 0
- require_develop: 1
- type: requires
- name: Clipboard
- version: 0.011
- -
- class: Dist::Zilla::Plugin::OptionalFeature
- config:
- Dist::Zilla::Plugin::OptionalFeature:
- always_recommend: 1
- default: 1
- description: 'copy files to remote server with scp'
- name: scp
+ name: clipboard
phase: runtime
prereqs:
- File::Spec: 0
- File::Temp: 0
- require_develop: 1
+ Clipboard: '0'
+ prompt: '1'
+ require_develop: '1'
type: requires
- name: scp
- version: 0.011
+ name: clipboard
+ version: '0.020'
-
class: Dist::Zilla::Plugin::OptionalFeature
config:
Dist::Zilla::Plugin::OptionalFeature:
- always_recommend: 1
- default: 0
- description: 'open URLs in a browser'
+ always_recommend: '1'
+ default: '0'
+ description: 'opening of URLs in a browser with --open_url/--open/-o'
name: browser
phase: runtime
prereqs:
- Browser::Open: 0
- require_develop: 1
+ Browser::Open: '0'
+ prompt: '1'
+ require_develop: '1'
type: requires
name: browser
- version: 0.011
+ version: '0.020'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':InstallModules'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':IncModules'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':TestFiles'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ExecFiles'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':ShareFiles'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':MainModule'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':AllFiles'
- version: 5.012
+ version: '5.029'
-
class: Dist::Zilla::Plugin::FinderCode
name: ':NoFiles'
- version: 5.012
+ version: '5.029'
+ -
+ class: Dist::Zilla::Plugin::VerifyPhases
+ name: '@Author::ETHER/PHASE VERIFICATION'
+ version: '0.009'
+ -
+ class: Dist::Zilla::Plugin::DynamicPrereqs
+ name: 'via OptionalFeature'
+ version: '0.009'
zilla:
class: Dist::Zilla::Dist::Builder
config:
- is_trial: 0
- version: 5.012
+ is_trial: '0'
+ version: '5.029'
x_authority: cpan:SARTAK
+x_authority_from_module: App::Nopaste
x_contributors:
- - "Arthur Axel 'fREW' Schmidt <frioux@gmail.com>"
- - 'David Bremner <bremner@unb.ca>'
- - 'David Golden <dagolden@cpan.org>'
+ - 'Shawn M Moore <code@sartak.org>'
+ - 'Karen Etheridge <ether@cpan.org>'
+ - 'Thomas Sibley <tsibley@cpan.org>'
- 'François Gannaz <francois.gannaz@silecs.info>'
+ - 'Ricardo Signes <rjbs@cpan.org>'
+ - 'Justin Hunter <justin.d.hunter@gmail.com>'
+ - 'Kevin Falcone <kevin@jibsheet.com>'
+ - 'Zoffix Znet <cpan@zoffix.com>'
+ - 'Jesse Luehrs <doy@tozt.net>'
+ - 'Sergey Romanov <complefor@rambler.ru>'
+ - 'Dean Hamstead <dean@fragfest.com.au>'
+ - 'Rafael Kitover <rkitover@cpan.org>'
+ - 'David Golden <dagolden@cpan.org>'
+ - "יובל קוג'מן (Yuval Kogman) <nothingmuch@woobling.org>"
+ - 'Darian Anthony Patrick <dap@darianpatrick.com>'
+ - 'David Bremner <bremner@unb.ca>'
- 'Graham Knop <haarg@haarg.org>'
- 'Jason Mills <jmmills@cpan.org>'
- - 'Jesse Luehrs <doy@tozt.net>'
- 'John Goulah <jgoulah@gmail.com>'
- - 'Justin Hunter <justin.d.hunter@gmail.com>'
- - 'Karen Etheridge <ether@cpan.org>'
- - 'Kevin Falcone <kevin@jibsheet.com>'
- 'Maximilian Gass <mxey@ghosthacking.net>'
- - 'Rafael Kitover <rkitover@cpan.org>'
- - 'Ricardo Signes <rjbs@cpan.org>'
- 'Sebastian Paaske Tørholm <Eckankar+github@gmail.com>'
- - 'Sergey Romanov <complefor@rambler.ru>'
- - 'Shawn M Moore <code@sartak.org>'
- - 'Shawn M Moore <sartak@bestpractical.com>'
- - 'Shawn M Moore <sartak@gmail.com>'
- - 'Thomas Sibley <tom@zulutango.org>'
- - 'Thomas Sibley <trs@bestpractical.com>'
- - 'Thomas Sibley <tsibley@cpan.org>'
- - 'Yuval Kogman <nothingmuch@woobling.org>'
- - 'Zoffix Znet <cpan@zoffix.com>'
- 'gregor herrmann <gregoa@debian.org>'
- - 'jluehrs2 <jluehrs2@uiuc.edu>'
- 'vti <viacheslav.t@gmail.com>'
- 'Ævar Arnfjörð Bjarmason <avarab@gmail.com>'
+ - 'Сергей Романов <sromanov@cpan.org>'
+ - "Arthur Axel 'fREW' Schmidt <frioux@gmail.com>"
+x_permissions_from_module: App::Nopaste
@@ -1,85 +1,26 @@
-# This Makefile.PL for App-Nopaste was generated by
-# Dist::Zilla::Plugin::MakeMaker::Fallback 0.006
-# and Dist::Zilla::Plugin::MakeMaker::Awesome 0.19.
-# Don't edit it but the dist.ini and plugins used to construct it.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v5.029.
use strict;
use warnings;
-BEGIN {
-my %configure_requires = (
- 'ExtUtils::MakeMaker' => '6.30',
- 'Module::Build::Tiny' => '0.034',
-);
-
-my @missing = grep {
- ! eval "require $_; $_->VERSION($configure_requires{$_}); 1"
-} keys %configure_requires;
-
-if (not @missing)
-{
- print "Congratulations, your toolchain understands 'configure_requires'!\n\n";
-}
-else
-{
- $ENV{PERL_MM_FALLBACK_SILENCE_WARNING} or warn <<'EOW';
-*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
-
-If you're seeing this warning, your toolchain is really, really old* and you'll
-almost certainly have problems installing CPAN modules from this century. But
-never fear, dear user, for we have the technology to fix this!
-
-If you're using CPAN.pm to install things, then you can upgrade it using:
-
- cpan CPAN
-
-If you're using CPANPLUS to install things, then you can upgrade it using:
-
- cpanp CPANPLUS
-
-If you're using cpanminus, you shouldn't be seeing this message in the first
-place, so please file an issue on github.
-
-If you're installing manually, please retrain your fingers to run Build.PL
-when present instead.
-
-This public service announcement was brought to you by the Perl Toolchain
-Gang, the irc.perl.org #toolchain IRC channel, and the number 42.
-
-----
-
-* Alternatively, you are doing something overly clever, in which case you
-should consider setting the 'prefer_installer' config option in CPAN.pm, or
-'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively.
-
-You can also silence this warning for future installations by setting the
-PERL_MM_FALLBACK_SILENCE_WARNING environment variable.
-
-EOW
-
- sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));
-}
-}
-
use 5.008003;
-use ExtUtils::MakeMaker 6.30;
+use ExtUtils::MakeMaker;
my %WriteMakefileArgs = (
- "ABSTRACT" => "easy access to any pastebin",
+ "ABSTRACT" => "Easy access to any pastebin",
"AUTHOR" => "Shawn M Moore, <sartak\@gmail.com>",
- "BUILD_REQUIRES" => {},
"CONFIGURE_REQUIRES" => {
- "ExtUtils::MakeMaker" => "6.30",
- "Module::Build::Tiny" => "0.034"
+ "ExtUtils::MakeMaker" => 0
},
"DISTNAME" => "App-Nopaste",
"EXE_FILES" => [
"script/nopaste"
],
"LICENSE" => "perl",
+ "MIN_PERL_VERSION" => "5.008003",
"NAME" => "App::Nopaste",
"PREREQ_PM" => {
"Class::Load" => 0,
@@ -88,25 +29,25 @@ my %WriteMakefileArgs = (
"File::Spec" => 0,
"File::Temp" => 0,
"Getopt::Long::Descriptive" => 0,
- "JSON" => 0,
+ "JSON::MaybeXS" => 0,
"Module::Pluggable" => 0,
"Module::Runtime" => 0,
"POSIX" => 0,
"URI::Escape" => 0,
"WWW::Mechanize" => 0,
"base" => 0,
+ "namespace::clean" => 0,
"strict" => 0,
"warnings" => 0
},
"TEST_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
- "File::Spec::Functions" => 0,
+ "File::Spec" => 0,
"LWP::Protocol" => 0,
- "List::Util" => 0,
- "Test::More" => 0,
- "version" => 0
+ "Test::Deep" => 0,
+ "Test::More" => 0
},
- "VERSION" => "0.96",
+ "VERSION" => "1.002",
"test" => {
"TESTS" => "t/*.t"
}
@@ -119,24 +60,32 @@ my %FallbackPrereqs = (
"ExtUtils::MakeMaker" => 0,
"File::Basename" => 0,
"File::Spec" => 0,
- "File::Spec::Functions" => 0,
"File::Temp" => 0,
"Getopt::Long::Descriptive" => 0,
- "JSON" => 0,
+ "JSON::MaybeXS" => 0,
"LWP::Protocol" => 0,
- "List::Util" => 0,
"Module::Pluggable" => 0,
"Module::Runtime" => 0,
"POSIX" => 0,
+ "Test::Deep" => 0,
"Test::More" => 0,
"URI::Escape" => 0,
"WWW::Mechanize" => 0,
"base" => 0,
+ "namespace::clean" => 0,
"strict" => 0,
- "version" => 0,
"warnings" => 0
);
+# inserted by Dist::Zilla::Plugin::DynamicPrereqs 0.009
+$WriteMakefileArgs{PREREQ_PM}{'WWW::Pastebin::PastebinCom::Create'} = $FallbackPrereqs{'WWW::Pastebin::PastebinCom::Create'} = '1.003'
+ if prompt('install pastebin.com support? [y/N]', 'N') =~ /^y/i;
+$WriteMakefileArgs{PREREQ_PM}{'Clipboard'} = $FallbackPrereqs{'Clipboard'} = '0'
+ if prompt('install copying of URLs with -x/--copy? [y/N]', 'N') =~ /^y/i;
+$WriteMakefileArgs{PREREQ_PM}{'Browser::Open'} = $FallbackPrereqs{'Browser::Open'} = '0'
+ if prompt('install opening of URLs in a browser with --open_url/--open/-o? [y/N]', 'N') =~ /^y/i;
+
+
unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {
delete $WriteMakefileArgs{TEST_REQUIRES};
@@ -1,9 +1,9 @@
This archive contains the distribution App-Nopaste,
-version 0.96:
+version 1.002:
- easy access to any pastebin
+ Easy access to any pastebin
This software is copyright (c) 2008 by Shawn M Moore.
@@ -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.012.
+This README file was generated by Dist::Zilla::Plugin::Readme v5.029.
@@ -1,96 +0,0 @@
-# NAME
-
-App::Nopaste - easy access to any pastebin
-
-# VERSION
-
-version 0.96
-
-# SYNOPSIS
-
- use App::Nopaste 'nopaste';
-
- my $url = nopaste(q{
- perl -wle 'print "Prime" if (1 x shift) !~ /^1?$|^(11+?)\1+$/' [number]
- });
-
- # or on the command line:
- nopaste test.pl
- => http://pastebin.com/fcba51f
-
-# DESCRIPTION
-
-Pastebins (also known as nopaste sites) let you post text, usually code, for
-public viewing. They're used a lot in IRC channels to show code that would
-normally be too long to give directly in the channel (hence the name nopaste).
-
-Each pastebin is slightly different. When one pastebin goes down (I'm looking
-at you, [http://paste.husk.org](http://paste.husk.org)), then you have to find a new one. And if you
-usually use a script to publish text, then it's too much hassle.
-
-This module aims to smooth out the differences between pastebins, and provides
-redundancy: if one site doesn't work, it just tries a different one.
-
-It's also modular: you only need to put on CPAN a
-[App::Nopaste::Service::Foo](https://metacpan.org/pod/App::Nopaste::Service::Foo) module and anyone can begin using it.
-
-# INTERFACE
-
-## CLI
-
-See the documentation in [App::Nopaste::Command](https://metacpan.org/pod/App::Nopaste::Command).
-
-## `nopaste`
-
- use App::Nopaste 'nopaste';
-
- my $url = nopaste(
- text => "Full text to paste (the only mandatory argument)",
- desc => "A short description of the paste",
- nick => "Your nickname",
- lang => "perl",
- chan => "#moose",
- private => 1, # default: 0
-
- # this is the default, but maybe you want to do something different
- error_handler => sub {
- my ($error, $service) = @_;
- warn "$service: $error";
- },
-
- warn_handler => sub {
- my ($warning, $service) = @_;
- warn "$service: $warning";
- },
-
- # you may specify the services to use - but you don't have to
- services => ["Shadowcat", "Gist"],
- );
-
- print $url if $url;
-
-The `nopaste` function will return the URL of the paste on
-success, or `undef` on failure.
-
-For each failure, the `error_handler` argument is invoked with the error
-message and the service that issued it.
-
-For each warning, the `warn_handler` argument is invoked with the warning
-message and the service that issued it.
-
-# SEE ALSO
-
-[WebService::NoPaste](https://metacpan.org/pod/WebService::NoPaste), [WWW::Pastebin::PastebinCom::Create](https://metacpan.org/pod/WWW::Pastebin::PastebinCom::Create), [Devel::REPL::Plugin::Nopaste](https://metacpan.org/pod/Devel::REPL::Plugin::Nopaste)
-
-[http://perladvent.org/2011/2011-12-14.html](http://perladvent.org/2011/2011-12-14.html)
-
-# AUTHOR
-
-Shawn M Moore, `sartak@gmail.com`
-
-# COPYRIGHT AND LICENSE
-
-Copyright 2008- Shawn M Moore.
-
-This program is free software; you can redistribute it and/or modify it
-under the same terms as Perl itself.
@@ -7,17 +7,18 @@ copyright_year = 2008
[PodVersion]
[@Author::ETHER]
+:version = 0.076
+installer = MakeMaker
+changes_version_columns = 8
Authority.authority = cpan:SARTAK
Git::NextVersion.version_regexp = ^([\d._]+)(-TRIAL)?$
Git::Tag.tag_format = %v%t
Test::MinimumVersion.max_target_perl = 5.008003
-remove = PodWeaver
-remove = PodCoverageTests ; TODO
--remove = Test::PodSpelling ; TODO
-remove = Test::Pod::No404s ; TODO
--remove = Test::UnusedVars ; TODO
-[ContributorsFromGit]
+[Test::CleanNamespaces]
[OptionalFeature / pastebin]
-description = pastebin.com support
@@ -25,21 +26,14 @@ Test::MinimumVersion.max_target_perl = 5.008003
-default = 0
WWW::Pastebin::PastebinCom::Create = 1.003
-[OptionalFeature / Clipboard]
+[OptionalFeature / clipboard]
-description = copying of URLs with -x/--copy
-always_recommend = 1
-default = 0
Clipboard = 0
-[OptionalFeature / scp]
--description = copy files to remote server with scp
--always_recommend = 1
--default = 1
-File::Temp = 0
-File::Spec = 0
-
[OptionalFeature / browser]
--description = open URLs in a browser
+-description = opening of URLs in a browser with --open_url/--open/-o
-always_recommend = 1
-default = 0
Browser::Open = 0
@@ -1,14 +1,12 @@
use strict;
use warnings;
package App::Nopaste::Command;
-BEGIN {
- $App::Nopaste::Command::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Command::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use Getopt::Long::Descriptive ();
use App::Nopaste;
use Module::Runtime 'use_module';
+use namespace::clean;
sub new_with_options {
my $class = shift;
@@ -147,13 +145,15 @@ __END__
=pod
+=for stopwords chan desc lang nopaste pastebot
+
=head1 NAME
App::Nopaste::Command - command-line utility for L<App::Nopaste>
=head1 VERSION
-version 0.96
+version 1.002
=head1 DESCRIPTION
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service::Codepeek;
-BEGIN {
- $App::Nopaste::Service::Codepeek::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Codepeek::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
sub uri { 'http://codepeek.com/paste' }
@@ -46,7 +43,7 @@ App::Nopaste::Service::Codepeek - http://codepeek.com
=head1 VERSION
-version 0.96
+version 1.002
=head1 AUTHOR
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service::Debian;
-BEGIN {
- $App::Nopaste::Service::Debian::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Debian::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
my $languages = {
@@ -281,13 +278,15 @@ __END__
=pod
+=for stopwords Niebur
+
=head1 NAME
App::Nopaste::Service::Debian - http://paste.debian.net/
=head1 VERSION
-version 0.96
+version 1.002
=head1 AUTHOR
@@ -1,15 +1,13 @@
use strict;
use warnings;
package App::Nopaste::Service::Gist;
-BEGIN {
- $App::Nopaste::Service::Gist::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Gist::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
use File::Basename ();
-use JSON ();
+use JSON::MaybeXS;
use Module::Runtime 'use_module';
+use namespace::clean;
sub available { 1 }
sub forbid_in_default { 0 }
@@ -38,7 +36,7 @@ sub run {
}
};
- $content = JSON::encode_json($content);
+ $content = encode_json($content);
my %auth = $self->_get_auth;
@@ -78,7 +76,7 @@ sub _get_auth {
die join("\n",
"Export GITHUB_OAUTH_TOKEN first. For example:",
- " perl -Ilib -MApp::Nopaste::Service::Gist -e 'App::Nopaste::Service::Gist->create_token'",
+ " perl -MApp::Nopaste::Service::Gist -e 'App::Nopaste::Service::Gist->create_token'",
"",
"OR you can export GITHUB_USER and GITHUB_PASSWORD.",
) . "\n";
@@ -106,11 +104,11 @@ sub create_token {
my $request = HTTP::Request->new(POST => 'https://api.github.com/authorizations');
$request->authorization_basic($username, $password);
- $request->content(JSON::encode_json($parameters));
+ $request->content(encode_json($parameters));
my $response = $ua->request($request);
- my $response_content = JSON::decode_json($response->decoded_content);
+ my $response_content = decode_json($response->decoded_content);
if ($response_content->{token} ) {
print "GITHUB_OAUTH_TOKEN=$response_content->{token}\n";
@@ -135,10 +133,10 @@ sub return {
return (0, "LWP Error: " . $res->content);
}
- my $id = JSON::decode_json($res->content)->{id};
+ my $id = decode_json($res->content)->{id};
return (0, "Could not find paste link.") if !$id;
- return (1, "http://gist.github.com/$id");
+ return (1, "https://gist.github.com/$id");
}
1;
@@ -146,13 +144,15 @@ __END__
=pod
+=for stopwords SIGNES gists oauth
+
=head1 NAME
App::Nopaste::Service::Gist - http://gist.github.com/
=head1 VERSION
-version 0.96
+version 1.002
=head1 GitHub Authorization
@@ -0,0 +1,72 @@
+use strict;
+use warnings;
+package App::Nopaste::Service::Mojopaste;
+{ our $VERSION = '1.002'; }
+use base 'App::Nopaste::Service';
+
+sub uri { $ENV{NOPASTE_MOJOPASTE_WEBPATH} || 'https://ssl.thorsen.pm/paste' }
+
+sub fill_form {
+ my $self = shift;
+ my $mech = shift;
+ my %args = @_;
+
+ # Hack around bot protection
+ my $form = $mech->form_number(1);
+ my $action = $form->action;
+ if ($action =~ m{/invalid$}) {
+ $action =~ s{/invalid$}{};
+ $form->action($action);
+ }
+
+ $mech->submit_form(
+ fields => {
+ p => 1,
+ content => $args{text},
+ },
+ );
+
+}
+
+sub return {
+ my $self = shift;
+ my $mech = shift;
+
+ my $link = $mech->uri();
+
+ return (1, $link);
+}
+
+
+1;
+__END__
+
+=pod
+
+=for stopwords mojopaste
+
+=head1 NAME
+
+App::Nopaste::Service::Mojopaste - A mojopaste instance
+
+=head1 VERSION
+
+version 1.002
+
+=head1 USAGE
+
+By default the mojopaste installed at http://p.thorsen.pm/ is used.
+
+Point to your local App::mojopaste instance by setting the
+NOPASTE_MOJOPASTE_WEBPATH environment variable
+
+For example:
+
+ # export NOPASTE_MOJOPASTE_WEBPATH=http://paste.local
+ # cat /proc/cpuinfo | nopaste -s Mojopaste
+
+=head1 AUTHOR
+
+Dean Hamstead, C<< <dean@bytefoundry.com.au> >>
+
+=cut
@@ -1,12 +1,10 @@
use strict;
use warnings;
package App::Nopaste::Service::PastebinCom;
-BEGIN {
- $App::Nopaste::Service::PastebinCom::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::PastebinCom::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
use Module::Runtime 'use_module';
+use namespace::clean;
sub available {
eval { use_module('WWW::Pastebin::PastebinCom::Create'); 1 }
@@ -42,7 +40,7 @@ App::Nopaste::Service::PastebinCom - http://pastebin.com/
=head1 VERSION
-version 0.96
+version 1.002
=head1 SEE ALSO
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service::Pastie;
-BEGIN {
- $App::Nopaste::Service::Pastie::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Pastie::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
my %languages = (
@@ -106,6 +103,6 @@ App::Nopaste::Service::Pastie - http://pastie.org
=head1 VERSION
-version 0.96
+version 1.002
=cut
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service::Shadowcat;
-BEGIN {
- $App::Nopaste::Service::Shadowcat::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Shadowcat::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
sub available {
@@ -26,6 +23,6 @@ App::Nopaste::Service::Shadowcat - http://paste.scsys.co.uk/
=head1 VERSION
-version 0.96
+version 1.002
=cut
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service::Snitch;
-BEGIN {
- $App::Nopaste::Service::Snitch::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Snitch::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
sub available {
@@ -26,6 +23,6 @@ App::Nopaste::Service::Snitch - http://nopaste.snit.ch/
=head1 VERSION
-version 0.96
+version 1.002
=cut
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service::Ubuntu;
-BEGIN {
- $App::Nopaste::Service::Ubuntu::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::Ubuntu::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
my $languages = {
@@ -239,13 +236,15 @@ __END__
=pod
+=for stopwords Niebur
+
=head1 NAME
App::Nopaste::Service::Ubuntu - http://paste.ubuntu.com/
=head1 VERSION
-version 0.96
+version 1.002
=head1 AUTHOR
@@ -1,15 +1,13 @@
use strict;
use warnings;
package App::Nopaste::Service::ssh;
-BEGIN {
- $App::Nopaste::Service::ssh::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::ssh::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use base 'App::Nopaste::Service';
use File::Temp;
use File::Spec;
use POSIX qw(strftime);
use URI::Escape qw(uri_escape);
+use namespace::clean;
sub run {
my ($self, %args) = @_;
@@ -30,7 +28,7 @@ sub run {
my $suffix = $ext;
if ($usedesc) {
if (not $args{'desc'}) {
- my ($vol, $dirs, $file) = File::Spec->splitpath($source);
+ my $file = ( File::Spec->splitpath($source) )[2];
$args{'desc'} = $file || '';
}
$args{'desc'} =~ s/\s+/+/g; # more readable than %20
@@ -55,7 +53,7 @@ sub run {
system('scp', '-pq', $filename, "$server:$docroot");
- my ($volume, $dir, $file) = File::Spec->splitpath($filename);
+ my $file = ( File::Spec->splitpath($filename) )[2];
$file = uri_escape($file);
$file =~ s/%2b/+/gi;
@@ -67,13 +65,15 @@ __END__
=pod
+=for stopwords dir
+
=head1 NAME
App::Nopaste::Service::ssh - copies files to your server using scp
=head1 VERSION
-version 0.96
+version 1.002
=head1 AUTHOR
@@ -1,10 +1,7 @@
use strict;
use warnings;
package App::Nopaste::Service;
-BEGIN {
- $App::Nopaste::Service::AUTHORITY = 'cpan:SARTAK';
-}
-$App::Nopaste::Service::VERSION = '0.96';
+{ our $VERSION = '1.002'; }
use WWW::Mechanize;
sub available { 1 }
@@ -98,13 +95,15 @@ __END__
=pod
+=for stopwords pastebot XXX chan desc lang mech nopaste canonicalization
+
=head1 NAME
App::Nopaste::Service - base class for nopaste services
=head1 VERSION
-version 0.96
+version 1.002
=head1 SYNOPSIS
@@ -1,19 +1,19 @@
use strict;
use warnings;
package App::Nopaste;
-BEGIN {
- $App::Nopaste::AUTHORITY = 'cpan:SARTAK';
-}
-# git description: 0.95-4-g9d66c0b
-$App::Nopaste::VERSION = '0.96';
+# git description: 1.001-2-g3afb180
+{ our $VERSION = '1.002'; }
use 5.008003;
-use Module::Pluggable search_path => 'App::Nopaste::Service';
+use Module::Pluggable search_path => 'App::Nopaste::Service', sub_name => '_plugins';
use Class::Load 'load_class';
+use namespace::clean;
use base 'Exporter';
our @EXPORT_OK = 'nopaste';
+sub plugins { goto \&_plugins };
+
sub nopaste {
# process arguments
# allow "nopaste($text)"
@@ -88,13 +88,15 @@ __END__
=pod
+=for stopwords nopaste pastebin
+
=head1 NAME
-App::Nopaste - easy access to any pastebin
+App::Nopaste - Easy access to any pastebin
=head1 VERSION
-version 0.96
+version 1.002
=head1 SYNOPSIS
@@ -18,7 +18,7 @@ nopaste - command-line utility to nopaste
=head1 VERSION
-version 0.96
+version 1.002
=head1 DESCRIPTION
@@ -0,0 +1,139 @@
+do { my $x = {
+ 'configure' => {
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'perl' => '5.008003'
+ }
+ },
+ 'develop' => {
+ 'recommends' => {
+ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.081'
+ },
+ 'requires' => {
+ 'Browser::Open' => '0',
+ 'Clipboard' => '0',
+ 'Dist::Zilla' => '5',
+ 'Dist::Zilla::Plugin::Authority' => '0',
+ 'Dist::Zilla::Plugin::AuthorityFromModule' => '0.002',
+ 'Dist::Zilla::Plugin::AutoMetaResources' => '0',
+ 'Dist::Zilla::Plugin::AutoPrereqs' => '0',
+ 'Dist::Zilla::Plugin::CheckIssues' => '0',
+ 'Dist::Zilla::Plugin::CheckPrereqsIndexed' => '0',
+ 'Dist::Zilla::Plugin::CheckSelfDependency' => '0',
+ 'Dist::Zilla::Plugin::CheckStrictVersion' => '0',
+ 'Dist::Zilla::Plugin::ConfirmRelease' => '0',
+ 'Dist::Zilla::Plugin::CopyFilesFromRelease' => '0',
+ 'Dist::Zilla::Plugin::ExecDir' => '0',
+ 'Dist::Zilla::Plugin::FileFinder::ByName' => '0',
+ 'Dist::Zilla::Plugin::GenerateFile::ShareDir' => '0',
+ 'Dist::Zilla::Plugin::Git::Check' => '2.025',
+ 'Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch' => '0.004',
+ '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::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::GithubMeta' => '0',
+ 'Dist::Zilla::Plugin::InstallGuide' => '0',
+ 'Dist::Zilla::Plugin::Keywords' => '0.004',
+ 'Dist::Zilla::Plugin::License' => '0',
+ 'Dist::Zilla::Plugin::MakeMaker' => '0',
+ 'Dist::Zilla::Plugin::Manifest' => '0',
+ 'Dist::Zilla::Plugin::MetaConfig' => '0',
+ 'Dist::Zilla::Plugin::MetaJSON' => '0',
+ 'Dist::Zilla::Plugin::MetaNoIndex' => '0',
+ 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.15000002',
+ 'Dist::Zilla::Plugin::MetaTests' => '0',
+ 'Dist::Zilla::Plugin::MetaYAML' => '0',
+ 'Dist::Zilla::Plugin::MinimumPerl' => '1.006',
+ 'Dist::Zilla::Plugin::MojibakeTests' => '0',
+ 'Dist::Zilla::Plugin::NextRelease' => '4.300018',
+ 'Dist::Zilla::Plugin::OptionalFeature' => '0',
+ 'Dist::Zilla::Plugin::PkgVersion' => '5.026',
+ 'Dist::Zilla::Plugin::PodSyntaxTests' => '0',
+ 'Dist::Zilla::Plugin::PodVersion' => '0',
+ '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.028',
+ 'Dist::Zilla::Plugin::Run::AfterRelease' => '0.024',
+ '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' => '2.06',
+ 'Dist::Zilla::Plugin::Test::MinimumVersion' => '2.000003',
+ 'Dist::Zilla::Plugin::Test::NoTabs' => '0.08',
+ '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',
+ 'Dist::Zilla::Plugin::UploadToCPAN' => '0',
+ 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.076',
+ 'File::Spec' => '0',
+ 'IO::Handle' => '0',
+ 'IPC::Open3' => '0',
+ 'Test::CPAN::Changes' => '0.19',
+ 'Test::CPAN::Meta' => '0',
+ 'Test::CleanNamespaces' => '0.15',
+ 'Test::EOL' => '0',
+ 'Test::Kwalitee' => '1.21',
+ 'Test::More' => '0.94',
+ 'Test::NoTabs' => '0',
+ 'Test::Pod' => '1.41',
+ 'Test::Spelling' => '0.12',
+ 'WWW::Pastebin::PastebinCom::Create' => '1.003'
+ }
+ },
+ 'runtime' => {
+ 'recommends' => {
+ 'Browser::Open' => '0',
+ 'Clipboard' => '0',
+ 'WWW::Pastebin::PastebinCom::Create' => '1.003'
+ },
+ 'requires' => {
+ 'Class::Load' => '0',
+ 'Exporter' => '0',
+ 'File::Basename' => '0',
+ 'File::Spec' => '0',
+ 'File::Temp' => '0',
+ 'Getopt::Long::Descriptive' => '0',
+ 'JSON::MaybeXS' => '0',
+ 'Module::Pluggable' => '0',
+ 'Module::Runtime' => '0',
+ 'POSIX' => '0',
+ 'URI::Escape' => '0',
+ 'WWW::Mechanize' => '0',
+ 'base' => '0',
+ 'namespace::clean' => '0',
+ 'perl' => '5.008003',
+ 'strict' => '0',
+ 'warnings' => '0'
+ }
+ },
+ 'test' => {
+ 'recommends' => {
+ 'CPAN::Meta' => '2.120900'
+ },
+ 'requires' => {
+ 'ExtUtils::MakeMaker' => '0',
+ 'File::Spec' => '0',
+ 'LWP::Protocol' => '0',
+ 'Test::Deep' => '0',
+ 'Test::More' => '0',
+ 'perl' => '5.008003'
+ }
+ }
+ };
+ $x;
+ }
\ No newline at end of file
@@ -3,210 +3,172 @@
use strict;
use warnings;
-# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.013
+# This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019
use Test::More tests => 1;
use ExtUtils::MakeMaker;
-use File::Spec::Functions;
-use List::Util qw/max/;
-use version;
+use File::Spec;
+
+# from $version::LAX
+my $lax_version_re =
+ qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )?
+ |
+ (?:\.[0-9]+) (?:_[0-9]+)?
+ ) | (?:
+ v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )?
+ |
+ (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)?
+ )
+ )/x;
# hide optional CPAN::Meta modules from prereq scanner
# and check if they are available
my $cpan_meta = "CPAN::Meta";
-my $cpan_meta_req = "CPAN::Meta::Requirements";
-my $HAS_CPAN_META = eval "require $cpan_meta"; ## no critic
-my $HAS_CPAN_META_REQ = eval "require $cpan_meta_req; $cpan_meta_req->VERSION('2.120900')";
+my $cpan_meta_pre = "CPAN::Meta::Prereqs";
+my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic
# Verify requirements?
my $DO_VERIFY_PREREQS = 1;
-sub _merge_requires {
+sub _max {
+ my $max = shift;
+ $max = ( $_ > $max ) ? $_ : $max for @_;
+ return $max;
+}
+
+sub _merge_prereqs {
my ($collector, $prereqs) = @_;
- for my $phase ( qw/configure build test runtime develop/ ) {
- next unless exists $prereqs->{$phase};
- if ( my $req = $prereqs->{$phase}{'requires'} ) {
- my $cmr = CPAN::Meta::Requirements->from_string_hash( $req );
- $collector->add_requirements( $cmr );
+
+ # CPAN::Meta::Prereqs object
+ if (ref $collector eq $cpan_meta_pre) {
+ return $collector->with_merged_prereqs(
+ CPAN::Meta::Prereqs->new( $prereqs )
+ );
+ }
+
+ # Raw hashrefs
+ for my $phase ( keys %$prereqs ) {
+ for my $type ( keys %{ $prereqs->{$phase} } ) {
+ for my $module ( keys %{ $prereqs->{$phase}{$type} } ) {
+ $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module};
+ }
}
}
+
+ return $collector;
}
-my %include = map {; $_ => 1 } qw(
+my @include = qw(
);
-my %exclude = map {; $_ => 1 } qw(
+my @exclude = qw(
);
# Add static prereqs to the included modules list
-my $static_prereqs = do { my $x = {
- 'configure' => {
- 'requires' => {
- 'ExtUtils::MakeMaker' => '6.30',
- 'Module::Build::Tiny' => '0.034'
- }
- },
- 'develop' => {
- 'recommends' => {
- 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.049'
- },
- 'requires' => {
- 'Browser::Open' => '0',
- 'Clipboard' => '0',
- 'Dist::Zilla' => '5.012',
- 'Dist::Zilla::Plugin::ContributorsFromGit' => '0',
- 'Dist::Zilla::Plugin::GitHub::Update' => '0',
- 'Dist::Zilla::Plugin::GithubMeta' => '0',
- 'Dist::Zilla::Plugin::MakeMaker::Fallback' => '0',
- 'Dist::Zilla::Plugin::ModuleBuildTiny' => '0.004',
- 'Dist::Zilla::Plugin::OptionalFeature' => '0',
- 'Dist::Zilla::Plugin::PodVersion' => '0',
- 'Dist::Zilla::PluginBundle::Author::ETHER' => '0',
- 'File::Spec' => '0',
- 'File::Temp' => '0',
- 'IO::Handle' => '0',
- 'IPC::Open3' => '0',
- 'Test::CPAN::Changes' => '0.19',
- 'Test::CPAN::Meta' => '0',
- 'Test::Kwalitee' => '1.12',
- 'Test::More' => '0.94',
- 'Test::NoTabs' => '0',
- 'Test::Pod' => '1.41',
- 'WWW::Pastebin::PastebinCom::Create' => '1.003'
- }
- },
- 'runtime' => {
- 'recommends' => {
- 'Browser::Open' => '0',
- 'Clipboard' => '0',
- 'File::Spec' => '0',
- 'File::Temp' => '0',
- 'WWW::Pastebin::PastebinCom::Create' => '1.003'
- },
- 'requires' => {
- 'Class::Load' => '0',
- 'Exporter' => '0',
- 'File::Basename' => '0',
- 'File::Spec' => '0',
- 'File::Temp' => '0',
- 'Getopt::Long::Descriptive' => '0',
- 'JSON' => '0',
- 'Module::Pluggable' => '0',
- 'Module::Runtime' => '0',
- 'POSIX' => '0',
- 'URI::Escape' => '0',
- 'WWW::Mechanize' => '0',
- 'base' => '0',
- 'perl' => '5.008003',
- 'strict' => '0',
- 'warnings' => '0'
- }
- },
- 'test' => {
- 'recommends' => {
- 'CPAN::Meta' => '0',
- 'CPAN::Meta::Requirements' => '2.120900'
- },
- 'requires' => {
- 'ExtUtils::MakeMaker' => '0',
- 'File::Spec::Functions' => '0',
- 'LWP::Protocol' => '0',
- 'List::Util' => '0',
- 'Test::More' => '0',
- 'version' => '0'
- }
- }
- };
- $x;
- };
-
-delete $static_prereqs->{develop} if not $ENV{AUTHOR_TESTING};
-$include{$_} = 1 for map { keys %$_ } map { values %$_ } values %$static_prereqs;
-
-# Merge requirements for major phases (if we can)
-my $all_requires;
-if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META_REQ ) {
- $all_requires = $cpan_meta_req->new;
- _merge_requires($all_requires, $static_prereqs);
-}
+my $static_prereqs = do 't/00-report-prereqs.dd';
+# Merge all prereqs (either with ::Prereqs or a hashref)
+my $full_prereqs = _merge_prereqs(
+ ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ),
+ $static_prereqs
+);
# Add dynamic prereqs to the included modules list (if we can)
my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml';
if ( $source && $HAS_CPAN_META ) {
- if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
- my $dynamic_prereqs = $meta->prereqs;
- delete $dynamic_prereqs->{develop} if not $ENV{AUTHOR_TESTING};
- $include{$_} = 1 for map { keys %$_ } map { values %$_ } values %$dynamic_prereqs;
-
- if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META_REQ ) {
- _merge_requires($all_requires, $dynamic_prereqs);
+ if ( my $meta = eval { CPAN::Meta->load_file($source) } ) {
+ $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs);
}
- }
}
else {
- $source = 'static metadata';
+ $source = 'static metadata';
}
-my @modules = sort grep { ! $exclude{$_} } keys %include;
-my @reports = [qw/Version Module/];
+my @full_reports;
my @dep_errors;
-my $req_hash = defined($all_requires) ? $all_requires->as_string_hash : {};
-
-for my $mod ( @modules ) {
- next if $mod eq 'perl';
- my $file = $mod;
- $file =~ s{::}{/}g;
- $file .= ".pm";
- my ($prefix) = grep { -e catfile($_, $file) } @INC;
- if ( $prefix ) {
- my $ver = MM->parse_version( catfile($prefix, $file) );
- $ver = "undef" unless defined $ver; # Newer MM should do this anyway
- push @reports, [$ver, $mod];
-
- if ( $DO_VERIFY_PREREQS && $all_requires ) {
- my $req = $req_hash->{$mod};
- if ( defined $req && length $req ) {
- if ( ! defined eval { version->parse($ver) } ) {
- push @dep_errors, "$mod version '$ver' cannot be parsed (version '$req' required)";
- }
- elsif ( ! $all_requires->accepts_module( $mod => $ver ) ) {
- push @dep_errors, "$mod version '$ver' is not in required range '$req'";
+my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs;
+
+# Add static includes into a fake section
+for my $mod (@include) {
+ $req_hash->{other}{modules}{$mod} = 0;
+}
+
+for my $phase ( qw(configure build test runtime develop other) ) {
+ next unless $req_hash->{$phase};
+ next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING});
+
+ for my $type ( qw(requires recommends suggests conflicts modules) ) {
+ next unless $req_hash->{$phase}{$type};
+
+ my $title = ucfirst($phase).' '.ucfirst($type);
+ my @reports = [qw/Module Want Have/];
+
+ for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) {
+ next if $mod eq 'perl';
+ next if grep { $_ eq $mod } @exclude;
+
+ my $file = $mod;
+ $file =~ s{::}{/}g;
+ $file .= ".pm";
+ my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC;
+
+ my $want = $req_hash->{$phase}{$type}{$mod};
+ $want = "undef" unless defined $want;
+ $want = "any" if !$want && $want == 0;
+
+ my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required";
+
+ if ($prefix) {
+ my $have = MM->parse_version( File::Spec->catfile($prefix, $file) );
+ $have = "undef" unless defined $have;
+ push @reports, [$mod, $want, $have];
+
+ if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) {
+ if ( $have !~ /\A$lax_version_re\z/ ) {
+ push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)";
+ }
+ elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) {
+ push @dep_errors, "$mod version '$have' is not in required range '$want'";
+ }
+ }
+ }
+ else {
+ push @reports, [$mod, $want, "missing"];
+
+ if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) {
+ push @dep_errors, "$mod is not installed ($req_string)";
+ }
+ }
}
- }
- }
- }
- else {
- push @reports, ["missing", $mod];
+ if ( @reports ) {
+ push @full_reports, "=== $title ===\n\n";
- if ( $DO_VERIFY_PREREQS && $all_requires ) {
- my $req = $req_hash->{$mod};
- if ( defined $req && length $req ) {
- push @dep_errors, "$mod is not installed (version '$req' required)";
- }
+ 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;
+ push @full_reports, "\n";
+ }
}
- }
}
-if ( @reports ) {
- my $vl = max map { length $_->[0] } @reports;
- my $ml = max map { length $_->[1] } @reports;
- splice @reports, 1, 0, ["-" x $vl, "-" x $ml];
- diag "\nVersions for all modules listed in $source (including optional ones):\n",
- map {sprintf(" %*s %*s\n",$vl,$_->[0],-$ml,$_->[1])} @reports;
+if ( @full_reports ) {
+ diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports;
}
if ( @dep_errors ) {
- diag join("\n",
- "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
- "The following REQUIRED prerequisites were not satisfied:\n",
- @dep_errors,
- "\n"
- );
+ diag join("\n",
+ "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n",
+ "The following REQUIRED prerequisites were not satisfied:\n",
+ @dep_errors,
+ "\n"
+ );
}
pass;
@@ -1,12 +1,13 @@
use strict;
use warnings;
-use Test::More tests => 10;
+use Test::More tests => 11;
use_ok 'App::Nopaste';
use_ok 'App::Nopaste::Service';
use_ok 'App::Nopaste::Service::Codepeek';
use_ok 'App::Nopaste::Service::Debian';
use_ok 'App::Nopaste::Service::Gist';
+use_ok 'App::Nopaste::Service::Mojopaste';
use_ok 'App::Nopaste::Service::PastebinCom';
use_ok 'App::Nopaste::Service::Pastie';
use_ok 'App::Nopaste::Service::Shadowcat';
@@ -1,6 +1,7 @@
use strict;
use warnings;
use Test::More;
+use Test::Deep;
{
package App::Nopaste::Service::_MyTest;
@@ -22,6 +23,15 @@ use Test::More;
sub read_text { 'test' }
}
+cmp_deeply(
+ [ App::Nopaste->plugins ],
+ superbagof(
+ map { 'App::Nopaste::Service::' . $_ }
+ qw(Codepeek Debian Gist Mojopaste PastebinCom Pastie Shadowcat Snitch Ubuntu _MyTest ssh)
+ ),
+ 'identified the service',
+);
+
my $input = {
desc => 'a test',
nick => 'person',
@@ -2,11 +2,11 @@ use 5.006;
use strict;
use warnings;
-# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.039
-
-use Test::More 0.94 tests => 13 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
+# this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051
+use Test::More 0.94;
+plan tests => 14 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
my @module_files = (
'App/Nopaste.pm',
@@ -15,6 +15,7 @@ my @module_files = (
'App/Nopaste/Service/Codepeek.pm',
'App/Nopaste/Service/Debian.pm',
'App/Nopaste/Service/Gist.pm',
+ 'App/Nopaste/Service/Mojopaste.pm',
'App/Nopaste/Service/PastebinCom.pm',
'App/Nopaste/Service/Pastie.pm',
'App/Nopaste/Service/Shadowcat.pm',
@@ -60,9 +61,9 @@ foreach my $file (@scripts)
{ SKIP: {
open my $fh, '<', $file or warn("Unable to open $file: $!"), next;
my $line = <$fh>;
- close $fh and skip("$file isn't perl", 1) unless $line =~ /^#!.*?\bperl\b\s*(.*)$/;
- my @flags = $1 ? split(/\s+/, $1) : ();
+ close $fh and skip("$file isn't perl", 1) unless $line =~ /^#!\s*(?:\S*perl\S*)((?:\s+-\w*)*)(?:\s*#.*)?$/;
+ my @flags = $1 ? split(' ', $1) : ();
my $stderr = IO::Handle->new;
@@ -83,6 +84,7 @@ foreach my $file (@scripts)
-is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING};
+is(scalar(@warnings), 0, 'no warnings found')
+ or diag 'got warnings: ', explain(\@warnings) if $ENV{AUTHOR_TESTING};
BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing;
@@ -0,0 +1,11 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::CleanNamespaces 0.006
+
+use Test::More 0.94;
+use Test::CleanNamespaces 0.15;
+
+subtest all_namespaces_clean => sub { all_namespaces_clean() };
+
+done_testing;
@@ -0,0 +1,8 @@
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::EOL 0.16
+use Test::EOL;
+
+all_perl_files_ok({ trailing_whitespace => 1 });
@@ -0,0 +1,45 @@
+use strict;
+use warnings;
+
+# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.09
+
+use Test::More 0.88;
+use Test::NoTabs;
+
+my @files = (
+ 'lib/App/Nopaste.pm',
+ 'lib/App/Nopaste/Command.pm',
+ 'lib/App/Nopaste/Service.pm',
+ 'lib/App/Nopaste/Service/Codepeek.pm',
+ 'lib/App/Nopaste/Service/Debian.pm',
+ 'lib/App/Nopaste/Service/Gist.pm',
+ 'lib/App/Nopaste/Service/Mojopaste.pm',
+ 'lib/App/Nopaste/Service/PastebinCom.pm',
+ 'lib/App/Nopaste/Service/Pastie.pm',
+ 'lib/App/Nopaste/Service/Shadowcat.pm',
+ 'lib/App/Nopaste/Service/Snitch.pm',
+ 'lib/App/Nopaste/Service/Ubuntu.pm',
+ 'lib/App/Nopaste/Service/ssh.pm',
+ 'script/nopaste',
+ 't/00-report-prereqs.dd',
+ 't/00-report-prereqs.t',
+ 't/000-load.t',
+ 't/001-subclass_cmd.t',
+ 't/002-encoding.t',
+ 'xt/author/00-compile.t',
+ 'xt/author/clean-namespaces.t',
+ 'xt/author/eol.t',
+ 'xt/author/no-tabs.t',
+ 'xt/author/pod-spell.t',
+ 'xt/release/changes_has_content.t',
+ 'xt/release/cpan-changes.t',
+ 'xt/release/distmeta.t',
+ 'xt/release/kwalitee.t',
+ 'xt/release/minimum-version.t',
+ 'xt/release/mojibake.t',
+ 'xt/release/pod-syntax.t',
+ 'xt/release/portability.t'
+);
+
+notabs_ok($_) foreach @files;
+done_testing;
@@ -0,0 +1,111 @@
+use strict;
+use warnings;
+use Test::More;
+
+# generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008
+use Test::Spelling 0.12;
+use Pod::Wordlist;
+
+
+add_stopwords(<DATA>);
+all_pod_files_spelling_ok( qw( bin lib ) );
+__DATA__
+Shawn
+Moore
+sartak
+code
+Karen
+Etheridge
+ether
+Thomas
+Sibley
+tsibley
+François
+Gannaz
+francois
+Ricardo
+Signes
+rjbs
+Justin
+Hunter
+justin
+Kevin
+Falcone
+kevin
+Zoffix
+Znet
+cpan
+Jesse
+Luehrs
+doy
+Sergey
+Romanov
+complefor
+Dean
+Hamstead
+dean
+Rafael
+Kitover
+rkitover
+David
+Golden
+dagolden
+יובל
+קוג
+Yuval
+Kogman
+nothingmuch
+Darian
+Anthony
+Patrick
+dap
+Bremner
+bremner
+Graham
+Knop
+haarg
+Jason
+Mills
+jmmills
+John
+Goulah
+jgoulah
+Maximilian
+Gass
+mxey
+Sebastian
+Paaske
+Tørholm
+Eckankar
+gregor
+herrmann
+gregoa
+vti
+viacheslav
+Ævar
+Arnfjörð
+Bjarmason
+avarab
+Сергей
+Романов
+sromanov
+Arthur
+Axel
+fREW
+Schmidt
+frioux
+lib
+App
+Nopaste
+Command
+Service
+Codepeek
+Debian
+Gist
+Mojopaste
+PastebinCom
+Pastie
+Shadowcat
+Snitch
+Ubuntu
+ssh
@@ -4,7 +4,7 @@ use Test::More tests => 2;
note 'Checking Changes';
my $changes_file = 'Changes';
-my $newver = '0.96';
+my $newver = '1.002';
my $trial_token = '-TRIAL';
SKIP: {
@@ -1,8 +1,6 @@
#!perl
# This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
-use Test::More;
+use Test::CPAN::Meta;
-eval "use Test::CPAN::Meta";
-plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
meta_yaml_ok();
@@ -1,8 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-eval 'use Test::EOL';
-plan skip_all => 'Test::EOL required' if $@;
-
-all_perl_files_ok({ trailing_whitespace => 1 });
@@ -1,4 +1,9 @@
-# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07
+# this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11
use strict;
use warnings;
-use Test::Kwalitee;
+use Test::More 0.88;
+use Test::Kwalitee 1.21 'kwalitee_ok';
+
+kwalitee_ok();
+
+done_testing;
@@ -1,26 +0,0 @@
-use strict;
-use warnings;
-
-# this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.06
-
-use Test::More 0.88;
-use Test::NoTabs;
-
-my @files = (
- 'lib/App/Nopaste.pm',
- 'lib/App/Nopaste/Command.pm',
- 'lib/App/Nopaste/Service.pm',
- 'lib/App/Nopaste/Service/Codepeek.pm',
- 'lib/App/Nopaste/Service/Debian.pm',
- 'lib/App/Nopaste/Service/Gist.pm',
- 'lib/App/Nopaste/Service/PastebinCom.pm',
- 'lib/App/Nopaste/Service/Pastie.pm',
- 'lib/App/Nopaste/Service/Shadowcat.pm',
- 'lib/App/Nopaste/Service/Snitch.pm',
- 'lib/App/Nopaste/Service/Ubuntu.pm',
- 'lib/App/Nopaste/Service/ssh.pm',
- 'script/nopaste'
-);
-
-notabs_ok($_) foreach @files;
-done_testing;
@@ -1,8 +1,6 @@
#!perl
# This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
use Test::More;
-
-eval "use Test::Pod 1.41";
-plan skip_all => "Test::Pod 1.41 required for testing POD" if $@;
+use Test::Pod 1.41;
all_pod_files_ok();
@@ -1,22 +0,0 @@
-use strict;
-use warnings;
-use Test::More;
-
-# generated by Dist::Zilla::Plugin::Test::Version 0.002004
-BEGIN { eval "use Test::Version; 1;" or die $@; }
-
-my @imports = ( 'version_all_ok' );
-
-my $params = {
- is_strict => 1,
- has_version => 1,
-};
-
-push @imports, $params
- if version->parse( $Test::Version::VERSION ) >= version->parse('1.002');
-
-
-Test::Version->import(@imports);
-
-version_all_ok;
-done_testing;