Badge::Depot::Plugin::Cpantesters - CPAN testers plugin for Badge::Depot
Version 0.0102, released 2016-08-11.
If used standalone:
use Badge::Depot::Plugin::Cpantesters; my $badge = Badge::Depot::Plugin::Cpantesters->new(dist => 'The-Dist', version => '0.1002'); print $badge->to_html; # prints: <a href="http://matrix.cpantesters.org/?dist=The-Dist%200.1002"> <img src="http://badgedepot.code301.com/badge/cpantesters/The-Dist/0.1002" alt="CPAN Testers result" /> </a>
If used with Pod::Weaver::Section::Badges, in weaver.ini:
[Badges] ; other settings badge = cpantesters
Creates a CpanTesters badge for a distribution.
This class consumes the Badge::Depot role.
This badge tries to use distribution meta data to set the attributes. If that is available no attributes need to be set manually. The following checks are made:
If the badge is used via Pod::Weaver::Section::Badges during a Dist::Zilla build, then version and dist are set to the values in the Dist::Zilla object.
version
dist
If there is a META.json in the distribution root then that is used to set version and dist.
META.json
If neither of those are true then dist and version should passed to the constructor.
Distribution name. With dashes, not colons.
Distribution version.
Default: https://badgedepot.code301.com
https://badgedepot.code301.com
Set this if you wish to use another instance of Badge::Depot::App.
Badge::Depot
Task::Badge::Depot
https://github.com/Csson/p5-Badge-Depot-Plugin-CpanTesters
https://metacpan.org/release/Badge-Depot-Plugin-Cpantesters
Erik Carlsson <info@code301.com>
This software is copyright (c) 2016 by Erik Carlsson.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Badge::Depot::Plugin::Cpantesters, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Badge::Depot::Plugin::Cpantesters
CPAN shell
perl -MCPAN -e shell install Badge::Depot::Plugin::Cpantesters
For more information on module installation, please visit the detailed CPAN module installation guide.