line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
12360
|
use 5.008; # utf8 |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
78
|
|
2
|
2
|
|
|
2
|
|
11
|
use strict; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
60
|
|
3
|
2
|
|
|
2
|
|
10
|
use warnings; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
61
|
|
4
|
2
|
|
|
2
|
|
1121
|
use utf8; |
|
2
|
|
|
|
|
12
|
|
|
2
|
|
|
|
|
13
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
package Net::Travis::API::Role::Client; |
7
|
|
|
|
|
|
|
$Net::Travis::API::Role::Client::VERSION = '0.001001'; |
8
|
|
|
|
|
|
|
# ABSTRACT: Anything that fetches from Travis and returns JSON data |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:KENTNL'; # AUTHORITY |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
|
23
|
2
|
|
|
2
|
|
1163
|
use Moo::Role qw( has ); |
|
2
|
|
|
|
|
34812
|
|
|
2
|
|
|
|
|
12
|
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
has 'http_engine' => ( |
32
|
|
|
|
|
|
|
is => ro =>, |
33
|
|
|
|
|
|
|
lazy => 1, |
34
|
|
|
|
|
|
|
builder => sub { |
35
|
0
|
|
|
0
|
|
|
require Net::Travis::API::UA; |
36
|
0
|
|
|
|
|
|
return Net::Travis::API::UA->new(); |
37
|
|
|
|
|
|
|
}, |
38
|
|
|
|
|
|
|
); |
39
|
|
|
|
|
|
|
|
40
|
2
|
|
|
2
|
|
2901
|
no Moo::Role; |
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
8
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
1; |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
__END__ |