use 5.008001;
use strict;
use warnings;

package Dist::Zilla::Plugin::Meta::Contributors;
# ABSTRACT: Generate an x_contributors section in distribution metadata

our $VERSION = '0.003';

use Moose;

has contributor => (
    is      => 'ro',
    isa     => 'ArrayRef[Str]',
    default => sub { [] },

sub mvp_multivalue_args { qw/contributor/ }

sub metadata {
    my $self = shift;
    if ( @{ $self->contributor } ) {
        return { x_contributors => $self->contributor };
    else {
        return {};

with 'Dist::Zilla::Role::MetaProvider';



# vim: ts=4 sts=4 sw=4 et:



=encoding UTF-8

=head1 NAME

Dist::Zilla::Plugin::Meta::Contributors - Generate an x_contributors section in distribution metadata

=head1 VERSION

version 0.003


  contributor = Wile E Coyote <>
  contributor = Road Runner <>


This module adds author names and email addresses to an C<x_contributors> section
of distribution metadata.

=for Pod::Coverage mvp_multivalue_args metadata

=head1 SEE ALSO

=over 4

=item *

L<Dist::Zilla::Plugin::Git::Contributors> - automatic generation from git commit history, with different ordering options; supports MSWin32

=item *

L<Dist::Zilla::Plugin::ContributorsFromGit> - an older implementation of git generation, with a heavier dependency chain that is sometimes problematic on some architectures


=for :stopwords cpan testmatrix url annocpan anno bugtracker rt cpants kwalitee diff irc mailto metadata placeholders metacpan

=head1 SUPPORT

=head2 Bugs / Feature Requests

Please report any bugs or feature requests through the issue tracker
at L<>.
You will be notified automatically of any progress on your issue.

=head2 Source Code

This is open source software.  The code repository is available for
public review and contribution under the terms of the license.


  git clone

=head1 AUTHOR

David Golden <>


=for stopwords David Golden Karen Etheridge

=over 4

=item *

David Golden <>

=item *

Karen Etheridge <>



This software is Copyright (c) 2013 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004