| 1 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Dist::Zilla::Plugin::AutoMetaResourcesPrefixed; | ||
| 5 | |||
| 6 | 2 | our $VERSION = '0.43'; #VERSION | |
| 7 | |||
| 8 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 2 | extends 'Dist::Zilla::Plugin::AutoMetaResources'; | |
| 10 | |||
| 11 | 0 | ▶ | sub _build__repository_map { |
|
Subroutine
_build__repository_map: not called CC=1 SCAR=6.9
| |||
| 12 | |||
| 13 | # based on Dist::Zilla::PluginBundle::FLORA | ||
| 14 | return { | ||
| 15 | github => { | ||
| 16 | url => 'git://github.com/%{user}/perl-%{lcdist}.git', | ||
| 17 | web => 'https://github.com/%{user}/perl-%{lcdist}', | ||
| 18 | type => 'git', | ||
| 19 | }, | ||
| 20 | gitmo => { | ||
| 21 | url => 'git://git.moose.perl.org/%{dist}.git', | ||
| 22 | web => | ||
| 23 | 'http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=gitmo/%{dist}.git;a=summary', | ||
| 24 | type => 'git', | ||
| 25 | }, | ||
| 26 | catsvn => { | ||
| 27 | url => 'http://dev.catalyst.perl.org/repos/Catalyst/%{dist}/', | ||
| 28 | web => | ||
| 29 | 'http://dev.catalystframework.org/svnweb/Catalyst/browse/%{dist}', | ||
| 30 | type => 'svn', | ||
| 31 | }, | ||
| 32 | ( | ||
| 33 | map { | ||
| 34 | 0 | ( | |
| 35 | 0 | $_ => { | |
| 36 | url => "git://git.shadowcat.co.uk/$_/%{dist}.git", | ||
| 37 | web => | ||
| 38 | "http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=$_/%{dist}.git;a=summary", | ||
| 39 | type => 'git', | ||
| 40 | } | ||
| 41 | ) | ||
| 42 | } qw(catagits p5sagit dbsrgits) | ||
| 43 | ), | ||
| 44 | }; | ||
| 45 | } | ||
| 46 | |||
| 47 | 0 | ▶ | sub _build__bugtracker_map { |
|
Subroutine
_build__bugtracker_map: not called CC=1 SCAR=6.9
| |||
| 48 | return { | ||
| 49 | 0 | rt => { | |
| 50 | web => 'https://rt.cpan.org/Public/Dist/Display.html?Name=%{dist}', | ||
| 51 | mailto => 'bug-%{dist}@rt.cpan.org', | ||
| 52 | }, | ||
| 53 | github => { | ||
| 54 | web => 'https://github.com/%{user}/perl-%{lcdist}/issues', | ||
| 55 | } | ||
| 56 | }; | ||
| 57 | } | ||
| 58 | |||
| 59 | 2 | 1; | |
| 60 | |||
| 61 | __END__ | ||