Codebase list libmoosex-simpleconfig-perl / 1ac299c
Merge tag 'upstream/0.11' Upstream version 0.11 gregor herrmann 8 years ago
33 changed file(s) with 1789 addition(s) and 942 deletion(s). Raw diff Collapse all Expand all
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 }
33 Thank you for considering contributing to this distribution. This file
44 contains instructions that will help you work with the source code.
55
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).
916
1017 However, you can run tests directly using the 'prove' tool:
1118
3037 your CPAN client:
3138
3239 $ cpan `dzil authordeps --missing`
40 or
3341 $ dzil authordeps --missing | cpanm
3442
3543 You should then also install any additional requirements not needed by the
3644 dzil build but may be needed by tests or other development:
3745
38 # cpan `dzil listdeps --author --missing`
46 $ cpan `dzil listdeps --author --missing`
47 or
3948 $ 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
4057
4158 You can also do this via cpanm directly:
4259
4966 $ dzil test --release
5067 $ dzil xtest
5168 $ dzil listdeps --json
52 $ dzil build --not
69 $ dzil build --notgz
5370
5471 You can learn more about Dist::Zilla at http://dzil.org/.
5572
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
5875 You can submit code changes by forking the repository, pushing your code
5976 changes to your clone, and then submitting a pull request. Detailed
6077 instructions for doing that is available here:
6178
62 https://help.github.com/
6379 https://help.github.com/articles/creating-a-pull-request
6480
6581 If you have found a bug, but do not have an accompanying patch to fix it, you
6884 or via bug-MooseX-SimpleConfig@rt.cpan.org.
6985
7086 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.
7296
7397
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.
00 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
14
25 0.10 2013-11-13 01:13:05Z
36 - repository migrated from shadowcat to the github moose organization
0
10 This is the Perl distribution MooseX-SimpleConfig.
21
32 Installing MooseX-SimpleConfig is straightforward.
2121 Version 1, February 1989
2222
2323 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
2525
2626 Everyone is permitted to copy and distribute verbatim copies
2727 of this license document, but changing it is not allowed.
0 # This file was automatically generated by Dist::Zilla::Plugin::Manifest v5.025.
01 Build.PL
12 CONTRIBUTING
23 Changes
78 META.yml
89 Makefile.PL
910 README
10 README.md
1111 dist.ini
1212 lib/MooseX/SimpleConfig.pm
13 t/00-report-prereqs.dd
1314 t/00-report-prereqs.t
1415 t/01use.t
1516 t/10simple.t
2021 t/lib/MXDriverArgsConfigTest.pm
2122 t/lib/MXSimpleConfigTest.pm
2223 t/multiple.t
24 t/zzz-check-breaks.t
2325 weaver.ini
2426 xt/author/00-compile.t
27 xt/author/clean-namespaces.t
28 xt/author/eol.t
29 xt/author/no-tabs.t
2530 xt/author/pod-spell.t
2631 xt/release/changes_has_content.t
2732 xt/release/cpan-changes.t
2833 xt/release/distmeta.t
29 xt/release/eol.t
3034 xt/release/kwalitee.t
3135 xt/release/minimum-version.t
3236 xt/release/mojibake.t
33 xt/release/no-tabs.t
3437 xt/release/pod-coverage.t
3538 xt/release/pod-no404s.t
3639 xt/release/pod-syntax.t
37 xt/release/test-version.t
38 xt/release/unused-vars.t
40 xt/release/portability.t
00 {
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",
22 "author" : [
33 "Brandon L. Black <blblack@gmail.com>"
44 ],
55 "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 ],
717 "license" : [
818 "perl_5"
919 ],
1525 "no_index" : {
1626 "directory" : [
1727 "t",
18 "xt",
19 "examples"
28 "xt"
2029 ]
2130 },
2231 "prereqs" : {
2332 "configure" : {
2433 "requires" : {
25 "ExtUtils::MakeMaker" : "6.30",
26 "Module::Build::Tiny" : "0.030"
34 "Module::Build::Tiny" : "0.039",
35 "perl" : "5.004"
2736 }
2837 },
2938 "develop" : {
3039 "recommends" : {
31 "Dist::Zilla::PluginBundle::Author::ETHER" : "0.040"
40 "Dist::Zilla::PluginBundle::Author::ETHER" : "0.079"
3241 },
3342 "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",
3768 "Dist::Zilla::Plugin::GitHub::Update" : "0",
3869 "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",
4079 "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",
4290 "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",
4395 "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",
45116 "File::Spec" : "0",
46117 "IO::Handle" : "0",
47118 "IPC::Open3" : "0",
48119 "Pod::Coverage::TrustPod" : "0",
49 "Pod::Weaver::Section::Contributors" : "0",
120 "Pod::Weaver" : "4",
121 "Pod::Weaver::Section::Contributors" : "0.008",
50122 "Test::CPAN::Changes" : "0.19",
51123 "Test::CPAN::Meta" : "0",
52 "Test::Kwalitee" : "1.12",
124 "Test::CleanNamespaces" : "0.15",
125 "Test::EOL" : "0",
126 "Test::Kwalitee" : "1.21",
53127 "Test::More" : "0.94",
54128 "Test::NoTabs" : "0",
55129 "Test::Pod" : "1.41",
56130 "Test::Pod::Coverage" : "1.08",
131 "Test::Spelling" : "0.12",
57132 "YAML" : "0",
58133 "YAML::Syck" : "0"
59134 }
68143 },
69144 "test" : {
70145 "recommends" : {
71 "CPAN::Meta" : "0",
72 "CPAN::Meta::Requirements" : "0"
146 "CPAN::Meta" : "2.120900"
73147 },
74148 "requires" : {
75149 "ExtUtils::MakeMaker" : "0",
150 "File::Spec" : "0",
76151 "File::Spec::Functions" : "0",
77152 "File::Temp" : "0",
78 "List::Util" : "0",
79153 "Moose" : "0",
80154 "Test::Fatal" : "0",
81 "Test::More" : "0",
82 "Test::Requires" : "0",
155 "Test::More" : "0.88",
83156 "lib" : "0",
157 "perl" : "5.006",
84158 "strict" : "0",
85159 "warnings" : "0"
86160 }
89163 "provides" : {
90164 "MooseX::SimpleConfig" : {
91165 "file" : "lib/MooseX/SimpleConfig.pm",
92 "version" : "0.10"
166 "version" : "0.11"
93167 }
94168 },
95169 "release_status" : "stable",
105179 "web" : "https://github.com/moose/MooseX-SimpleConfig"
106180 },
107181 "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"
109183 },
110 "version" : "0.10",
184 "version" : "0.11",
111185 "x_Dist_Zilla" : {
112186 "perl" : {
113 "version" : "5.019005"
187 "version" : "5.021005"
114188 },
115189 "plugins" : [
116190 {
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 {
117202 "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 },
118213 "name" : "@Author::ETHER/Git::NextVersion",
119 "version" : "2.017"
214 "version" : "2.025"
120215 },
121216 {
122217 "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"
125231 },
126232 {
127233 "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"
130245 },
131246 {
132247 "class" : "Dist::Zilla::Plugin::ExecDir",
133248 "name" : "@Author::ETHER/ExecDir",
134 "version" : "5.006"
249 "version" : "5.025"
135250 },
136251 {
137252 "class" : "Dist::Zilla::Plugin::ShareDir",
138253 "name" : "@Author::ETHER/ShareDir",
139 "version" : "5.006"
254 "version" : "5.025"
140255 },
141256 {
142257 "class" : "Dist::Zilla::Plugin::FileFinder::ByName",
143258 "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"
145265 },
146266 {
147267 "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 },
148290 "name" : "@Author::ETHER/Git::GatherDir",
149 "version" : "2.017"
291 "version" : "2.025"
150292 },
151293 {
152294 "class" : "Dist::Zilla::Plugin::MetaYAML",
153295 "name" : "@Author::ETHER/MetaYAML",
154 "version" : "5.006"
296 "version" : "5.025"
155297 },
156298 {
157299 "class" : "Dist::Zilla::Plugin::MetaJSON",
158300 "name" : "@Author::ETHER/MetaJSON",
159 "version" : "5.006"
301 "version" : "5.025"
160302 },
161303 {
162304 "class" : "Dist::Zilla::Plugin::License",
163305 "name" : "@Author::ETHER/License",
164 "version" : "5.006"
306 "version" : "5.025"
165307 },
166308 {
167309 "class" : "Dist::Zilla::Plugin::Readme",
168310 "name" : "@Author::ETHER/Readme",
169 "version" : "5.006"
311 "version" : "5.025"
170312 },
171313 {
172314 "class" : "Dist::Zilla::Plugin::Manifest",
173315 "name" : "@Author::ETHER/Manifest",
174 "version" : "5.006"
316 "version" : "5.025"
175317 },
176318 {
177319 "class" : "Dist::Zilla::Plugin::GenerateFile::ShareDir",
180322 "destination_filename" : "CONTRIBUTING",
181323 "dist" : "Dist-Zilla-PluginBundle-Author-ETHER",
182324 "encoding" : "UTF-8",
325 "has_xs" : 0,
183326 "source_filename" : "CONTRIBUTING"
184327 }
185328 },
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"
188336 },
189337 {
190338 "class" : "Dist::Zilla::Plugin::Test::Compile",
191339 "config" : {
192340 "Dist::Zilla::Plugin::Test::Compile" : {
341 "bail_out_on_fail" : "1",
342 "fail_on_warning" : "author",
343 "fake_home" : "0",
193344 "filename" : "xt/author/00-compile.t",
194345 "module_finder" : [
195346 ":InstallModules"
196347 ],
348 "needs_display" : "0",
349 "phase" : "develop",
197350 "script_finder" : [
198351 ":ExecFiles",
199352 "@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"
200371 ]
201372 }
202373 },
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 },
219374 "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"
226386 },
227387 {
228388 "class" : "Dist::Zilla::Plugin::MetaTests",
229389 "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"
236391 },
237392 {
238393 "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes",
242397 {
243398 "class" : "Dist::Zilla::Plugin::Test::ChangesHasContent",
244399 "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"
251401 },
252402 {
253403 "class" : "Dist::Zilla::Plugin::Test::MinimumVersion",
257407 {
258408 "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
259409 "name" : "@Author::ETHER/PodSyntaxTests",
260 "version" : "5.006"
410 "version" : "5.025"
261411 },
262412 {
263413 "class" : "Dist::Zilla::Plugin::PodCoverageTests",
264414 "name" : "@Author::ETHER/PodCoverageTests",
265 "version" : "5.006"
415 "version" : "5.025"
266416 },
267417 {
268418 "class" : "Dist::Zilla::Plugin::Test::PodSpelling",
269419 "name" : "@Author::ETHER/Test::PodSpelling",
270 "version" : "2.006001"
420 "version" : "2.006008"
271421 },
272422 {
273423 "class" : "Dist::Zilla::Plugin::Test::Pod::No404s",
276426 },
277427 {
278428 "class" : "Dist::Zilla::Plugin::Test::Kwalitee",
429 "config" : {
430 "Dist::Zilla::Plugin::Test::Kwalitee" : {
431 "filename" : "xt/release/kwalitee.t",
432 "skiptest" : []
433 }
434 },
279435 "name" : "@Author::ETHER/Test::Kwalitee",
280 "version" : "2.07"
436 "version" : "2.11"
281437 },
282438 {
283439 "class" : "Dist::Zilla::Plugin::MojibakeTests",
284440 "name" : "@Author::ETHER/MojibakeTests",
285 "version" : "0.5"
441 "version" : "0.7"
286442 },
287443 {
288444 "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
289445 "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"
306452 },
307453 {
308454 "class" : "Dist::Zilla::Plugin::Git::Describe",
312458 {
313459 "class" : "Dist::Zilla::Plugin::PkgVersion",
314460 "name" : "@Author::ETHER/PkgVersion",
315 "version" : "5.006"
461 "version" : "5.025"
316462 },
317463 {
318464 "class" : "Dist::Zilla::Plugin::PodWeaver",
326472 {
327473 "class" : "Pod::Weaver::Plugin::EnsurePod5",
328474 "name" : "@CorePrep/EnsurePod5",
329 "version" : "4.004"
475 "version" : "4.008"
330476 },
331477 {
332478 "class" : "Pod::Weaver::Plugin::H1Nester",
333479 "name" : "@CorePrep/H1Nester",
334 "version" : "4.004"
480 "version" : "4.008"
335481 },
336482 {
337483 "class" : "Pod::Weaver::Plugin::SingleEncoding",
338484 "name" : "@Default/SingleEncoding",
339 "version" : "4.004"
485 "version" : "4.008"
340486 },
341487 {
342488 "class" : "Pod::Weaver::Section::Name",
343489 "name" : "@Default/Name",
344 "version" : "4.004"
490 "version" : "4.008"
345491 },
346492 {
347493 "class" : "Pod::Weaver::Section::Version",
348494 "name" : "@Default/Version",
349 "version" : "4.004"
495 "version" : "4.008"
350496 },
351497 {
352498 "class" : "Pod::Weaver::Section::Region",
353499 "name" : "@Default/prelude",
354 "version" : "4.004"
500 "version" : "4.008"
355501 },
356502 {
357503 "class" : "Pod::Weaver::Section::Generic",
358504 "name" : "SYNOPSIS",
359 "version" : "4.004"
505 "version" : "4.008"
360506 },
361507 {
362508 "class" : "Pod::Weaver::Section::Generic",
363509 "name" : "DESCRIPTION",
364 "version" : "4.004"
510 "version" : "4.008"
365511 },
366512 {
367513 "class" : "Pod::Weaver::Section::Generic",
368514 "name" : "OVERVIEW",
369 "version" : "4.004"
515 "version" : "4.008"
370516 },
371517 {
372518 "class" : "Pod::Weaver::Section::Collect",
373519 "name" : "ATTRIBUTES",
374 "version" : "4.004"
520 "version" : "4.008"
375521 },
376522 {
377523 "class" : "Pod::Weaver::Section::Collect",
378524 "name" : "METHODS",
379 "version" : "4.004"
525 "version" : "4.008"
380526 },
381527 {
382528 "class" : "Pod::Weaver::Section::Collect",
383529 "name" : "FUNCTIONS",
384 "version" : "4.004"
530 "version" : "4.008"
385531 },
386532 {
387533 "class" : "Pod::Weaver::Section::Leftovers",
388534 "name" : "@Default/Leftovers",
389 "version" : "4.004"
535 "version" : "4.008"
390536 },
391537 {
392538 "class" : "Pod::Weaver::Section::Region",
393539 "name" : "@Default/postlude",
394 "version" : "4.004"
540 "version" : "4.008"
395541 },
396542 {
397543 "class" : "Pod::Weaver::Section::Authors",
398544 "name" : "@Default/Authors",
399 "version" : "4.004"
545 "version" : "4.008"
400546 },
401547 {
402548 "class" : "Pod::Weaver::Section::Legal",
403549 "name" : "@Default/Legal",
404 "version" : "4.004"
550 "version" : "4.008"
405551 },
406552 {
407553 "class" : "Pod::Weaver::Plugin::Transformer",
408554 "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"
420556 },
421557 {
422558 "class" : "Pod::Weaver::Section::Contributors",
423559 "name" : "Contributors",
424 "version" : "0.006"
560 "version" : "0.008"
425561 }
426562 ]
427563 }
428564 },
429565 "name" : "@Author::ETHER/PodWeaver",
430 "version" : "4.002"
566 "version" : "4.006"
431567 },
432568 {
433569 "class" : "Dist::Zilla::Plugin::NextRelease",
434570 "name" : "@Author::ETHER/NextRelease",
435 "version" : "5.006"
571 "version" : "5.025"
436572 },
437573 {
438574 "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
439575 "name" : "@Author::ETHER/ReadmeAnyFromPod",
440 "version" : "0.133060"
576 "version" : "0.142470"
441577 },
442578 {
443579 "class" : "Dist::Zilla::Plugin::GithubMeta",
444580 "name" : "@Author::ETHER/GithubMeta",
445 "version" : "0.42"
581 "version" : "0.46"
446582 },
447583 {
448584 "class" : "Dist::Zilla::Plugin::AutoMetaResources",
450586 "version" : "1.20"
451587 },
452588 {
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 {
453604 "class" : "Dist::Zilla::Plugin::MetaNoIndex",
454605 "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"
461607 },
462608 {
463609 "class" : "Dist::Zilla::Plugin::MetaProvides::Package",
464610 "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 },
466623 "Dist::Zilla::Role::MetaProvider::Provider" : {
467624 "inherit_missing" : "1",
468625 "inherit_version" : "1",
470627 }
471628 },
472629 "name" : "@Author::ETHER/MetaProvides::Package",
473 "version" : "1.15000000"
630 "version" : "2.001002"
474631 },
475632 {
476633 "class" : "Dist::Zilla::Plugin::MetaConfig",
477634 "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"
479668 },
480669 {
481670 "class" : "Dist::Zilla::Plugin::AutoPrereqs",
482671 "name" : "@Author::ETHER/AutoPrereqs",
483 "version" : "5.006"
672 "version" : "5.025"
484673 },
485674 {
486675 "class" : "Dist::Zilla::Plugin::Prereqs::AuthorDeps",
487676 "name" : "@Author::ETHER/Prereqs::AuthorDeps",
488 "version" : "0.002"
677 "version" : "0.004"
489678 },
490679 {
491680 "class" : "Dist::Zilla::Plugin::MinimumPerl",
492681 "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"
494978 },
495979 {
496980 "class" : "Dist::Zilla::Plugin::Prereqs",
500984 "type" : "requires"
501985 }
502986 },
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 },
641987 "name" : "DevelopRequires",
642 "version" : "5.006"
988 "version" : "5.025"
643989 },
644990 {
645991 "class" : "Dist::Zilla::Plugin::RemovePrereqs",
653999 }
6541000 },
6551001 "name" : "RemovePrereqs",
656 "version" : "5.006"
1002 "version" : "5.025"
6571003 },
6581004 {
6591005 "class" : "Dist::Zilla::Plugin::MetaResources",
6601006 "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",
6661028 "version" : "0.006"
6671029 },
6681030 {
6691031 "class" : "Dist::Zilla::Plugin::FinderCode",
6701032 "name" : ":InstallModules",
671 "version" : "5.006"
1033 "version" : "5.025"
6721034 },
6731035 {
6741036 "class" : "Dist::Zilla::Plugin::FinderCode",
6751037 "name" : ":IncModules",
676 "version" : "5.006"
1038 "version" : "5.025"
6771039 },
6781040 {
6791041 "class" : "Dist::Zilla::Plugin::FinderCode",
6801042 "name" : ":TestFiles",
681 "version" : "5.006"
1043 "version" : "5.025"
6821044 },
6831045 {
6841046 "class" : "Dist::Zilla::Plugin::FinderCode",
6851047 "name" : ":ExecFiles",
686 "version" : "5.006"
1048 "version" : "5.025"
6871049 },
6881050 {
6891051 "class" : "Dist::Zilla::Plugin::FinderCode",
6901052 "name" : ":ShareFiles",
691 "version" : "5.006"
1053 "version" : "5.025"
6921054 },
6931055 {
6941056 "class" : "Dist::Zilla::Plugin::FinderCode",
6951057 "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"
6971074 }
6981075 ],
6991076 "zilla" : {
7011078 "config" : {
7021079 "is_trial" : "0"
7031080 },
704 "version" : "5.006"
1081 "version" : "5.025"
7051082 }
7061083 },
7071084 "x_authority" : "cpan:STEVAN",
1085 "x_authority_from_module" : "MooseX::SimpleConfig",
7081086 "x_contributors" : [
709 "Alex Howarth <alex.howarth@gmail.com>",
710 "Alexander Hartmaier <alex.hartmaier@gmail.com>",
711 "Brandon L Black <blblack@gmail.com>",
7121087 "Karen Etheridge <ether@cpan.org>",
7131088 "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>",
7141093 "Yuval Kogman <nothingmuch@woobling.org>",
7151094 "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"
7181098 }
7191099
+421
-197
META.yml less more
00 ---
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'
22 author:
33 - 'Brandon L. Black <blblack@gmail.com>'
44 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'
1616 configure_requires:
17 ExtUtils::MakeMaker: 6.30
18 Module::Build::Tiny: 0.030
17 Module::Build::Tiny: '0.039'
18 perl: '5.004'
1919 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
2130 license: perl
2231 meta-spec:
2332 url: http://module-build.sourceforge.net/META-spec-v1.4.html
24 version: 1.4
33 version: '1.4'
2534 name: MooseX-SimpleConfig
2635 no_index:
2736 directory:
2837 - t
2938 - xt
30 - examples
3139 provides:
3240 MooseX::SimpleConfig:
3341 file: lib/MooseX/SimpleConfig.pm
34 version: 0.10
42 version: '0.11'
3543 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'
4048 resources:
4149 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
4351 bugtracker: https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-SimpleConfig
4452 homepage: https://github.com/moose/MooseX-SimpleConfig
4553 repository: https://github.com/moose/MooseX-SimpleConfig.git
46 version: 0.10
54 version: '0.11'
4755 x_Dist_Zilla:
4856 perl:
49 version: 5.019005
57 version: '5.021005'
5058 plugins:
5159 -
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 -
5268 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: .
5376 name: '@Author::ETHER/Git::NextVersion'
54 version: 2.017
77 version: '2.025'
5578 -
5679 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'
5990 -
6091 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'
63101 -
64102 class: Dist::Zilla::Plugin::ExecDir
65103 name: '@Author::ETHER/ExecDir'
66 version: 5.006
104 version: '5.025'
67105 -
68106 class: Dist::Zilla::Plugin::ShareDir
69107 name: '@Author::ETHER/ShareDir'
70 version: 5.006
108 version: '5.025'
71109 -
72110 class: Dist::Zilla::Plugin::FileFinder::ByName
73111 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'
75117 -
76118 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: .
77136 name: '@Author::ETHER/Git::GatherDir'
78 version: 2.017
137 version: '2.025'
79138 -
80139 class: Dist::Zilla::Plugin::MetaYAML
81140 name: '@Author::ETHER/MetaYAML'
82 version: 5.006
141 version: '5.025'
83142 -
84143 class: Dist::Zilla::Plugin::MetaJSON
85144 name: '@Author::ETHER/MetaJSON'
86 version: 5.006
145 version: '5.025'
87146 -
88147 class: Dist::Zilla::Plugin::License
89148 name: '@Author::ETHER/License'
90 version: 5.006
149 version: '5.025'
91150 -
92151 class: Dist::Zilla::Plugin::Readme
93152 name: '@Author::ETHER/Readme'
94 version: 5.006
153 version: '5.025'
95154 -
96155 class: Dist::Zilla::Plugin::Manifest
97156 name: '@Author::ETHER/Manifest'
98 version: 5.006
157 version: '5.025'
99158 -
100159 class: Dist::Zilla::Plugin::GenerateFile::ShareDir
101160 config:
103162 destination_filename: CONTRIBUTING
104163 dist: Dist-Zilla-PluginBundle-Author-ETHER
105164 encoding: UTF-8
165 has_xs: 0
106166 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'
109173 -
110174 class: Dist::Zilla::Plugin::Test::Compile
111175 config:
112176 Dist::Zilla::Plugin::Test::Compile:
177 bail_out_on_fail: '1'
178 fail_on_warning: author
179 fake_home: '0'
113180 filename: xt/author/00-compile.t
114181 module_finder:
115182 - ':InstallModules'
183 needs_display: '0'
184 phase: develop
116185 script_finder:
117186 - ':ExecFiles'
118187 - '@Author::ETHER/Examples'
188 skips: []
119189 name: '@Author::ETHER/Test::Compile'
120 version: 2.037
190 version: '2.051'
121191 -
122192 class: Dist::Zilla::Plugin::Test::NoTabs
123193 config:
124194 Dist::Zilla::Plugin::Test::NoTabs:
125 module_finder:
195 filename: xt/author/no-tabs.t
196 finder:
126197 - ':InstallModules'
127 script_finder:
128198 - ':ExecFiles'
129199 - '@Author::ETHER/Examples'
200 - ':TestFiles'
201 - '@Author::ETHER/ExtraTestFiles'
130202 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'
136211 -
137212 class: Dist::Zilla::Plugin::MetaTests
138213 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'
144215 -
145216 class: Dist::Zilla::Plugin::Test::CPAN::Changes
146217 name: '@Author::ETHER/Test::CPAN::Changes'
147 version: 0.008
218 version: '0.008'
148219 -
149220 class: Dist::Zilla::Plugin::Test::ChangesHasContent
150221 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'
156223 -
157224 class: Dist::Zilla::Plugin::Test::MinimumVersion
158225 name: '@Author::ETHER/Test::MinimumVersion'
159 version: 2.000005
226 version: '2.000005'
160227 -
161228 class: Dist::Zilla::Plugin::PodSyntaxTests
162229 name: '@Author::ETHER/PodSyntaxTests'
163 version: 5.006
230 version: '5.025'
164231 -
165232 class: Dist::Zilla::Plugin::PodCoverageTests
166233 name: '@Author::ETHER/PodCoverageTests'
167 version: 5.006
234 version: '5.025'
168235 -
169236 class: Dist::Zilla::Plugin::Test::PodSpelling
170237 name: '@Author::ETHER/Test::PodSpelling'
171 version: 2.006001
238 version: '2.006008'
172239 -
173240 class: Dist::Zilla::Plugin::Test::Pod::No404s
174241 name: '@Author::ETHER/Test::Pod::No404s'
175 version: 1.001
242 version: '1.001'
176243 -
177244 class: Dist::Zilla::Plugin::Test::Kwalitee
245 config:
246 Dist::Zilla::Plugin::Test::Kwalitee:
247 filename: xt/release/kwalitee.t
248 skiptest: []
178249 name: '@Author::ETHER/Test::Kwalitee'
179 version: 2.07
250 version: '2.11'
180251 -
181252 class: Dist::Zilla::Plugin::MojibakeTests
182253 name: '@Author::ETHER/MojibakeTests'
183 version: 0.5
254 version: '0.7'
184255 -
185256 class: Dist::Zilla::Plugin::Test::ReportPrereqs
186257 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'
200263 -
201264 class: Dist::Zilla::Plugin::Git::Describe
202265 name: '@Author::ETHER/Git::Describe'
203 version: 0.003
266 version: '0.003'
204267 -
205268 class: Dist::Zilla::Plugin::PkgVersion
206269 name: '@Author::ETHER/PkgVersion'
207 version: 5.006
270 version: '5.025'
208271 -
209272 class: Dist::Zilla::Plugin::PodWeaver
210273 config:
216279 -
217280 class: Pod::Weaver::Plugin::EnsurePod5
218281 name: '@CorePrep/EnsurePod5'
219 version: 4.004
282 version: '4.008'
220283 -
221284 class: Pod::Weaver::Plugin::H1Nester
222285 name: '@CorePrep/H1Nester'
223 version: 4.004
286 version: '4.008'
224287 -
225288 class: Pod::Weaver::Plugin::SingleEncoding
226289 name: '@Default/SingleEncoding'
227 version: 4.004
290 version: '4.008'
228291 -
229292 class: Pod::Weaver::Section::Name
230293 name: '@Default/Name'
231 version: 4.004
294 version: '4.008'
232295 -
233296 class: Pod::Weaver::Section::Version
234297 name: '@Default/Version'
235 version: 4.004
298 version: '4.008'
236299 -
237300 class: Pod::Weaver::Section::Region
238301 name: '@Default/prelude'
239 version: 4.004
302 version: '4.008'
240303 -
241304 class: Pod::Weaver::Section::Generic
242305 name: SYNOPSIS
243 version: 4.004
306 version: '4.008'
244307 -
245308 class: Pod::Weaver::Section::Generic
246309 name: DESCRIPTION
247 version: 4.004
310 version: '4.008'
248311 -
249312 class: Pod::Weaver::Section::Generic
250313 name: OVERVIEW
251 version: 4.004
314 version: '4.008'
252315 -
253316 class: Pod::Weaver::Section::Collect
254317 name: ATTRIBUTES
255 version: 4.004
318 version: '4.008'
256319 -
257320 class: Pod::Weaver::Section::Collect
258321 name: METHODS
259 version: 4.004
322 version: '4.008'
260323 -
261324 class: Pod::Weaver::Section::Collect
262325 name: FUNCTIONS
263 version: 4.004
326 version: '4.008'
264327 -
265328 class: Pod::Weaver::Section::Leftovers
266329 name: '@Default/Leftovers'
267 version: 4.004
330 version: '4.008'
268331 -
269332 class: Pod::Weaver::Section::Region
270333 name: '@Default/postlude'
271 version: 4.004
334 version: '4.008'
272335 -
273336 class: Pod::Weaver::Section::Authors
274337 name: '@Default/Authors'
275 version: 4.004
338 version: '4.008'
276339 -
277340 class: Pod::Weaver::Section::Legal
278341 name: '@Default/Legal'
279 version: 4.004
342 version: '4.008'
280343 -
281344 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'
292347 -
293348 class: Pod::Weaver::Section::Contributors
294349 name: Contributors
295 version: 0.006
350 version: '0.008'
296351 name: '@Author::ETHER/PodWeaver'
297 version: 4.002
352 version: '4.006'
298353 -
299354 class: Dist::Zilla::Plugin::NextRelease
300355 name: '@Author::ETHER/NextRelease'
301 version: 5.006
356 version: '5.025'
302357 -
303358 class: Dist::Zilla::Plugin::ReadmeAnyFromPod
304359 name: '@Author::ETHER/ReadmeAnyFromPod'
305 version: 0.133060
360 version: '0.142470'
306361 -
307362 class: Dist::Zilla::Plugin::GithubMeta
308363 name: '@Author::ETHER/GithubMeta'
309 version: 0.42
364 version: '0.46'
310365 -
311366 class: Dist::Zilla::Plugin::AutoMetaResources
312367 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'
314380 -
315381 class: Dist::Zilla::Plugin::MetaNoIndex
316382 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'
322384 -
323385 class: Dist::Zilla::Plugin::MetaProvides::Package
324386 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'
326395 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'
330399 name: '@Author::ETHER/MetaProvides::Package'
331 version: 1.15000000
400 version: '2.001002'
332401 -
333402 class: Dist::Zilla::Plugin::MetaConfig
334403 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'
336430 -
337431 class: Dist::Zilla::Plugin::AutoPrereqs
338432 name: '@Author::ETHER/AutoPrereqs'
339 version: 5.006
433 version: '5.025'
340434 -
341435 class: Dist::Zilla::Plugin::Prereqs::AuthorDeps
342436 name: '@Author::ETHER/Prereqs::AuthorDeps'
343 version: 0.002
437 version: '0.004'
344438 -
345439 class: Dist::Zilla::Plugin::MinimumPerl
346440 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'
356442 -
357443 class: Dist::Zilla::Plugin::Prereqs
358444 config:
360446 phase: develop
361447 type: recommends
362448 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'
364480 -
365481 class: Dist::Zilla::Plugin::RunExtraTests
482 config:
483 Dist::Zilla::Role::TestRunner:
484 default_jobs: 9
366485 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'
380487 -
381488 class: Dist::Zilla::Plugin::CheckSelfDependency
489 config:
490 Dist::Zilla::Plugin::CheckSelfDependency:
491 finder:
492 - ':InstallModules'
382493 name: '@Author::ETHER/CheckSelfDependency'
383 version: 0.005
494 version: '0.008'
384495 -
385496 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'
388515 -
389516 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: .
390526 name: '@Author::ETHER/initial check'
391 version: 2.017
527 version: '2.025'
392528 -
393529 class: Dist::Zilla::Plugin::Git::CheckFor::MergeConflicts
530 config:
531 Dist::Zilla::Role::Git::Repo:
532 repo_root: .
394533 name: '@Author::ETHER/Git::CheckFor::MergeConflicts'
395 version: 0.008
534 version: '0.011'
396535 -
397536 class: Dist::Zilla::Plugin::Git::CheckFor::CorrectBranch
537 config:
538 Dist::Zilla::Role::Git::Repo:
539 repo_root: .
398540 name: '@Author::ETHER/Git::CheckFor::CorrectBranch'
399 version: 0.008
541 version: '0.011'
400542 -
401543 class: Dist::Zilla::Plugin::Git::Remote::Check
402544 name: '@Author::ETHER/Git::Remote::Check'
404546 -
405547 class: Dist::Zilla::Plugin::CheckPrereqsIndexed
406548 name: '@Author::ETHER/CheckPrereqsIndexed'
407 version: 0.009
549 version: '0.012'
408550 -
409551 class: Dist::Zilla::Plugin::TestRelease
410552 name: '@Author::ETHER/TestRelease'
411 version: 5.006
553 version: '5.025'
412554 -
413555 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: .
414565 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'
416571 -
417572 class: Dist::Zilla::Plugin::UploadToCPAN
418573 name: '@Author::ETHER/UploadToCPAN'
419 version: 5.006
574 version: '5.025'
420575 -
421576 class: Dist::Zilla::Plugin::CopyFilesFromRelease
577 config:
578 Dist::Zilla::Plugin::CopyFilesFromRelease:
579 filename:
580 - LICENSE
581 - CONTRIBUTING
582 match: []
422583 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'
424593 -
425594 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: .
426612 name: '@Author::ETHER/Git::Commit'
427 version: 2.017
613 version: '2.025'
428614 -
429615 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: .
430626 name: '@Author::ETHER/Git::Tag'
431 version: 2.017
627 version: '2.025'
432628 -
433629 class: Dist::Zilla::Plugin::GitHub::Update
434630 name: '@Author::ETHER/GitHub::Update'
435 version: 0.35
631 version: '0.38'
436632 -
437633 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: .
438641 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'
444650 -
445651 class: Dist::Zilla::Plugin::ConfirmRelease
446652 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'
456654 -
457655 class: Dist::Zilla::Plugin::Prereqs
458656 config:
460658 phase: develop
461659 type: requires
462660 name: DevelopRequires
463 version: 5.006
661 version: '5.025'
464662 -
465663 class: Dist::Zilla::Plugin::RemovePrereqs
466664 config:
470668 - MXDriverArgsConfigTestBase
471669 - MXSimpleConfigTestBase
472670 name: RemovePrereqs
473 version: 5.006
671 version: '5.025'
474672 -
475673 class: Dist::Zilla::Plugin::MetaResources
476674 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'
482691 -
483692 class: Dist::Zilla::Plugin::FinderCode
484693 name: ':InstallModules'
485 version: 5.006
694 version: '5.025'
486695 -
487696 class: Dist::Zilla::Plugin::FinderCode
488697 name: ':IncModules'
489 version: 5.006
698 version: '5.025'
490699 -
491700 class: Dist::Zilla::Plugin::FinderCode
492701 name: ':TestFiles'
493 version: 5.006
702 version: '5.025'
494703 -
495704 class: Dist::Zilla::Plugin::FinderCode
496705 name: ':ExecFiles'
497 version: 5.006
706 version: '5.025'
498707 -
499708 class: Dist::Zilla::Plugin::FinderCode
500709 name: ':ShareFiles'
501 version: 5.006
710 version: '5.025'
502711 -
503712 class: Dist::Zilla::Plugin::FinderCode
504713 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'
506727 zilla:
507728 class: Dist::Zilla::Dist::Builder
508729 config:
509 is_trial: 0
510 version: 5.006
730 is_trial: '0'
731 version: '5.025'
511732 x_authority: cpan:STEVAN
733 x_authority_from_module: MooseX::SimpleConfig
512734 x_contributors:
513 - 'Alex Howarth <alex.howarth@gmail.com>'
514 - 'Alexander Hartmaier <alex.hartmaier@gmail.com>'
515 - 'Brandon L Black <blblack@gmail.com>'
516735 - 'Karen Etheridge <ether@cpan.org>'
517736 - '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>'
518741 - 'Yuval Kogman <nothingmuch@woobling.org>'
519742 - '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
00 # 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.
34
45 use strict;
56 use warnings;
67
78 BEGIN {
89 my %configure_requires = (
9 'ExtUtils::MakeMaker' => '6.30',
10 'Module::Build::Tiny' => '0.030',
10 'Module::Build::Tiny' => '0.039',
1111 );
1212
1313 my @missing = grep {
2020 }
2121 else
2222 {
23 warn <<'EOW';
23 $ENV{PERL_MM_FALLBACK_SILENCE_WARNING} or warn <<'EOW';
2424 *** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
2525
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
2727 almost certainly have problems installing CPAN modules from this century. But
2828 never fear, dear user, for we have the technology to fix this!
2929
4444 This public service announcement was brought to you by the Perl Toolchain
4545 Gang, the irc.perl.org #toolchain IRC channel, and the number 42.
4646
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
4756 EOW
4857
49 sleep 10 if -t STDIN;
58 sleep 10 if -t STDIN && (-t STDOUT || !(-f STDOUT || -c STDOUT));
5059 }
5160 }
5261
5362 use 5.006;
54
55 use ExtUtils::MakeMaker 6.30;
56
57
63 use ExtUtils::MakeMaker;
5864
5965 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",
6167 "AUTHOR" => "Brandon L. Black <blblack\@gmail.com>",
62 "BUILD_REQUIRES" => {},
6368 "CONFIGURE_REQUIRES" => {
64 "ExtUtils::MakeMaker" => "6.30",
65 "Module::Build::Tiny" => "0.030"
69 "Module::Build::Tiny" => "0.039"
6670 },
6771 "DISTNAME" => "MooseX-SimpleConfig",
6872 "EXE_FILES" => [],
6973 "LICENSE" => "perl",
74 "MIN_PERL_VERSION" => "5.006",
7075 "NAME" => "MooseX::SimpleConfig",
7176 "PREREQ_PM" => {
7277 "Config::Any" => "0.13",
7580 },
7681 "TEST_REQUIRES" => {
7782 "ExtUtils::MakeMaker" => 0,
83 "File::Spec" => 0,
7884 "File::Spec::Functions" => 0,
7985 "File::Temp" => 0,
80 "List::Util" => 0,
8186 "Moose" => 0,
8287 "Test::Fatal" => 0,
83 "Test::More" => 0,
84 "Test::Requires" => 0,
88 "Test::More" => "0.88",
8589 "lib" => 0,
8690 "strict" => 0,
8791 "warnings" => 0
8892 },
89 "VERSION" => "0.10",
93 "VERSION" => "0.11",
9094 "test" => {
9195 "TESTS" => "t/*.t"
9296 }
9397 );
9498
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 );
95115
96116 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;
120120 }
121121
122122 delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
123123 unless eval { ExtUtils::MakeMaker->VERSION(6.52) };
124124
125125 WriteMakefile(%WriteMakefileArgs);
126
127
128
00
11
22 This archive contains the distribution MooseX-SimpleConfig,
3 version 0.10:
3 version 0.11:
44
5 A Moose role for setting attributes from a simple configfile
5 A Moose role for setting attributes from a simple configuration file
66
77 This software is copyright (c) 2007 by Brandon L. Black <blblack@gmail.com>.
88
1010 the same terms as the Perl 5 programming language system itself.
1111
1212
13 This README file was generated by Dist::Zilla::Plugin::Readme v5.025.
14
+0
-132
README.md less more
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>
44 copyright_year = 2007
55
66 [@Author::ETHER]
7 :version = 0.039
7 :version = 0.068
88 server = github
99 Authority.authority = cpan:STEVAN
10 Test::ReportPrereqs.include = Dist::CheckConflicts
1011
1112 [Prereqs / DevelopRequires]
12 Config::General = 0
1313 YAML = 0
1414 YAML::Syck = 0
1515
2020
2121 [MetaResources]
2222 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
2424
25 ; authordep Pod::Weaver::Section::Contributors
25 ; authordep Pod::Weaver = 4
26 ; authordep Pod::Weaver::Section::Contributors = 0.008
2627
27 [ContributorsFromGit]
28 [Test::CheckBreaks]
29 conflicts_module = Moose::Conflicts
30
31 [Test::CleanNamespaces]
00 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
105
116 use Moose::Role;
127 with 'MooseX::ConfigFromFile';
5651
5752 =encoding UTF-8
5853
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
6354 =head1 NAME
6455
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
6657
6758 =head1 VERSION
6859
69 version 0.10
60 version 0.11
7061
7162 =head1 SYNOPSIS
7263
121112
122113 =head1 DESCRIPTION
123114
124 This role loads simple configfiles to set object attributes. It
115 This role loads simple files to set object attributes. It
125116 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
127118 turn support any of a variety of different config formats, detected
128119 by the file extension. See L<Config::Any> for more details about
129120 supported formats.
137128 };
138129 }
139130
140 Like all L<MooseX::ConfigFromFile> -derived configfile loaders, this
131 Like all L<MooseX::ConfigFromFile> -derived file loaders, this
141132 module is automatically supported by the L<MooseX::Getopt> role as
142133 well, which allows specifying C<-configfile> on the command line.
143134
144135 =head1 ATTRIBUTES
145136
137 =for stopwords configfile
138
146139 =head2 configfile
147140
148141 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:
150143
151144 has '+configfile' => ( default => '/etc/myapp.yaml' );
152145
163156
164157 Provided by the base role L<MooseX::ConfigFromFile>. Acts just like
165158 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.
168161
169162 =head2 get_config_from_file
170163
184177
185178 =head1 CONTRIBUTORS
186179
180 =for stopwords Karen Etheridge Tomas Doran Brandon L Black Alexander Hartmaier lestrrat Сергей Романов Yuval Kogman Zbigniew Lukasiak Alex Howarth
181
187182 =over 4
188183
189184 =item *
190185
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
191218 Alex Howarth <alex.howarth@gmail.com>
192219
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
221220 =back
222221
223222 =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 }
22 use strict;
33 use warnings;
44
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
66
77 use Test::More tests => 1;
88
99 use ExtUtils::MakeMaker;
10 use File::Spec::Functions;
11 use List::Util qw/max/;
10 use File::Spec;
1211
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
3263 );
3364
34 my %exclude = map {; $_ => 1 } qw(
65 my @exclude = qw(
3566
3667 );
3768
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';
4071
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 );
4877
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);
6783 }
68 }
84 }
85 else {
86 $source = 'static metadata';
6987 }
7088
71 my @reports = [qw/Version Module/];
89 my @full_reports;
7290 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;
7492
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;
10996 }
11097
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;
117162 }
118163
119164 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 );
126171 }
127172
128173 pass;
129174
130 # vim: ts=2 sts=2 sw=2 et:
175 # vim: ts=4 sts=4 sw=4 et:
33 use lib 't/lib';
44
55 use Test::More tests => 6;
6 use Test::Requires 'Config::General';
76 use Test::Fatal;
87 use File::Temp 'tempdir';
98 use File::Spec::Functions;
2221 # Can it load a simple YAML file with the options
2322 {
2423 my $tempdir = tempdir(DIR => 't', CLEANUP => 1);
25 my $configfile = catfile($tempdir, 'test.conf');
24 my $configfile = catfile($tempdir, 'test.pl');
2625
27 open(my $test_conf, '>', $configfile)
26 open(my $test_pl, '>', $configfile)
2827 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 }
3334 EOM
34 close($test_conf);
35 close($test_pl);
3536
3637 my $foo;
3738 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;
22 [-Transformer]
33 transformer = List
44
5 [-StopWords]
6
7 [-Encoding]
8
95 [Contributors]
0 use 5.006;
01 use strict;
12 use warnings;
23
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
45
5 use Test::More 0.94 tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
6 use Test::More 0.94;
67
7
8 plan tests => 1 + ($ENV{AUTHOR_TESTING} ? 1 : 0);
89
910 my @module_files = (
1011 'MooseX/SimpleConfig.pm'
2021 use IPC::Open3;
2122 use IO::Handle;
2223
24 open my $stdin, '<', File::Spec->devnull or die "can't open devnull: $!";
25
2326 my @warnings;
2427 for my $lib (@module_files)
2528 {
2629 # 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: $!";
2830 my $stderr = IO::Handle->new;
2931
3032 my $pid = open3($stdin, '>&STDERR', $stderr, $^X, $inc_switch, '-e', "require q[$lib]");
4244
4345
4446
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};
4649
4750 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;
11 use warnings;
22 use Test::More;
33
4 # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006001
4 # generated by Dist::Zilla::Plugin::Test::PodSpelling 2.006008
55 use Test::Spelling 0.12;
66 use Pod::Wordlist;
77
1212 Brandon
1313 Black
1414 blblack
15 Alex
16 Howarth
17 alex
18 Alexander
19 Hartmaier
2015 Karen
2116 Etheridge
2217 ether
2318 Tomas
2419 Doran
2520 bobtfish
21 Alexander
22 Hartmaier
23 alex
24 lestrrat
25 Сергей
26 Романов
27 sromanov
2628 Yuval
2729 Kogman
2830 nothingmuch
2931 Zbigniew
3032 Lukasiak
3133 zby
32 lestrrat
34 Alex
35 Howarth
3336 lib
3437 MooseX
3538 SimpleConfig
33
44 note 'Checking Changes';
55 my $changes_file = 'Changes';
6 my $newver = '0.10';
6 my $newver = '0.11';
77 my $trial_token = '-TRIAL';
88
99 SKIP: {
00 #!perl
1 # This file was automatically generated by Dist::Zilla::Plugin::MetaTests.
12
2 use Test::More;
3 use Test::CPAN::Meta;
34
4 eval "use Test::CPAN::Meta";
5 plan skip_all => "Test::CPAN::Meta required for testing META.yml" if $@;
65 meta_yaml_ok();
+0
-8
xt/release/eol.t less more
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
11 use strict;
22 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
-14
xt/release/no-tabs.t less more
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;
00 #!perl
1 # This file was automatically generated by Dist::Zilla::Plugin::PodCoverageTests.
12
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;
115
126 all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
00 #!perl
1 # This file was automatically generated by Dist::Zilla::Plugin::PodSyntaxTests.
12 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;
54
65 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
-22
xt/release/test-version.t less more
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;
+0
-8
xt/release/unused-vars.t less more
0 #!perl
1
2 use Test::More;
3
4 eval "use Test::Vars";
5 plan skip_all => "Test::Vars required for testing unused vars"
6 if $@;
7 all_vars_ok();