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