line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::GitHub::V3; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
444
|
use Moo; |
|
1
|
|
|
|
|
9277
|
|
|
1
|
|
|
|
|
5
|
|
4
|
1
|
|
|
1
|
|
1508
|
use Types::Standard qw(InstanceOf); |
|
1
|
|
|
|
|
47133
|
|
|
1
|
|
|
|
|
10
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = '0.69'; |
7
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:FAYLAND'; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
with 'Net::GitHub::V3::Query'; |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
872
|
use Net::GitHub::V3::Users; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
27
|
|
12
|
1
|
|
|
1
|
|
462
|
use Net::GitHub::V3::Repos; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
31
|
|
13
|
1
|
|
|
1
|
|
382
|
use Net::GitHub::V3::Issues; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
14
|
1
|
|
|
1
|
|
386
|
use Net::GitHub::V3::PullRequests; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
26
|
|
15
|
1
|
|
|
1
|
|
373
|
use Net::GitHub::V3::Orgs; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
24
|
|
16
|
1
|
|
|
1
|
|
371
|
use Net::GitHub::V3::GitData; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
27
|
|
17
|
1
|
|
|
1
|
|
395
|
use Net::GitHub::V3::Gists; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
25
|
|
18
|
1
|
|
|
1
|
|
376
|
use Net::GitHub::V3::OAuth; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
25
|
|
19
|
1
|
|
|
1
|
|
339
|
use Net::GitHub::V3::Events; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
22
|
|
20
|
1
|
|
|
1
|
|
346
|
use Net::GitHub::V3::Gitignore; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
25
|
|
21
|
1
|
|
|
1
|
|
337
|
use Net::GitHub::V3::Search; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
371
|
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
has '+is_main_module' => (default => 1); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
has 'user' => ( |
26
|
|
|
|
|
|
|
is => 'rw', |
27
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Users'], |
28
|
|
|
|
|
|
|
lazy => 1, |
29
|
|
|
|
|
|
|
default => sub { |
30
|
|
|
|
|
|
|
my $self = shift; |
31
|
|
|
|
|
|
|
return Net::GitHub::V3::Users->new( $self->args_to_pass ); |
32
|
|
|
|
|
|
|
}, |
33
|
|
|
|
|
|
|
); |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
has 'org' => ( |
36
|
|
|
|
|
|
|
is => 'rw', |
37
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Orgs'], |
38
|
|
|
|
|
|
|
lazy => 1, |
39
|
|
|
|
|
|
|
default => sub { |
40
|
|
|
|
|
|
|
my $self = shift; |
41
|
|
|
|
|
|
|
return Net::GitHub::V3::Orgs->new( $self->args_to_pass ); |
42
|
|
|
|
|
|
|
}, |
43
|
|
|
|
|
|
|
); |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
has 'gist' => ( |
46
|
|
|
|
|
|
|
is => 'rw', |
47
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Gists'], |
48
|
|
|
|
|
|
|
lazy => 1, |
49
|
|
|
|
|
|
|
default => sub { |
50
|
|
|
|
|
|
|
my $self = shift; |
51
|
|
|
|
|
|
|
return Net::GitHub::V3::Gists->new( $self->args_to_pass ); |
52
|
|
|
|
|
|
|
}, |
53
|
|
|
|
|
|
|
); |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
has 'repos' => ( |
56
|
|
|
|
|
|
|
is => 'rw', |
57
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Repos'], |
58
|
|
|
|
|
|
|
lazy => 1, |
59
|
|
|
|
|
|
|
predicate => 'is_repos_init', |
60
|
|
|
|
|
|
|
default => sub { |
61
|
|
|
|
|
|
|
my $self = shift; |
62
|
|
|
|
|
|
|
return Net::GitHub::V3::Repos->new( $self->args_to_pass ); |
63
|
|
|
|
|
|
|
}, |
64
|
|
|
|
|
|
|
); |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
has 'issue' => ( |
67
|
|
|
|
|
|
|
is => 'rw', |
68
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Issues'], |
69
|
|
|
|
|
|
|
lazy => 1, |
70
|
|
|
|
|
|
|
predicate => 'is_issue_init', |
71
|
|
|
|
|
|
|
default => sub { |
72
|
|
|
|
|
|
|
my $self = shift; |
73
|
|
|
|
|
|
|
return Net::GitHub::V3::Issues->new( $self->args_to_pass ); |
74
|
|
|
|
|
|
|
}, |
75
|
|
|
|
|
|
|
); |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
has 'pull_request' => ( |
78
|
|
|
|
|
|
|
is => 'rw', |
79
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::PullRequests'], |
80
|
|
|
|
|
|
|
lazy => 1, |
81
|
|
|
|
|
|
|
predicate => 'is_pull_request_init', |
82
|
|
|
|
|
|
|
default => sub { |
83
|
|
|
|
|
|
|
my $self = shift; |
84
|
|
|
|
|
|
|
return Net::GitHub::V3::PullRequests->new( $self->args_to_pass ); |
85
|
|
|
|
|
|
|
}, |
86
|
|
|
|
|
|
|
); |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
has 'git_data' => ( |
89
|
|
|
|
|
|
|
is => 'rw', |
90
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::GitData'], |
91
|
|
|
|
|
|
|
lazy => 1, |
92
|
|
|
|
|
|
|
predicate => 'is_git_data_init', |
93
|
|
|
|
|
|
|
default => sub { |
94
|
|
|
|
|
|
|
my $self = shift; |
95
|
|
|
|
|
|
|
return Net::GitHub::V3::GitData->new( $self->args_to_pass ); |
96
|
|
|
|
|
|
|
}, |
97
|
|
|
|
|
|
|
); |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
has 'oauth' => ( |
100
|
|
|
|
|
|
|
is => 'rw', |
101
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::OAuth'], |
102
|
|
|
|
|
|
|
lazy => 1, |
103
|
|
|
|
|
|
|
default => sub { |
104
|
|
|
|
|
|
|
my $self = shift; |
105
|
|
|
|
|
|
|
return Net::GitHub::V3::OAuth->new( $self->args_to_pass ); |
106
|
|
|
|
|
|
|
}, |
107
|
|
|
|
|
|
|
); |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
has 'event' => ( |
110
|
|
|
|
|
|
|
is => 'rw', |
111
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Events'], |
112
|
|
|
|
|
|
|
lazy => 1, |
113
|
|
|
|
|
|
|
default => sub { |
114
|
|
|
|
|
|
|
my $self = shift; |
115
|
|
|
|
|
|
|
return Net::GitHub::V3::Events->new( $self->args_to_pass ); |
116
|
|
|
|
|
|
|
}, |
117
|
|
|
|
|
|
|
); |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
has 'search' => ( |
120
|
|
|
|
|
|
|
is => 'rw', |
121
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Search'], |
122
|
|
|
|
|
|
|
lazy => 1, |
123
|
|
|
|
|
|
|
default => sub { |
124
|
|
|
|
|
|
|
my $self = shift; |
125
|
|
|
|
|
|
|
return Net::GitHub::V3::Search->new( $self->args_to_pass ); |
126
|
|
|
|
|
|
|
}, |
127
|
|
|
|
|
|
|
); |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
has 'gitignore' => ( |
130
|
|
|
|
|
|
|
is => 'rw', |
131
|
|
|
|
|
|
|
isa => InstanceOf['Net::GitHub::V3::Gitignore'], |
132
|
|
|
|
|
|
|
lazy => 1, |
133
|
|
|
|
|
|
|
default => sub { |
134
|
|
|
|
|
|
|
my $self = shift; |
135
|
|
|
|
|
|
|
return Net::GitHub::V3::Gitignore->new( $self->args_to_pass ); |
136
|
|
|
|
|
|
|
}, |
137
|
|
|
|
|
|
|
); |
138
|
|
|
|
|
|
|
|
139
|
1
|
|
|
1
|
|
5
|
no Moo; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
3
|
|
140
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
1; |
142
|
|
|
|
|
|
|
__END__ |