danger-spm_version_updates 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +5 -3
  4. data/danger-spm_version_updates.gemspec +1 -1
  5. data/lib/spm_version_updates/gem_version.rb +1 -1
  6. data/lib/spm_version_updates/git.rb +56 -0
  7. data/lib/spm_version_updates/plugin.rb +19 -97
  8. data/lib/spm_version_updates/xcode.rb +67 -0
  9. metadata +4 -27
  10. data/.editorconfig +0 -15
  11. data/.github/workflows/docs.yml +0 -43
  12. data/.github/workflows/lint_and_test.yml +0 -32
  13. data/.github/workflows/push_gem.yml +0 -26
  14. data/.github/workflows/readme.yml +0 -21
  15. data/.gitignore +0 -136
  16. data/.idea/.gitignore +0 -8
  17. data/.idea/danger-plugin-spm-version-updates.iml +0 -130
  18. data/.idea/misc.xml +0 -4
  19. data/.idea/modules.xml +0 -8
  20. data/.idea/vcs.xml +0 -6
  21. data/.markdownlint.jsonc +0 -6
  22. data/.reek.yml +0 -129
  23. data/.rubocop.yml +0 -501
  24. data/spec/spec_helper.rb +0 -61
  25. data/spec/spm_version_updates_spec.rb +0 -180
  26. data/spec/support/fixtures/Branch.xcodeproj/project.pbxproj +0 -80
  27. data/spec/support/fixtures/Branch.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  28. data/spec/support/fixtures/ExactVersion.xcodeproj/project.pbxproj +0 -80
  29. data/spec/support/fixtures/ExactVersion.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  30. data/spec/support/fixtures/UpToNextMajor.xcodeproj/project.pbxproj +0 -80
  31. data/spec/support/fixtures/UpToNextMajor.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  32. data/spec/support/fixtures/VersionRange.xcodeproj/project.pbxproj +0 -81
  33. data/spec/support/fixtures/VersionRange.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +0 -265
  34. data/spec/support/fixtures/github_pr.json +0 -268
