Group
Extension

Matches 1

Badge-Depot-Plugin-Coverage ( C/CS/CSSON/Badge-Depot-Plugin-Coverage-0.0102.tar.gz, CSSON, 2020; MetaCPAN )
Badge-Depot-Plugin-Coverage/lib/Badge/Depot/Plugin/Coverage.pm ( view source; MetaCPAN )
:AttributeShortcuts;
use Types::Standard qw/Str Bool Num/;
use Types::URI qw/Uri/;
use JSON::MaybeXS 'decode_json';
use Path::Tiny;
use DateTime;
use DateTime::Format::RFC3339;
with 'Badge::Depot';

#
ory.json/);

    if(!$log_file->exists) {
        $self->log('! Could not find cover history file (.coverhistory.json), no coverage to add');
        return -1;
    }

    my $history = decode_json($l
->slurp);

    if(!scalar @$history) {
        $self->log('! No coverage history in .coverhistory.json, nothing to add');
        return -1;
    }

    my $summary = $history->[-1];
    my $created_at

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.