File Coverage

blib/lib/Dist/Zilla/PluginBundle/Alien.pm
Criterion Covered Total %
statement 12 17 70.5
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 23 69.5


line stmt bran cond sub pod time code
1             package Dist::Zilla::PluginBundle::Alien;
2             our $AUTHORITY = 'cpan:GETTY';
3             # ABSTRACT: Dist::Zilla::PluginBundle::Basic for Alien
4             $Dist::Zilla::PluginBundle::Alien::VERSION = '0.022';
5 1     1   1219 use Moose;
  1         2  
  1         8  
6 1     1   7214 use Dist::Zilla;
  1         950258  
  1         62  
7             with 'Dist::Zilla::Role::PluginBundle::Easy';
8              
9              
10 1     1   1069 use Dist::Zilla::PluginBundle::Basic;
  1         68625  
  1         135  
11              
12             sub configure {
13 0     0 0   my ($self) = @_;
14              
15 0           $self->add_bundle('Filter' => {
16             -bundle => '@Basic',
17             -remove => ['MakeMaker'],
18             });
19              
20             $self->add_plugins([ 'Alien' => {
21 0           map { $_ => $self->payload->{$_} } keys %{$self->payload},
  0            
  0            
22             }]);
23             }
24              
25             __PACKAGE__->meta->make_immutable;
26 1     1   8 no Moose;
  1         3  
  1         6  
27             1;
28              
29             __END__
30              
31             =pod
32              
33             =head1 NAME
34              
35             Dist::Zilla::PluginBundle::Alien - Dist::Zilla::PluginBundle::Basic for Alien
36              
37             =head1 VERSION
38              
39             version 0.022
40              
41             =head1 SYNOPSIS
42              
43             In your B<dist.ini>:
44              
45             name = Alien-ffmpeg
46              
47             [@Alien]
48             repo = http://ffmpeg.org/releases
49              
50             =head1 DESCRIPTION
51              
52             This plugin bundle allows to use L<Dist::Zilla::Plugin::Alien> together
53             with L<Dist::Zilla::PluginBundle::Basic>.
54              
55             =head1 AUTHOR
56              
57             Torsten Raudssus <torsten@raudss.us>
58              
59             =head1 COPYRIGHT AND LICENSE
60              
61             This software is copyright (c) 2013 by Torsten Raudssus.
62              
63             This is free software; you can redistribute it and/or modify it under
64             the same terms as the Perl 5 programming language system itself.
65              
66             =cut