name = MooseX-ConfigFromFile
author = Brandon L. Black, <blblack@gmail.com>
-author = Yuval Kogman <nothingmuch@woobling.org>
-author = Chris Prather <chris@prather.org>
-author = Karen Etheridge, <ether@cpan.org>
-author = Tomas Doran <bobtfish@bobtfish.net>
abstract = An abstract Moose role for setting attributes from a configfile
copyright_holder = Brandon L. Black
license = Perl_5
-[MetaResources]
-bugtracker.web = https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-ConfigFromFile
-bugtracker.mailto = bug-MooseX-ConfigFromFile@rt.cpan.org
-; r/w: gitmo@git.moose.perl.org:MooseX-ConfigFromFile.git
-repository.url = git://git.moose.perl.org/MooseX-ConfigFromFile.git
-repository.web = http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/MooseX-ConfigFromFile.git;a=summary
-repository.type = git
-
-[Git::GatherDir]
-
-[@Filter]
--bundle = @Basic
--remove = GatherDir
-
-; use V= to override; otherwise version is incremented from last tag
-[Git::NextVersion]
-version_regexp = ^v([\d._]+)(-TRIAL)?$
-
-[AutoPrereqs]
-skip = ^A$
-skip = ^Generic
-skip = ^MooseX::SimpleConfig$
-skip = ^MooseX::Getopt$
-
-[Prereqs / RuntimeRequires]
-MooseX::Types::Path::Tiny = 0.005
+[@Author::ETHER]
+:version = 0.021
+Authority.authority = cpan:STEVAN
+; r/w repository: gitmo@git.moose.perl.org:MooseX-ConfigFromFile.git
+server = gitmo
+AutoPrereqs.skip[0] = ^A$
+AutoPrereqs.skip[1] = ^Generic
+AutoPrereqs.skip[2] = ^MooseX::SimpleConfig$
+AutoPrereqs.skip[3] = ^MooseX::Getopt$
+Test::MinimumVersion.max_target_perl = 5.008003
[Prereqs / TestRecommends]
MooseX::SimpleConfig = 0
MooseX::Getopt = 0
-[InstallGuide]
-[MetaConfig]
-[MetaProvides::Package]
-[MetaJSON]
-[Git::Describe]
-[PkgVersion]
-[MinimumPerl]
-
-[ReadmeAnyFromPod]
-type = markdown
-filename = README.md
-location = root
-
-[NoTabsTests]
-[EOLTests]
-[PodSyntaxTests]
-[PodCoverageTests]
-;[Test::Pod::LinkCheck] many outstanding bugs
-[Test::Pod::No404s]
-[Test::PodSpelling]
-stopwords = Lukasiak
-stopwords = Prather
-stopwords = Zbigniew
-stopwords = configfile
-
-[Test::Compile]
-bail_out_on_fail = 1
-
[Test::ReportPrereqs]
-[Test::MinimumVersion]
-[MetaTests]
-[Test::CPAN::Changes]
-[Test::Version]
-;[Test::UnusedVars] ; broken in 5.16.0!
-[Test::ChangesHasContent]
-
-[Test::CheckDeps]
-:version = 0.005
-fatal = 1
-
-[CheckPrereqsIndexed]
-
-[Git::Remote::Check]
-remote_branch = master
-
-[Git::CheckFor::CorrectBranch]
-:version = 0.004
-release_branch = master
-release_branch = stable
-
-[Git::Check]
-allow_dirty = README.md
-
-[NextRelease]
-:version = 4.300018
-format = %-8V %{yyyy-MM-dd HH:mm:ss ZZZZ}d (%U)
-
-[Git::Commit]
-allow_dirty = Changes
-allow_dirty = README.md
-commit_msg = %N-%v%t%n%n%c
-
-[Git::Tag]
-tag_format = v%v%t
-tag_message = v%v%t
-[Git::Push]
+[ContributorsFromGit]
-[InstallRelease]
-install_command = cpanm .
+; missing contributor: Zbigniew Lukasiak -- do we have an email address
+; so I can add an empty git commit for him?
package MooseX::ConfigFromFile;
+# ABSTRACT: An abstract Moose role for setting attributes from a configfile
use Moose::Role;
-use MooseX::Types::Path::Tiny 'Path';
+use MooseX::Types::Path::Tiny 0.005 'Path';
use MooseX::Types::Moose 'Undef';
use Try::Tiny;
use Carp qw(croak);
=pod
-=head1 NAME
-
-MooseX::ConfigFromFile - An abstract Moose role for setting attributes from a configfile
-
=head1 SYNOPSIS
########
and requires that concrete roles derived from it implement the class method
C<get_config_from_file>.
+=for stopwords configfile
+
Attributes specified directly as arguments to C<new_with_config> supersede those
in the configfile.
in a consuming class or role to return the default value of the configfile (if not
passed into the constructor explicitly).
-=head1 COPYRIGHT
-
-Copyright (c) - the MooseX::ConfigFromFile "AUTHOR" and "CONTRIBUTORS" as listed below.
-
-=head1 AUTHOR
-
-Brandon L. Black, E<lt>blblack@gmail.comE<gt>
-
-=head1 CONTRIBUTORS
-
-=over
-
-=item Tomas Doran
-
-=item Karen Etheridge
-
-=item Chris Prather
-
-=item Zbigniew Lukasiak
-
-=back
-
-=head1 LICENSE
-
-This library is free software; you can redistribute it and/or modify
-it under the same terms as Perl itself.
-
=cut