From: Karen Etheridge Date: Sat, 14 Sep 2013 16:29:53 +0000 (-0700) Subject: switch to my pluginbundle, weaving pod and authors moved to contributors X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo%2FMooseX-ConfigFromFile.git;a=commitdiff_plain;h=23fca8d5bbae73c0b80881f86126a86818035d6d;hp=0f01d3ff6b0a1edc7ff0d119827286597bef4d5c switch to my pluginbundle, weaving pod and authors moved to contributors --- diff --git a/dist.ini b/dist.ini index 34e1799..24c9dd9 100644 --- a/dist.ini +++ b/dist.ini @@ -1,111 +1,27 @@ name = MooseX-ConfigFromFile author = Brandon L. Black, -author = Yuval Kogman -author = Chris Prather -author = Karen Etheridge, -author = Tomas Doran 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? diff --git a/lib/MooseX/ConfigFromFile.pm b/lib/MooseX/ConfigFromFile.pm index cd6cfdf..59d3e3e 100644 --- a/lib/MooseX/ConfigFromFile.pm +++ b/lib/MooseX/ConfigFromFile.pm @@ -1,7 +1,8 @@ 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); @@ -71,10 +72,6 @@ __END__ =pod -=head1 NAME - -MooseX::ConfigFromFile - An abstract Moose role for setting attributes from a configfile - =head1 SYNOPSIS ######## @@ -126,6 +123,8 @@ It declares an attribute C and a class method C, and requires that concrete roles derived from it implement the class method C. +=for stopwords configfile + Attributes specified directly as arguments to C supersede those in the configfile. @@ -172,31 +171,4 @@ This class method is not implemented in this role, but can and should be defined 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, Eblblack@gmail.comE - -=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 diff --git a/weaver.ini b/weaver.ini new file mode 100644 index 0000000..648f991 --- /dev/null +++ b/weaver.ini @@ -0,0 +1,11 @@ + +[@Default] + +[-Transformer] +transformer = List + +[-StopWords] + +[-Encoding] + +[Contributors]