@@ -1,265 +0,0 @@
1
- {
2
- "pins" : [
3
- {
4
- "identity" : "abseil-cpp-binary",
5
- "kind" : "remoteSourceControl",
6
- "location" : "https://github.com/google/abseil-cpp-binary.git",
7
- "state" : {
8
- "revision" : "bfc0b6f81adc06ce5121eb23f628473638d67c5c",
9
- "version" : "1.2022062300.0"
10
- }
11
- },
12
- {
13
- "identity" : "analytics-swift",
14
- "kind" : "remoteSourceControl",
15
- "location" : "git@github.com:hbmartin/analytics-swift.git",
16
- "state" : {
17
- "branch" : "main",
18
- "revision" : "81ed4a83fc87ef074bb71b2b0bced199811dc3bb"
19
- }
20
- },
21
- {
22
- "identity" : "firebase-ios-sdk",
23
- "kind" : "remoteSourceControl",
24
- "location" : "https://github.com/firebase/firebase-ios-sdk",
25
- "state" : {
26
- "revision" : "8a8ec57a272e0d31480fb0893dda0cf4f769b57e",
27
- "version" : "10.15.0"
28
- }
29
- },
30
- {
31
- "identity" : "googleappmeasurement",
32
- "kind" : "remoteSourceControl",
33
- "location" : "https://github.com/google/GoogleAppMeasurement.git",
34
- "state" : {
35
- "revision" : "03b9beee1a61f62d32c521e172e192a1663a5e8b",
36
- "version" : "10.13.0"
37
- }
38
- },
39
- {
40
- "identity" : "googledatatransport",
41
- "kind" : "remoteSourceControl",
42
- "location" : "https://github.com/google/GoogleDataTransport.git",
43
- "state" : {
44
- "revision" : "aae45a320fd0d11811820335b1eabc8753902a40",
45
- "version" : "9.2.5"
46
- }
47
- },
48
- {
49
- "identity" : "googleutilities",
50
- "kind" : "remoteSourceControl",
51
- "location" : "https://github.com/google/GoogleUtilities.git",
52
- "state" : {
53
- "revision" : "c38ce365d77b04a9a300c31061c5227589e5597b",
54
- "version" : "7.11.5"
55
- }
56
- },
57
- {
58
- "identity" : "grpc-binary",
59
- "kind" : "remoteSourceControl",
60
- "location" : "https://github.com/google/grpc-binary.git",
61
- "state" : {
62
- "revision" : "f1b366129d1125be7db83247e003fc333104b569",
63
- "version" : "1.50.2"
64
- }
65
- },
66
- {
67
- "identity" : "gtm-session-fetcher",
68
- "kind" : "remoteSourceControl",
69
- "location" : "https://github.com/google/gtm-session-fetcher.git",
70
- "state" : {
71
- "revision" : "d415594121c9e8a4f9d79cecee0965cf35e74dbd",
72
- "version" : "3.1.1"
73
- }
74
- },
75
- {
76
- "identity" : "interop-ios-for-google-sdks",
77
- "kind" : "remoteSourceControl",
78
- "location" : "https://github.com/google/interop-ios-for-google-sdks.git",
79
- "state" : {
80
- "revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
81
- "version" : "100.0.0"
82
- }
83
- },
84
- {
85
- "identity" : "leveldb",
86
- "kind" : "remoteSourceControl",
87
- "location" : "https://github.com/firebase/leveldb.git",
88
- "state" : {
89
- "revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
90
- "version" : "1.22.2"
91
- }
92
- },
93
- {
94
- "identity" : "lookingglassui",
95
- "kind" : "remoteSourceControl",
96
- "location" : "https://github.com/ryanlintott/LookingGlassUI",
97
- "state" : {
98
- "revision" : "3257e1b5392a8b39e4620e09cfdb672d2be42855",
99
- "version" : "0.3.1"
100
- }
101
- },
102
- {
103
- "identity" : "maplibre-gl-native-distribution",
104
- "kind" : "remoteSourceControl",
105
- "location" : "https://github.com/maplibre/maplibre-gl-native-distribution",
106
- "state" : {
107
- "revision" : "ffda61e298c1490d4860d5184e80d618aaadc089",
108
- "version" : "5.13.0"
109
- }
110
- },
111
- {
112
- "identity" : "nanopb",
113
- "kind" : "remoteSourceControl",
114
- "location" : "https://github.com/firebase/nanopb.git",
115
- "state" : {
116
- "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
117
- "version" : "2.30909.0"
118
- }
119
- },
120
- {
121
- "identity" : "nuke",
122
- "kind" : "remoteSourceControl",
123
- "location" : "https://github.com/kean/Nuke",
124
- "state" : {
125
- "revision" : "3f666f120b63ea7de57d42e9a7c9b47f8e7a290b",
126
- "version" : "12.1.6"
127
- }
128
- },
129
- {
130
- "identity" : "phonenumberkit",
131
- "kind" : "remoteSourceControl",
132
- "location" : "https://github.com/marmelroy/PhoneNumberKit.git",
133
- "state" : {
134
- "revision" : "b456f2f9be10c1d183158220b831afd22697dd68",
135
- "version" : "3.7.4"
136
- }
137
- },
138
- {
139
- "identity" : "promises",
140
- "kind" : "remoteSourceControl",
141
- "location" : "https://github.com/google/promises.git",
142
- "state" : {
143
- "revision" : "e70e889c0196c76d22759eb50d6a0270ca9f1d9e",
144
- "version" : "2.3.1"
145
- }
146
- },
147
- {
148
- "identity" : "sentry-cocoa",
149
- "kind" : "remoteSourceControl",
150
- "location" : "https://github.com/getsentry/sentry-cocoa.git",
151
- "state" : {
152
- "revision" : "14aa6e47b03b820fd2b338728637570b9e969994",
153
- "version" : "8.12.0"
154
- }
155
- },
156
- {
157
- "identity" : "sovran-swift",
158
- "kind" : "remoteSourceControl",
159
- "location" : "https://github.com/segmentio/Sovran-Swift.git",
160
- "state" : {
161
- "revision" : "64f3b5150c282a34af4578188dce2fd597e600e3",
162
- "version" : "1.1.0"
163
- }
164
- },
165
- {
166
- "identity" : "swift-algorithms",
167
- "kind" : "remoteSourceControl",
168
- "location" : "https://github.com/apple/swift-algorithms.git",
169
- "state" : {
170
- "revision" : "bcd4f369ac962bc3e5244c9df778739f8f5bdbf1",
171
- "version" : "1.1.0"
172
- }
173
- },
174
- {
175
- "identity" : "swift-argument-parser",
176
- "kind" : "remoteSourceControl",
177
- "location" : "https://github.com/apple/swift-argument-parser.git",
178
- "state" : {
179
- "revision" : "8f4d2753f0e4778c76d5f05ad16c74f707390531",
180
- "version" : "1.2.3"
181
- }
182
- },
183
- {
184
- "identity" : "swift-asn1",
185
- "kind" : "remoteSourceControl",
186
- "location" : "https://github.com/apple/swift-asn1.git",
187
- "state" : {
188
- "revision" : "3664efa98bd302ec90e5b27ee1c0649fbcc365bc"
189
- }
190
- },
191
- {
192
- "identity" : "swift-case-paths",
193
- "kind" : "remoteSourceControl",
194
- "location" : "https://github.com/pointfreeco/swift-case-paths",
195
- "state" : {
196
- "revision" : "5da6989aae464f324eef5c5b52bdb7974725ab81",
197
- "version" : "1.0.0"
198
- }
199
- },
200
- {
201
- "identity" : "swift-custom-dump",
202
- "kind" : "remoteSourceControl",
203
- "location" : "https://github.com/pointfreeco/swift-custom-dump",
204
- "state" : {
205
- "revision" : "3efbfba0e4e56c7187cc19137ee16b7c95346b79",
206
- "version" : "1.1.0"
207
- }
208
- },
209
- {
210
- "identity" : "swift-numerics",
211
- "kind" : "remoteSourceControl",
212
- "location" : "https://github.com/apple/swift-numerics.git",
213
- "state" : {
214
- "revision" : "0a5bc04095a675662cf24757cc0640aa2204253b",
215
- "version" : "1.0.2"
216
- }
217
- },
218
- {
219
- "identity" : "swift-protobuf",
220
- "kind" : "remoteSourceControl",
221
- "location" : "https://github.com/apple/swift-protobuf.git",
222
- "state" : {
223
- "revision" : "cf62cdaea48b77f1a631e5cb3aeda6047c2cba1d",
224
- "version" : "1.23.0"
225
- }
226
- },
227
- {
228
- "identity" : "swift-snapshot-testing",
229
- "kind" : "remoteSourceControl",
230
- "location" : "https://github.com/pointfreeco/swift-snapshot-testing",
231
- "state" : {
232
- "revision" : "696b86a6d151578bca7c1a2a3ed419a5f834d40f",
233
- "version" : "1.13.0"
234
- }
235
- },
236
- {
237
- "identity" : "swift-syntax",
238
- "kind" : "remoteSourceControl",
239
- "location" : "https://github.com/apple/swift-syntax.git",
240
- "state" : {
241
- "revision" : "74203046135342e4a4a627476dd6caf8b28fe11b",
242
- "version" : "509.0.0"
243
- }
244
- },
245
- {
246
- "identity" : "swiftui-navigation",
247
- "kind" : "remoteSourceControl",
248
- "location" : "https://github.com/pointfreeco/swiftui-navigation",
249
- "state" : {
250
- "revision" : "6eb293c49505d86e9e24232cb6af6be7fff93bd5",
251
- "version" : "1.0.2"
252
- }
253
- },
254
- {
255
- "identity" : "xctest-dynamic-overlay",
256
- "kind" : "remoteSourceControl",
257
- "location" : "https://github.com/pointfreeco/xctest-dynamic-overlay",
258
- "state" : {
259
- "revision" : "23cbf2294e350076ea4dbd7d5d047c1e76b03631",
260
- "version" : "1.0.2"
261
- }
262
- }
263
- ],
264
- "version" : 2
265
- }
@@ -1,268 +0,0 @@
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 example 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
- "requested_reviewers": [],
42
- "requested_teams": [],
43
- "labels": [],
44
- "milestone": null,
45
- "draft": false,
46
- "commits_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/commits",
47
- "review_comments_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/comments",
48
- "review_comment_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/comments{/number}",
49
- "comments_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/18/comments",
50
- "statuses_url": "https://api.github.com/repos/danger/danger-plugin-template/statuses/abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5",
51
- "head": {
52
- "label": "wilrnh:661-mocking-prs",
53
- "ref": "661-mocking-prs",
54
- "sha": "abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5",
55
- "user": {
56
- "login": "wilrnh",
57
- "id": 555966,
58
- "node_id": "MDQ6VXNlcjU1NTk2Ng==",
59
- "avatar_url": "https://avatars.githubusercontent.com/u/555966?v=4",
60
- "gravatar_id": "",
61
- "url": "https://api.github.com/users/wilrnh",
62
- "html_url": "https://github.com/wilrnh",
63
- "followers_url": "https://api.github.com/users/wilrnh/followers",
64
- "following_url": "https://api.github.com/users/wilrnh/following{/other_user}",
65
- "gists_url": "https://api.github.com/users/wilrnh/gists{/gist_id}",
66
- "starred_url": "https://api.github.com/users/wilrnh/starred{/owner}{/repo}",
67
- "subscriptions_url": "https://api.github.com/users/wilrnh/subscriptions",
68
- "organizations_url": "https://api.github.com/users/wilrnh/orgs",
69
- "repos_url": "https://api.github.com/users/wilrnh/repos",
70
- "events_url": "https://api.github.com/users/wilrnh/events{/privacy}",
71
- "received_events_url": "https://api.github.com/users/wilrnh/received_events",
72
- "type": "User",
73
- "site_admin": false
74
- },
75
- "repo": null
76
- },
77
- "base": {
78
- "label": "danger:master",
79
- "ref": "master",
80
- "sha": "30bd69c1c09d927abde0695fcb39dd70d4cc0f81",
81
- "user": {
82
- "login": "danger",
83
- "id": 17147106,
84
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3MTQ3MTA2",
85
- "avatar_url": "https://avatars.githubusercontent.com/u/17147106?v=4",
86
- "gravatar_id": "",
87
- "url": "https://api.github.com/users/danger",
88
- "html_url": "https://github.com/danger",
89
- "followers_url": "https://api.github.com/users/danger/followers",
90
- "following_url": "https://api.github.com/users/danger/following{/other_user}",
91
- "gists_url": "https://api.github.com/users/danger/gists{/gist_id}",
92
- "starred_url": "https://api.github.com/users/danger/starred{/owner}{/repo}",
93
- "subscriptions_url": "https://api.github.com/users/danger/subscriptions",
94
- "organizations_url": "https://api.github.com/users/danger/orgs",
95
- "repos_url": "https://api.github.com/users/danger/repos",
96
- "events_url": "https://api.github.com/users/danger/events{/privacy}",
97
- "received_events_url": "https://api.github.com/users/danger/received_events",
98
- "type": "Organization",
99
- "site_admin": false
100
- },
101
- "repo": {
102
- "id": 60424063,
103
- "node_id": "MDEwOlJlcG9zaXRvcnk2MDQyNDA2Mw==",
104
- "name": "danger-plugin-template",
105
- "full_name": "danger/danger-plugin-template",
106
- "private": false,
107
- "owner": {
108
- "login": "danger",
109
- "id": 17147106,
110
- "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3MTQ3MTA2",
111
- "avatar_url": "https://avatars.githubusercontent.com/u/17147106?v=4",
112
- "gravatar_id": "",
113
- "url": "https://api.github.com/users/danger",
114
- "html_url": "https://github.com/danger",
115
- "followers_url": "https://api.github.com/users/danger/followers",
116
- "following_url": "https://api.github.com/users/danger/following{/other_user}",
117
- "gists_url": "https://api.github.com/users/danger/gists{/gist_id}",
118
- "starred_url": "https://api.github.com/users/danger/starred{/owner}{/repo}",
119
- "subscriptions_url": "https://api.github.com/users/danger/subscriptions",
120
- "organizations_url": "https://api.github.com/users/danger/orgs",
121
- "repos_url": "https://api.github.com/users/danger/repos",
122
- "events_url": "https://api.github.com/users/danger/events{/privacy}",
123
- "received_events_url": "https://api.github.com/users/danger/received_events",
124
- "type": "Organization",
125
- "site_admin": false
126
- },
127
- "html_url": "https://github.com/danger/danger-plugin-template",
128
- "description": "An opinionated template for creating a Danger plugin",
129
- "fork": false,
130
- "url": "https://api.github.com/repos/danger/danger-plugin-template",
131
- "forks_url": "https://api.github.com/repos/danger/danger-plugin-template/forks",
132
- "keys_url": "https://api.github.com/repos/danger/danger-plugin-template/keys{/key_id}",
133
- "collaborators_url": "https://api.github.com/repos/danger/danger-plugin-template/collaborators{/collaborator}",
134
- "teams_url": "https://api.github.com/repos/danger/danger-plugin-template/teams",
135
- "hooks_url": "https://api.github.com/repos/danger/danger-plugin-template/hooks",
136
- "issue_events_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/events{/number}",
137
- "events_url": "https://api.github.com/repos/danger/danger-plugin-template/events",
138
- "assignees_url": "https://api.github.com/repos/danger/danger-plugin-template/assignees{/user}",
139
- "branches_url": "https://api.github.com/repos/danger/danger-plugin-template/branches{/branch}",
140
- "tags_url": "https://api.github.com/repos/danger/danger-plugin-template/tags",
141
- "blobs_url": "https://api.github.com/repos/danger/danger-plugin-template/git/blobs{/sha}",
142
- "git_tags_url": "https://api.github.com/repos/danger/danger-plugin-template/git/tags{/sha}",
143
- "git_refs_url": "https://api.github.com/repos/danger/danger-plugin-template/git/refs{/sha}",
144
- "trees_url": "https://api.github.com/repos/danger/danger-plugin-template/git/trees{/sha}",
145
- "statuses_url": "https://api.github.com/repos/danger/danger-plugin-template/statuses/{sha}",
146
- "languages_url": "https://api.github.com/repos/danger/danger-plugin-template/languages",
147
- "stargazers_url": "https://api.github.com/repos/danger/danger-plugin-template/stargazers",
148
- "contributors_url": "https://api.github.com/repos/danger/danger-plugin-template/contributors",
149
- "subscribers_url": "https://api.github.com/repos/danger/danger-plugin-template/subscribers",
150
- "subscription_url": "https://api.github.com/repos/danger/danger-plugin-template/subscription",
151
- "commits_url": "https://api.github.com/repos/danger/danger-plugin-template/commits{/sha}",
152
- "git_commits_url": "https://api.github.com/repos/danger/danger-plugin-template/git/commits{/sha}",
153
- "comments_url": "https://api.github.com/repos/danger/danger-plugin-template/comments{/number}",
154
- "issue_comment_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/comments{/number}",
155
- "contents_url": "https://api.github.com/repos/danger/danger-plugin-template/contents/{+path}",
156
- "compare_url": "https://api.github.com/repos/danger/danger-plugin-template/compare/{base}...{head}",
157
- "merges_url": "https://api.github.com/repos/danger/danger-plugin-template/merges",
158
- "archive_url": "https://api.github.com/repos/danger/danger-plugin-template/{archive_format}{/ref}",
159
- "downloads_url": "https://api.github.com/repos/danger/danger-plugin-template/downloads",
160
- "issues_url": "https://api.github.com/repos/danger/danger-plugin-template/issues{/number}",
161
- "pulls_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls{/number}",
162
- "milestones_url": "https://api.github.com/repos/danger/danger-plugin-template/milestones{/number}",
163
- "notifications_url": "https://api.github.com/repos/danger/danger-plugin-template/notifications{?since,all,participating}",
164
- "labels_url": "https://api.github.com/repos/danger/danger-plugin-template/labels{/name}",
165
- "releases_url": "https://api.github.com/repos/danger/danger-plugin-template/releases{/id}",
166
- "deployments_url": "https://api.github.com/repos/danger/danger-plugin-template/deployments",
167
- "created_at": "2016-06-04T18:17:02Z",
168
- "updated_at": "2021-10-27T08:26:48Z",
169
- "pushed_at": "2022-09-04T13:16:52Z",
170
- "git_url": "git://github.com/danger/danger-plugin-template.git",
171
- "ssh_url": "git@github.com:danger/danger-plugin-template.git",
172
- "clone_url": "https://github.com/danger/danger-plugin-template.git",
173
- "svn_url": "https://github.com/danger/danger-plugin-template",
174
- "homepage": null,
175
- "size": 42,
176
- "stargazers_count": 19,
177
- "watchers_count": 19,
178
- "language": "Ruby",
179
- "has_issues": true,
180
- "has_projects": true,
181
- "has_downloads": true,
182
- "has_wiki": true,
183
- "has_pages": false,
184
- "has_discussions": false,
185
- "forks_count": 12,
186
- "mirror_url": null,
187
- "archived": false,
188
- "disabled": false,
189
- "open_issues_count": 2,
190
- "license": {
191
- "key": "other",
192
- "name": "Other",
193
- "spdx_id": "NOASSERTION",
194
- "url": null,
195
- "node_id": "MDc6TGljZW5zZTA="
196
- },
197
- "allow_forking": true,
198
- "is_template": false,
199
- "web_commit_signoff_required": false,
200
- "topics": [],
201
- "visibility": "public",
202
- "forks": 12,
203
- "open_issues": 2,
204
- "watchers": 19,
205
- "default_branch": "master"
206
- }
207
- },
208
- "_links": {
209
- "self": {
210
- "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18"
211
- },
212
- "html": {
213
- "href": "https://github.com/danger/danger-plugin-template/pull/18"
214
- },
215
- "issue": {
216
- "href": "https://api.github.com/repos/danger/danger-plugin-template/issues/18"
217
- },
218
- "comments": {
219
- "href": "https://api.github.com/repos/danger/danger-plugin-template/issues/18/comments"
220
- },
221
- "review_comments": {
222
- "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/comments"
223
- },
224
- "review_comment": {
225
- "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/comments{/number}"
226
- },
227
- "commits": {
228
- "href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/commits"
229
- },
230
- "statuses": {
231
- "href": "https://api.github.com/repos/danger/danger-plugin-template/statuses/abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5"
232
- }
233
- },
234
- "author_association": "CONTRIBUTOR",
235
- "auto_merge": null,
236
- "active_lock_reason": null,
237
- "merged": true,
238
- "mergeable": null,
239
- "rebaseable": null,
240
- "mergeable_state": "unknown",
241
- "merged_by": {
242
- "login": "orta",
243
- "id": 49038,
244
- "node_id": "MDQ6VXNlcjQ5MDM4",
245
- "avatar_url": "https://avatars.githubusercontent.com/u/49038?v=4",
246
- "gravatar_id": "",
247
- "url": "https://api.github.com/users/orta",
248
- "html_url": "https://github.com/orta",
249
- "followers_url": "https://api.github.com/users/orta/followers",
250
- "following_url": "https://api.github.com/users/orta/following{/other_user}",
251
- "gists_url": "https://api.github.com/users/orta/gists{/gist_id}",
252
- "starred_url": "https://api.github.com/users/orta/starred{/owner}{/repo}",
253
- "subscriptions_url": "https://api.github.com/users/orta/subscriptions",
254
- "organizations_url": "https://api.github.com/users/orta/orgs",
255
- "repos_url": "https://api.github.com/users/orta/repos",
256
- "events_url": "https://api.github.com/users/orta/events{/privacy}",
257
- "received_events_url": "https://api.github.com/users/orta/received_events",
258
- "type": "User",
259
- "site_admin": false
260
- },
261
- "comments": 2,
262
- "review_comments": 0,
263
- "maintainer_can_modify": false,
264
- "commits": 2,
265
- "additions": 5,
266
- "deletions": 0,
267
- "changed_files": 1
268
- }