Merge tag 'upstream/0.11'
Upstream version 0.11
gregor herrmann
8 years ago
0 | use 5.006; | |
1 | use Module::Build::Tiny 0.030; | |
2 | Build_PL(); | |
0 | # This Build.PL for MooseX-SimpleConfig was generated by | |
1 | # Dist::Zilla::Plugin::ModuleBuildTiny::Fallback 0.014 | |
2 | use strict; | |
3 | use warnings; | |
4 | ||
5 | my %configure_requires = ( | |
6 | 'Module::Build::Tiny' => '0.039', | |
7 | ); | |
8 | ||
9 | my @missing = grep { | |
10 | ! eval "require $_; $_->VERSION($configure_requires{$_}); 1" | |
11 | } keys %configure_requires; | |
12 | ||
13 | if (not @missing) | |
14 | { | |
15 | print "Congratulations, your toolchain understands 'configure_requires'!\n\n"; | |
16 | ||
17 | # This section for MooseX-SimpleConfig was generated by Dist::Zilla::Plugin::ModuleBuildTiny 0.008. | |
18 | use strict; | |
19 | use warnings; | |
20 | ||
21 | use 5.006; | |
22 | # use Module::Build::Tiny 0.039; | |
23 | Module::Build::Tiny::Build_PL(); | |
24 | } | |
25 | else | |
26 | { | |
27 | $ENV{PERL_MB_FALLBACK_SILENCE_WARNING} or warn <<'EOW'; | |
28 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** | |
29 | ||
30 | If you're seeing this warning, your toolchain is really, really old* and you'll | |
31 | almost certainly have problems installing CPAN modules from this century. But | |
32 | never fear, dear user, for we have the technology to fix this! | |
33 | ||
34 | If you're using CPAN.pm to install things, then you can upgrade it using: | |
35 | ||
36 | cpan CPAN | |
37 | ||
38 | If you're using CPANPLUS to install things, then you can upgrade it using: | |
39 | ||
40 | cpanp CPANPLUS | |
41 | ||
42 | If you're using cpanminus, you shouldn't be seeing this message in the first | |
43 | place, so please file an issue on github. | |
44 | ||
45 | This public service announcement was brought to you by the Perl Toolchain | |
46 | Gang, the irc.perl.org #toolchain IRC channel, and the number 42. | |
47 | ||
48 | ---- | |
49 | ||
50 | * Alternatively, you are running this file manually, in which case you need | |
51 | to learn to first fulfill all configure requires prerequisites listed in | |
52 | META.yml or META.json -- or use a cpan client to install this distribution. | |
53 | ||
54 | You can also silence this warning for future installations by setting the | |
55 | PERL_MB_FALLBACK_SILENCE_WARNING environment variable, but please don't do | |
56 | that until you fix your toolchain as described above. | |
57 | ||
58 | EOW | |
59 | sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)); | |
60 | ||
61 | ||
62 | # This section was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.025. | |
63 | use strict; | |
64 | use warnings; | |
65 | ||
66 | require Module::Build; Module::Build->VERSION(0.28); | |
67 | ||
68 | ||
69 | my %module_build_args = ( | |
70 | "build_requires" => {}, | |
71 | "configure_requires" => { | |
72 | "Module::Build::Tiny" => "0.039", | |
73 | "perl" => "5.004" | |
74 | }, | |
75 | "dist_abstract" => "A Moose role for setting attributes from a simple configuration file", | |
76 | "dist_author" => [ | |
77 | "Brandon L. Black <blblack\@gmail.com>" | |
78 | ], | |
79 | "dist_name" => "MooseX-SimpleConfig", | |
80 | "dist_version" => "0.11", | |
81 | "license" => "perl", | |
82 | "module_name" => "MooseX::SimpleConfig", | |
83 | "recommends" => {}, | |
84 | "recursive_test_files" => 1, | |
85 | "requires" => { | |
86 | "Config::Any" => "0.13", | |
87 | "Moose::Role" => 0, | |
88 | "MooseX::ConfigFromFile" => 0, | |
89 | "perl" => "5.006" | |
90 | }, | |
91 | "script_files" => [], | |
92 | "test_requires" => { | |
93 | "ExtUtils::MakeMaker" => 0, | |
94 | "File::Spec" => 0, | |
95 | "File::Spec::Functions" => 0, | |
96 | "File::Temp" => 0, | |
97 | "Moose" => 0, | |
98 | "Test::Fatal" => 0, | |
99 | "Test::More" => "0.88", | |
100 | "lib" => 0, | |
101 | "perl" => "5.006", | |
102 | "strict" => 0, | |
103 | "warnings" => 0 | |
104 | } | |
105 | ); | |
106 | ||
107 | ||
108 | my %fallback_build_requires = ( | |
109 | "ExtUtils::MakeMaker" => 0, | |
110 | "File::Spec" => 0, | |
111 | "File::Spec::Functions" => 0, | |
112 | "File::Temp" => 0, | |
113 | "Moose" => 0, | |
114 | "Test::Fatal" => 0, | |
115 | "Test::More" => "0.88", | |
116 | "lib" => 0, | |
117 | "perl" => "5.006", | |
118 | "strict" => 0, | |
119 | "warnings" => 0 | |
120 | ); | |
121 | ||
122 | ||
123 | unless ( eval { Module::Build->VERSION(0.4004) } ) { | |
124 | delete $module_build_args{test_requires}; | |
125 | $module_build_args{build_requires} = \%fallback_build_requires; | |
126 | } | |
127 | ||
128 | my $build = Module::Build->new(%module_build_args); | |
129 | ||
130 | $build->create_build_script; | |
131 | } |
3 | 3 | Thank you for considering contributing to this distribution. This file |
4 | 4 | contains instructions that will help you work with the source code. |
5 | 5 | |
6 | The distribution is managed with Dist::Zilla. This means than many of the | |
7 | usual files you might expect are not in the repository, but are generated | |
8 | at release time (e.g. Makefile.PL). | |
6 | PLEASE NOTE that if you have any questions or difficulties, you can reach the | |
7 | maintainer(s) through the bug queue described later in this document | |
8 | (preferred), or by emailing the releaser directly. You are not required to | |
9 | follow any of the steps in this document to submit a patch or bug report; | |
10 | these are just recommendations, intended to help you (and help us help you | |
11 | faster). | |
12 | ||
13 | The distribution is managed with Dist::Zilla (https://metacpan.org/release/Dist-Zilla). | |
14 | This means than many of the usual files you might expect are not in the | |
15 | repository, but are generated at release time (e.g. Makefile.PL). | |
9 | 16 | |
10 | 17 | However, you can run tests directly using the 'prove' tool: |
11 | 18 | |
30 | 37 | your CPAN client: |
31 | 38 | |
32 | 39 | $ cpan `dzil authordeps --missing` |
40 | or | |
33 | 41 | $ dzil authordeps --missing | cpanm |
34 | 42 | |
35 | 43 | You should then also install any additional requirements not needed by the |
36 | 44 | dzil build but may be needed by tests or other development: |
37 | 45 | |
38 | # cpan `dzil listdeps --author --missing` | |
46 | $ cpan `dzil listdeps --author --missing` | |
47 | or | |
39 | 48 | $ dzil listdeps --author --missing | cpanm |
49 | ||
50 | Or, you can use the 'dzil stale' command to install all requirements at once: | |
51 | ||
52 | $ cpan Dist::Zilla::App::Command::stale | |
53 | $ cpan `dzil stale --all` | |
54 | or | |
55 | $ cpanm Dist::Zilla::App::Command::stale | |
56 | $ dzil stale --all | cpanm | |
40 | 57 | |
41 | 58 | You can also do this via cpanm directly: |
42 | 59 | |
49 | 66 | $ dzil test --release |
50 | 67 | $ dzil xtest |
51 | 68 | $ dzil listdeps --json |
52 | $ dzil build --not | |
69 | $ dzil build --notgz | |
53 | 70 | |
54 | 71 | You can learn more about Dist::Zilla at http://dzil.org/. |
55 | 72 | |
56 | The code for this distribution is hosted at GitHub. The main repository is: | |
57 | https://github.com/moose/MooseX-SimpleConfig. | |
73 | The code for this distribution is hosted at GitHub. The repository is: | |
74 | https://github.com/moose/MooseX-SimpleConfig | |
58 | 75 | You can submit code changes by forking the repository, pushing your code |
59 | 76 | changes to your clone, and then submitting a pull request. Detailed |
60 | 77 | instructions for doing that is available here: |
61 | 78 | |
62 | https://help.github.com/ | |
63 | 79 | https://help.github.com/articles/creating-a-pull-request |
64 | 80 | |
65 | 81 | If you have found a bug, but do not have an accompanying patch to fix it, you |
68 | 84 | or via bug-MooseX-SimpleConfig@rt.cpan.org. |
69 | 85 | |
70 | 86 | There is also a mailing list available for users of this distribution, at |
71 | http://http://lists.perl.org/list/moose.html. | |
87 | http://lists.perl.org/list/moose.html. | |
88 | There is also an irc channel available for users of this distribution, at | |
89 | irc://irc.perl.org/#moose. | |
90 | ||
91 | If you send me a patch or pull request, your name and email address will be | |
92 | included in the documentation as a contributor (using the attribution on the | |
93 | commit or patch), unless you specifically request for it not to be. If you | |
94 | wish to be listed under a different name or address, you should submit a pull | |
95 | request to the .mailmap file to contain the correct mapping. | |
72 | 96 | |
73 | 97 | |
74 | This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.002 from a | |
75 | template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.040. | |
98 | This file was generated via Dist::Zilla::Plugin::GenerateFile::ShareDir 0.005 from a | |
99 | template file originating in Dist-Zilla-PluginBundle-Author-ETHER-0.079. |
0 | 0 | Revision history for MooseX-SimpleConfig |
1 | ||
2 | 0.11 2014-11-16 22:03:33Z | |
3 | - remove optional test prereq by testing .pl config files, rather than .conf | |
1 | 4 | |
2 | 5 | 0.10 2013-11-13 01:13:05Z |
3 | 6 | - repository migrated from shadowcat to the github moose organization |
0 | ||
1 | 0 | This is the Perl distribution MooseX-SimpleConfig. |
2 | 1 | |
3 | 2 | Installing MooseX-SimpleConfig is straightforward. |
21 | 21 | Version 1, February 1989 |
22 | 22 | |
23 | 23 | Copyright (C) 1989 Free Software Foundation, Inc. |
24 | 51 Franklin St, Suite 500, Boston, MA 02110-1335 USA | |
24 | 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | |
25 | 25 | |
26 | 26 | Everyone is permitted to copy and distribute verbatim copies |
27 | 27 | of this license document, but changing it is not allowed. |
0 | # This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.025. | |
0 | 1 | Build.PL |
1 | 2 | CONTRIBUTING |
2 | 3 | Changes |
7 | 8 | META.yml |
8 | 9 | Makefile.PL |
9 | 10 | README |
10 | README.md | |
11 | 11 | dist.ini |
12 | 12 | lib/MooseX/SimpleConfig.pm |
13 | t/00-report-prereqs.dd | |
13 | 14 | t/00-report-prereqs.t |
14 | 15 | t/01use.t |
15 | 16 | t/10simple.t |
20 | 21 | t/lib/MXDriverArgsConfigTest.pm |
21 | 22 | t/lib/MXSimpleConfigTest.pm |
22 | 23 | t/multiple.t |
24 | t/zzz-check-breaks.t | |
23 | 25 | weaver.ini |
24 | 26 | xt/author/00-compile.t |
27 | xt/author/clean-namespaces.t | |
28 | xt/author/eol.t | |
29 | xt/author/no-tabs.t | |
25 | 30 | xt/author/pod-spell.t |
26 | 31 | xt/release/changes_has_content.t |
27 | 32 | xt/release/cpan-changes.t |
28 | 33 | xt/release/distmeta.t |
29 | xt/release/eol.t | |
30 | 34 | xt/release/kwalitee.t |
31 | 35 | xt/release/minimum-version.t |
32 | 36 | xt/release/mojibake.t |
33 | xt/release/no-tabs.t | |
34 | 37 | xt/release/pod-coverage.t |
35 | 38 | xt/release/pod-no404s.t |
36 | 39 | xt/release/pod-syntax.t |
37 | xt/release/test-version.t | |
38 | xt/release/unused-vars.t | |
40 | xt/release/portability.t |
0 | 0 | { |
1 | "abstract" : "A Moose role for setting attributes from a simple configfile", | |
1 | "abstract" : "A Moose role for setting attributes from a simple configuration file", | |
2 | 2 | "author" : [ |
3 | 3 | "Brandon L. Black <blblack@gmail.com>" |
4 | 4 | ], |
5 | 5 | "dynamic_config" : 0, |
6 | "generated_by" : "Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830", | |
6 | "generated_by" : "Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.142690", | |
7 | "keywords" : [ | |
8 | "moose", | |
9 | "extension", | |
10 | "command", | |
11 | "line", | |
12 | "options", | |
13 | "attributes", | |
14 | "configuration", | |
15 | "file" | |
16 | ], | |
7 | 17 | "license" : [ |
8 | 18 | "perl_5" |
9 | 19 | ], |
15 | 25 | "no_index" : { |
16 | 26 | "directory" : [ |
17 | 27 | "t", |
18 | "xt", | |
19 | "examples" | |
28 | "xt" | |
20 | 29 | ] |
21 | 30 | }, |
22 | 31 | "prereqs" : { |
23 | 32 | "configure" : { |
24 | 33 | "requires" : { |
25 | "ExtUtils::MakeMaker" : "6.30", | |
26 | "Module::Build::Tiny" : "0.030" | |
34 | "Module::Build::Tiny" : "0.039", | |
35 | "perl" : "5.004" | |
27 | 36 | } |
28 | 37 | }, |
29 | 38 | "develop" : { |
30 | 39 | "recommends" : { |
31 | "Dist::Zilla::PluginBundle::Author::ETHER" : "0.040" | |
40 | "Dist::Zilla::PluginBundle::Author::ETHER" : "0.079" | |
32 | 41 | }, |
33 | 42 | "requires" : { |
34 | "Config::General" : "0", | |
35 | "Dist::Zilla" : "5.006", | |
36 | "Dist::Zilla::Plugin::ContributorsFromGit" : "0", | |
43 | "Dist::Zilla" : "5", | |
44 | "Dist::Zilla::Plugin::Authority" : "0", | |
45 | "Dist::Zilla::Plugin::AuthorityFromModule" : "0.002", | |
46 | "Dist::Zilla::Plugin::AutoMetaResources" : "0", | |
47 | "Dist::Zilla::Plugin::AutoPrereqs" : "0", | |
48 | "Dist::Zilla::Plugin::CheckIssues" : "0", | |
49 | "Dist::Zilla::Plugin::CheckPrereqsIndexed" : "0", | |
50 | "Dist::Zilla::Plugin::CheckSelfDependency" : "0", | |
51 | "Dist::Zilla::Plugin::CheckStrictVersion" : "0", | |
52 | "Dist::Zilla::Plugin::ConfirmRelease" : "0", | |
53 | "Dist::Zilla::Plugin::CopyFilesFromRelease" : "0", | |
54 | "Dist::Zilla::Plugin::ExecDir" : "0", | |
55 | "Dist::Zilla::Plugin::FileFinder::ByName" : "0", | |
56 | "Dist::Zilla::Plugin::GenerateFile::ShareDir" : "0", | |
57 | "Dist::Zilla::Plugin::Git::Check" : "2.025", | |
58 | "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch" : "0.004", | |
59 | "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts" : "0", | |
60 | "Dist::Zilla::Plugin::Git::Commit" : "2.020", | |
61 | "Dist::Zilla::Plugin::Git::Contributors" : "0.004", | |
62 | "Dist::Zilla::Plugin::Git::Describe" : "0", | |
63 | "Dist::Zilla::Plugin::Git::GatherDir" : "2.016", | |
64 | "Dist::Zilla::Plugin::Git::NextVersion" : "0", | |
65 | "Dist::Zilla::Plugin::Git::Push" : "0", | |
66 | "Dist::Zilla::Plugin::Git::Remote::Check" : "0", | |
67 | "Dist::Zilla::Plugin::Git::Tag" : "0", | |
37 | 68 | "Dist::Zilla::Plugin::GitHub::Update" : "0", |
38 | 69 | "Dist::Zilla::Plugin::GithubMeta" : "0", |
39 | "Dist::Zilla::Plugin::MakeMaker::Fallback" : "0", | |
70 | "Dist::Zilla::Plugin::InstallGuide" : "0", | |
71 | "Dist::Zilla::Plugin::Keywords" : "0.004", | |
72 | "Dist::Zilla::Plugin::License" : "0", | |
73 | "Dist::Zilla::Plugin::MakeMaker::Fallback" : "0.012", | |
74 | "Dist::Zilla::Plugin::Manifest" : "0", | |
75 | "Dist::Zilla::Plugin::MetaConfig" : "0", | |
76 | "Dist::Zilla::Plugin::MetaJSON" : "0", | |
77 | "Dist::Zilla::Plugin::MetaNoIndex" : "0", | |
78 | "Dist::Zilla::Plugin::MetaProvides::Package" : "1.15000002", | |
40 | 79 | "Dist::Zilla::Plugin::MetaResources" : "0", |
41 | "Dist::Zilla::Plugin::ModuleBuildTiny" : "0.004", | |
80 | "Dist::Zilla::Plugin::MetaTests" : "0", | |
81 | "Dist::Zilla::Plugin::MetaYAML" : "0", | |
82 | "Dist::Zilla::Plugin::MinimumPerl" : "1.006", | |
83 | "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback" : "0.006", | |
84 | "Dist::Zilla::Plugin::MojibakeTests" : "0", | |
85 | "Dist::Zilla::Plugin::NextRelease" : "4.300018", | |
86 | "Dist::Zilla::Plugin::PkgVersion" : "5.010", | |
87 | "Dist::Zilla::Plugin::PodCoverageTests" : "0", | |
88 | "Dist::Zilla::Plugin::PodSyntaxTests" : "0", | |
89 | "Dist::Zilla::Plugin::PodWeaver" : "4.005", | |
42 | 90 | "Dist::Zilla::Plugin::Prereqs" : "0", |
91 | "Dist::Zilla::Plugin::Prereqs::AuthorDeps" : "0", | |
92 | "Dist::Zilla::Plugin::PromptIfStale" : "0", | |
93 | "Dist::Zilla::Plugin::Readme" : "0", | |
94 | "Dist::Zilla::Plugin::ReadmeAnyFromPod" : "0.142180", | |
43 | 95 | "Dist::Zilla::Plugin::RemovePrereqs" : "0", |
44 | "Dist::Zilla::PluginBundle::Author::ETHER" : "0.039", | |
96 | "Dist::Zilla::Plugin::Run::AfterBuild" : "0.024", | |
97 | "Dist::Zilla::Plugin::Run::AfterRelease" : "0.024", | |
98 | "Dist::Zilla::Plugin::RunExtraTests" : "0.024", | |
99 | "Dist::Zilla::Plugin::ShareDir" : "0", | |
100 | "Dist::Zilla::Plugin::Test::CPAN::Changes" : "0.008", | |
101 | "Dist::Zilla::Plugin::Test::ChangesHasContent" : "0", | |
102 | "Dist::Zilla::Plugin::Test::CheckBreaks" : "0", | |
103 | "Dist::Zilla::Plugin::Test::CleanNamespaces" : "0", | |
104 | "Dist::Zilla::Plugin::Test::Compile" : "2.039", | |
105 | "Dist::Zilla::Plugin::Test::EOL" : "0.14", | |
106 | "Dist::Zilla::Plugin::Test::Kwalitee" : "2.06", | |
107 | "Dist::Zilla::Plugin::Test::MinimumVersion" : "2.000003", | |
108 | "Dist::Zilla::Plugin::Test::NoTabs" : "0.08", | |
109 | "Dist::Zilla::Plugin::Test::Pod::No404s" : "0", | |
110 | "Dist::Zilla::Plugin::Test::PodSpelling" : "2.006001", | |
111 | "Dist::Zilla::Plugin::Test::Portability" : "0", | |
112 | "Dist::Zilla::Plugin::Test::ReportPrereqs" : "0.019", | |
113 | "Dist::Zilla::Plugin::TestRelease" : "0", | |
114 | "Dist::Zilla::Plugin::UploadToCPAN" : "0", | |
115 | "Dist::Zilla::PluginBundle::Author::ETHER" : "0.068", | |
45 | 116 | "File::Spec" : "0", |
46 | 117 | "IO::Handle" : "0", |
47 | 118 | "IPC::Open3" : "0", |
48 | 119 | "Pod::Coverage::TrustPod" : "0", |
49 | "Pod::Weaver::Section::Contributors" : "0", | |
120 | "Pod::Weaver" : "4", | |
121 | "Pod::Weaver::Section::Contributors" : "0.008", | |
50 | 122 | "Test::CPAN::Changes" : "0.19", |
51 | 123 | "Test::CPAN::Meta" : "0", |
52 | "Test::Kwalitee" : "1.12", | |
124 | "Test::CleanNamespaces" : "0.15", | |
125 | "Test::EOL" : "0", | |
126 | "Test::Kwalitee" : "1.21", | |
53 | 127 | "Test::More" : "0.94", |
54 | 128 | "Test::NoTabs" : "0", |
55 | 129 | "Test::Pod" : "1.41", |
56 | 130 | "Test::Pod::Coverage" : "1.08", |
131 | "Test::Spelling" : "0.12", | |
57 | 132 | "YAML" : "0", |
58 | 133 | "YAML::Syck" : "0" |
59 | 134 | } |
68 | 143 | }, |
69 | 144 | "test" : { |
70 | 145 | "recommends" : { |
71 | "CPAN::Meta" : "0", | |
72 | "CPAN::Meta::Requirements" : "0" | |
146 | "CPAN::Meta" : "2.120900" | |
73 | 147 | }, |
74 | 148 | "requires" : { |
75 | 149 | "ExtUtils::MakeMaker" : "0", |
150 | "File::Spec" : "0", | |
76 | 151 | "File::Spec::Functions" : "0", |
77 | 152 | "File::Temp" : "0", |
78 | "List::Util" : "0", | |
79 | 153 | "Moose" : "0", |
80 | 154 | "Test::Fatal" : "0", |
81 | "Test::More" : "0", | |
82 | "Test::Requires" : "0", | |
155 | "Test::More" : "0.88", | |
83 | 156 | "lib" : "0", |
157 | "perl" : "5.006", | |
84 | 158 | "strict" : "0", |
85 | 159 | "warnings" : "0" |
86 | 160 | } |
89 | 163 | "provides" : { |
90 | 164 | "MooseX::SimpleConfig" : { |
91 | 165 | "file" : "lib/MooseX/SimpleConfig.pm", |
92 | "version" : "0.10" | |
166 | "version" : "0.11" | |
93 | 167 | } |
94 | 168 | }, |
95 | 169 | "release_status" : "stable", |
105 | 179 | "web" : "https://github.com/moose/MooseX-SimpleConfig" |
106 | 180 | }, |
107 | 181 | "x_IRC" : "irc://irc.perl.org/#moose", |
108 | "x_MailingList" : "http://http://lists.perl.org/list/moose.html" | |
182 | "x_MailingList" : "http://lists.perl.org/list/moose.html" | |
109 | 183 | }, |
110 | "version" : "0.10", | |
184 | "version" : "0.11", | |
111 | 185 | "x_Dist_Zilla" : { |
112 | 186 | "perl" : { |
113 | "version" : "5.019005" | |
187 | "version" : "5.021005" | |
114 | 188 | }, |
115 | 189 | "plugins" : [ |
116 | 190 | { |
191 | "class" : "Dist::Zilla::Plugin::Prereqs", | |
192 | "config" : { | |
193 | "Dist::Zilla::Plugin::Prereqs" : { | |
194 | "phase" : "develop", | |
195 | "type" : "requires" | |
196 | } | |
197 | }, | |
198 | "name" : "@Author::ETHER/bundle_plugins", | |
199 | "version" : "5.025" | |
200 | }, | |
201 | { | |
117 | 202 | "class" : "Dist::Zilla::Plugin::Git::NextVersion", |
203 | "config" : { | |
204 | "Dist::Zilla::Plugin::Git::NextVersion" : { | |
205 | "first_version" : "0.001", | |
206 | "version_by_branch" : "0", | |
207 | "version_regexp" : "(?^:^v([\\d._]+)(-TRIAL)?$)" | |
208 | }, | |
209 | "Dist::Zilla::Role::Git::Repo" : { | |
210 | "repo_root" : "." | |
211 | } | |
212 | }, | |
118 | 213 | "name" : "@Author::ETHER/Git::NextVersion", |
119 | "version" : "2.017" | |
214 | "version" : "2.025" | |
120 | 215 | }, |
121 | 216 | { |
122 | 217 | "class" : "Dist::Zilla::Plugin::PromptIfStale", |
123 | "name" : "@Author::ETHER/build", | |
124 | "version" : "0.012" | |
218 | "config" : { | |
219 | "Dist::Zilla::Plugin::PromptIfStale" : { | |
220 | "check_all_plugins" : 0, | |
221 | "check_all_prereqs" : 0, | |
222 | "modules" : [ | |
223 | "Dist::Zilla::PluginBundle::Author::ETHER" | |
224 | ], | |
225 | "phase" : "build", | |
226 | "skip" : [] | |
227 | } | |
228 | }, | |
229 | "name" : "@Author::ETHER/stale modules, build", | |
230 | "version" : "0.030" | |
125 | 231 | }, |
126 | 232 | { |
127 | 233 | "class" : "Dist::Zilla::Plugin::PromptIfStale", |
128 | "name" : "@Author::ETHER/release", | |
129 | "version" : "0.012" | |
234 | "config" : { | |
235 | "Dist::Zilla::Plugin::PromptIfStale" : { | |
236 | "check_all_plugins" : "1", | |
237 | "check_all_prereqs" : "1", | |
238 | "modules" : [], | |
239 | "phase" : "release", | |
240 | "skip" : [] | |
241 | } | |
242 | }, | |
243 | "name" : "@Author::ETHER/stale modules, release", | |
244 | "version" : "0.030" | |
130 | 245 | }, |
131 | 246 | { |
132 | 247 | "class" : "Dist::Zilla::Plugin::ExecDir", |
133 | 248 | "name" : "@Author::ETHER/ExecDir", |
134 | "version" : "5.006" | |
249 | "version" : "5.025" | |
135 | 250 | }, |
136 | 251 | { |
137 | 252 | "class" : "Dist::Zilla::Plugin::ShareDir", |
138 | 253 | "name" : "@Author::ETHER/ShareDir", |
139 | "version" : "5.006" | |
254 | "version" : "5.025" | |
140 | 255 | }, |
141 | 256 | { |
142 | 257 | "class" : "Dist::Zilla::Plugin::FileFinder::ByName", |
143 | 258 | "name" : "@Author::ETHER/Examples", |
144 | "version" : "5.006" | |
259 | "version" : "5.025" | |
260 | }, | |
261 | { | |
262 | "class" : "Dist::Zilla::Plugin::FileFinder::ByName", | |
263 | "name" : "@Author::ETHER/ExtraTestFiles", | |
264 | "version" : "5.025" | |
145 | 265 | }, |
146 | 266 | { |
147 | 267 | "class" : "Dist::Zilla::Plugin::Git::GatherDir", |
268 | "config" : { | |
269 | "Dist::Zilla::Plugin::GatherDir" : { | |
270 | "exclude_filename" : [ | |
271 | "README.md", | |
272 | "README.pod", | |
273 | "LICENSE", | |
274 | "CONTRIBUTING" | |
275 | ], | |
276 | "exclude_match" : [], | |
277 | "follow_symlinks" : "0", | |
278 | "include_dotfiles" : "0", | |
279 | "prefix" : "", | |
280 | "prune_directory" : [], | |
281 | "root" : "." | |
282 | }, | |
283 | "Dist::Zilla::Plugin::Git::GatherDir" : { | |
284 | "include_untracked" : "0" | |
285 | }, | |
286 | "Dist::Zilla::Role::Git::Repo" : { | |
287 | "repo_root" : "." | |
288 | } | |
289 | }, | |
148 | 290 | "name" : "@Author::ETHER/Git::GatherDir", |
149 | "version" : "2.017" | |
291 | "version" : "2.025" | |
150 | 292 | }, |
151 | 293 | { |
152 | 294 | "class" : "Dist::Zilla::Plugin::MetaYAML", |
153 | 295 | "name" : "@Author::ETHER/MetaYAML", |
154 | "version" : "5.006" | |
296 | "version" : "5.025" | |
155 | 297 | }, |
156 | 298 | { |
157 | 299 | "class" : "Dist::Zilla::Plugin::MetaJSON", |
158 | 300 | "name" : "@Author::ETHER/MetaJSON", |
159 | "version" : "5.006" | |
301 | "version" : "5.025" | |
160 | 302 | }, |
161 | 303 | { |
162 | 304 | "class" : "Dist::Zilla::Plugin::License", |
163 | 305 | "name" : "@Author::ETHER/License", |
164 | "version" : "5.006" | |
306 | "version" : "5.025" | |
165 | 307 | }, |
166 | 308 | { |
167 | 309 | "class" : "Dist::Zilla::Plugin::Readme", |
168 | 310 | "name" : "@Author::ETHER/Readme", |
169 | "version" : "5.006" | |
311 | "version" : "5.025" | |
170 | 312 | }, |
171 | 313 | { |
172 | 314 | "class" : "Dist::Zilla::Plugin::Manifest", |
173 | 315 | "name" : "@Author::ETHER/Manifest", |
174 | "version" : "5.006" | |
316 | "version" : "5.025" | |
175 | 317 | }, |
176 | 318 | { |
177 | 319 | "class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir", |
180 | 322 | "destination_filename" : "CONTRIBUTING", |
181 | 323 | "dist" : "Dist-Zilla-PluginBundle-Author-ETHER", |
182 | 324 | "encoding" : "UTF-8", |
325 | "has_xs" : 0, | |
183 | 326 | "source_filename" : "CONTRIBUTING" |
184 | 327 | } |
185 | 328 | }, |
186 | "name" : "@Author::ETHER/GenerateFile::ShareDir", | |
187 | "version" : "0.002" | |
329 | "name" : "@Author::ETHER/generate CONTRIBUTING", | |
330 | "version" : "0.005" | |
331 | }, | |
332 | { | |
333 | "class" : "Dist::Zilla::Plugin::InstallGuide", | |
334 | "name" : "@Author::ETHER/InstallGuide", | |
335 | "version" : "1.200005" | |
188 | 336 | }, |
189 | 337 | { |
190 | 338 | "class" : "Dist::Zilla::Plugin::Test::Compile", |
191 | 339 | "config" : { |
192 | 340 | "Dist::Zilla::Plugin::Test::Compile" : { |
341 | "bail_out_on_fail" : "1", | |
342 | "fail_on_warning" : "author", | |
343 | "fake_home" : "0", | |
193 | 344 | "filename" : "xt/author/00-compile.t", |
194 | 345 | "module_finder" : [ |
195 | 346 | ":InstallModules" |
196 | 347 | ], |
348 | "needs_display" : "0", | |
349 | "phase" : "develop", | |
197 | 350 | "script_finder" : [ |
198 | 351 | ":ExecFiles", |
199 | 352 | "@Author::ETHER/Examples" |
353 | ], | |
354 | "skips" : [] | |
355 | } | |
356 | }, | |
357 | "name" : "@Author::ETHER/Test::Compile", | |
358 | "version" : "2.051" | |
359 | }, | |
360 | { | |
361 | "class" : "Dist::Zilla::Plugin::Test::NoTabs", | |
362 | "config" : { | |
363 | "Dist::Zilla::Plugin::Test::NoTabs" : { | |
364 | "filename" : "xt/author/no-tabs.t", | |
365 | "finder" : [ | |
366 | ":InstallModules", | |
367 | ":ExecFiles", | |
368 | "@Author::ETHER/Examples", | |
369 | ":TestFiles", | |
370 | "@Author::ETHER/ExtraTestFiles" | |
200 | 371 | ] |
201 | 372 | } |
202 | 373 | }, |
203 | "name" : "@Author::ETHER/Test::Compile", | |
204 | "version" : "2.037" | |
205 | }, | |
206 | { | |
207 | "class" : "Dist::Zilla::Plugin::Test::NoTabs", | |
208 | "config" : { | |
209 | "Dist::Zilla::Plugin::Test::NoTabs" : { | |
210 | "module_finder" : [ | |
211 | ":InstallModules" | |
212 | ], | |
213 | "script_finder" : [ | |
214 | ":ExecFiles", | |
215 | "@Author::ETHER/Examples" | |
216 | ] | |
217 | } | |
218 | }, | |
219 | 374 | "name" : "@Author::ETHER/Test::NoTabs", |
220 | "version" : "0.05" | |
221 | }, | |
222 | { | |
223 | "class" : "Dist::Zilla::Plugin::EOLTests", | |
224 | "name" : "@Author::ETHER/EOLTests", | |
225 | "version" : "0.02" | |
375 | "version" : "0.09" | |
376 | }, | |
377 | { | |
378 | "class" : "Dist::Zilla::Plugin::Test::EOL", | |
379 | "config" : { | |
380 | "Dist::Zilla::Plugin::Test::EOL" : { | |
381 | "filename" : "xt/author/eol.t" | |
382 | } | |
383 | }, | |
384 | "name" : "@Author::ETHER/Test::EOL", | |
385 | "version" : "0.15" | |
226 | 386 | }, |
227 | 387 | { |
228 | 388 | "class" : "Dist::Zilla::Plugin::MetaTests", |
229 | 389 | "name" : "@Author::ETHER/MetaTests", |
230 | "version" : "5.006" | |
231 | }, | |
232 | { | |
233 | "class" : "Dist::Zilla::Plugin::Test::Version", | |
234 | "name" : "@Author::ETHER/Test::Version", | |
235 | "version" : "0.002004" | |
390 | "version" : "5.025" | |
236 | 391 | }, |
237 | 392 | { |
238 | 393 | "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", |
242 | 397 | { |
243 | 398 | "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent", |
244 | 399 | "name" : "@Author::ETHER/Test::ChangesHasContent", |
245 | "version" : "0.006" | |
246 | }, | |
247 | { | |
248 | "class" : "Dist::Zilla::Plugin::Test::UnusedVars", | |
249 | "name" : "@Author::ETHER/Test::UnusedVars", | |
250 | "version" : "2.000005" | |
400 | "version" : "0.007" | |
251 | 401 | }, |
252 | 402 | { |
253 | 403 | "class" : "Dist::Zilla::Plugin::Test::MinimumVersion", |
257 | 407 | { |
258 | 408 | "class" : "Dist::Zilla::Plugin::PodSyntaxTests", |
259 | 409 | "name" : "@Author::ETHER/PodSyntaxTests", |
260 | "version" : "5.006" | |
410 | "version" : "5.025" | |
261 | 411 | }, |
262 | 412 | { |
263 | 413 | "class" : "Dist::Zilla::Plugin::PodCoverageTests", |
264 | 414 | "name" : "@Author::ETHER/PodCoverageTests", |
265 | "version" : "5.006" | |
415 | "version" : "5.025" | |
266 | 416 | }, |
267 | 417 | { |
268 | 418 | "class" : "Dist::Zilla::Plugin::Test::PodSpelling", |
269 | 419 | "name" : "@Author::ETHER/Test::PodSpelling", |
270 | "version" : "2.006001" | |
420 | "version" : "2.006008" | |
271 | 421 | }, |
272 | 422 | { |
273 | 423 | "class" : "Dist::Zilla::Plugin::Test::Pod::No404s", |
276 | 426 | }, |
277 | 427 | { |
278 | 428 | "class" : "Dist::Zilla::Plugin::Test::Kwalitee", |
429 | "config" : { | |
430 | "Dist::Zilla::Plugin::Test::Kwalitee" : { | |
431 | "filename" : "xt/release/kwalitee.t", | |
432 | "skiptest" : [] | |
433 | } | |
434 | }, | |
279 | 435 | "name" : "@Author::ETHER/Test::Kwalitee", |
280 | "version" : "2.07" | |
436 | "version" : "2.11" | |
281 | 437 | }, |
282 | 438 | { |
283 | 439 | "class" : "Dist::Zilla::Plugin::MojibakeTests", |
284 | 440 | "name" : "@Author::ETHER/MojibakeTests", |
285 | "version" : "0.5" | |
441 | "version" : "0.7" | |
286 | 442 | }, |
287 | 443 | { |
288 | 444 | "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", |
289 | 445 | "name" : "@Author::ETHER/Test::ReportPrereqs", |
290 | "version" : "0.010" | |
291 | }, | |
292 | { | |
293 | "class" : "Dist::Zilla::Plugin::PruneCruft", | |
294 | "name" : "@Author::ETHER/PruneCruft", | |
295 | "version" : "5.006" | |
296 | }, | |
297 | { | |
298 | "class" : "Dist::Zilla::Plugin::ManifestSkip", | |
299 | "name" : "@Author::ETHER/ManifestSkip", | |
300 | "version" : "5.006" | |
301 | }, | |
302 | { | |
303 | "class" : "Dist::Zilla::Plugin::Authority", | |
304 | "name" : "@Author::ETHER/Authority", | |
305 | "version" : "1.006" | |
446 | "version" : "0.019" | |
447 | }, | |
448 | { | |
449 | "class" : "Dist::Zilla::Plugin::Test::Portability", | |
450 | "name" : "@Author::ETHER/Test::Portability", | |
451 | "version" : "2.000005" | |
306 | 452 | }, |
307 | 453 | { |
308 | 454 | "class" : "Dist::Zilla::Plugin::Git::Describe", |
312 | 458 | { |
313 | 459 | "class" : "Dist::Zilla::Plugin::PkgVersion", |
314 | 460 | "name" : "@Author::ETHER/PkgVersion", |
315 | "version" : "5.006" | |
461 | "version" : "5.025" | |
316 | 462 | }, |
317 | 463 | { |
318 | 464 | "class" : "Dist::Zilla::Plugin::PodWeaver", |
326 | 472 | { |
327 | 473 | "class" : "Pod::Weaver::Plugin::EnsurePod5", |
328 | 474 | "name" : "@CorePrep/EnsurePod5", |
329 | "version" : "4.004" | |
475 | "version" : "4.008" | |
330 | 476 | }, |
331 | 477 | { |
332 | 478 | "class" : "Pod::Weaver::Plugin::H1Nester", |
333 | 479 | "name" : "@CorePrep/H1Nester", |
334 | "version" : "4.004" | |
480 | "version" : "4.008" | |
335 | 481 | }, |
336 | 482 | { |
337 | 483 | "class" : "Pod::Weaver::Plugin::SingleEncoding", |
338 | 484 | "name" : "@Default/SingleEncoding", |
339 | "version" : "4.004" | |
485 | "version" : "4.008" | |
340 | 486 | }, |
341 | 487 | { |
342 | 488 | "class" : "Pod::Weaver::Section::Name", |
343 | 489 | "name" : "@Default/Name", |
344 | "version" : "4.004" | |
490 | "version" : "4.008" | |
345 | 491 | }, |
346 | 492 | { |
347 | 493 | "class" : "Pod::Weaver::Section::Version", |
348 | 494 | "name" : "@Default/Version", |
349 | "version" : "4.004" | |
495 | "version" : "4.008" | |
350 | 496 | }, |
351 | 497 | { |
352 | 498 | "class" : "Pod::Weaver::Section::Region", |
353 | 499 | "name" : "@Default/prelude", |
354 | "version" : "4.004" | |
500 | "version" : "4.008" | |
355 | 501 | }, |
356 | 502 | { |
357 | 503 | "class" : "Pod::Weaver::Section::Generic", |
358 | 504 | "name" : "SYNOPSIS", |
359 | "version" : "4.004" | |
505 | "version" : "4.008" | |
360 | 506 | }, |
361 | 507 | { |
362 | 508 | "class" : "Pod::Weaver::Section::Generic", |
363 | 509 | "name" : "DESCRIPTION", |
364 | "version" : "4.004" | |
510 | "version" : "4.008" | |
365 | 511 | }, |
366 | 512 | { |
367 | 513 | "class" : "Pod::Weaver::Section::Generic", |
368 | 514 | "name" : "OVERVIEW", |
369 | "version" : "4.004" | |
515 | "version" : "4.008" | |
370 | 516 | }, |
371 | 517 | { |
372 | 518 | "class" : "Pod::Weaver::Section::Collect", |
373 | 519 | "name" : "ATTRIBUTES", |
374 | "version" : "4.004" | |
520 | "version" : "4.008" | |
375 | 521 | }, |
376 | 522 | { |
377 | 523 | "class" : "Pod::Weaver::Section::Collect", |
378 | 524 | "name" : "METHODS", |
379 | "version" : "4.004" | |
525 | "version" : "4.008" | |
380 | 526 | }, |
381 | 527 | { |
382 | 528 | "class" : "Pod::Weaver::Section::Collect", |
383 | 529 | "name" : "FUNCTIONS", |
384 | "version" : "4.004" | |
530 | "version" : "4.008" | |
385 | 531 | }, |
386 | 532 | { |
387 | 533 | "class" : "Pod::Weaver::Section::Leftovers", |
388 | 534 | "name" : "@Default/Leftovers", |
389 | "version" : "4.004" | |
535 | "version" : "4.008" | |
390 | 536 | }, |
391 | 537 | { |
392 | 538 | "class" : "Pod::Weaver::Section::Region", |
393 | 539 | "name" : "@Default/postlude", |
394 | "version" : "4.004" | |
540 | "version" : "4.008" | |
395 | 541 | }, |
396 | 542 | { |
397 | 543 | "class" : "Pod::Weaver::Section::Authors", |
398 | 544 | "name" : "@Default/Authors", |
399 | "version" : "4.004" | |
545 | "version" : "4.008" | |
400 | 546 | }, |
401 | 547 | { |
402 | 548 | "class" : "Pod::Weaver::Section::Legal", |
403 | 549 | "name" : "@Default/Legal", |
404 | "version" : "4.004" | |
550 | "version" : "4.008" | |
405 | 551 | }, |
406 | 552 | { |
407 | 553 | "class" : "Pod::Weaver::Plugin::Transformer", |
408 | 554 | "name" : "-Transformer", |
409 | "version" : "4.004" | |
410 | }, | |
411 | { | |
412 | "class" : "Pod::Weaver::Plugin::StopWords", | |
413 | "name" : "-StopWords", | |
414 | "version" : "1.008" | |
415 | }, | |
416 | { | |
417 | "class" : "Pod::Weaver::Plugin::Encoding", | |
418 | "name" : "-Encoding", | |
419 | "version" : "0.02" | |
555 | "version" : "4.008" | |
420 | 556 | }, |
421 | 557 | { |
422 | 558 | "class" : "Pod::Weaver::Section::Contributors", |
423 | 559 | "name" : "Contributors", |
424 | "version" : "0.006" | |
560 | "version" : "0.008" | |
425 | 561 | } |
426 | 562 | ] |
427 | 563 | } |
428 | 564 | }, |
429 | 565 | "name" : "@Author::ETHER/PodWeaver", |
430 | "version" : "4.002" | |
566 | "version" : "4.006" | |
431 | 567 | }, |
432 | 568 | { |
433 | 569 | "class" : "Dist::Zilla::Plugin::NextRelease", |
434 | 570 | "name" : "@Author::ETHER/NextRelease", |
435 | "version" : "5.006" | |
571 | "version" : "5.025" | |
436 | 572 | }, |
437 | 573 | { |
438 | 574 | "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod", |
439 | 575 | "name" : "@Author::ETHER/ReadmeAnyFromPod", |
440 | "version" : "0.133060" | |
576 | "version" : "0.142470" | |
441 | 577 | }, |
442 | 578 | { |
443 | 579 | "class" : "Dist::Zilla::Plugin::GithubMeta", |
444 | 580 | "name" : "@Author::ETHER/GithubMeta", |
445 | "version" : "0.42" | |
581 | "version" : "0.46" | |
446 | 582 | }, |
447 | 583 | { |
448 | 584 | "class" : "Dist::Zilla::Plugin::AutoMetaResources", |
450 | 586 | "version" : "1.20" |
451 | 587 | }, |
452 | 588 | { |
589 | "class" : "Dist::Zilla::Plugin::AuthorityFromModule", | |
590 | "config" : { | |
591 | "Dist::Zilla::Plugin::AuthorityFromModule" : { | |
592 | "module" : "MooseX::SimpleConfig" | |
593 | } | |
594 | }, | |
595 | "name" : "@Author::ETHER/AuthorityFromModule", | |
596 | "version" : "0.003" | |
597 | }, | |
598 | { | |
599 | "class" : "Dist::Zilla::Plugin::Authority", | |
600 | "name" : "@Author::ETHER/Authority", | |
601 | "version" : "1.009" | |
602 | }, | |
603 | { | |
453 | 604 | "class" : "Dist::Zilla::Plugin::MetaNoIndex", |
454 | 605 | "name" : "@Author::ETHER/MetaNoIndex", |
455 | "version" : "5.006" | |
456 | }, | |
457 | { | |
458 | "class" : "Dist::Zilla::Plugin::FinderCode", | |
459 | "name" : "@Author::ETHER/MetaProvides::Package/AUTOVIV/:InstallModulesPM", | |
460 | "version" : "5.006" | |
606 | "version" : "5.025" | |
461 | 607 | }, |
462 | 608 | { |
463 | 609 | "class" : "Dist::Zilla::Plugin::MetaProvides::Package", |
464 | 610 | "config" : { |
465 | "Dist::Zilla::Plugin::MetaProvides::Package" : {}, | |
611 | "Dist::Zilla::Plugin::MetaProvides::Package" : { | |
612 | "finder" : [ | |
613 | ":InstallModules" | |
614 | ], | |
615 | "finder_objects" : [ | |
616 | { | |
617 | "class" : "Dist::Zilla::Plugin::FinderCode", | |
618 | "name" : ":InstallModules", | |
619 | "version" : "5.025" | |
620 | } | |
621 | ] | |
622 | }, | |
466 | 623 | "Dist::Zilla::Role::MetaProvider::Provider" : { |
467 | 624 | "inherit_missing" : "1", |
468 | 625 | "inherit_version" : "1", |
470 | 627 | } |
471 | 628 | }, |
472 | 629 | "name" : "@Author::ETHER/MetaProvides::Package", |
473 | "version" : "1.15000000" | |
630 | "version" : "2.001002" | |
474 | 631 | }, |
475 | 632 | { |
476 | 633 | "class" : "Dist::Zilla::Plugin::MetaConfig", |
477 | 634 | "name" : "@Author::ETHER/MetaConfig", |
478 | "version" : "5.006" | |
635 | "version" : "5.025" | |
636 | }, | |
637 | { | |
638 | "class" : "Dist::Zilla::Plugin::Keywords", | |
639 | "config" : { | |
640 | "Dist::Zilla::Plugin::Keywords" : { | |
641 | "keywords" : [ | |
642 | "moose", | |
643 | "extension", | |
644 | "command", | |
645 | "line", | |
646 | "options", | |
647 | "attributes", | |
648 | "configuration", | |
649 | "file" | |
650 | ] | |
651 | } | |
652 | }, | |
653 | "name" : "@Author::ETHER/Keywords", | |
654 | "version" : "0.006" | |
655 | }, | |
656 | { | |
657 | "class" : "Dist::Zilla::Plugin::Git::Contributors", | |
658 | "config" : { | |
659 | "Dist::Zilla::Plugin::Git::Contributors" : { | |
660 | "include_authors" : "0", | |
661 | "include_releaser" : "1", | |
662 | "order_by" : "commits", | |
663 | "paths" : [] | |
664 | } | |
665 | }, | |
666 | "name" : "@Author::ETHER/Git::Contributors", | |
667 | "version" : "0.008" | |
479 | 668 | }, |
480 | 669 | { |
481 | 670 | "class" : "Dist::Zilla::Plugin::AutoPrereqs", |
482 | 671 | "name" : "@Author::ETHER/AutoPrereqs", |
483 | "version" : "5.006" | |
672 | "version" : "5.025" | |
484 | 673 | }, |
485 | 674 | { |
486 | 675 | "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps", |
487 | 676 | "name" : "@Author::ETHER/Prereqs::AuthorDeps", |
488 | "version" : "0.002" | |
677 | "version" : "0.004" | |
489 | 678 | }, |
490 | 679 | { |
491 | 680 | "class" : "Dist::Zilla::Plugin::MinimumPerl", |
492 | 681 | "name" : "@Author::ETHER/MinimumPerl", |
493 | "version" : "1.003" | |
682 | "version" : "1.006" | |
683 | }, | |
684 | { | |
685 | "class" : "Dist::Zilla::Plugin::Prereqs", | |
686 | "config" : { | |
687 | "Dist::Zilla::Plugin::Prereqs" : { | |
688 | "phase" : "develop", | |
689 | "type" : "recommends" | |
690 | } | |
691 | }, | |
692 | "name" : "@Author::ETHER/pluginbundle_version", | |
693 | "version" : "5.025" | |
694 | }, | |
695 | { | |
696 | "class" : "Dist::Zilla::Plugin::MakeMaker::Fallback", | |
697 | "config" : { | |
698 | "Dist::Zilla::Role::TestRunner" : { | |
699 | "default_jobs" : 9 | |
700 | } | |
701 | }, | |
702 | "name" : "@Author::ETHER/MakeMaker::Fallback", | |
703 | "version" : "0.016" | |
704 | }, | |
705 | { | |
706 | "class" : "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback", | |
707 | "config" : { | |
708 | "Dist::Zilla::Plugin::ModuleBuildTiny::Fallback" : { | |
709 | "plugins" : [ | |
710 | { | |
711 | "class" : "Dist::Zilla::Plugin::ModuleBuild", | |
712 | "config" : { | |
713 | "Dist::Zilla::Role::TestRunner" : { | |
714 | "default_jobs" : 9 | |
715 | } | |
716 | }, | |
717 | "name" : "ModuleBuildTiny::Fallback", | |
718 | "version" : "5.025" | |
719 | }, | |
720 | { | |
721 | "class" : "Dist::Zilla::Plugin::ModuleBuildTiny", | |
722 | "config" : { | |
723 | "Dist::Zilla::Role::TestRunner" : { | |
724 | "default_jobs" : 9 | |
725 | } | |
726 | }, | |
727 | "name" : "ModuleBuildTiny::Fallback", | |
728 | "version" : "0.008" | |
729 | } | |
730 | ] | |
731 | }, | |
732 | "Dist::Zilla::Role::TestRunner" : { | |
733 | "default_jobs" : 9 | |
734 | } | |
735 | }, | |
736 | "name" : "@Author::ETHER/ModuleBuildTiny::Fallback", | |
737 | "version" : "0.014" | |
738 | }, | |
739 | { | |
740 | "class" : "Dist::Zilla::Plugin::RunExtraTests", | |
741 | "config" : { | |
742 | "Dist::Zilla::Role::TestRunner" : { | |
743 | "default_jobs" : 9 | |
744 | } | |
745 | }, | |
746 | "name" : "@Author::ETHER/RunExtraTests", | |
747 | "version" : "0.024" | |
748 | }, | |
749 | { | |
750 | "class" : "Dist::Zilla::Plugin::CheckSelfDependency", | |
751 | "config" : { | |
752 | "Dist::Zilla::Plugin::CheckSelfDependency" : { | |
753 | "finder" : [ | |
754 | ":InstallModules" | |
755 | ] | |
756 | } | |
757 | }, | |
758 | "name" : "@Author::ETHER/CheckSelfDependency", | |
759 | "version" : "0.008" | |
760 | }, | |
761 | { | |
762 | "class" : "Dist::Zilla::Plugin::Run::AfterBuild", | |
763 | "config" : { | |
764 | "Dist::Zilla::Plugin::Run::Role::Runner" : { | |
765 | "run" : [ | |
766 | "bash -c \"if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\"" | |
767 | ] | |
768 | } | |
769 | }, | |
770 | "name" : "@Author::ETHER/.ackrc", | |
771 | "version" : "0.027" | |
772 | }, | |
773 | { | |
774 | "class" : "Dist::Zilla::Plugin::Run::AfterBuild", | |
775 | "config" : { | |
776 | "Dist::Zilla::Plugin::Run::Role::Runner" : { | |
777 | "eval" : [ | |
778 | "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }" | |
779 | ] | |
780 | } | |
781 | }, | |
782 | "name" : "@Author::ETHER/.latest", | |
783 | "version" : "0.027" | |
784 | }, | |
785 | { | |
786 | "class" : "Dist::Zilla::Plugin::CheckStrictVersion", | |
787 | "name" : "@Author::ETHER/CheckStrictVersion", | |
788 | "version" : "0.001" | |
789 | }, | |
790 | { | |
791 | "class" : "Dist::Zilla::Plugin::Git::Check", | |
792 | "config" : { | |
793 | "Dist::Zilla::Plugin::Git::Check" : { | |
794 | "untracked_files" : "die" | |
795 | }, | |
796 | "Dist::Zilla::Role::Git::DirtyFiles" : { | |
797 | "allow_dirty" : [], | |
798 | "allow_dirty_match" : [], | |
799 | "changelog" : "Changes" | |
800 | }, | |
801 | "Dist::Zilla::Role::Git::Repo" : { | |
802 | "repo_root" : "." | |
803 | } | |
804 | }, | |
805 | "name" : "@Author::ETHER/initial check", | |
806 | "version" : "2.025" | |
807 | }, | |
808 | { | |
809 | "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", | |
810 | "config" : { | |
811 | "Dist::Zilla::Role::Git::Repo" : { | |
812 | "repo_root" : "." | |
813 | } | |
814 | }, | |
815 | "name" : "@Author::ETHER/Git::CheckFor::MergeConflicts", | |
816 | "version" : "0.011" | |
817 | }, | |
818 | { | |
819 | "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", | |
820 | "config" : { | |
821 | "Dist::Zilla::Role::Git::Repo" : { | |
822 | "repo_root" : "." | |
823 | } | |
824 | }, | |
825 | "name" : "@Author::ETHER/Git::CheckFor::CorrectBranch", | |
826 | "version" : "0.011" | |
827 | }, | |
828 | { | |
829 | "class" : "Dist::Zilla::Plugin::Git::Remote::Check", | |
830 | "name" : "@Author::ETHER/Git::Remote::Check", | |
831 | "version" : "0.1.2" | |
832 | }, | |
833 | { | |
834 | "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", | |
835 | "name" : "@Author::ETHER/CheckPrereqsIndexed", | |
836 | "version" : "0.012" | |
837 | }, | |
838 | { | |
839 | "class" : "Dist::Zilla::Plugin::TestRelease", | |
840 | "name" : "@Author::ETHER/TestRelease", | |
841 | "version" : "5.025" | |
842 | }, | |
843 | { | |
844 | "class" : "Dist::Zilla::Plugin::Git::Check", | |
845 | "config" : { | |
846 | "Dist::Zilla::Plugin::Git::Check" : { | |
847 | "untracked_files" : "die" | |
848 | }, | |
849 | "Dist::Zilla::Role::Git::DirtyFiles" : { | |
850 | "allow_dirty" : [], | |
851 | "allow_dirty_match" : [], | |
852 | "changelog" : "Changes" | |
853 | }, | |
854 | "Dist::Zilla::Role::Git::Repo" : { | |
855 | "repo_root" : "." | |
856 | } | |
857 | }, | |
858 | "name" : "@Author::ETHER/after tests", | |
859 | "version" : "2.025" | |
860 | }, | |
861 | { | |
862 | "class" : "Dist::Zilla::Plugin::CheckIssues", | |
863 | "name" : "@Author::ETHER/CheckIssues", | |
864 | "version" : "0.004" | |
865 | }, | |
866 | { | |
867 | "class" : "Dist::Zilla::Plugin::UploadToCPAN", | |
868 | "name" : "@Author::ETHER/UploadToCPAN", | |
869 | "version" : "5.025" | |
870 | }, | |
871 | { | |
872 | "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", | |
873 | "config" : { | |
874 | "Dist::Zilla::Plugin::CopyFilesFromRelease" : { | |
875 | "filename" : [ | |
876 | "LICENSE", | |
877 | "CONTRIBUTING" | |
878 | ], | |
879 | "match" : [] | |
880 | } | |
881 | }, | |
882 | "name" : "@Author::ETHER/CopyFilesFromRelease", | |
883 | "version" : "0.003" | |
884 | }, | |
885 | { | |
886 | "class" : "Dist::Zilla::Plugin::Run::AfterRelease", | |
887 | "config" : { | |
888 | "Dist::Zilla::Plugin::Run::Role::Runner" : { | |
889 | "eval" : [ | |
890 | "unlink 'README.md'" | |
891 | ] | |
892 | } | |
893 | }, | |
894 | "name" : "@Author::ETHER/remove old READMEs", | |
895 | "version" : "0.027" | |
896 | }, | |
897 | { | |
898 | "class" : "Dist::Zilla::Plugin::Git::Commit", | |
899 | "config" : { | |
900 | "Dist::Zilla::Plugin::Git::Commit" : { | |
901 | "add_files_in" : [ | |
902 | "." | |
903 | ], | |
904 | "commit_msg" : "%N-%v%t%n%n%c", | |
905 | "time_zone" : "local" | |
906 | }, | |
907 | "Dist::Zilla::Role::Git::DirtyFiles" : { | |
908 | "allow_dirty" : [ | |
909 | "Changes", | |
910 | "README.md", | |
911 | "README.pod", | |
912 | "LICENSE", | |
913 | "CONTRIBUTING" | |
914 | ], | |
915 | "allow_dirty_match" : [], | |
916 | "changelog" : "Changes" | |
917 | }, | |
918 | "Dist::Zilla::Role::Git::Repo" : { | |
919 | "repo_root" : "." | |
920 | } | |
921 | }, | |
922 | "name" : "@Author::ETHER/Git::Commit", | |
923 | "version" : "2.025" | |
924 | }, | |
925 | { | |
926 | "class" : "Dist::Zilla::Plugin::Git::Tag", | |
927 | "config" : { | |
928 | "Dist::Zilla::Plugin::Git::Tag" : { | |
929 | "branch" : null, | |
930 | "signed" : 0, | |
931 | "tag" : "v0.11", | |
932 | "tag_format" : "v%v%t", | |
933 | "tag_message" : "v%v%t", | |
934 | "time_zone" : "local" | |
935 | }, | |
936 | "Dist::Zilla::Role::Git::Repo" : { | |
937 | "repo_root" : "." | |
938 | } | |
939 | }, | |
940 | "name" : "@Author::ETHER/Git::Tag", | |
941 | "version" : "2.025" | |
942 | }, | |
943 | { | |
944 | "class" : "Dist::Zilla::Plugin::GitHub::Update", | |
945 | "name" : "@Author::ETHER/GitHub::Update", | |
946 | "version" : "0.38" | |
947 | }, | |
948 | { | |
949 | "class" : "Dist::Zilla::Plugin::Git::Push", | |
950 | "config" : { | |
951 | "Dist::Zilla::Plugin::Git::Push" : { | |
952 | "push_to" : [ | |
953 | "origin" | |
954 | ], | |
955 | "remotes_must_exist" : 1 | |
956 | }, | |
957 | "Dist::Zilla::Role::Git::Repo" : { | |
958 | "repo_root" : "." | |
959 | } | |
960 | }, | |
961 | "name" : "@Author::ETHER/Git::Push", | |
962 | "version" : "2.025" | |
963 | }, | |
964 | { | |
965 | "class" : "Dist::Zilla::Plugin::Run::AfterRelease", | |
966 | "config" : { | |
967 | "Dist::Zilla::Plugin::Run::Role::Runner" : { | |
968 | "run" : "REDACTED" | |
969 | } | |
970 | }, | |
971 | "name" : "@Author::ETHER/install release", | |
972 | "version" : "0.027" | |
973 | }, | |
974 | { | |
975 | "class" : "Dist::Zilla::Plugin::ConfirmRelease", | |
976 | "name" : "@Author::ETHER/ConfirmRelease", | |
977 | "version" : "5.025" | |
494 | 978 | }, |
495 | 979 | { |
496 | 980 | "class" : "Dist::Zilla::Plugin::Prereqs", |
500 | 984 | "type" : "requires" |
501 | 985 | } |
502 | 986 | }, |
503 | "name" : "@Author::ETHER/installer_requirements", | |
504 | "version" : "5.006" | |
505 | }, | |
506 | { | |
507 | "class" : "Dist::Zilla::Plugin::Prereqs", | |
508 | "config" : { | |
509 | "Dist::Zilla::Plugin::Prereqs" : { | |
510 | "phase" : "develop", | |
511 | "type" : "recommends" | |
512 | } | |
513 | }, | |
514 | "name" : "@Author::ETHER/pluginbundle_version", | |
515 | "version" : "5.006" | |
516 | }, | |
517 | { | |
518 | "class" : "Dist::Zilla::Plugin::RunExtraTests", | |
519 | "name" : "@Author::ETHER/RunExtraTests", | |
520 | "version" : "0.015" | |
521 | }, | |
522 | { | |
523 | "class" : "Dist::Zilla::Plugin::MakeMaker::Fallback", | |
524 | "name" : "@Author::ETHER/MakeMaker::Fallback", | |
525 | "version" : "0.003" | |
526 | }, | |
527 | { | |
528 | "class" : "Dist::Zilla::Plugin::ModuleBuildTiny", | |
529 | "name" : "@Author::ETHER/ModuleBuildTiny", | |
530 | "version" : "0.005" | |
531 | }, | |
532 | { | |
533 | "class" : "Dist::Zilla::Plugin::InstallGuide", | |
534 | "name" : "@Author::ETHER/InstallGuide", | |
535 | "version" : "1.200001" | |
536 | }, | |
537 | { | |
538 | "class" : "Dist::Zilla::Plugin::CheckSelfDependency", | |
539 | "name" : "@Author::ETHER/CheckSelfDependency", | |
540 | "version" : "0.005" | |
541 | }, | |
542 | { | |
543 | "class" : "Dist::Zilla::Plugin::Run::AfterBuild", | |
544 | "name" : "@Author::ETHER/Run::AfterBuild", | |
545 | "version" : "0.020" | |
546 | }, | |
547 | { | |
548 | "class" : "Dist::Zilla::Plugin::Git::Check", | |
549 | "name" : "@Author::ETHER/initial check", | |
550 | "version" : "2.017" | |
551 | }, | |
552 | { | |
553 | "class" : "Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts", | |
554 | "name" : "@Author::ETHER/Git::CheckFor::MergeConflicts", | |
555 | "version" : "0.008" | |
556 | }, | |
557 | { | |
558 | "class" : "Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch", | |
559 | "name" : "@Author::ETHER/Git::CheckFor::CorrectBranch", | |
560 | "version" : "0.008" | |
561 | }, | |
562 | { | |
563 | "class" : "Dist::Zilla::Plugin::Git::Remote::Check", | |
564 | "name" : "@Author::ETHER/Git::Remote::Check", | |
565 | "version" : "0.1.2" | |
566 | }, | |
567 | { | |
568 | "class" : "Dist::Zilla::Plugin::CheckPrereqsIndexed", | |
569 | "name" : "@Author::ETHER/CheckPrereqsIndexed", | |
570 | "version" : "0.009" | |
571 | }, | |
572 | { | |
573 | "class" : "Dist::Zilla::Plugin::TestRelease", | |
574 | "name" : "@Author::ETHER/TestRelease", | |
575 | "version" : "5.006" | |
576 | }, | |
577 | { | |
578 | "class" : "Dist::Zilla::Plugin::Git::Check", | |
579 | "name" : "@Author::ETHER/after tests", | |
580 | "version" : "2.017" | |
581 | }, | |
582 | { | |
583 | "class" : "Dist::Zilla::Plugin::UploadToCPAN", | |
584 | "name" : "@Author::ETHER/UploadToCPAN", | |
585 | "version" : "5.006" | |
586 | }, | |
587 | { | |
588 | "class" : "Dist::Zilla::Plugin::CopyFilesFromRelease", | |
589 | "name" : "@Author::ETHER/CopyFilesFromRelease", | |
590 | "version" : "0.001" | |
591 | }, | |
592 | { | |
593 | "class" : "Dist::Zilla::Plugin::Git::Commit", | |
594 | "name" : "@Author::ETHER/Git::Commit", | |
595 | "version" : "2.017" | |
596 | }, | |
597 | { | |
598 | "class" : "Dist::Zilla::Plugin::Git::Tag", | |
599 | "name" : "@Author::ETHER/Git::Tag", | |
600 | "version" : "2.017" | |
601 | }, | |
602 | { | |
603 | "class" : "Dist::Zilla::Plugin::GitHub::Update", | |
604 | "name" : "@Author::ETHER/GitHub::Update", | |
605 | "version" : "0.35" | |
606 | }, | |
607 | { | |
608 | "class" : "Dist::Zilla::Plugin::Git::Push", | |
609 | "name" : "@Author::ETHER/Git::Push", | |
610 | "version" : "2.017" | |
611 | }, | |
612 | { | |
613 | "class" : "Dist::Zilla::Plugin::InstallRelease", | |
614 | "name" : "@Author::ETHER/InstallRelease", | |
615 | "version" : "0.008" | |
616 | }, | |
617 | { | |
618 | "class" : "Dist::Zilla::Plugin::ConfirmRelease", | |
619 | "name" : "@Author::ETHER/ConfirmRelease", | |
620 | "version" : "5.006" | |
621 | }, | |
622 | { | |
623 | "class" : "Dist::Zilla::Plugin::Prereqs", | |
624 | "config" : { | |
625 | "Dist::Zilla::Plugin::Prereqs" : { | |
626 | "phase" : "develop", | |
627 | "type" : "requires" | |
628 | } | |
629 | }, | |
630 | "name" : "@Author::ETHER/via_options", | |
631 | "version" : "5.006" | |
632 | }, | |
633 | { | |
634 | "class" : "Dist::Zilla::Plugin::Prereqs", | |
635 | "config" : { | |
636 | "Dist::Zilla::Plugin::Prereqs" : { | |
637 | "phase" : "develop", | |
638 | "type" : "requires" | |
639 | } | |
640 | }, | |
641 | 987 | "name" : "DevelopRequires", |
642 | "version" : "5.006" | |
988 | "version" : "5.025" | |
643 | 989 | }, |
644 | 990 | { |
645 | 991 | "class" : "Dist::Zilla::Plugin::RemovePrereqs", |
653 | 999 | } |
654 | 1000 | }, |
655 | 1001 | "name" : "RemovePrereqs", |
656 | "version" : "5.006" | |
1002 | "version" : "5.025" | |
657 | 1003 | }, |
658 | 1004 | { |
659 | 1005 | "class" : "Dist::Zilla::Plugin::MetaResources", |
660 | 1006 | "name" : "MetaResources", |
661 | "version" : "5.006" | |
662 | }, | |
663 | { | |
664 | "class" : "Dist::Zilla::Plugin::ContributorsFromGit", | |
665 | "name" : "ContributorsFromGit", | |
1007 | "version" : "5.025" | |
1008 | }, | |
1009 | { | |
1010 | "class" : "Dist::Zilla::Plugin::Test::CheckBreaks", | |
1011 | "config" : { | |
1012 | "Dist::Zilla::Plugin::Test::CheckBreaks" : { | |
1013 | "conflicts_module" : "Moose::Conflicts" | |
1014 | } | |
1015 | }, | |
1016 | "name" : "Test::CheckBreaks", | |
1017 | "version" : "0.011" | |
1018 | }, | |
1019 | { | |
1020 | "class" : "Dist::Zilla::Plugin::Test::CleanNamespaces", | |
1021 | "config" : { | |
1022 | "Dist::Zilla::Plugin::Test::CleanNamespaces" : { | |
1023 | "filename" : "xt/author/clean-namespaces.t", | |
1024 | "skips" : [] | |
1025 | } | |
1026 | }, | |
1027 | "name" : "Test::CleanNamespaces", | |
666 | 1028 | "version" : "0.006" |
667 | 1029 | }, |
668 | 1030 | { |
669 | 1031 | "class" : "Dist::Zilla::Plugin::FinderCode", |
670 | 1032 | "name" : ":InstallModules", |
671 | "version" : "5.006" | |
1033 | "version" : "5.025" | |
672 | 1034 | }, |
673 | 1035 | { |
674 | 1036 | "class" : "Dist::Zilla::Plugin::FinderCode", |
675 | 1037 | "name" : ":IncModules", |
676 | "version" : "5.006" | |
1038 | "version" : "5.025" | |
677 | 1039 | }, |
678 | 1040 | { |
679 | 1041 | "class" : "Dist::Zilla::Plugin::FinderCode", |
680 | 1042 | "name" : ":TestFiles", |
681 | "version" : "5.006" | |
1043 | "version" : "5.025" | |
682 | 1044 | }, |
683 | 1045 | { |
684 | 1046 | "class" : "Dist::Zilla::Plugin::FinderCode", |
685 | 1047 | "name" : ":ExecFiles", |
686 | "version" : "5.006" | |
1048 | "version" : "5.025" | |
687 | 1049 | }, |
688 | 1050 | { |
689 | 1051 | "class" : "Dist::Zilla::Plugin::FinderCode", |
690 | 1052 | "name" : ":ShareFiles", |
691 | "version" : "5.006" | |
1053 | "version" : "5.025" | |
692 | 1054 | }, |
693 | 1055 | { |
694 | 1056 | "class" : "Dist::Zilla::Plugin::FinderCode", |
695 | 1057 | "name" : ":MainModule", |
696 | "version" : "5.006" | |
1058 | "version" : "5.025" | |
1059 | }, | |
1060 | { | |
1061 | "class" : "Dist::Zilla::Plugin::FinderCode", | |
1062 | "name" : ":AllFiles", | |
1063 | "version" : "5.025" | |
1064 | }, | |
1065 | { | |
1066 | "class" : "Dist::Zilla::Plugin::FinderCode", | |
1067 | "name" : ":NoFiles", | |
1068 | "version" : "5.025" | |
1069 | }, | |
1070 | { | |
1071 | "class" : "Dist::Zilla::Plugin::VerifyPhases", | |
1072 | "name" : "@Author::ETHER/PHASE VERIFICATION", | |
1073 | "version" : "0.009" | |
697 | 1074 | } |
698 | 1075 | ], |
699 | 1076 | "zilla" : { |
701 | 1078 | "config" : { |
702 | 1079 | "is_trial" : "0" |
703 | 1080 | }, |
704 | "version" : "5.006" | |
1081 | "version" : "5.025" | |
705 | 1082 | } |
706 | 1083 | }, |
707 | 1084 | "x_authority" : "cpan:STEVAN", |
1085 | "x_authority_from_module" : "MooseX::SimpleConfig", | |
708 | 1086 | "x_contributors" : [ |
709 | "Alex Howarth <alex.howarth@gmail.com>", | |
710 | "Alexander Hartmaier <alex.hartmaier@gmail.com>", | |
711 | "Brandon L Black <blblack@gmail.com>", | |
712 | 1087 | "Karen Etheridge <ether@cpan.org>", |
713 | 1088 | "Tomas Doran <bobtfish@bobtfish.net>", |
1089 | "Brandon L Black <blblack@gmail.com>", | |
1090 | "Alexander Hartmaier <alex.hartmaier@gmail.com>", | |
1091 | "lestrrat <lestrrat+github@gmail.com>", | |
1092 | "Сергей Романов <sromanov@cpan.org>", | |
714 | 1093 | "Yuval Kogman <nothingmuch@woobling.org>", |
715 | 1094 | "Zbigniew Lukasiak <zby@cpan.org>", |
716 | "lestrrat <lestrrat+github@gmail.com>" | |
717 | ] | |
1095 | "Alex Howarth <alex.howarth@gmail.com>" | |
1096 | ], | |
1097 | "x_permissions_from_module" : "MooseX::SimpleConfig" | |
718 | 1098 | } |
719 | 1099 |
0 | 0 | --- |
1 | abstract: 'A Moose role for setting attributes from a simple configfile' | |
1 | abstract: 'A Moose role for setting attributes from a simple configuration file' | |
2 | 2 | author: |
3 | 3 | - 'Brandon L. Black <blblack@gmail.com>' |
4 | 4 | build_requires: |
5 | ExtUtils::MakeMaker: 0 | |
6 | File::Spec::Functions: 0 | |
7 | File::Temp: 0 | |
8 | List::Util: 0 | |
9 | Moose: 0 | |
10 | Test::Fatal: 0 | |
11 | Test::More: 0 | |
12 | Test::Requires: 0 | |
13 | lib: 0 | |
14 | strict: 0 | |
15 | warnings: 0 | |
5 | ExtUtils::MakeMaker: '0' | |
6 | File::Spec: '0' | |
7 | File::Spec::Functions: '0' | |
8 | File::Temp: '0' | |
9 | Moose: '0' | |
10 | Test::Fatal: '0' | |
11 | Test::More: '0.88' | |
12 | lib: '0' | |
13 | perl: '5.006' | |
14 | strict: '0' | |
15 | warnings: '0' | |
16 | 16 | configure_requires: |
17 | ExtUtils::MakeMaker: 6.30 | |
18 | Module::Build::Tiny: 0.030 | |
17 | Module::Build::Tiny: '0.039' | |
18 | perl: '5.004' | |
19 | 19 | dynamic_config: 0 |
20 | generated_by: 'Dist::Zilla version 5.006, CPAN::Meta::Converter version 2.132830' | |
20 | generated_by: 'Dist::Zilla version 5.025, CPAN::Meta::Converter version 2.142690' | |
21 | keywords: | |
22 | - moose | |
23 | - extension | |
24 | - command | |
25 | - line | |
26 | - options | |
27 | - attributes | |
28 | - configuration | |
29 | - file | |
21 | 30 | license: perl |
22 | 31 | meta-spec: |
23 | 32 | url: http://module-build.sourceforge.net/META-spec-v1.4.html |
24 | version: 1.4 | |
33 | version: '1.4' | |
25 | 34 | name: MooseX-SimpleConfig |
26 | 35 | no_index: |
27 | 36 | directory: |
28 | 37 | - t |
29 | 38 | - xt |
30 | - examples | |
31 | 39 | provides: |
32 | 40 | MooseX::SimpleConfig: |
33 | 41 | file: lib/MooseX/SimpleConfig.pm |
34 | version: 0.10 | |
42 | version: '0.11' | |
35 | 43 | requires: |
36 | Config::Any: 0.13 | |
37 | Moose::Role: 0 | |
38 | MooseX::ConfigFromFile: 0 | |
39 | perl: 5.006 | |
44 | Config::Any: '0.13' | |
45 | Moose::Role: '0' | |
46 | MooseX::ConfigFromFile: '0' | |
47 | perl: '5.006' | |
40 | 48 | resources: |
41 | 49 | IRC: irc://irc.perl.org/#moose |
42 | MailingList: http://http://lists.perl.org/list/moose.html | |
50 | MailingList: http://lists.perl.org/list/moose.html | |
43 | 51 | bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-SimpleConfig |
44 | 52 | homepage: https://github.com/moose/MooseX-SimpleConfig |
45 | 53 | repository: https://github.com/moose/MooseX-SimpleConfig.git |
46 | version: 0.10 | |
54 | version: '0.11' | |
47 | 55 | x_Dist_Zilla: |
48 | 56 | perl: |
49 | version: 5.019005 | |
57 | version: '5.021005' | |
50 | 58 | plugins: |
51 | 59 | - |
60 | class: Dist::Zilla::Plugin::Prereqs | |
61 | config: | |
62 | Dist::Zilla::Plugin::Prereqs: | |
63 | phase: develop | |
64 | type: requires | |
65 | name: '@Author::ETHER/bundle_plugins' | |
66 | version: '5.025' | |
67 | - | |
52 | 68 | class: Dist::Zilla::Plugin::Git::NextVersion |
69 | config: | |
70 | Dist::Zilla::Plugin::Git::NextVersion: | |
71 | first_version: '0.001' | |
72 | version_by_branch: '0' | |
73 | version_regexp: (?^:^v([\d._]+)(-TRIAL)?$) | |
74 | Dist::Zilla::Role::Git::Repo: | |
75 | repo_root: . | |
53 | 76 | name: '@Author::ETHER/Git::NextVersion' |
54 | version: 2.017 | |
77 | version: '2.025' | |
55 | 78 | - |
56 | 79 | class: Dist::Zilla::Plugin::PromptIfStale |
57 | name: '@Author::ETHER/build' | |
58 | version: 0.012 | |
80 | config: | |
81 | Dist::Zilla::Plugin::PromptIfStale: | |
82 | check_all_plugins: 0 | |
83 | check_all_prereqs: 0 | |
84 | modules: | |
85 | - Dist::Zilla::PluginBundle::Author::ETHER | |
86 | phase: build | |
87 | skip: [] | |
88 | name: '@Author::ETHER/stale modules, build' | |
89 | version: '0.030' | |
59 | 90 | - |
60 | 91 | class: Dist::Zilla::Plugin::PromptIfStale |
61 | name: '@Author::ETHER/release' | |
62 | version: 0.012 | |
92 | config: | |
93 | Dist::Zilla::Plugin::PromptIfStale: | |
94 | check_all_plugins: '1' | |
95 | check_all_prereqs: '1' | |
96 | modules: [] | |
97 | phase: release | |
98 | skip: [] | |
99 | name: '@Author::ETHER/stale modules, release' | |
100 | version: '0.030' | |
63 | 101 | - |
64 | 102 | class: Dist::Zilla::Plugin::ExecDir |
65 | 103 | name: '@Author::ETHER/ExecDir' |
66 | version: 5.006 | |
104 | version: '5.025' | |
67 | 105 | - |
68 | 106 | class: Dist::Zilla::Plugin::ShareDir |
69 | 107 | name: '@Author::ETHER/ShareDir' |
70 | version: 5.006 | |
108 | version: '5.025' | |
71 | 109 | - |
72 | 110 | class: Dist::Zilla::Plugin::FileFinder::ByName |
73 | 111 | name: '@Author::ETHER/Examples' |
74 | version: 5.006 | |
112 | version: '5.025' | |
113 | - | |
114 | class: Dist::Zilla::Plugin::FileFinder::ByName | |
115 | name: '@Author::ETHER/ExtraTestFiles' | |
116 | version: '5.025' | |
75 | 117 | - |
76 | 118 | class: Dist::Zilla::Plugin::Git::GatherDir |
119 | config: | |
120 | Dist::Zilla::Plugin::GatherDir: | |
121 | exclude_filename: | |
122 | - README.md | |
123 | - README.pod | |
124 | - LICENSE | |
125 | - CONTRIBUTING | |
126 | exclude_match: [] | |
127 | follow_symlinks: '0' | |
128 | include_dotfiles: '0' | |
129 | prefix: '' | |
130 | prune_directory: [] | |
131 | root: . | |
132 | Dist::Zilla::Plugin::Git::GatherDir: | |
133 | include_untracked: '0' | |
134 | Dist::Zilla::Role::Git::Repo: | |
135 | repo_root: . | |
77 | 136 | name: '@Author::ETHER/Git::GatherDir' |
78 | version: 2.017 | |
137 | version: '2.025' | |
79 | 138 | - |
80 | 139 | class: Dist::Zilla::Plugin::MetaYAML |
81 | 140 | name: '@Author::ETHER/MetaYAML' |
82 | version: 5.006 | |
141 | version: '5.025' | |
83 | 142 | - |
84 | 143 | class: Dist::Zilla::Plugin::MetaJSON |
85 | 144 | name: '@Author::ETHER/MetaJSON' |
86 | version: 5.006 | |
145 | version: '5.025' | |
87 | 146 | - |
88 | 147 | class: Dist::Zilla::Plugin::License |
89 | 148 | name: '@Author::ETHER/License' |
90 | version: 5.006 | |
149 | version: '5.025' | |
91 | 150 | - |
92 | 151 | class: Dist::Zilla::Plugin::Readme |
93 | 152 | name: '@Author::ETHER/Readme' |
94 | version: 5.006 | |
153 | version: '5.025' | |
95 | 154 | - |
96 | 155 | class: Dist::Zilla::Plugin::Manifest |
97 | 156 | name: '@Author::ETHER/Manifest' |
98 | version: 5.006 | |
157 | version: '5.025' | |
99 | 158 | - |
100 | 159 | class: Dist::Zilla::Plugin::GenerateFile::ShareDir |
101 | 160 | config: |
103 | 162 | destination_filename: CONTRIBUTING |
104 | 163 | dist: Dist-Zilla-PluginBundle-Author-ETHER |
105 | 164 | encoding: UTF-8 |
165 | has_xs: 0 | |
106 | 166 | source_filename: CONTRIBUTING |
107 | name: '@Author::ETHER/GenerateFile::ShareDir' | |
108 | version: 0.002 | |
167 | name: '@Author::ETHER/generate CONTRIBUTING' | |
168 | version: '0.005' | |
169 | - | |
170 | class: Dist::Zilla::Plugin::InstallGuide | |
171 | name: '@Author::ETHER/InstallGuide' | |
172 | version: '1.200005' | |
109 | 173 | - |
110 | 174 | class: Dist::Zilla::Plugin::Test::Compile |
111 | 175 | config: |
112 | 176 | Dist::Zilla::Plugin::Test::Compile: |
177 | bail_out_on_fail: '1' | |
178 | fail_on_warning: author | |
179 | fake_home: '0' | |
113 | 180 | filename: xt/author/00-compile.t |
114 | 181 | module_finder: |
115 | 182 | - ':InstallModules' |
183 | needs_display: '0' | |
184 | phase: develop | |
116 | 185 | script_finder: |
117 | 186 | - ':ExecFiles' |
118 | 187 | - '@Author::ETHER/Examples' |
188 | skips: [] | |
119 | 189 | name: '@Author::ETHER/Test::Compile' |
120 | version: 2.037 | |
190 | version: '2.051' | |
121 | 191 | - |
122 | 192 | class: Dist::Zilla::Plugin::Test::NoTabs |
123 | 193 | config: |
124 | 194 | Dist::Zilla::Plugin::Test::NoTabs: |
125 | module_finder: | |
195 | filename: xt/author/no-tabs.t | |
196 | finder: | |
126 | 197 | - ':InstallModules' |
127 | script_finder: | |
128 | 198 | - ':ExecFiles' |
129 | 199 | - '@Author::ETHER/Examples' |
200 | - ':TestFiles' | |
201 | - '@Author::ETHER/ExtraTestFiles' | |
130 | 202 | name: '@Author::ETHER/Test::NoTabs' |
131 | version: 0.05 | |
132 | - | |
133 | class: Dist::Zilla::Plugin::EOLTests | |
134 | name: '@Author::ETHER/EOLTests' | |
135 | version: 0.02 | |
203 | version: '0.09' | |
204 | - | |
205 | class: Dist::Zilla::Plugin::Test::EOL | |
206 | config: | |
207 | Dist::Zilla::Plugin::Test::EOL: | |
208 | filename: xt/author/eol.t | |
209 | name: '@Author::ETHER/Test::EOL' | |
210 | version: '0.15' | |
136 | 211 | - |
137 | 212 | class: Dist::Zilla::Plugin::MetaTests |
138 | 213 | name: '@Author::ETHER/MetaTests' |
139 | version: 5.006 | |
140 | - | |
141 | class: Dist::Zilla::Plugin::Test::Version | |
142 | name: '@Author::ETHER/Test::Version' | |
143 | version: 0.002004 | |
214 | version: '5.025' | |
144 | 215 | - |
145 | 216 | class: Dist::Zilla::Plugin::Test::CPAN::Changes |
146 | 217 | name: '@Author::ETHER/Test::CPAN::Changes' |
147 | version: 0.008 | |
218 | version: '0.008' | |
148 | 219 | - |
149 | 220 | class: Dist::Zilla::Plugin::Test::ChangesHasContent |
150 | 221 | name: '@Author::ETHER/Test::ChangesHasContent' |
151 | version: 0.006 | |
152 | - | |
153 | class: Dist::Zilla::Plugin::Test::UnusedVars | |
154 | name: '@Author::ETHER/Test::UnusedVars' | |
155 | version: 2.000005 | |
222 | version: '0.007' | |
156 | 223 | - |
157 | 224 | class: Dist::Zilla::Plugin::Test::MinimumVersion |
158 | 225 | name: '@Author::ETHER/Test::MinimumVersion' |
159 | version: 2.000005 | |
226 | version: '2.000005' | |
160 | 227 | - |
161 | 228 | class: Dist::Zilla::Plugin::PodSyntaxTests |
162 | 229 | name: '@Author::ETHER/PodSyntaxTests' |
163 | version: 5.006 | |
230 | version: '5.025' | |
164 | 231 | - |
165 | 232 | class: Dist::Zilla::Plugin::PodCoverageTests |
166 | 233 | name: '@Author::ETHER/PodCoverageTests' |
167 | version: 5.006 | |
234 | version: '5.025' | |
168 | 235 | - |
169 | 236 | class: Dist::Zilla::Plugin::Test::PodSpelling |
170 | 237 | name: '@Author::ETHER/Test::PodSpelling' |
171 | version: 2.006001 | |
238 | version: '2.006008' | |
172 | 239 | - |
173 | 240 | class: Dist::Zilla::Plugin::Test::Pod::No404s |
174 | 241 | name: '@Author::ETHER/Test::Pod::No404s' |
175 | version: 1.001 | |
242 | version: '1.001' | |
176 | 243 | - |
177 | 244 | class: Dist::Zilla::Plugin::Test::Kwalitee |
245 | config: | |
246 | Dist::Zilla::Plugin::Test::Kwalitee: | |
247 | filename: xt/release/kwalitee.t | |
248 | skiptest: [] | |
178 | 249 | name: '@Author::ETHER/Test::Kwalitee' |
179 | version: 2.07 | |
250 | version: '2.11' | |
180 | 251 | - |
181 | 252 | class: Dist::Zilla::Plugin::MojibakeTests |
182 | 253 | name: '@Author::ETHER/MojibakeTests' |
183 | version: 0.5 | |
254 | version: '0.7' | |
184 | 255 | - |
185 | 256 | class: Dist::Zilla::Plugin::Test::ReportPrereqs |
186 | 257 | name: '@Author::ETHER/Test::ReportPrereqs' |
187 | version: 0.010 | |
188 | - | |
189 | class: Dist::Zilla::Plugin::PruneCruft | |
190 | name: '@Author::ETHER/PruneCruft' | |
191 | version: 5.006 | |
192 | - | |
193 | class: Dist::Zilla::Plugin::ManifestSkip | |
194 | name: '@Author::ETHER/ManifestSkip' | |
195 | version: 5.006 | |
196 | - | |
197 | class: Dist::Zilla::Plugin::Authority | |
198 | name: '@Author::ETHER/Authority' | |
199 | version: 1.006 | |
258 | version: '0.019' | |
259 | - | |
260 | class: Dist::Zilla::Plugin::Test::Portability | |
261 | name: '@Author::ETHER/Test::Portability' | |
262 | version: '2.000005' | |
200 | 263 | - |
201 | 264 | class: Dist::Zilla::Plugin::Git::Describe |
202 | 265 | name: '@Author::ETHER/Git::Describe' |
203 | version: 0.003 | |
266 | version: '0.003' | |
204 | 267 | - |
205 | 268 | class: Dist::Zilla::Plugin::PkgVersion |
206 | 269 | name: '@Author::ETHER/PkgVersion' |
207 | version: 5.006 | |
270 | version: '5.025' | |
208 | 271 | - |
209 | 272 | class: Dist::Zilla::Plugin::PodWeaver |
210 | 273 | config: |
216 | 279 | - |
217 | 280 | class: Pod::Weaver::Plugin::EnsurePod5 |
218 | 281 | name: '@CorePrep/EnsurePod5' |
219 | version: 4.004 | |
282 | version: '4.008' | |
220 | 283 | - |
221 | 284 | class: Pod::Weaver::Plugin::H1Nester |
222 | 285 | name: '@CorePrep/H1Nester' |
223 | version: 4.004 | |
286 | version: '4.008' | |
224 | 287 | - |
225 | 288 | class: Pod::Weaver::Plugin::SingleEncoding |
226 | 289 | name: '@Default/SingleEncoding' |
227 | version: 4.004 | |
290 | version: '4.008' | |
228 | 291 | - |
229 | 292 | class: Pod::Weaver::Section::Name |
230 | 293 | name: '@Default/Name' |
231 | version: 4.004 | |
294 | version: '4.008' | |
232 | 295 | - |
233 | 296 | class: Pod::Weaver::Section::Version |
234 | 297 | name: '@Default/Version' |
235 | version: 4.004 | |
298 | version: '4.008' | |
236 | 299 | - |
237 | 300 | class: Pod::Weaver::Section::Region |
238 | 301 | name: '@Default/prelude' |
239 | version: 4.004 | |
302 | version: '4.008' | |
240 | 303 | - |
241 | 304 | class: Pod::Weaver::Section::Generic |
242 | 305 | name: SYNOPSIS |
243 | version: 4.004 | |
306 | version: '4.008' | |
244 | 307 | - |
245 | 308 | class: Pod::Weaver::Section::Generic |
246 | 309 | name: DESCRIPTION |
247 | version: 4.004 | |
310 | version: '4.008' | |
248 | 311 | - |
249 | 312 | class: Pod::Weaver::Section::Generic |
250 | 313 | name: OVERVIEW |
251 | version: 4.004 | |
314 | version: '4.008' | |
252 | 315 | - |
253 | 316 | class: Pod::Weaver::Section::Collect |
254 | 317 | name: ATTRIBUTES |
255 | version: 4.004 | |
318 | version: '4.008' | |
256 | 319 | - |
257 | 320 | class: Pod::Weaver::Section::Collect |
258 | 321 | name: METHODS |
259 | version: 4.004 | |
322 | version: '4.008' | |
260 | 323 | - |
261 | 324 | class: Pod::Weaver::Section::Collect |
262 | 325 | name: FUNCTIONS |
263 | version: 4.004 | |
326 | version: '4.008' | |
264 | 327 | - |
265 | 328 | class: Pod::Weaver::Section::Leftovers |
266 | 329 | name: '@Default/Leftovers' |
267 | version: 4.004 | |
330 | version: '4.008' | |
268 | 331 | - |
269 | 332 | class: Pod::Weaver::Section::Region |
270 | 333 | name: '@Default/postlude' |
271 | version: 4.004 | |
334 | version: '4.008' | |
272 | 335 | - |
273 | 336 | class: Pod::Weaver::Section::Authors |
274 | 337 | name: '@Default/Authors' |
275 | version: 4.004 | |
338 | version: '4.008' | |
276 | 339 | - |
277 | 340 | class: Pod::Weaver::Section::Legal |
278 | 341 | name: '@Default/Legal' |
279 | version: 4.004 | |
342 | version: '4.008' | |
280 | 343 | - |
281 | 344 | class: Pod::Weaver::Plugin::Transformer |
282 | name: '-Transformer' | |
283 | version: 4.004 | |
284 | - | |
285 | class: Pod::Weaver::Plugin::StopWords | |
286 | name: '-StopWords' | |
287 | version: 1.008 | |
288 | - | |
289 | class: Pod::Weaver::Plugin::Encoding | |
290 | name: '-Encoding' | |
291 | version: 0.02 | |
345 | name: -Transformer | |
346 | version: '4.008' | |
292 | 347 | - |
293 | 348 | class: Pod::Weaver::Section::Contributors |
294 | 349 | name: Contributors |
295 | version: 0.006 | |
350 | version: '0.008' | |
296 | 351 | name: '@Author::ETHER/PodWeaver' |
297 | version: 4.002 | |
352 | version: '4.006' | |
298 | 353 | - |
299 | 354 | class: Dist::Zilla::Plugin::NextRelease |
300 | 355 | name: '@Author::ETHER/NextRelease' |
301 | version: 5.006 | |
356 | version: '5.025' | |
302 | 357 | - |
303 | 358 | class: Dist::Zilla::Plugin::ReadmeAnyFromPod |
304 | 359 | name: '@Author::ETHER/ReadmeAnyFromPod' |
305 | version: 0.133060 | |
360 | version: '0.142470' | |
306 | 361 | - |
307 | 362 | class: Dist::Zilla::Plugin::GithubMeta |
308 | 363 | name: '@Author::ETHER/GithubMeta' |
309 | version: 0.42 | |
364 | version: '0.46' | |
310 | 365 | - |
311 | 366 | class: Dist::Zilla::Plugin::AutoMetaResources |
312 | 367 | name: '@Author::ETHER/AutoMetaResources' |
313 | version: 1.20 | |
368 | version: '1.20' | |
369 | - | |
370 | class: Dist::Zilla::Plugin::AuthorityFromModule | |
371 | config: | |
372 | Dist::Zilla::Plugin::AuthorityFromModule: | |
373 | module: MooseX::SimpleConfig | |
374 | name: '@Author::ETHER/AuthorityFromModule' | |
375 | version: '0.003' | |
376 | - | |
377 | class: Dist::Zilla::Plugin::Authority | |
378 | name: '@Author::ETHER/Authority' | |
379 | version: '1.009' | |
314 | 380 | - |
315 | 381 | class: Dist::Zilla::Plugin::MetaNoIndex |
316 | 382 | name: '@Author::ETHER/MetaNoIndex' |
317 | version: 5.006 | |
318 | - | |
319 | class: Dist::Zilla::Plugin::FinderCode | |
320 | name: '@Author::ETHER/MetaProvides::Package/AUTOVIV/:InstallModulesPM' | |
321 | version: 5.006 | |
383 | version: '5.025' | |
322 | 384 | - |
323 | 385 | class: Dist::Zilla::Plugin::MetaProvides::Package |
324 | 386 | config: |
325 | Dist::Zilla::Plugin::MetaProvides::Package: {} | |
387 | Dist::Zilla::Plugin::MetaProvides::Package: | |
388 | finder: | |
389 | - ':InstallModules' | |
390 | finder_objects: | |
391 | - | |
392 | class: Dist::Zilla::Plugin::FinderCode | |
393 | name: ':InstallModules' | |
394 | version: '5.025' | |
326 | 395 | Dist::Zilla::Role::MetaProvider::Provider: |
327 | inherit_missing: 1 | |
328 | inherit_version: 1 | |
329 | meta_noindex: 1 | |
396 | inherit_missing: '1' | |
397 | inherit_version: '1' | |
398 | meta_noindex: '1' | |
330 | 399 | name: '@Author::ETHER/MetaProvides::Package' |
331 | version: 1.15000000 | |
400 | version: '2.001002' | |
332 | 401 | - |
333 | 402 | class: Dist::Zilla::Plugin::MetaConfig |
334 | 403 | name: '@Author::ETHER/MetaConfig' |
335 | version: 5.006 | |
404 | version: '5.025' | |
405 | - | |
406 | class: Dist::Zilla::Plugin::Keywords | |
407 | config: | |
408 | Dist::Zilla::Plugin::Keywords: | |
409 | keywords: | |
410 | - moose | |
411 | - extension | |
412 | - command | |
413 | - line | |
414 | - options | |
415 | - attributes | |
416 | - configuration | |
417 | - file | |
418 | name: '@Author::ETHER/Keywords' | |
419 | version: '0.006' | |
420 | - | |
421 | class: Dist::Zilla::Plugin::Git::Contributors | |
422 | config: | |
423 | Dist::Zilla::Plugin::Git::Contributors: | |
424 | include_authors: '0' | |
425 | include_releaser: '1' | |
426 | order_by: commits | |
427 | paths: [] | |
428 | name: '@Author::ETHER/Git::Contributors' | |
429 | version: '0.008' | |
336 | 430 | - |
337 | 431 | class: Dist::Zilla::Plugin::AutoPrereqs |
338 | 432 | name: '@Author::ETHER/AutoPrereqs' |
339 | version: 5.006 | |
433 | version: '5.025' | |
340 | 434 | - |
341 | 435 | class: Dist::Zilla::Plugin::Prereqs::AuthorDeps |
342 | 436 | name: '@Author::ETHER/Prereqs::AuthorDeps' |
343 | version: 0.002 | |
437 | version: '0.004' | |
344 | 438 | - |
345 | 439 | class: Dist::Zilla::Plugin::MinimumPerl |
346 | 440 | name: '@Author::ETHER/MinimumPerl' |
347 | version: 1.003 | |
348 | - | |
349 | class: Dist::Zilla::Plugin::Prereqs | |
350 | config: | |
351 | Dist::Zilla::Plugin::Prereqs: | |
352 | phase: develop | |
353 | type: requires | |
354 | name: '@Author::ETHER/installer_requirements' | |
355 | version: 5.006 | |
441 | version: '1.006' | |
356 | 442 | - |
357 | 443 | class: Dist::Zilla::Plugin::Prereqs |
358 | 444 | config: |
360 | 446 | phase: develop |
361 | 447 | type: recommends |
362 | 448 | name: '@Author::ETHER/pluginbundle_version' |
363 | version: 5.006 | |
449 | version: '5.025' | |
450 | - | |
451 | class: Dist::Zilla::Plugin::MakeMaker::Fallback | |
452 | config: | |
453 | Dist::Zilla::Role::TestRunner: | |
454 | default_jobs: 9 | |
455 | name: '@Author::ETHER/MakeMaker::Fallback' | |
456 | version: '0.016' | |
457 | - | |
458 | class: Dist::Zilla::Plugin::ModuleBuildTiny::Fallback | |
459 | config: | |
460 | Dist::Zilla::Plugin::ModuleBuildTiny::Fallback: | |
461 | plugins: | |
462 | - | |
463 | class: Dist::Zilla::Plugin::ModuleBuild | |
464 | config: | |
465 | Dist::Zilla::Role::TestRunner: | |
466 | default_jobs: 9 | |
467 | name: ModuleBuildTiny::Fallback | |
468 | version: '5.025' | |
469 | - | |
470 | class: Dist::Zilla::Plugin::ModuleBuildTiny | |
471 | config: | |
472 | Dist::Zilla::Role::TestRunner: | |
473 | default_jobs: 9 | |
474 | name: ModuleBuildTiny::Fallback | |
475 | version: '0.008' | |
476 | Dist::Zilla::Role::TestRunner: | |
477 | default_jobs: 9 | |
478 | name: '@Author::ETHER/ModuleBuildTiny::Fallback' | |
479 | version: '0.014' | |
364 | 480 | - |
365 | 481 | class: Dist::Zilla::Plugin::RunExtraTests |
482 | config: | |
483 | Dist::Zilla::Role::TestRunner: | |
484 | default_jobs: 9 | |
366 | 485 | name: '@Author::ETHER/RunExtraTests' |
367 | version: 0.015 | |
368 | - | |
369 | class: Dist::Zilla::Plugin::MakeMaker::Fallback | |
370 | name: '@Author::ETHER/MakeMaker::Fallback' | |
371 | version: 0.003 | |
372 | - | |
373 | class: Dist::Zilla::Plugin::ModuleBuildTiny | |
374 | name: '@Author::ETHER/ModuleBuildTiny' | |
375 | version: 0.005 | |
376 | - | |
377 | class: Dist::Zilla::Plugin::InstallGuide | |
378 | name: '@Author::ETHER/InstallGuide' | |
379 | version: 1.200001 | |
486 | version: '0.024' | |
380 | 487 | - |
381 | 488 | class: Dist::Zilla::Plugin::CheckSelfDependency |
489 | config: | |
490 | Dist::Zilla::Plugin::CheckSelfDependency: | |
491 | finder: | |
492 | - ':InstallModules' | |
382 | 493 | name: '@Author::ETHER/CheckSelfDependency' |
383 | version: 0.005 | |
494 | version: '0.008' | |
384 | 495 | - |
385 | 496 | class: Dist::Zilla::Plugin::Run::AfterBuild |
386 | name: '@Author::ETHER/Run::AfterBuild' | |
387 | version: 0.020 | |
497 | config: | |
498 | Dist::Zilla::Plugin::Run::Role::Runner: | |
499 | run: | |
500 | - "bash -c \"if [[ `dirname %d` != .build ]]; then test -e .ackrc && grep -q -- '--ignore-dir=%d' .ackrc || echo '--ignore-dir=%d' >> .ackrc; fi\"" | |
501 | name: '@Author::ETHER/.ackrc' | |
502 | version: '0.027' | |
503 | - | |
504 | class: Dist::Zilla::Plugin::Run::AfterBuild | |
505 | config: | |
506 | Dist::Zilla::Plugin::Run::Role::Runner: | |
507 | eval: | |
508 | - "if ('%d' =~ /^%n-[.[:xdigit:]]+$/) { unlink '.latest'; symlink '%d', '.latest'; }" | |
509 | name: '@Author::ETHER/.latest' | |
510 | version: '0.027' | |
511 | - | |
512 | class: Dist::Zilla::Plugin::CheckStrictVersion | |
513 | name: '@Author::ETHER/CheckStrictVersion' | |
514 | version: '0.001' | |
388 | 515 | - |
389 | 516 | class: Dist::Zilla::Plugin::Git::Check |
517 | config: | |
518 | Dist::Zilla::Plugin::Git::Check: | |
519 | untracked_files: die | |
520 | Dist::Zilla::Role::Git::DirtyFiles: | |
521 | allow_dirty: [] | |
522 | allow_dirty_match: [] | |
523 | changelog: Changes | |
524 | Dist::Zilla::Role::Git::Repo: | |
525 | repo_root: . | |
390 | 526 | name: '@Author::ETHER/initial check' |
391 | version: 2.017 | |
527 | version: '2.025' | |
392 | 528 | - |
393 | 529 | class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts |
530 | config: | |
531 | Dist::Zilla::Role::Git::Repo: | |
532 | repo_root: . | |
394 | 533 | name: '@Author::ETHER/Git::CheckFor::MergeConflicts' |
395 | version: 0.008 | |
534 | version: '0.011' | |
396 | 535 | - |
397 | 536 | class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch |
537 | config: | |
538 | Dist::Zilla::Role::Git::Repo: | |
539 | repo_root: . | |
398 | 540 | name: '@Author::ETHER/Git::CheckFor::CorrectBranch' |
399 | version: 0.008 | |
541 | version: '0.011' | |
400 | 542 | - |
401 | 543 | class: Dist::Zilla::Plugin::Git::Remote::Check |
402 | 544 | name: '@Author::ETHER/Git::Remote::Check' |
404 | 546 | - |
405 | 547 | class: Dist::Zilla::Plugin::CheckPrereqsIndexed |
406 | 548 | name: '@Author::ETHER/CheckPrereqsIndexed' |
407 | version: 0.009 | |
549 | version: '0.012' | |
408 | 550 | - |
409 | 551 | class: Dist::Zilla::Plugin::TestRelease |
410 | 552 | name: '@Author::ETHER/TestRelease' |
411 | version: 5.006 | |
553 | version: '5.025' | |
412 | 554 | - |
413 | 555 | class: Dist::Zilla::Plugin::Git::Check |
556 | config: | |
557 | Dist::Zilla::Plugin::Git::Check: | |
558 | untracked_files: die | |
559 | Dist::Zilla::Role::Git::DirtyFiles: | |
560 | allow_dirty: [] | |
561 | allow_dirty_match: [] | |
562 | changelog: Changes | |
563 | Dist::Zilla::Role::Git::Repo: | |
564 | repo_root: . | |
414 | 565 | name: '@Author::ETHER/after tests' |
415 | version: 2.017 | |
566 | version: '2.025' | |
567 | - | |
568 | class: Dist::Zilla::Plugin::CheckIssues | |
569 | name: '@Author::ETHER/CheckIssues' | |
570 | version: '0.004' | |
416 | 571 | - |
417 | 572 | class: Dist::Zilla::Plugin::UploadToCPAN |
418 | 573 | name: '@Author::ETHER/UploadToCPAN' |
419 | version: 5.006 | |
574 | version: '5.025' | |
420 | 575 | - |
421 | 576 | class: Dist::Zilla::Plugin::CopyFilesFromRelease |
577 | config: | |
578 | Dist::Zilla::Plugin::CopyFilesFromRelease: | |
579 | filename: | |
580 | - LICENSE | |
581 | - CONTRIBUTING | |
582 | match: [] | |
422 | 583 | name: '@Author::ETHER/CopyFilesFromRelease' |
423 | version: 0.001 | |
584 | version: '0.003' | |
585 | - | |
586 | class: Dist::Zilla::Plugin::Run::AfterRelease | |
587 | config: | |
588 | Dist::Zilla::Plugin::Run::Role::Runner: | |
589 | eval: | |
590 | - "unlink 'README.md'" | |
591 | name: '@Author::ETHER/remove old READMEs' | |
592 | version: '0.027' | |
424 | 593 | - |
425 | 594 | class: Dist::Zilla::Plugin::Git::Commit |
595 | config: | |
596 | Dist::Zilla::Plugin::Git::Commit: | |
597 | add_files_in: | |
598 | - . | |
599 | commit_msg: '%N-%v%t%n%n%c' | |
600 | time_zone: local | |
601 | Dist::Zilla::Role::Git::DirtyFiles: | |
602 | allow_dirty: | |
603 | - Changes | |
604 | - README.md | |
605 | - README.pod | |
606 | - LICENSE | |
607 | - CONTRIBUTING | |
608 | allow_dirty_match: [] | |
609 | changelog: Changes | |
610 | Dist::Zilla::Role::Git::Repo: | |
611 | repo_root: . | |
426 | 612 | name: '@Author::ETHER/Git::Commit' |
427 | version: 2.017 | |
613 | version: '2.025' | |
428 | 614 | - |
429 | 615 | class: Dist::Zilla::Plugin::Git::Tag |
616 | config: | |
617 | Dist::Zilla::Plugin::Git::Tag: | |
618 | branch: ~ | |
619 | signed: 0 | |
620 | tag: v0.11 | |
621 | tag_format: v%v%t | |
622 | tag_message: v%v%t | |
623 | time_zone: local | |
624 | Dist::Zilla::Role::Git::Repo: | |
625 | repo_root: . | |
430 | 626 | name: '@Author::ETHER/Git::Tag' |
431 | version: 2.017 | |
627 | version: '2.025' | |
432 | 628 | - |
433 | 629 | class: Dist::Zilla::Plugin::GitHub::Update |
434 | 630 | name: '@Author::ETHER/GitHub::Update' |
435 | version: 0.35 | |
631 | version: '0.38' | |
436 | 632 | - |
437 | 633 | class: Dist::Zilla::Plugin::Git::Push |
634 | config: | |
635 | Dist::Zilla::Plugin::Git::Push: | |
636 | push_to: | |
637 | - origin | |
638 | remotes_must_exist: 1 | |
639 | Dist::Zilla::Role::Git::Repo: | |
640 | repo_root: . | |
438 | 641 | name: '@Author::ETHER/Git::Push' |
439 | version: 2.017 | |
440 | - | |
441 | class: Dist::Zilla::Plugin::InstallRelease | |
442 | name: '@Author::ETHER/InstallRelease' | |
443 | version: 0.008 | |
642 | version: '2.025' | |
643 | - | |
644 | class: Dist::Zilla::Plugin::Run::AfterRelease | |
645 | config: | |
646 | Dist::Zilla::Plugin::Run::Role::Runner: | |
647 | run: REDACTED | |
648 | name: '@Author::ETHER/install release' | |
649 | version: '0.027' | |
444 | 650 | - |
445 | 651 | class: Dist::Zilla::Plugin::ConfirmRelease |
446 | 652 | name: '@Author::ETHER/ConfirmRelease' |
447 | version: 5.006 | |
448 | - | |
449 | class: Dist::Zilla::Plugin::Prereqs | |
450 | config: | |
451 | Dist::Zilla::Plugin::Prereqs: | |
452 | phase: develop | |
453 | type: requires | |
454 | name: '@Author::ETHER/via_options' | |
455 | version: 5.006 | |
653 | version: '5.025' | |
456 | 654 | - |
457 | 655 | class: Dist::Zilla::Plugin::Prereqs |
458 | 656 | config: |
460 | 658 | phase: develop |
461 | 659 | type: requires |
462 | 660 | name: DevelopRequires |
463 | version: 5.006 | |
661 | version: '5.025' | |
464 | 662 | - |
465 | 663 | class: Dist::Zilla::Plugin::RemovePrereqs |
466 | 664 | config: |
470 | 668 | - MXDriverArgsConfigTestBase |
471 | 669 | - MXSimpleConfigTestBase |
472 | 670 | name: RemovePrereqs |
473 | version: 5.006 | |
671 | version: '5.025' | |
474 | 672 | - |
475 | 673 | class: Dist::Zilla::Plugin::MetaResources |
476 | 674 | name: MetaResources |
477 | version: 5.006 | |
478 | - | |
479 | class: Dist::Zilla::Plugin::ContributorsFromGit | |
480 | name: ContributorsFromGit | |
481 | version: 0.006 | |
675 | version: '5.025' | |
676 | - | |
677 | class: Dist::Zilla::Plugin::Test::CheckBreaks | |
678 | config: | |
679 | Dist::Zilla::Plugin::Test::CheckBreaks: | |
680 | conflicts_module: Moose::Conflicts | |
681 | name: Test::CheckBreaks | |
682 | version: '0.011' | |
683 | - | |
684 | class: Dist::Zilla::Plugin::Test::CleanNamespaces | |
685 | config: | |
686 | Dist::Zilla::Plugin::Test::CleanNamespaces: | |
687 | filename: xt/author/clean-namespaces.t | |
688 | skips: [] | |
689 | name: Test::CleanNamespaces | |
690 | version: '0.006' | |
482 | 691 | - |
483 | 692 | class: Dist::Zilla::Plugin::FinderCode |
484 | 693 | name: ':InstallModules' |
485 | version: 5.006 | |
694 | version: '5.025' | |
486 | 695 | - |
487 | 696 | class: Dist::Zilla::Plugin::FinderCode |
488 | 697 | name: ':IncModules' |
489 | version: 5.006 | |
698 | version: '5.025' | |
490 | 699 | - |
491 | 700 | class: Dist::Zilla::Plugin::FinderCode |
492 | 701 | name: ':TestFiles' |
493 | version: 5.006 | |
702 | version: '5.025' | |
494 | 703 | - |
495 | 704 | class: Dist::Zilla::Plugin::FinderCode |
496 | 705 | name: ':ExecFiles' |
497 | version: 5.006 | |
706 | version: '5.025' | |
498 | 707 | - |
499 | 708 | class: Dist::Zilla::Plugin::FinderCode |
500 | 709 | name: ':ShareFiles' |
501 | version: 5.006 | |
710 | version: '5.025' | |
502 | 711 | - |
503 | 712 | class: Dist::Zilla::Plugin::FinderCode |
504 | 713 | name: ':MainModule' |
505 | version: 5.006 | |
714 | version: '5.025' | |
715 | - | |
716 | class: Dist::Zilla::Plugin::FinderCode | |
717 | name: ':AllFiles' | |
718 | version: '5.025' | |
719 | - | |
720 | class: Dist::Zilla::Plugin::FinderCode | |
721 | name: ':NoFiles' | |
722 | version: '5.025' | |
723 | - | |
724 | class: Dist::Zilla::Plugin::VerifyPhases | |
725 | name: '@Author::ETHER/PHASE VERIFICATION' | |
726 | version: '0.009' | |
506 | 727 | zilla: |
507 | 728 | class: Dist::Zilla::Dist::Builder |
508 | 729 | config: |
509 | is_trial: 0 | |
510 | version: 5.006 | |
730 | is_trial: '0' | |
731 | version: '5.025' | |
511 | 732 | x_authority: cpan:STEVAN |
733 | x_authority_from_module: MooseX::SimpleConfig | |
512 | 734 | x_contributors: |
513 | - 'Alex Howarth <alex.howarth@gmail.com>' | |
514 | - 'Alexander Hartmaier <alex.hartmaier@gmail.com>' | |
515 | - 'Brandon L Black <blblack@gmail.com>' | |
516 | 735 | - 'Karen Etheridge <ether@cpan.org>' |
517 | 736 | - 'Tomas Doran <bobtfish@bobtfish.net>' |
737 | - 'Brandon L Black <blblack@gmail.com>' | |
738 | - 'Alexander Hartmaier <alex.hartmaier@gmail.com>' | |
739 | - 'lestrrat <lestrrat+github@gmail.com>' | |
740 | - 'Сергей Романов <sromanov@cpan.org>' | |
518 | 741 | - 'Yuval Kogman <nothingmuch@woobling.org>' |
519 | 742 | - 'Zbigniew Lukasiak <zby@cpan.org>' |
520 | - 'lestrrat <lestrrat+github@gmail.com>' | |
743 | - 'Alex Howarth <alex.howarth@gmail.com>' | |
744 | x_permissions_from_module: MooseX::SimpleConfig |
0 | 0 | # This Makefile.PL for MooseX-SimpleConfig was generated by |
1 | # Dist::Zilla::Plugin::MakeMaker::Fallback 0.003. | |
2 | # Don't edit it but the dist.ini used to construct it. | |
1 | # Dist::Zilla::Plugin::MakeMaker::Fallback 0.016 | |
2 | # and Dist::Zilla::Plugin::MakeMaker::Awesome 0.31. | |
3 | # Don't edit it but the dist.ini and plugins used to construct it. | |
3 | 4 | |
4 | 5 | use strict; |
5 | 6 | use warnings; |
6 | 7 | |
7 | 8 | BEGIN { |
8 | 9 | my %configure_requires = ( |
9 | 'ExtUtils::MakeMaker' => '6.30', | |
10 | 'Module::Build::Tiny' => '0.030', | |
10 | 'Module::Build::Tiny' => '0.039', | |
11 | 11 | ); |
12 | 12 | |
13 | 13 | my @missing = grep { |
20 | 20 | } |
21 | 21 | else |
22 | 22 | { |
23 | warn <<'EOW'; | |
23 | $ENV{PERL_MM_FALLBACK_SILENCE_WARNING} or warn <<'EOW'; | |
24 | 24 | *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING *** |
25 | 25 | |
26 | If you're seeing this warning, your toolchain is really, really old and you'll | |
26 | If you're seeing this warning, your toolchain is really, really old* and you'll | |
27 | 27 | almost certainly have problems installing CPAN modules from this century. But |
28 | 28 | never fear, dear user, for we have the technology to fix this! |
29 | 29 | |
44 | 44 | This public service announcement was brought to you by the Perl Toolchain |
45 | 45 | Gang, the irc.perl.org #toolchain IRC channel, and the number 42. |
46 | 46 | |
47 | ---- | |
48 | ||
49 | * Alternatively, you are doing something overly clever, in which case you | |
50 | should consider setting the 'prefer_installer' config option in CPAN.pm, or | |
51 | 'prefer_makefile' in CPANPLUS, to 'mb" and '0' respectively. | |
52 | ||
53 | You can also silence this warning for future installations by setting the | |
54 | PERL_MM_FALLBACK_SILENCE_WARNING environment variable. | |
55 | ||
47 | 56 | EOW |
48 | 57 | |
49 | sleep 10 if -t STDIN; | |
58 | sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT)); | |
50 | 59 | } |
51 | 60 | } |
52 | 61 | |
53 | 62 | use 5.006; |
54 | ||
55 | use ExtUtils::MakeMaker 6.30; | |
56 | ||
57 | ||
63 | use ExtUtils::MakeMaker; | |
58 | 64 | |
59 | 65 | my %WriteMakefileArgs = ( |
60 | "ABSTRACT" => "A Moose role for setting attributes from a simple configfile", | |
66 | "ABSTRACT" => "A Moose role for setting attributes from a simple configuration file", | |
61 | 67 | "AUTHOR" => "Brandon L. Black <blblack\@gmail.com>", |
62 | "BUILD_REQUIRES" => {}, | |
63 | 68 | "CONFIGURE_REQUIRES" => { |
64 | "ExtUtils::MakeMaker" => "6.30", | |
65 | "Module::Build::Tiny" => "0.030" | |
69 | "Module::Build::Tiny" => "0.039" | |
66 | 70 | }, |
67 | 71 | "DISTNAME" => "MooseX-SimpleConfig", |
68 | 72 | "EXE_FILES" => [], |
69 | 73 | "LICENSE" => "perl", |
74 | "MIN_PERL_VERSION" => "5.006", | |
70 | 75 | "NAME" => "MooseX::SimpleConfig", |
71 | 76 | "PREREQ_PM" => { |
72 | 77 | "Config::Any" => "0.13", |
75 | 80 | }, |
76 | 81 | "TEST_REQUIRES" => { |
77 | 82 | "ExtUtils::MakeMaker" => 0, |
83 | "File::Spec" => 0, | |
78 | 84 | "File::Spec::Functions" => 0, |
79 | 85 | "File::Temp" => 0, |
80 | "List::Util" => 0, | |
81 | 86 | "Moose" => 0, |
82 | 87 | "Test::Fatal" => 0, |
83 | "Test::More" => 0, | |
84 | "Test::Requires" => 0, | |
88 | "Test::More" => "0.88", | |
85 | 89 | "lib" => 0, |
86 | 90 | "strict" => 0, |
87 | 91 | "warnings" => 0 |
88 | 92 | }, |
89 | "VERSION" => "0.10", | |
93 | "VERSION" => "0.11", | |
90 | 94 | "test" => { |
91 | 95 | "TESTS" => "t/*.t" |
92 | 96 | } |
93 | 97 | ); |
94 | 98 | |
99 | my %FallbackPrereqs = ( | |
100 | "Config::Any" => "0.13", | |
101 | "ExtUtils::MakeMaker" => 0, | |
102 | "File::Spec" => 0, | |
103 | "File::Spec::Functions" => 0, | |
104 | "File::Temp" => 0, | |
105 | "Module::Build::Tiny" => "0.039", | |
106 | "Moose" => 0, | |
107 | "Moose::Role" => 0, | |
108 | "MooseX::ConfigFromFile" => 0, | |
109 | "Test::Fatal" => 0, | |
110 | "Test::More" => "0.88", | |
111 | "lib" => 0, | |
112 | "strict" => 0, | |
113 | "warnings" => 0 | |
114 | ); | |
95 | 115 | |
96 | 116 | unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) { |
97 | my $tr = delete $WriteMakefileArgs{TEST_REQUIRES}; | |
98 | my $br = $WriteMakefileArgs{BUILD_REQUIRES}; | |
99 | for my $mod ( keys %$tr ) { | |
100 | if ( exists $br->{$mod} ) { | |
101 | $br->{$mod} = $tr->{$mod} if $tr->{$mod} > $br->{$mod}; | |
102 | } | |
103 | else { | |
104 | $br->{$mod} = $tr->{$mod}; | |
105 | } | |
106 | } | |
107 | } | |
108 | ||
109 | unless ( eval { ExtUtils::MakeMaker->VERSION(6.56) } ) { | |
110 | my $br = delete $WriteMakefileArgs{BUILD_REQUIRES}; | |
111 | my $pp = $WriteMakefileArgs{PREREQ_PM}; | |
112 | for my $mod ( keys %$br ) { | |
113 | if ( exists $pp->{$mod} ) { | |
114 | $pp->{$mod} = $br->{$mod} if $br->{$mod} > $pp->{$mod}; | |
115 | } | |
116 | else { | |
117 | $pp->{$mod} = $br->{$mod}; | |
118 | } | |
119 | } | |
117 | delete $WriteMakefileArgs{TEST_REQUIRES}; | |
118 | delete $WriteMakefileArgs{BUILD_REQUIRES}; | |
119 | $WriteMakefileArgs{PREREQ_PM} = \%FallbackPrereqs; | |
120 | 120 | } |
121 | 121 | |
122 | 122 | delete $WriteMakefileArgs{CONFIGURE_REQUIRES} |
123 | 123 | unless eval { ExtUtils::MakeMaker->VERSION(6.52) }; |
124 | 124 | |
125 | 125 | WriteMakefile(%WriteMakefileArgs); |
126 | ||
127 | ||
128 |
0 | 0 | |
1 | 1 | |
2 | 2 | This archive contains the distribution MooseX-SimpleConfig, |
3 | version 0.10: | |
3 | version 0.11: | |
4 | 4 | |
5 | A Moose role for setting attributes from a simple configfile | |
5 | A Moose role for setting attributes from a simple configuration file | |
6 | 6 | |
7 | 7 | This software is copyright (c) 2007 by Brandon L. Black <blblack@gmail.com>. |
8 | 8 | |
10 | 10 | the same terms as the Perl 5 programming language system itself. |
11 | 11 | |
12 | 12 | |
13 | This README file was generated by Dist::Zilla::Plugin::Readme v5.025. | |
14 |
0 | # NAME | |
1 | ||
2 | MooseX::SimpleConfig - A Moose role for setting attributes from a simple configfile | |
3 | ||
4 | # VERSION | |
5 | ||
6 | version 0.10 | |
7 | ||
8 | # SYNOPSIS | |
9 | ||
10 | ## A YAML configfile named /etc/my_app.yaml: | |
11 | foo: bar | |
12 | baz: 123 | |
13 | ||
14 | ## In your class | |
15 | package My::App; | |
16 | use Moose; | |
17 | ||
18 | with 'MooseX::SimpleConfig'; | |
19 | ||
20 | has 'foo' => (is => 'ro', isa => 'Str', required => 1); | |
21 | has 'baz' => (is => 'rw', isa => 'Int', required => 1); | |
22 | ||
23 | # ... rest of the class here | |
24 | ||
25 | ## in your script | |
26 | #!/usr/bin/perl | |
27 | ||
28 | use My::App; | |
29 | ||
30 | my $app = My::App->new_with_config(configfile => '/etc/my_app.yaml'); | |
31 | # ... rest of the script here | |
32 | ||
33 | #################### | |
34 | ###### combined with MooseX::Getopt: | |
35 | ||
36 | ## In your class | |
37 | package My::App; | |
38 | use Moose; | |
39 | ||
40 | with 'MooseX::SimpleConfig'; | |
41 | with 'MooseX::Getopt'; | |
42 | ||
43 | has 'foo' => (is => 'ro', isa => 'Str', required => 1); | |
44 | has 'baz' => (is => 'rw', isa => 'Int', required => 1); | |
45 | ||
46 | # ... rest of the class here | |
47 | ||
48 | ## in your script | |
49 | #!/usr/bin/perl | |
50 | ||
51 | use My::App; | |
52 | ||
53 | my $app = My::App->new_with_options(); | |
54 | # ... rest of the script here | |
55 | ||
56 | ## on the command line | |
57 | % perl my_app_script.pl -configfile /etc/my_app.yaml -otherthing 123 | |
58 | ||
59 | # DESCRIPTION | |
60 | ||
61 | This role loads simple configfiles to set object attributes. It | |
62 | is based on the abstract role [MooseX::ConfigFromFile](http://search.cpan.org/perldoc?MooseX::ConfigFromFile), and uses | |
63 | [Config::Any](http://search.cpan.org/perldoc?Config::Any) to load your configfile. [Config::Any](http://search.cpan.org/perldoc?Config::Any) will in | |
64 | turn support any of a variety of different config formats, detected | |
65 | by the file extension. See [Config::Any](http://search.cpan.org/perldoc?Config::Any) for more details about | |
66 | supported formats. | |
67 | ||
68 | To pass additional arguments to [Config::Any](http://search.cpan.org/perldoc?Config::Any) you must provide a | |
69 | `config_any_args()` method, for example: | |
70 | ||
71 | sub config_any_args { | |
72 | return { | |
73 | driver_args => { General => { '-InterPolateVars' => 1 } } | |
74 | }; | |
75 | } | |
76 | ||
77 | Like all [MooseX::ConfigFromFile](http://search.cpan.org/perldoc?MooseX::ConfigFromFile) -derived configfile loaders, this | |
78 | module is automatically supported by the [MooseX::Getopt](http://search.cpan.org/perldoc?MooseX::Getopt) role as | |
79 | well, which allows specifying `-configfile` on the command line. | |
80 | ||
81 | # ATTRIBUTES | |
82 | ||
83 | ## configfile | |
84 | ||
85 | Provided by the base role [MooseX::ConfigFromFile](http://search.cpan.org/perldoc?MooseX::ConfigFromFile). You can | |
86 | provide a default configfile pathname like so: | |
87 | ||
88 | has '+configfile' => ( default => '/etc/myapp.yaml' ); | |
89 | ||
90 | You can pass an array of filenames if you want, but as usual the array | |
91 | has to be wrapped in a sub ref. | |
92 | ||
93 | has '+configfile' => ( default => sub { [ '/etc/myapp.yaml', '/etc/myapp_local.yml' ] } ); | |
94 | ||
95 | Config files are trivially merged at the top level, with the right-hand files taking precedence. | |
96 | ||
97 | # CLASS METHODS | |
98 | ||
99 | ## new\_with\_config | |
100 | ||
101 | Provided by the base role [MooseX::ConfigFromFile](http://search.cpan.org/perldoc?MooseX::ConfigFromFile). Acts just like | |
102 | regular `new()`, but also accepts an argument `configfile` to specify | |
103 | the configfile from which to load other attributes. Explicit arguments | |
104 | to `new_with_config` will override anything loaded from the configfile. | |
105 | ||
106 | ## get\_config\_from\_file | |
107 | ||
108 | Called internally by either `new_with_config` or [MooseX::Getopt](http://search.cpan.org/perldoc?MooseX::Getopt)'s | |
109 | `new_with_options`. Invokes [Config::Any](http://search.cpan.org/perldoc?Config::Any) to parse `configfile`. | |
110 | ||
111 | # AUTHOR | |
112 | ||
113 | Brandon L. Black <blblack@gmail.com> | |
114 | ||
115 | # COPYRIGHT AND LICENSE | |
116 | ||
117 | This software is copyright (c) 2007 by Brandon L. Black <blblack@gmail.com>. | |
118 | ||
119 | This is free software; you can redistribute it and/or modify it under | |
120 | the same terms as the Perl 5 programming language system itself. | |
121 | ||
122 | # CONTRIBUTORS | |
123 | ||
124 | - Alex Howarth <alex.howarth@gmail.com> | |
125 | - Alexander Hartmaier <alex.hartmaier@gmail.com> | |
126 | - Brandon L Black <blblack@gmail.com> | |
127 | - Karen Etheridge <ether@cpan.org> | |
128 | - Tomas Doran <bobtfish@bobtfish.net> | |
129 | - Yuval Kogman <nothingmuch@woobling.org> | |
130 | - Zbigniew Lukasiak <zby@cpan.org> | |
131 | - lestrrat <lestrrat+github@gmail.com> |
4 | 4 | copyright_year = 2007 |
5 | 5 | |
6 | 6 | [@Author::ETHER] |
7 | :version = 0.039 | |
7 | :version = 0.068 | |
8 | 8 | server = github |
9 | 9 | Authority.authority = cpan:STEVAN |
10 | Test::ReportPrereqs.include = Dist::CheckConflicts | |
10 | 11 | |
11 | 12 | [Prereqs / DevelopRequires] |
12 | Config::General = 0 | |
13 | 13 | YAML = 0 |
14 | 14 | YAML::Syck = 0 |
15 | 15 | |
20 | 20 | |
21 | 21 | [MetaResources] |
22 | 22 | x_IRC = irc://irc.perl.org/#moose |
23 | x_MailingList = http://http://lists.perl.org/list/moose.html | |
23 | x_MailingList = http://lists.perl.org/list/moose.html | |
24 | 24 | |
25 | ; authordep Pod::Weaver::Section::Contributors | |
25 | ; authordep Pod::Weaver = 4 | |
26 | ; authordep Pod::Weaver::Section::Contributors = 0.008 | |
26 | 27 | |
27 | [ContributorsFromGit] | |
28 | [Test::CheckBreaks] | |
29 | conflicts_module = Moose::Conflicts | |
30 | ||
31 | [Test::CleanNamespaces] |
0 | 0 | package MooseX::SimpleConfig; |
1 | { | |
2 | $MooseX::SimpleConfig::VERSION = '0.10'; | |
3 | } | |
4 | # git description: v0.09-15-g258236b | |
5 | ||
6 | BEGIN { | |
7 | $MooseX::SimpleConfig::AUTHORITY = 'cpan:STEVAN'; | |
8 | } | |
9 | # ABSTRACT: A Moose role for setting attributes from a simple configfile | |
1 | # git description: v0.10-12-gf8c77cf | |
2 | $MooseX::SimpleConfig::VERSION = '0.11'; | |
3 | # ABSTRACT: A Moose role for setting attributes from a simple configuration file | |
4 | # KEYWORDS: moose extension command line options attributes configuration file | |
10 | 5 | |
11 | 6 | use Moose::Role; |
12 | 7 | with 'MooseX::ConfigFromFile'; |
56 | 51 | |
57 | 52 | =encoding UTF-8 |
58 | 53 | |
59 | =for :stopwords Brandon L. Black <blblack@gmail.com> Alex Doran Yuval Kogman Zbigniew | |
60 | Lukasiak lestrrat Howarth Alexander Hartmaier L Karen Etheridge Tomas | |
61 | configfile | |
62 | ||
63 | 54 | =head1 NAME |
64 | 55 | |
65 | MooseX::SimpleConfig - A Moose role for setting attributes from a simple configfile | |
56 | MooseX::SimpleConfig - A Moose role for setting attributes from a simple configuration file | |
66 | 57 | |
67 | 58 | =head1 VERSION |
68 | 59 | |
69 | version 0.10 | |
60 | version 0.11 | |
70 | 61 | |
71 | 62 | =head1 SYNOPSIS |
72 | 63 | |
121 | 112 | |
122 | 113 | =head1 DESCRIPTION |
123 | 114 | |
124 | This role loads simple configfiles to set object attributes. It | |
115 | This role loads simple files to set object attributes. It | |
125 | 116 | is based on the abstract role L<MooseX::ConfigFromFile>, and uses |
126 | L<Config::Any> to load your configfile. L<Config::Any> will in | |
117 | L<Config::Any> to load your configuration file. L<Config::Any> will in | |
127 | 118 | turn support any of a variety of different config formats, detected |
128 | 119 | by the file extension. See L<Config::Any> for more details about |
129 | 120 | supported formats. |
137 | 128 | }; |
138 | 129 | } |
139 | 130 | |
140 | Like all L<MooseX::ConfigFromFile> -derived configfile loaders, this | |
131 | Like all L<MooseX::ConfigFromFile> -derived file loaders, this | |
141 | 132 | module is automatically supported by the L<MooseX::Getopt> role as |
142 | 133 | well, which allows specifying C<-configfile> on the command line. |
143 | 134 | |
144 | 135 | =head1 ATTRIBUTES |
145 | 136 | |
137 | =for stopwords configfile | |
138 | ||
146 | 139 | =head2 configfile |
147 | 140 | |
148 | 141 | Provided by the base role L<MooseX::ConfigFromFile>. You can |
149 | provide a default configfile pathname like so: | |
142 | provide a default configuration file pathname like so: | |
150 | 143 | |
151 | 144 | has '+configfile' => ( default => '/etc/myapp.yaml' ); |
152 | 145 | |
163 | 156 | |
164 | 157 | Provided by the base role L<MooseX::ConfigFromFile>. Acts just like |
165 | 158 | regular C<new()>, but also accepts an argument C<configfile> to specify |
166 | the configfile from which to load other attributes. Explicit arguments | |
167 | to C<new_with_config> will override anything loaded from the configfile. | |
159 | the file from which to load other attributes. Explicit arguments | |
160 | to C<new_with_config> will override anything loaded from the file. | |
168 | 161 | |
169 | 162 | =head2 get_config_from_file |
170 | 163 | |
184 | 177 | |
185 | 178 | =head1 CONTRIBUTORS |
186 | 179 | |
180 | =for stopwords Karen Etheridge Tomas Doran Brandon L Black Alexander Hartmaier lestrrat Сергей Романов Yuval Kogman Zbigniew Lukasiak Alex Howarth | |
181 | ||
187 | 182 | =over 4 |
188 | 183 | |
189 | 184 | =item * |
190 | 185 | |
186 | Karen Etheridge <ether@cpan.org> | |
187 | ||
188 | =item * | |
189 | ||
190 | Tomas Doran <bobtfish@bobtfish.net> | |
191 | ||
192 | =item * | |
193 | ||
194 | Brandon L Black <blblack@gmail.com> | |
195 | ||
196 | =item * | |
197 | ||
198 | Alexander Hartmaier <alex.hartmaier@gmail.com> | |
199 | ||
200 | =item * | |
201 | ||
202 | lestrrat <lestrrat+github@gmail.com> | |
203 | ||
204 | =item * | |
205 | ||
206 | Сергей Романов <sromanov@cpan.org> | |
207 | ||
208 | =item * | |
209 | ||
210 | Yuval Kogman <nothingmuch@woobling.org> | |
211 | ||
212 | =item * | |
213 | ||
214 | Zbigniew Lukasiak <zby@cpan.org> | |
215 | ||
216 | =item * | |
217 | ||
191 | 218 | Alex Howarth <alex.howarth@gmail.com> |
192 | 219 | |
193 | =item * | |
194 | ||
195 | Alexander Hartmaier <alex.hartmaier@gmail.com> | |
196 | ||
197 | =item * | |
198 | ||
199 | Brandon L Black <blblack@gmail.com> | |
200 | ||
201 | =item * | |
202 | ||
203 | Karen Etheridge <ether@cpan.org> | |
204 | ||
205 | =item * | |
206 | ||
207 | Tomas Doran <bobtfish@bobtfish.net> | |
208 | ||
209 | =item * | |
210 | ||
211 | Yuval Kogman <nothingmuch@woobling.org> | |
212 | ||
213 | =item * | |
214 | ||
215 | Zbigniew Lukasiak <zby@cpan.org> | |
216 | ||
217 | =item * | |
218 | ||
219 | lestrrat <lestrrat+github@gmail.com> | |
220 | ||
221 | 220 | =back |
222 | 221 | |
223 | 222 | =cut |
0 | do { my $x = { | |
1 | 'configure' => { | |
2 | 'requires' => { | |
3 | 'Module::Build::Tiny' => '0.039', | |
4 | 'perl' => '5.004' | |
5 | } | |
6 | }, | |
7 | 'develop' => { | |
8 | 'recommends' => { | |
9 | 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.079' | |
10 | }, | |
11 | 'requires' => { | |
12 | 'Dist::Zilla' => '5', | |
13 | 'Dist::Zilla::Plugin::Authority' => '0', | |
14 | 'Dist::Zilla::Plugin::AuthorityFromModule' => '0.002', | |
15 | 'Dist::Zilla::Plugin::AutoMetaResources' => '0', | |
16 | 'Dist::Zilla::Plugin::AutoPrereqs' => '0', | |
17 | 'Dist::Zilla::Plugin::CheckIssues' => '0', | |
18 | 'Dist::Zilla::Plugin::CheckPrereqsIndexed' => '0', | |
19 | 'Dist::Zilla::Plugin::CheckSelfDependency' => '0', | |
20 | 'Dist::Zilla::Plugin::CheckStrictVersion' => '0', | |
21 | 'Dist::Zilla::Plugin::ConfirmRelease' => '0', | |
22 | 'Dist::Zilla::Plugin::CopyFilesFromRelease' => '0', | |
23 | 'Dist::Zilla::Plugin::ExecDir' => '0', | |
24 | 'Dist::Zilla::Plugin::FileFinder::ByName' => '0', | |
25 | 'Dist::Zilla::Plugin::GenerateFile::ShareDir' => '0', | |
26 | 'Dist::Zilla::Plugin::Git::Check' => '2.025', | |
27 | 'Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch' => '0.004', | |
28 | 'Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts' => '0', | |
29 | 'Dist::Zilla::Plugin::Git::Commit' => '2.020', | |
30 | 'Dist::Zilla::Plugin::Git::Contributors' => '0.004', | |
31 | 'Dist::Zilla::Plugin::Git::Describe' => '0', | |
32 | 'Dist::Zilla::Plugin::Git::GatherDir' => '2.016', | |
33 | 'Dist::Zilla::Plugin::Git::NextVersion' => '0', | |
34 | 'Dist::Zilla::Plugin::Git::Push' => '0', | |
35 | 'Dist::Zilla::Plugin::Git::Remote::Check' => '0', | |
36 | 'Dist::Zilla::Plugin::Git::Tag' => '0', | |
37 | 'Dist::Zilla::Plugin::GitHub::Update' => '0', | |
38 | 'Dist::Zilla::Plugin::GithubMeta' => '0', | |
39 | 'Dist::Zilla::Plugin::InstallGuide' => '0', | |
40 | 'Dist::Zilla::Plugin::Keywords' => '0.004', | |
41 | 'Dist::Zilla::Plugin::License' => '0', | |
42 | 'Dist::Zilla::Plugin::MakeMaker::Fallback' => '0.012', | |
43 | 'Dist::Zilla::Plugin::Manifest' => '0', | |
44 | 'Dist::Zilla::Plugin::MetaConfig' => '0', | |
45 | 'Dist::Zilla::Plugin::MetaJSON' => '0', | |
46 | 'Dist::Zilla::Plugin::MetaNoIndex' => '0', | |
47 | 'Dist::Zilla::Plugin::MetaProvides::Package' => '1.15000002', | |
48 | 'Dist::Zilla::Plugin::MetaResources' => '0', | |
49 | 'Dist::Zilla::Plugin::MetaTests' => '0', | |
50 | 'Dist::Zilla::Plugin::MetaYAML' => '0', | |
51 | 'Dist::Zilla::Plugin::MinimumPerl' => '1.006', | |
52 | 'Dist::Zilla::Plugin::ModuleBuildTiny::Fallback' => '0.006', | |
53 | 'Dist::Zilla::Plugin::MojibakeTests' => '0', | |
54 | 'Dist::Zilla::Plugin::NextRelease' => '4.300018', | |
55 | 'Dist::Zilla::Plugin::PkgVersion' => '5.010', | |
56 | 'Dist::Zilla::Plugin::PodCoverageTests' => '0', | |
57 | 'Dist::Zilla::Plugin::PodSyntaxTests' => '0', | |
58 | 'Dist::Zilla::Plugin::PodWeaver' => '4.005', | |
59 | 'Dist::Zilla::Plugin::Prereqs' => '0', | |
60 | 'Dist::Zilla::Plugin::Prereqs::AuthorDeps' => '0', | |
61 | 'Dist::Zilla::Plugin::PromptIfStale' => '0', | |
62 | 'Dist::Zilla::Plugin::Readme' => '0', | |
63 | 'Dist::Zilla::Plugin::ReadmeAnyFromPod' => '0.142180', | |
64 | 'Dist::Zilla::Plugin::RemovePrereqs' => '0', | |
65 | 'Dist::Zilla::Plugin::Run::AfterBuild' => '0.024', | |
66 | 'Dist::Zilla::Plugin::Run::AfterRelease' => '0.024', | |
67 | 'Dist::Zilla::Plugin::RunExtraTests' => '0.024', | |
68 | 'Dist::Zilla::Plugin::ShareDir' => '0', | |
69 | 'Dist::Zilla::Plugin::Test::CPAN::Changes' => '0.008', | |
70 | 'Dist::Zilla::Plugin::Test::ChangesHasContent' => '0', | |
71 | 'Dist::Zilla::Plugin::Test::CheckBreaks' => '0', | |
72 | 'Dist::Zilla::Plugin::Test::CleanNamespaces' => '0', | |
73 | 'Dist::Zilla::Plugin::Test::Compile' => '2.039', | |
74 | 'Dist::Zilla::Plugin::Test::EOL' => '0.14', | |
75 | 'Dist::Zilla::Plugin::Test::Kwalitee' => '2.06', | |
76 | 'Dist::Zilla::Plugin::Test::MinimumVersion' => '2.000003', | |
77 | 'Dist::Zilla::Plugin::Test::NoTabs' => '0.08', | |
78 | 'Dist::Zilla::Plugin::Test::Pod::No404s' => '0', | |
79 | 'Dist::Zilla::Plugin::Test::PodSpelling' => '2.006001', | |
80 | 'Dist::Zilla::Plugin::Test::Portability' => '0', | |
81 | 'Dist::Zilla::Plugin::Test::ReportPrereqs' => '0.019', | |
82 | 'Dist::Zilla::Plugin::TestRelease' => '0', | |
83 | 'Dist::Zilla::Plugin::UploadToCPAN' => '0', | |
84 | 'Dist::Zilla::PluginBundle::Author::ETHER' => '0.068', | |
85 | 'File::Spec' => '0', | |
86 | 'IO::Handle' => '0', | |
87 | 'IPC::Open3' => '0', | |
88 | 'Pod::Coverage::TrustPod' => '0', | |
89 | 'Pod::Weaver' => '4', | |
90 | 'Pod::Weaver::Section::Contributors' => '0.008', | |
91 | 'Test::CPAN::Changes' => '0.19', | |
92 | 'Test::CPAN::Meta' => '0', | |
93 | 'Test::CleanNamespaces' => '0.15', | |
94 | 'Test::EOL' => '0', | |
95 | 'Test::Kwalitee' => '1.21', | |
96 | 'Test::More' => '0.94', | |
97 | 'Test::NoTabs' => '0', | |
98 | 'Test::Pod' => '1.41', | |
99 | 'Test::Pod::Coverage' => '1.08', | |
100 | 'Test::Spelling' => '0.12', | |
101 | 'YAML' => '0', | |
102 | 'YAML::Syck' => '0' | |
103 | } | |
104 | }, | |
105 | 'runtime' => { | |
106 | 'requires' => { | |
107 | 'Config::Any' => '0.13', | |
108 | 'Moose::Role' => '0', | |
109 | 'MooseX::ConfigFromFile' => '0', | |
110 | 'perl' => '5.006' | |
111 | } | |
112 | }, | |
113 | 'test' => { | |
114 | 'recommends' => { | |
115 | 'CPAN::Meta' => '2.120900' | |
116 | }, | |
117 | 'requires' => { | |
118 | 'ExtUtils::MakeMaker' => '0', | |
119 | 'File::Spec' => '0', | |
120 | 'File::Spec::Functions' => '0', | |
121 | 'File::Temp' => '0', | |
122 | 'Moose' => '0', | |
123 | 'Test::Fatal' => '0', | |
124 | 'Test::More' => '0.88', | |
125 | 'lib' => '0', | |
126 | 'perl' => '5.006', | |
127 | 'strict' => '0', | |
128 | 'warnings' => '0' | |
129 | } | |
130 | } | |
131 | }; | |
132 | $x; | |
133 | }⏎ |
2 | 2 | use strict; |
3 | 3 | use warnings; |
4 | 4 | |
5 | # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.010 | |
5 | # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.019 | |
6 | 6 | |
7 | 7 | use Test::More tests => 1; |
8 | 8 | |
9 | 9 | use ExtUtils::MakeMaker; |
10 | use File::Spec::Functions; | |
11 | use List::Util qw/max/; | |
10 | use File::Spec; | |
12 | 11 | |
13 | my @modules = qw( | |
14 | CPAN::Meta | |
15 | CPAN::Meta::Requirements | |
16 | Config::Any | |
17 | ExtUtils::MakeMaker | |
18 | File::Spec::Functions | |
19 | File::Temp | |
20 | List::Util | |
21 | Module::Build::Tiny | |
22 | Moose | |
23 | Moose::Role | |
24 | MooseX::ConfigFromFile | |
25 | Test::Fatal | |
26 | Test::More | |
27 | Test::Requires | |
28 | lib | |
29 | perl | |
30 | strict | |
31 | warnings | |
12 | # from $version::LAX | |
13 | my $lax_version_re = | |
14 | qr/(?: undef | (?: (?:[0-9]+) (?: \. | (?:\.[0-9]+) (?:_[0-9]+)? )? | |
15 | | | |
16 | (?:\.[0-9]+) (?:_[0-9]+)? | |
17 | ) | (?: | |
18 | v (?:[0-9]+) (?: (?:\.[0-9]+)+ (?:_[0-9]+)? )? | |
19 | | | |
20 | (?:[0-9]+)? (?:\.[0-9]+){2,} (?:_[0-9]+)? | |
21 | ) | |
22 | )/x; | |
23 | ||
24 | # hide optional CPAN::Meta modules from prereq scanner | |
25 | # and check if they are available | |
26 | my $cpan_meta = "CPAN::Meta"; | |
27 | my $cpan_meta_pre = "CPAN::Meta::Prereqs"; | |
28 | my $HAS_CPAN_META = eval "require $cpan_meta; $cpan_meta->VERSION('2.120900')" && eval "require $cpan_meta_pre"; ## no critic | |
29 | ||
30 | # Verify requirements? | |
31 | my $DO_VERIFY_PREREQS = 1; | |
32 | ||
33 | sub _max { | |
34 | my $max = shift; | |
35 | $max = ( $_ > $max ) ? $_ : $max for @_; | |
36 | return $max; | |
37 | } | |
38 | ||
39 | sub _merge_prereqs { | |
40 | my ($collector, $prereqs) = @_; | |
41 | ||
42 | # CPAN::Meta::Prereqs object | |
43 | if (ref $collector eq $cpan_meta_pre) { | |
44 | return $collector->with_merged_prereqs( | |
45 | CPAN::Meta::Prereqs->new( $prereqs ) | |
46 | ); | |
47 | } | |
48 | ||
49 | # Raw hashrefs | |
50 | for my $phase ( keys %$prereqs ) { | |
51 | for my $type ( keys %{ $prereqs->{$phase} } ) { | |
52 | for my $module ( keys %{ $prereqs->{$phase}{$type} } ) { | |
53 | $collector->{$phase}{$type}{$module} = $prereqs->{$phase}{$type}{$module}; | |
54 | } | |
55 | } | |
56 | } | |
57 | ||
58 | return $collector; | |
59 | } | |
60 | ||
61 | my @include = qw( | |
62 | Dist::CheckConflicts | |
32 | 63 | ); |
33 | 64 | |
34 | my %exclude = map {; $_ => 1 } qw( | |
65 | my @exclude = qw( | |
35 | 66 | |
36 | 67 | ); |
37 | 68 | |
38 | my ($source) = grep { -f $_ } qw/MYMETA.json MYMETA.yml META.json/; | |
39 | $source = "META.yml" unless defined $source; | |
69 | # Add static prereqs to the included modules list | |
70 | my $static_prereqs = do 't/00-report-prereqs.dd'; | |
40 | 71 | |
41 | # replace modules with dynamic results from MYMETA.json if we can | |
42 | # (hide CPAN::Meta from prereq scanner) | |
43 | my $cpan_meta = "CPAN::Meta"; | |
44 | my $cpan_meta_req = "CPAN::Meta::Requirements"; | |
45 | my $all_requires; | |
46 | if ( -f $source && eval "require $cpan_meta" ) { ## no critic | |
47 | if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { | |
72 | # Merge all prereqs (either with ::Prereqs or a hashref) | |
73 | my $full_prereqs = _merge_prereqs( | |
74 | ( $HAS_CPAN_META ? $cpan_meta_pre->new : {} ), | |
75 | $static_prereqs | |
76 | ); | |
48 | 77 | |
49 | # Get ALL modules mentioned in META (any phase/type) | |
50 | my $prereqs = $meta->prereqs; | |
51 | delete $prereqs->{develop} if not $ENV{AUTHOR_TESTING}; | |
52 | my %uniq = map {$_ => 1} map { keys %$_ } map { values %$_ } values %$prereqs; | |
53 | $uniq{$_} = 1 for @modules; # don't lose any static ones | |
54 | @modules = sort grep { ! $exclude{$_} } keys %uniq; | |
55 | ||
56 | # If verifying, merge 'requires' only for major phases | |
57 | if ( 1 ) { | |
58 | $prereqs = $meta->effective_prereqs; # get the object, not the hash | |
59 | if (eval "require $cpan_meta_req; 1") { ## no critic | |
60 | $all_requires = $cpan_meta_req->new; | |
61 | for my $phase ( qw/configure build test runtime/ ) { | |
62 | $all_requires->add_requirements( | |
63 | $prereqs->requirements_for($phase, 'requires') | |
64 | ); | |
65 | } | |
66 | } | |
78 | # Add dynamic prereqs to the included modules list (if we can) | |
79 | my ($source) = grep { -f } 'MYMETA.json', 'MYMETA.yml'; | |
80 | if ( $source && $HAS_CPAN_META ) { | |
81 | if ( my $meta = eval { CPAN::Meta->load_file($source) } ) { | |
82 | $full_prereqs = _merge_prereqs($full_prereqs, $meta->prereqs); | |
67 | 83 | } |
68 | } | |
84 | } | |
85 | else { | |
86 | $source = 'static metadata'; | |
69 | 87 | } |
70 | 88 | |
71 | my @reports = [qw/Version Module/]; | |
89 | my @full_reports; | |
72 | 90 | my @dep_errors; |
73 | my $req_hash = defined($all_requires) ? $all_requires->as_string_hash : {}; | |
91 | my $req_hash = $HAS_CPAN_META ? $full_prereqs->as_string_hash : $full_prereqs; | |
74 | 92 | |
75 | for my $mod ( @modules ) { | |
76 | next if $mod eq 'perl'; | |
77 | my $file = $mod; | |
78 | $file =~ s{::}{/}g; | |
79 | $file .= ".pm"; | |
80 | my ($prefix) = grep { -e catfile($_, $file) } @INC; | |
81 | if ( $prefix ) { | |
82 | my $ver = MM->parse_version( catfile($prefix, $file) ); | |
83 | $ver = "undef" unless defined $ver; # Newer MM should do this anyway | |
84 | push @reports, [$ver, $mod]; | |
85 | ||
86 | if ( 1 && $all_requires ) { | |
87 | my $req = $req_hash->{$mod}; | |
88 | if ( defined $req && length $req ) { | |
89 | if ( ! defined eval { version->parse($ver) } ) { | |
90 | push @dep_errors, "$mod version '$ver' cannot be parsed (version '$req' required)"; | |
91 | } | |
92 | elsif ( ! $all_requires->accepts_module( $mod => $ver ) ) { | |
93 | push @dep_errors, "$mod version '$ver' is not in required range '$req'"; | |
94 | } | |
95 | } | |
96 | } | |
97 | ||
98 | } | |
99 | else { | |
100 | push @reports, ["missing", $mod]; | |
101 | ||
102 | if ( 1 && $all_requires ) { | |
103 | my $req = $req_hash->{$mod}; | |
104 | if ( defined $req && length $req ) { | |
105 | push @dep_errors, "$mod is not installed (version '$req' required)"; | |
106 | } | |
107 | } | |
108 | } | |
93 | # Add static includes into a fake section | |
94 | for my $mod (@include) { | |
95 | $req_hash->{other}{modules}{$mod} = 0; | |
109 | 96 | } |
110 | 97 | |
111 | if ( @reports ) { | |
112 | my $vl = max map { length $_->[0] } @reports; | |
113 | my $ml = max map { length $_->[1] } @reports; | |
114 | splice @reports, 1, 0, ["-" x $vl, "-" x $ml]; | |
115 | diag "\nVersions for all modules listed in $source (including optional ones):\n", | |
116 | map {sprintf(" %*s %*s\n",$vl,$_->[0],-$ml,$_->[1])} @reports; | |
98 | for my $phase ( qw(configure build test runtime develop other) ) { | |
99 | next unless $req_hash->{$phase}; | |
100 | next if ($phase eq 'develop' and not $ENV{AUTHOR_TESTING}); | |
101 | ||
102 | for my $type ( qw(requires recommends suggests conflicts modules) ) { | |
103 | next unless $req_hash->{$phase}{$type}; | |
104 | ||
105 | my $title = ucfirst($phase).' '.ucfirst($type); | |
106 | my @reports = [qw/Module Want Have/]; | |
107 | ||
108 | for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { | |
109 | next if $mod eq 'perl'; | |
110 | next if grep { $_ eq $mod } @exclude; | |
111 | ||
112 | my $file = $mod; | |
113 | $file =~ s{::}{/}g; | |
114 | $file .= ".pm"; | |
115 | my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; | |
116 | ||
117 | my $want = $req_hash->{$phase}{$type}{$mod}; | |
118 | $want = "undef" unless defined $want; | |
119 | $want = "any" if !$want && $want == 0; | |
120 | ||
121 | my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; | |
122 | ||
123 | if ($prefix) { | |
124 | my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); | |
125 | $have = "undef" unless defined $have; | |
126 | push @reports, [$mod, $want, $have]; | |
127 | ||
128 | if ( $DO_VERIFY_PREREQS && $HAS_CPAN_META && $type eq 'requires' ) { | |
129 | if ( $have !~ /\A$lax_version_re\z/ ) { | |
130 | push @dep_errors, "$mod version '$have' cannot be parsed ($req_string)"; | |
131 | } | |
132 | elsif ( ! $full_prereqs->requirements_for( $phase, $type )->accepts_module( $mod => $have ) ) { | |
133 | push @dep_errors, "$mod version '$have' is not in required range '$want'"; | |
134 | } | |
135 | } | |
136 | } | |
137 | else { | |
138 | push @reports, [$mod, $want, "missing"]; | |
139 | ||
140 | if ( $DO_VERIFY_PREREQS && $type eq 'requires' ) { | |
141 | push @dep_errors, "$mod is not installed ($req_string)"; | |
142 | } | |
143 | } | |
144 | } | |
145 | ||
146 | if ( @reports ) { | |
147 | push @full_reports, "=== $title ===\n\n"; | |
148 | ||
149 | my $ml = _max( map { length $_->[0] } @reports ); | |
150 | my $wl = _max( map { length $_->[1] } @reports ); | |
151 | my $hl = _max( map { length $_->[2] } @reports ); | |
152 | splice @reports, 1, 0, ["-" x $ml, "-" x $wl, "-" x $hl]; | |
153 | ||
154 | push @full_reports, map { sprintf(" %*s %*s %*s\n", -$ml, $_->[0], $wl, $_->[1], $hl, $_->[2]) } @reports; | |
155 | push @full_reports, "\n"; | |
156 | } | |
157 | } | |
158 | } | |
159 | ||
160 | if ( @full_reports ) { | |
161 | diag "\nVersions for all modules listed in $source (including optional ones):\n\n", @full_reports; | |
117 | 162 | } |
118 | 163 | |
119 | 164 | if ( @dep_errors ) { |
120 | diag join("\n", | |
121 | "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", | |
122 | "The following REQUIRED prerequisites were not satisfied:\n", | |
123 | @dep_errors, | |
124 | "\n" | |
125 | ); | |
165 | diag join("\n", | |
166 | "\n*** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***\n", | |
167 | "The following REQUIRED prerequisites were not satisfied:\n", | |
168 | @dep_errors, | |
169 | "\n" | |
170 | ); | |
126 | 171 | } |
127 | 172 | |
128 | 173 | pass; |
129 | 174 | |
130 | # vim: ts=2 sts=2 sw=2 et: | |
175 | # vim: ts=4 sts=4 sw=4 et: |
3 | 3 | use lib 't/lib'; |
4 | 4 | |
5 | 5 | use Test::More tests => 6; |
6 | use Test::Requires 'Config::General'; | |
7 | 6 | use Test::Fatal; |
8 | 7 | use File::Temp 'tempdir'; |
9 | 8 | use File::Spec::Functions; |
22 | 21 | # Can it load a simple YAML file with the options |
23 | 22 | { |
24 | 23 | my $tempdir = tempdir(DIR => 't', CLEANUP => 1); |
25 | my $configfile = catfile($tempdir, 'test.conf'); | |
24 | my $configfile = catfile($tempdir, 'test.pl'); | |
26 | 25 | |
27 | open(my $test_conf, '>', $configfile) | |
26 | open(my $test_pl, '>', $configfile) | |
28 | 27 | or die "Cannot create $configfile: $!"; |
29 | print $test_conf <<EOM; | |
30 | Direct_Attr 123 | |
31 | Inherited_Ro_Attr asdf | |
32 | Req_Attr foo | |
28 | print $test_pl <<EOM; | |
29 | { | |
30 | direct_attr => 123, | |
31 | inherited_ro_attr => 'asdf', | |
32 | req_attr => 'foo', | |
33 | } | |
33 | 34 | EOM |
34 | close($test_conf); | |
35 | close($test_pl); | |
35 | 36 | |
36 | 37 | my $foo; |
37 | 38 | is( |
0 | use strict; | |
1 | use warnings; | |
2 | ||
3 | # this test was generated with Dist::Zilla::Plugin::Test::CheckBreaks 0.011 | |
4 | ||
5 | use Test::More 0.88; | |
6 | ||
7 | SKIP: { | |
8 | eval 'require Moose::Conflicts; Moose::Conflicts->check_conflicts'; | |
9 | skip('no Moose::Conflicts module found', 1) if not $INC{'Moose/Conflicts.pm'}; | |
10 | ||
11 | diag $@ if $@; | |
12 | pass 'conflicts checked via Moose::Conflicts'; | |
13 | } | |
14 | ||
15 | pass 'no x_breaks data to check'; | |
16 | ||
17 | done_testing; |
0 | use 5.006; | |
0 | 1 | use strict; |
1 | 2 | use warnings; |
2 | 3 | |
3 | # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.037 | |
4 | # this test was generated with Dist::Zilla::Plugin::Test::Compile 2.051 | |
4 | 5 | |
5 | use Test::More 0.94 tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); | |
6 | use Test::More 0.94; | |
6 | 7 | |
7 | ||
8 | plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0); | |
8 | 9 | |
9 | 10 | my @module_files = ( |
10 | 11 | 'MooseX/SimpleConfig.pm' |
20 | 21 | use IPC::Open3; |
21 | 22 | use IO::Handle; |
22 | 23 | |
24 | open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; | |
25 | ||
23 | 26 | my @warnings; |
24 | 27 | for my $lib (@module_files) |
25 | 28 | { |
26 | 29 | # see L<perlfaq8/How can I capture STDERR from an external command?> |
27 | open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!"; | |
28 | 30 | my $stderr = IO::Handle->new; |
29 | 31 | |
30 | 32 | my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]"); |
42 | 44 | |
43 | 45 | |
44 | 46 | |
45 | is(scalar(@warnings), 0, 'no warnings found') if $ENV{AUTHOR_TESTING}; | |
47 | is(scalar(@warnings), 0, 'no warnings found') | |
48 | or diag 'got warnings: ', explain(\@warnings) if $ENV{AUTHOR_TESTING}; | |
46 | 49 | |
47 | 50 | BAIL_OUT("Compilation problems") if !Test::More->builder->is_passing; |
0 | use strict; | |
1 | use warnings; | |
2 | ||
3 | # this test was generated with Dist::Zilla::Plugin::Test::CleanNamespaces 0.006 | |
4 | ||
5 | use Test::More 0.94; | |
6 | use Test::CleanNamespaces 0.15; | |
7 | ||
8 | subtest all_namespaces_clean => sub { all_namespaces_clean() }; | |
9 | ||
10 | done_testing; |
0 | use strict; | |
1 | use warnings; | |
2 | use Test::More; | |
3 | ||
4 | # generated by Dist::Zilla::Plugin::Test::EOL 0.15 | |
5 | use Test::EOL; | |
6 | ||
7 | all_perl_files_ok({ trailing_whitespace => 1 }); |
0 | use strict; | |
1 | use warnings; | |
2 | ||
3 | # this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.09 | |
4 | ||
5 | use Test::More 0.88; | |
6 | use Test::NoTabs; | |
7 | ||
8 | my @files = ( | |
9 | 'lib/MooseX/SimpleConfig.pm', | |
10 | 't/00-report-prereqs.dd', | |
11 | 't/00-report-prereqs.t', | |
12 | 't/01use.t', | |
13 | 't/10simple.t', | |
14 | 't/11default.t', | |
15 | 't/12config_any_args.t', | |
16 | 't/lib/MXDefaultConfigTest.pm', | |
17 | 't/lib/MXDefaultMultipleConfigsTest.pm', | |
18 | 't/lib/MXDriverArgsConfigTest.pm', | |
19 | 't/lib/MXSimpleConfigTest.pm', | |
20 | 't/multiple.t', | |
21 | 't/zzz-check-breaks.t', | |
22 | 'xt/author/00-compile.t', | |
23 | 'xt/author/clean-namespaces.t', | |
24 | 'xt/author/eol.t', | |
25 | 'xt/author/no-tabs.t', | |
26 | 'xt/author/pod-spell.t', | |
27 | 'xt/release/changes_has_content.t', | |
28 | 'xt/release/cpan-changes.t', | |
29 | 'xt/release/distmeta.t', | |
30 | 'xt/release/kwalitee.t', | |
31 | 'xt/release/minimum-version.t', | |
32 | 'xt/release/mojibake.t', | |
33 | 'xt/release/pod-coverage.t', | |
34 | 'xt/release/pod-no404s.t', | |
35 | 'xt/release/pod-syntax.t', | |
36 | 'xt/release/portability.t' | |
37 | ); | |
38 | ||
39 | notabs_ok($_) foreach @files; | |
40 | done_testing; |
1 | 1 | use warnings; |
2 | 2 | use Test::More; |
3 | 3 | |
4 | # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006001 | |
4 | # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008 | |
5 | 5 | use Test::Spelling 0.12; |
6 | 6 | use Pod::Wordlist; |
7 | 7 | |
12 | 12 | Brandon |
13 | 13 | Black |
14 | 14 | blblack |
15 | Alex | |
16 | Howarth | |
17 | alex | |
18 | Alexander | |
19 | Hartmaier | |
20 | 15 | Karen |
21 | 16 | Etheridge |
22 | 17 | ether |
23 | 18 | Tomas |
24 | 19 | Doran |
25 | 20 | bobtfish |
21 | Alexander | |
22 | Hartmaier | |
23 | alex | |
24 | lestrrat | |
25 | Сергей | |
26 | Романов | |
27 | sromanov | |
26 | 28 | Yuval |
27 | 29 | Kogman |
28 | 30 | nothingmuch |
29 | 31 | Zbigniew |
30 | 32 | Lukasiak |
31 | 33 | zby |
32 | lestrrat | |
34 | Alex | |
35 | Howarth | |
33 | 36 | lib |
34 | 37 | MooseX |
35 | 38 | SimpleConfig |
3 | 3 | |
4 | 4 | note 'Checking Changes'; |
5 | 5 | my $changes_file = 'Changes'; |
6 | my $newver = '0.10'; | |
6 | my $newver = '0.11'; | |
7 | 7 | my $trial_token = '-TRIAL'; |
8 | 8 | |
9 | 9 | SKIP: { |
0 | 0 | #!perl |
1 | # This file was automatically generated by Dist::Zilla::Plugin::MetaTests. | |
1 | 2 | |
2 | use Test::More; | |
3 | use Test::CPAN::Meta; | |
3 | 4 | |
4 | eval "use Test::CPAN::Meta"; | |
5 | plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@; | |
6 | 5 | meta_yaml_ok(); |
0 | use strict; | |
1 | use warnings; | |
2 | use Test::More; | |
3 | ||
4 | eval 'use Test::EOL'; | |
5 | plan skip_all => 'Test::EOL required' if $@; | |
6 | ||
7 | all_perl_files_ok({ trailing_whitespace => 1 }); |
0 | # this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.07 | |
0 | # this test was generated with Dist::Zilla::Plugin::Test::Kwalitee 2.11 | |
1 | 1 | use strict; |
2 | 2 | use warnings; |
3 | use Test::Kwalitee; | |
3 | use Test::More 0.88; | |
4 | use Test::Kwalitee 1.21 'kwalitee_ok'; | |
5 | ||
6 | kwalitee_ok(); | |
7 | ||
8 | done_testing; |
0 | use strict; | |
1 | use warnings; | |
2 | ||
3 | # this test was generated with Dist::Zilla::Plugin::Test::NoTabs 0.05 | |
4 | ||
5 | use Test::More 0.88; | |
6 | use Test::NoTabs; | |
7 | ||
8 | my @files = ( | |
9 | 'lib/MooseX/SimpleConfig.pm' | |
10 | ); | |
11 | ||
12 | notabs_ok($_) foreach @files; | |
13 | done_testing; |
0 | 0 | #!perl |
1 | # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests. | |
1 | 2 | |
2 | use Test::More; | |
3 | ||
4 | eval "use Test::Pod::Coverage 1.08"; | |
5 | plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage" | |
6 | if $@; | |
7 | ||
8 | eval "use Pod::Coverage::TrustPod"; | |
9 | plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage" | |
10 | if $@; | |
3 | use Test::Pod::Coverage 1.08; | |
4 | use Pod::Coverage::TrustPod; | |
11 | 5 | |
12 | 6 | all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' }); |
0 | 0 | #!perl |
1 | # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests. | |
1 | 2 | use Test::More; |
2 | ||
3 | eval "use Test::Pod 1.41"; | |
4 | plan skip_all => "Test::Pod 1.41 required for testing POD" if $@; | |
3 | use Test::Pod 1.41; | |
5 | 4 | |
6 | 5 | all_pod_files_ok(); |
0 | #!perl | |
1 | ||
2 | use strict; | |
3 | use warnings; | |
4 | ||
5 | use Test::More; | |
6 | ||
7 | eval 'use Test::Portability::Files'; | |
8 | plan skip_all => 'Test::Portability::Files required for testing portability' | |
9 | if $@; | |
10 | run_tests(); |
0 | use strict; | |
1 | use warnings; | |
2 | use Test::More; | |
3 | ||
4 | # generated by Dist::Zilla::Plugin::Test::Version 0.002004 | |
5 | BEGIN { eval "use Test::Version; 1;" or die $@; } | |
6 | ||
7 | my @imports = ( 'version_all_ok' ); | |
8 | ||
9 | my $params = { | |
10 | is_strict => 1, | |
11 | has_version => 1, | |
12 | }; | |
13 | ||
14 | push @imports, $params | |
15 | if version->parse( $Test::Version::VERSION ) >= version->parse('1.002'); | |
16 | ||
17 | ||
18 | Test::Version->import(@imports); | |
19 | ||
20 | version_all_ok; | |
21 | done_testing; |