danger-periphery 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,381 @@
1
+ {
2
+ "url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18",
3
+ "id": 185317229,
4
+ "node_id": "MDExOlB1bGxSZXF1ZXN0MTg1MzE3MjI5",
5
+ "html_url": "https://github.com/danger/danger-plugin-template/pull/18",
6
+ "diff_url": "https://github.com/danger/danger-plugin-template/pull/18.diff",
7
+ "patch_url": "https://github.com/danger/danger-plugin-template/pull/18.patch",
8
+ "issue_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/18",
9
+ "number": 18,
10
+ "state": "closed",
11
+ "locked": false,
12
+ "title": "add exmaple of how to mock PRs",
13
+ "user": {
14
+ "login": "wilrnh",
15
+ "id": 555966,
16
+ "node_id": "MDQ6VXNlcjU1NTk2Ng==",
17
+ "avatar_url": "https://avatars.githubusercontent.com/u/555966?v=4",
18
+ "gravatar_id": "",
19
+ "url": "https://api.github.com/users/wilrnh",
20
+ "html_url": "https://github.com/wilrnh",
21
+ "followers_url": "https://api.github.com/users/wilrnh/followers",
22
+ "following_url": "https://api.github.com/users/wilrnh/following{/other_user}",
23
+ "gists_url": "https://api.github.com/users/wilrnh/gists{/gist_id}",
24
+ "starred_url": "https://api.github.com/users/wilrnh/starred{/owner}{/repo}",
25
+ "subscriptions_url": "https://api.github.com/users/wilrnh/subscriptions",
26
+ "organizations_url": "https://api.github.com/users/wilrnh/orgs",
27
+ "repos_url": "https://api.github.com/users/wilrnh/repos",
28
+ "events_url": "https://api.github.com/users/wilrnh/events{/privacy}",
29
+ "received_events_url": "https://api.github.com/users/wilrnh/received_events",
30
+ "type": "User",
31
+ "site_admin": false
32
+ },
33
+ "body": "Fixes danger/danger#661\r\n\r\nadd example how to mock PRs",
34
+ "created_at": "2018-05-02T01:52:26Z",
35
+ "updated_at": "2018-05-02T10:37:04Z",
36
+ "closed_at": "2018-05-02T10:37:04Z",
37
+ "merged_at": "2018-05-02T10:37:04Z",
38
+ "merge_commit_sha": "39eacac22d52a2b70fc49bd8aba19eb7d2864717",
39
+ "assignee": null,
40
+ "assignees": [
41
+
42
+ ],
43
+ "requested_reviewers": [
44
+
45
+ ],
46
+ "requested_teams": [
47
+
48
+ ],
49
+ "labels": [
50
+
51
+ ],
52
+ "milestone": null,
53
+ "draft": false,
54
+ "commits_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/commits",
55
+ "review_comments_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/comments",
56
+ "review_comment_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/comments{/number}",
57
+ "comments_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/18/comments",
58
+ "statuses_url": "https://api.github.com/repos/danger/danger-plugin-template/statuses/abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5",
59
+ "head": {
60
+ "label": "wilrnh:661-mocking-prs",
61
+ "ref": "661-mocking-prs",
62
+ "sha": "abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5",
63
+ "user": {
64
+ "login": "wilrnh",
65
+ "id": 555966,
66
+ "node_id": "MDQ6VXNlcjU1NTk2Ng==",
67
+ "avatar_url": "https://avatars.githubusercontent.com/u/555966?v=4",
68
+ "gravatar_id": "",
69
+ "url": "https://api.github.com/users/wilrnh",
70
+ "html_url": "https://github.com/wilrnh",
71
+ "followers_url": "https://api.github.com/users/wilrnh/followers",
72
+ "following_url": "https://api.github.com/users/wilrnh/following{/other_user}",
73
+ "gists_url": "https://api.github.com/users/wilrnh/gists{/gist_id}",
74
+ "starred_url": "https://api.github.com/users/wilrnh/starred{/owner}{/repo}",
75
+ "subscriptions_url": "https://api.github.com/users/wilrnh/subscriptions",
76
+ "organizations_url": "https://api.github.com/users/wilrnh/orgs",
77
+ "repos_url": "https://api.github.com/users/wilrnh/repos",
78
+ "events_url": "https://api.github.com/users/wilrnh/events{/privacy}",
79
+ "received_events_url": "https://api.github.com/users/wilrnh/received_events",
80
+ "type": "User",
81
+ "site_admin": false
82
+ },
83
+ "repo": {
84
+ "id": 131783880,
85
+ "node_id": "MDEwOlJlcG9zaXRvcnkxMzE3ODM4ODA=",
86
+ "name": "danger-plugin-template",
87
+ "full_name": "wilrnh/danger-plugin-template",
88
+ "private": false,
89
+ "owner": {
90
+ "login": "wilrnh",
91
+ "id": 555966,
92
+ "node_id": "MDQ6VXNlcjU1NTk2Ng==",
93
+ "avatar_url": "https://avatars.githubusercontent.com/u/555966?v=4",
94
+ "gravatar_id": "",
95
+ "url": "https://api.github.com/users/wilrnh",
96
+ "html_url": "https://github.com/wilrnh",
97
+ "followers_url": "https://api.github.com/users/wilrnh/followers",
98
+ "following_url": "https://api.github.com/users/wilrnh/following{/other_user}",
99
+ "gists_url": "https://api.github.com/users/wilrnh/gists{/gist_id}",
100
+ "starred_url": "https://api.github.com/users/wilrnh/starred{/owner}{/repo}",
101
+ "subscriptions_url": "https://api.github.com/users/wilrnh/subscriptions",
102
+ "organizations_url": "https://api.github.com/users/wilrnh/orgs",
103
+ "repos_url": "https://api.github.com/users/wilrnh/repos",
104
+ "events_url": "https://api.github.com/users/wilrnh/events{/privacy}",
105
+ "received_events_url": "https://api.github.com/users/wilrnh/received_events",
106
+ "type": "User",
107
+ "site_admin": false
108
+ },
109
+ "html_url": "https://github.com/wilrnh/danger-plugin-template",
110
+ "description": "An opinionated template for creating a Danger plugin",
111
+ "fork": true,
112
+ "url": "https://api.github.com/repos/wilrnh/danger-plugin-template",
113
+ "forks_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/forks",
114
+ "keys_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/keys{/key_id}",
115
+ "collaborators_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/collaborators{/collaborator}",
116
+ "teams_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/teams",
117
+ "hooks_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/hooks",
118
+ "issue_events_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/issues/events{/number}",
119
+ "events_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/events",
120
+ "assignees_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/assignees{/user}",
121
+ "branches_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/branches{/branch}",
122
+ "tags_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/tags",
123
+ "blobs_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/git/blobs{/sha}",
124
+ "git_tags_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/git/tags{/sha}",
125
+ "git_refs_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/git/refs{/sha}",
126
+ "trees_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/git/trees{/sha}",
127
+ "statuses_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/statuses/{sha}",
128
+ "languages_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/languages",
129
+ "stargazers_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/stargazers",
130
+ "contributors_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/contributors",
131
+ "subscribers_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/subscribers",
132
+ "subscription_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/subscription",
133
+ "commits_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/commits{/sha}",
134
+ "git_commits_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/git/commits{/sha}",
135
+ "comments_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/comments{/number}",
136
+ "issue_comment_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/issues/comments{/number}",
137
+ "contents_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/contents/{+path}",
138
+ "compare_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/compare/{base}...{head}",
139
+ "merges_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/merges",
140
+ "archive_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/{archive_format}{/ref}",
141
+ "downloads_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/downloads",
142
+ "issues_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/issues{/number}",
143
+ "pulls_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/pulls{/number}",
144
+ "milestones_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/milestones{/number}",
145
+ "notifications_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/notifications{?since,all,participating}",
146
+ "labels_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/labels{/name}",
147
+ "releases_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/releases{/id}",
148
+ "deployments_url": "https://api.github.com/repos/wilrnh/danger-plugin-template/deployments",
149
+ "created_at": "2018-05-02T01:50:31Z",
150
+ "updated_at": "2018-05-02T01:50:32Z",
151
+ "pushed_at": "2018-05-02T02:04:13Z",
152
+ "git_url": "git://github.com/wilrnh/danger-plugin-template.git",
153
+ "ssh_url": "git@github.com:wilrnh/danger-plugin-template.git",
154
+ "clone_url": "https://github.com/wilrnh/danger-plugin-template.git",
155
+ "svn_url": "https://github.com/wilrnh/danger-plugin-template",
156
+ "homepage": null,
157
+ "size": 32,
158
+ "stargazers_count": 0,
159
+ "watchers_count": 0,
160
+ "language": "Ruby",
161
+ "has_issues": false,
162
+ "has_projects": true,
163
+ "has_downloads": true,
164
+ "has_wiki": true,
165
+ "has_pages": false,
166
+ "forks_count": 0,
167
+ "mirror_url": null,
168
+ "archived": false,
169
+ "disabled": false,
170
+ "open_issues_count": 0,
171
+ "license": {
172
+ "key": "other",
173
+ "name": "Other",
174
+ "spdx_id": "NOASSERTION",
175
+ "url": null,
176
+ "node_id": "MDc6TGljZW5zZTA="
177
+ },
178
+ "allow_forking": true,
179
+ "is_template": false,
180
+ "topics": [
181
+
182
+ ],
183
+ "visibility": "public",
184
+ "forks": 0,
185
+ "open_issues": 0,
186
+ "watchers": 0,
187
+ "default_branch": "master"
188
+ }
189
+ },
190
+ "base": {
191
+ "label": "danger:master",
192
+ "ref": "master",
193
+ "sha": "30bd69c1c09d927abde0695fcb39dd70d4cc0f81",
194
+ "user": {
195
+ "login": "danger",
196
+ "id": 17147106,
197
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3MTQ3MTA2",
198
+ "avatar_url": "https://avatars.githubusercontent.com/u/17147106?v=4",
199
+ "gravatar_id": "",
200
+ "url": "https://api.github.com/users/danger",
201
+ "html_url": "https://github.com/danger",
202
+ "followers_url": "https://api.github.com/users/danger/followers",
203
+ "following_url": "https://api.github.com/users/danger/following{/other_user}",
204
+ "gists_url": "https://api.github.com/users/danger/gists{/gist_id}",
205
+ "starred_url": "https://api.github.com/users/danger/starred{/owner}{/repo}",
206
+ "subscriptions_url": "https://api.github.com/users/danger/subscriptions",
207
+ "organizations_url": "https://api.github.com/users/danger/orgs",
208
+ "repos_url": "https://api.github.com/users/danger/repos",
209
+ "events_url": "https://api.github.com/users/danger/events{/privacy}",
210
+ "received_events_url": "https://api.github.com/users/danger/received_events",
211
+ "type": "Organization",
212
+ "site_admin": false
213
+ },
214
+ "repo": {
215
+ "id": 60424063,
216
+ "node_id": "MDEwOlJlcG9zaXRvcnk2MDQyNDA2Mw==",
217
+ "name": "danger-plugin-template",
218
+ "full_name": "danger/danger-plugin-template",
219
+ "private": false,
220
+ "owner": {
221
+ "login": "danger",
222
+ "id": 17147106,
223
+ "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3MTQ3MTA2",
224
+ "avatar_url": "https://avatars.githubusercontent.com/u/17147106?v=4",
225
+ "gravatar_id": "",
226
+ "url": "https://api.github.com/users/danger",
227
+ "html_url": "https://github.com/danger",
228
+ "followers_url": "https://api.github.com/users/danger/followers",
229
+ "following_url": "https://api.github.com/users/danger/following{/other_user}",
230
+ "gists_url": "https://api.github.com/users/danger/gists{/gist_id}",
231
+ "starred_url": "https://api.github.com/users/danger/starred{/owner}{/repo}",
232
+ "subscriptions_url": "https://api.github.com/users/danger/subscriptions",
233
+ "organizations_url": "https://api.github.com/users/danger/orgs",
234
+ "repos_url": "https://api.github.com/users/danger/repos",
235
+ "events_url": "https://api.github.com/users/danger/events{/privacy}",
236
+ "received_events_url": "https://api.github.com/users/danger/received_events",
237
+ "type": "Organization",
238
+ "site_admin": false
239
+ },
240
+ "html_url": "https://github.com/danger/danger-plugin-template",
241
+ "description": "An opinionated template for creating a Danger plugin",
242
+ "fork": false,
243
+ "url": "https://api.github.com/repos/danger/danger-plugin-template",
244
+ "forks_url": "https://api.github.com/repos/danger/danger-plugin-template/forks",
245
+ "keys_url": "https://api.github.com/repos/danger/danger-plugin-template/keys{/key_id}",
246
+ "collaborators_url": "https://api.github.com/repos/danger/danger-plugin-template/collaborators{/collaborator}",
247
+ "teams_url": "https://api.github.com/repos/danger/danger-plugin-template/teams",
248
+ "hooks_url": "https://api.github.com/repos/danger/danger-plugin-template/hooks",
249
+ "issue_events_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/events{/number}",
250
+ "events_url": "https://api.github.com/repos/danger/danger-plugin-template/events",
251
+ "assignees_url": "https://api.github.com/repos/danger/danger-plugin-template/assignees{/user}",
252
+ "branches_url": "https://api.github.com/repos/danger/danger-plugin-template/branches{/branch}",
253
+ "tags_url": "https://api.github.com/repos/danger/danger-plugin-template/tags",
254
+ "blobs_url": "https://api.github.com/repos/danger/danger-plugin-template/git/blobs{/sha}",
255
+ "git_tags_url": "https://api.github.com/repos/danger/danger-plugin-template/git/tags{/sha}",
256
+ "git_refs_url": "https://api.github.com/repos/danger/danger-plugin-template/git/refs{/sha}",
257
+ "trees_url": "https://api.github.com/repos/danger/danger-plugin-template/git/trees{/sha}",
258
+ "statuses_url": "https://api.github.com/repos/danger/danger-plugin-template/statuses/{sha}",
259
+ "languages_url": "https://api.github.com/repos/danger/danger-plugin-template/languages",
260
+ "stargazers_url": "https://api.github.com/repos/danger/danger-plugin-template/stargazers",
261
+ "contributors_url": "https://api.github.com/repos/danger/danger-plugin-template/contributors",
262
+ "subscribers_url": "https://api.github.com/repos/danger/danger-plugin-template/subscribers",
263
+ "subscription_url": "https://api.github.com/repos/danger/danger-plugin-template/subscription",
264
+ "commits_url": "https://api.github.com/repos/danger/danger-plugin-template/commits{/sha}",
265
+ "git_commits_url": "https://api.github.com/repos/danger/danger-plugin-template/git/commits{/sha}",
266
+ "comments_url": "https://api.github.com/repos/danger/danger-plugin-template/comments{/number}",
267
+ "issue_comment_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/comments{/number}",
268
+ "contents_url": "https://api.github.com/repos/danger/danger-plugin-template/contents/{+path}",
269
+ "compare_url": "https://api.github.com/repos/danger/danger-plugin-template/compare/{base}...{head}",
270
+ "merges_url": "https://api.github.com/repos/danger/danger-plugin-template/merges",
271
+ "archive_url": "https://api.github.com/repos/danger/danger-plugin-template/{archive_format}{/ref}",
272
+ "downloads_url": "https://api.github.com/repos/danger/danger-plugin-template/downloads",
273
+ "issues_url": "https://api.github.com/repos/danger/danger-plugin-template/issues{/number}",
274
+ "pulls_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls{/number}",
275
+ "milestones_url": "https://api.github.com/repos/danger/danger-plugin-template/milestones{/number}",
276
+ "notifications_url": "https://api.github.com/repos/danger/danger-plugin-template/notifications{?since,all,participating}",
277
+ "labels_url": "https://api.github.com/repos/danger/danger-plugin-template/labels{/name}",
278
+ "releases_url": "https://api.github.com/repos/danger/danger-plugin-template/releases{/id}",
279
+ "deployments_url": "https://api.github.com/repos/danger/danger-plugin-template/deployments",
280
+ "created_at": "2016-06-04T18:17:02Z",
281
+ "updated_at": "2021-01-16T20:22:22Z",
282
+ "pushed_at": "2021-01-16T20:22:19Z",
283
+ "git_url": "git://github.com/danger/danger-plugin-template.git",
284
+ "ssh_url": "git@github.com:danger/danger-plugin-template.git",
285
+ "clone_url": "https://github.com/danger/danger-plugin-template.git",
286
+ "svn_url": "https://github.com/danger/danger-plugin-template",
287
+ "homepage": null,
288
+ "size": 35,
289
+ "stargazers_count": 19,
290
+ "watchers_count": 19,
291
+ "language": "Ruby",
292
+ "has_issues": true,
293
+ "has_projects": true,
294
+ "has_downloads": true,
295
+ "has_wiki": true,
296
+ "has_pages": false,
297
+ "forks_count": 10,
298
+ "mirror_url": null,
299
+ "archived": false,
300
+ "disabled": false,
301
+ "open_issues_count": 2,
302
+ "license": {
303
+ "key": "other",
304
+ "name": "Other",
305
+ "spdx_id": "NOASSERTION",
306
+ "url": null,
307
+ "node_id": "MDc6TGljZW5zZTA="
308
+ },
309
+ "allow_forking": true,
310
+ "is_template": false,
311
+ "topics": [
312
+
313
+ ],
314
+ "visibility": "public",
315
+ "forks": 10,
316
+ "open_issues": 2,
317
+ "watchers": 19,
318
+ "default_branch": "master"
319
+ }
320
+ },
321
+ "_links": {
322
+ "self": {
323
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18"
324
+ },
325
+ "html": {
326
+ "href": "https://github.com/danger/danger-plugin-template/pull/18"
327
+ },
328
+ "issue": {
329
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/issues/18"
330
+ },
331
+ "comments": {
332
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/issues/18/comments"
333
+ },
334
+ "review_comments": {
335
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/comments"
336
+ },
337
+ "review_comment": {
338
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/comments{/number}"
339
+ },
340
+ "commits": {
341
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/commits"
342
+ },
343
+ "statuses": {
344
+ "href": "https://api.github.com/repos/danger/danger-plugin-template/statuses/abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5"
345
+ }
346
+ },
347
+ "author_association": "CONTRIBUTOR",
348
+ "auto_merge": null,
349
+ "active_lock_reason": null,
350
+ "merged": true,
351
+ "mergeable": null,
352
+ "rebaseable": null,
353
+ "mergeable_state": "unknown",
354
+ "merged_by": {
355
+ "login": "orta",
356
+ "id": 49038,
357
+ "node_id": "MDQ6VXNlcjQ5MDM4",
358
+ "avatar_url": "https://avatars.githubusercontent.com/u/49038?v=4",
359
+ "gravatar_id": "",
360
+ "url": "https://api.github.com/users/orta",
361
+ "html_url": "https://github.com/orta",
362
+ "followers_url": "https://api.github.com/users/orta/followers",
363
+ "following_url": "https://api.github.com/users/orta/following{/other_user}",
364
+ "gists_url": "https://api.github.com/users/orta/gists{/gist_id}",
365
+ "starred_url": "https://api.github.com/users/orta/starred{/owner}{/repo}",
366
+ "subscriptions_url": "https://api.github.com/users/orta/subscriptions",
367
+ "organizations_url": "https://api.github.com/users/orta/orgs",
368
+ "repos_url": "https://api.github.com/users/orta/repos",
369
+ "events_url": "https://api.github.com/users/orta/events{/privacy}",
370
+ "received_events_url": "https://api.github.com/users/orta/received_events",
371
+ "type": "User",
372
+ "site_admin": false
373
+ },
374
+ "comments": 2,
375
+ "review_comments": 0,
376
+ "maintainer_can_modify": false,
377
+ "commits": 2,
378
+ "additions": 5,
379
+ "deletions": 0,
380
+ "changed_files": 1
381
+ }
@@ -0,0 +1,3 @@
1
+ enum UnusedEnum {
2
+ case unused
3
+ }