contribution-checker 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/contribution-checker.gemspec +2 -2
- data/lib/contribution-checker/checker.rb +6 -4
- data/lib/contribution-checker/version.rb +1 -1
- data/spec/contribution-checker/checker_spec.rb +27 -27
- metadata +7 -9
- data/spec/fixtures/starred.json +0 -186
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6ecd5538f10ca9621b4fa836289523aa63976ed
|
4
|
+
data.tar.gz: 3f8256f68c44955712b5c88941619a224ffcb9ec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc84b1ef6e9a2d17882402647b9957ee68608c76385e6c775b893b731528f4bbfe53f2610a4c68992f7a5532031f9cc2159e5c77507d36f0a39dd35b81d6d104
|
7
|
+
data.tar.gz: e9b884acb90e6e1c4bf6a54b3f3012fd5efe1e7809ad90662394ac7a792b725832d906fa57b69ff8d652dc2b114a32268432732d9bc91b873923b7486dc759f3
|
data/README.md
CHANGED
@@ -34,7 +34,7 @@ checker.check
|
|
34
34
|
|
35
35
|
You might also like to try out the [Contribution Checker][app] app built on top of this library:
|
36
36
|
|
37
|
-
![checker](https://cloud.githubusercontent.com/assets/65057/
|
37
|
+
![checker](https://cloud.githubusercontent.com/assets/65057/6320756/b32c9328-bae6-11e4-9ba1-48ced9a5fb6e.png)
|
38
38
|
|
39
39
|
The source for the app is in [jdennes/contribution-checker-app][contribution-checker-app].
|
40
40
|
|
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "octokit", "~> 3.
|
21
|
+
spec.add_dependency "octokit", "~> 3.8"
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler", "~> 1.
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
24
24
|
spec.add_development_dependency "rake"
|
25
25
|
spec.add_development_dependency "rspec"
|
26
26
|
spec.add_development_dependency "webmock"
|
@@ -171,9 +171,7 @@ module ContributionChecker
|
|
171
171
|
#
|
172
172
|
# @return [Boolean]
|
173
173
|
def user_has_starred_repo?
|
174
|
-
@client.
|
175
|
-
starred = @client.starred @user.login
|
176
|
-
starred.map { |s| s.full_name }.include? @nwo
|
174
|
+
@client.starred? @nwo
|
177
175
|
end
|
178
176
|
|
179
177
|
# Checks whether the authenticated user is a member of the organization
|
@@ -232,8 +230,12 @@ module ContributionChecker
|
|
232
230
|
@user_forks = @user_repos.select { |r| r[:fork] }
|
233
231
|
@user_forks.each do |f|
|
234
232
|
r = @client.repository f[:full_name]
|
235
|
-
|
233
|
+
if r[:parent][:full_name] == @repo[:full_name]
|
234
|
+
@client.auto_paginate = false
|
235
|
+
return true
|
236
|
+
end
|
236
237
|
end
|
238
|
+
@client.auto_paginate = false
|
237
239
|
false
|
238
240
|
end
|
239
241
|
|
@@ -80,9 +80,9 @@ describe ContributionChecker::Checker do
|
|
80
80
|
to_return(json_response("default_compare.json"))
|
81
81
|
stub_get("/user/emails").
|
82
82
|
to_return(json_response("emails.json"))
|
83
|
-
stub_get("/user/starred
|
84
|
-
to_return(
|
85
|
-
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&
|
83
|
+
stub_get("/user/starred/jdennes/contribution-checker").
|
84
|
+
to_return(:status => 404)
|
85
|
+
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&state=all").
|
86
86
|
to_return(json_response("issues_and_prs.json"))
|
87
87
|
end
|
88
88
|
|
@@ -126,9 +126,9 @@ describe ContributionChecker::Checker do
|
|
126
126
|
to_return(json_response("gh-pages_compare.json"))
|
127
127
|
stub_get("/user/emails").
|
128
128
|
to_return(json_response("emails.json"))
|
129
|
-
stub_get("/user/starred
|
130
|
-
to_return(
|
131
|
-
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&
|
129
|
+
stub_get("/user/starred/jdennes/contribution-checker").
|
130
|
+
to_return(:status => 404)
|
131
|
+
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&state=all").
|
132
132
|
to_return(json_response("issues_and_prs.json"))
|
133
133
|
end
|
134
134
|
|
@@ -172,9 +172,9 @@ describe ContributionChecker::Checker do
|
|
172
172
|
to_return(json_response("gh-pages_compare.json"))
|
173
173
|
stub_get("/user/emails").
|
174
174
|
to_return(json_response("emails.json"))
|
175
|
-
stub_get("/user/starred
|
176
|
-
to_return(
|
177
|
-
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&
|
175
|
+
stub_get("/user/starred/jdennes/contribution-checker").
|
176
|
+
to_return(:status => 404)
|
177
|
+
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&state=all").
|
178
178
|
to_return(json_response("issues_and_prs.json"))
|
179
179
|
end
|
180
180
|
|
@@ -218,9 +218,9 @@ describe ContributionChecker::Checker do
|
|
218
218
|
to_return(:status => 404)
|
219
219
|
stub_get("/user/emails").
|
220
220
|
to_return(json_response("emails.json"))
|
221
|
-
stub_get("/user/starred
|
222
|
-
to_return(
|
223
|
-
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&
|
221
|
+
stub_get("/user/starred/jdennes/contribution-checker").
|
222
|
+
to_return(:status => 404)
|
223
|
+
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&state=all").
|
224
224
|
to_return(json_response("issues_and_prs.json"))
|
225
225
|
end
|
226
226
|
|
@@ -263,11 +263,11 @@ describe ContributionChecker::Checker do
|
|
263
263
|
to_return(json_response("default_compare.json"))
|
264
264
|
stub_get("/user/emails").
|
265
265
|
to_return(json_response("emails.json"))
|
266
|
-
stub_get("/user/starred
|
267
|
-
to_return(
|
266
|
+
stub_get("/user/starred/jdennes/contribution-checker").
|
267
|
+
to_return(:status => 404)
|
268
268
|
stub_get("/orgs/github/members/jdennes").
|
269
269
|
to_return(:status => 204)
|
270
|
-
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&
|
270
|
+
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&state=all").
|
271
271
|
to_return(json_response("issues_and_prs.json"))
|
272
272
|
end
|
273
273
|
|
@@ -309,11 +309,11 @@ describe ContributionChecker::Checker do
|
|
309
309
|
to_return(json_response("default_compare.json"))
|
310
310
|
stub_get("/user/emails").
|
311
311
|
to_return(json_response("emails.json"))
|
312
|
-
stub_get("/user/starred
|
313
|
-
to_return(
|
312
|
+
stub_get("/user/starred/jdennes/contribution-checker").
|
313
|
+
to_return(:status => 404)
|
314
314
|
stub_get("/repos/jdennes/contribution-checker/forks?per_page=100").
|
315
315
|
to_return(json_response("repo_forks.json"))
|
316
|
-
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&
|
316
|
+
stub_get("/repos/jdennes/contribution-checker/issues?creator=jdennes&state=all").
|
317
317
|
to_return(json_response("issues_and_prs.json"))
|
318
318
|
end
|
319
319
|
|
@@ -355,11 +355,11 @@ describe ContributionChecker::Checker do
|
|
355
355
|
to_return(json_response("default_compare.json"))
|
356
356
|
stub_get("/user/emails").
|
357
357
|
to_return(json_response("emails.json"))
|
358
|
-
stub_get("/user/starred
|
359
|
-
to_return(
|
358
|
+
stub_get("/user/starred/someone/contribution-checker").
|
359
|
+
to_return(:status => 404)
|
360
360
|
stub_get("/repos/jdennes/contribution-checker").
|
361
361
|
to_return(json_response("potential_fork.json"))
|
362
|
-
stub_get("/repos/someone/contribution-checker/issues?creator=jdennes&
|
362
|
+
stub_get("/repos/someone/contribution-checker/issues?creator=jdennes&state=all").
|
363
363
|
to_return(json_response("issues_and_prs.json"))
|
364
364
|
end
|
365
365
|
|
@@ -401,15 +401,15 @@ describe ContributionChecker::Checker do
|
|
401
401
|
to_return(json_response("default_compare.json"))
|
402
402
|
stub_get("/user/emails").
|
403
403
|
to_return(json_response("emails.json"))
|
404
|
-
stub_get("/user/starred
|
405
|
-
to_return(
|
404
|
+
stub_get("/user/starred/someone/contribution-checker").
|
405
|
+
to_return(:status => 404)
|
406
406
|
stub_get("/repos/jdennes/contribution-checker").
|
407
407
|
to_return(:status => 404)
|
408
408
|
stub_get("/user/repos?per_page=100").
|
409
409
|
to_return(json_response("user_repos.json"))
|
410
410
|
stub_get("/repos/jdennes/myfork").
|
411
411
|
to_return(json_response("user_fork.json"))
|
412
|
-
stub_get("/repos/someone/contribution-checker/issues?creator=jdennes&
|
412
|
+
stub_get("/repos/someone/contribution-checker/issues?creator=jdennes&state=all").
|
413
413
|
to_return(json_response("issues_and_prs.json"))
|
414
414
|
end
|
415
415
|
|
@@ -451,15 +451,15 @@ describe ContributionChecker::Checker do
|
|
451
451
|
to_return(json_response("default_compare.json"))
|
452
452
|
stub_get("/user/emails").
|
453
453
|
to_return(json_response("emails.json"))
|
454
|
-
stub_get("/user/starred
|
455
|
-
to_return(
|
454
|
+
stub_get("/user/starred/someone/contribution-checker").
|
455
|
+
to_return(:status => 404)
|
456
456
|
stub_get("/repos/jdennes/contribution-checker").
|
457
457
|
to_return(:status => 404)
|
458
458
|
stub_get("/user/repos?per_page=100").
|
459
459
|
to_return(json_response("user_repos.json"))
|
460
460
|
stub_get("/repos/jdennes/myfork").
|
461
461
|
to_return(json_response("user_fork_not_matching.json"))
|
462
|
-
stub_get("/repos/someone/contribution-checker/issues?creator=jdennes&
|
462
|
+
stub_get("/repos/someone/contribution-checker/issues?creator=jdennes&state=all").
|
463
463
|
to_return(json_response("issues_and_prs.json"))
|
464
464
|
end
|
465
465
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: contribution-checker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Dennes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.8'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.8'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.7'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.7'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -139,7 +139,6 @@ files:
|
|
139
139
|
- spec/fixtures/repo_forks.json
|
140
140
|
- spec/fixtures/repo_with_forks.json
|
141
141
|
- spec/fixtures/repo_with_too_many_forks.json
|
142
|
-
- spec/fixtures/starred.json
|
143
142
|
- spec/fixtures/user.json
|
144
143
|
- spec/fixtures/user_fork.json
|
145
144
|
- spec/fixtures/user_fork_not_matching.json
|
@@ -165,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
164
|
version: '0'
|
166
165
|
requirements: []
|
167
166
|
rubyforge_project:
|
168
|
-
rubygems_version: 2.
|
167
|
+
rubygems_version: 2.2.2
|
169
168
|
signing_key:
|
170
169
|
specification_version: 4
|
171
170
|
summary: Check whether a commit is counted as a contribution.
|
@@ -183,7 +182,6 @@ test_files:
|
|
183
182
|
- spec/fixtures/repo_forks.json
|
184
183
|
- spec/fixtures/repo_with_forks.json
|
185
184
|
- spec/fixtures/repo_with_too_many_forks.json
|
186
|
-
- spec/fixtures/starred.json
|
187
185
|
- spec/fixtures/user.json
|
188
186
|
- spec/fixtures/user_fork.json
|
189
187
|
- spec/fixtures/user_fork_not_matching.json
|
data/spec/fixtures/starred.json
DELETED
@@ -1,186 +0,0 @@
|
|
1
|
-
[
|
2
|
-
{
|
3
|
-
"id": 16283275,
|
4
|
-
"name": "geo_pattern",
|
5
|
-
"full_name": "jasonlong/geo_pattern",
|
6
|
-
"owner": {
|
7
|
-
"login": "jasonlong",
|
8
|
-
"id": 6104,
|
9
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/6104?v=3",
|
10
|
-
"gravatar_id": "",
|
11
|
-
"url": "https://api.github.com/users/jasonlong",
|
12
|
-
"html_url": "https://github.com/jasonlong",
|
13
|
-
"followers_url": "https://api.github.com/users/jasonlong/followers",
|
14
|
-
"following_url": "https://api.github.com/users/jasonlong/following{/other_user}",
|
15
|
-
"gists_url": "https://api.github.com/users/jasonlong/gists{/gist_id}",
|
16
|
-
"starred_url": "https://api.github.com/users/jasonlong/starred{/owner}{/repo}",
|
17
|
-
"subscriptions_url": "https://api.github.com/users/jasonlong/subscriptions",
|
18
|
-
"organizations_url": "https://api.github.com/users/jasonlong/orgs",
|
19
|
-
"repos_url": "https://api.github.com/users/jasonlong/repos",
|
20
|
-
"events_url": "https://api.github.com/users/jasonlong/events{/privacy}",
|
21
|
-
"received_events_url": "https://api.github.com/users/jasonlong/received_events",
|
22
|
-
"type": "User",
|
23
|
-
"site_admin": true
|
24
|
-
},
|
25
|
-
"private": false,
|
26
|
-
"html_url": "https://github.com/jasonlong/geo_pattern",
|
27
|
-
"description": "Create beautiful generative geometric background images from a string.",
|
28
|
-
"fork": false,
|
29
|
-
"url": "https://api.github.com/repos/jasonlong/geo_pattern",
|
30
|
-
"forks_url": "https://api.github.com/repos/jasonlong/geo_pattern/forks",
|
31
|
-
"keys_url": "https://api.github.com/repos/jasonlong/geo_pattern/keys{/key_id}",
|
32
|
-
"collaborators_url": "https://api.github.com/repos/jasonlong/geo_pattern/collaborators{/collaborator}",
|
33
|
-
"teams_url": "https://api.github.com/repos/jasonlong/geo_pattern/teams",
|
34
|
-
"hooks_url": "https://api.github.com/repos/jasonlong/geo_pattern/hooks",
|
35
|
-
"issue_events_url": "https://api.github.com/repos/jasonlong/geo_pattern/issues/events{/number}",
|
36
|
-
"events_url": "https://api.github.com/repos/jasonlong/geo_pattern/events",
|
37
|
-
"assignees_url": "https://api.github.com/repos/jasonlong/geo_pattern/assignees{/user}",
|
38
|
-
"branches_url": "https://api.github.com/repos/jasonlong/geo_pattern/branches{/branch}",
|
39
|
-
"tags_url": "https://api.github.com/repos/jasonlong/geo_pattern/tags",
|
40
|
-
"blobs_url": "https://api.github.com/repos/jasonlong/geo_pattern/git/blobs{/sha}",
|
41
|
-
"git_tags_url": "https://api.github.com/repos/jasonlong/geo_pattern/git/tags{/sha}",
|
42
|
-
"git_refs_url": "https://api.github.com/repos/jasonlong/geo_pattern/git/refs{/sha}",
|
43
|
-
"trees_url": "https://api.github.com/repos/jasonlong/geo_pattern/git/trees{/sha}",
|
44
|
-
"statuses_url": "https://api.github.com/repos/jasonlong/geo_pattern/statuses/{sha}",
|
45
|
-
"languages_url": "https://api.github.com/repos/jasonlong/geo_pattern/languages",
|
46
|
-
"stargazers_url": "https://api.github.com/repos/jasonlong/geo_pattern/stargazers",
|
47
|
-
"contributors_url": "https://api.github.com/repos/jasonlong/geo_pattern/contributors",
|
48
|
-
"subscribers_url": "https://api.github.com/repos/jasonlong/geo_pattern/subscribers",
|
49
|
-
"subscription_url": "https://api.github.com/repos/jasonlong/geo_pattern/subscription",
|
50
|
-
"commits_url": "https://api.github.com/repos/jasonlong/geo_pattern/commits{/sha}",
|
51
|
-
"git_commits_url": "https://api.github.com/repos/jasonlong/geo_pattern/git/commits{/sha}",
|
52
|
-
"comments_url": "https://api.github.com/repos/jasonlong/geo_pattern/comments{/number}",
|
53
|
-
"issue_comment_url": "https://api.github.com/repos/jasonlong/geo_pattern/issues/comments/{number}",
|
54
|
-
"contents_url": "https://api.github.com/repos/jasonlong/geo_pattern/contents/{+path}",
|
55
|
-
"compare_url": "https://api.github.com/repos/jasonlong/geo_pattern/compare/{base}...{head}",
|
56
|
-
"merges_url": "https://api.github.com/repos/jasonlong/geo_pattern/merges",
|
57
|
-
"archive_url": "https://api.github.com/repos/jasonlong/geo_pattern/{archive_format}{/ref}",
|
58
|
-
"downloads_url": "https://api.github.com/repos/jasonlong/geo_pattern/downloads",
|
59
|
-
"issues_url": "https://api.github.com/repos/jasonlong/geo_pattern/issues{/number}",
|
60
|
-
"pulls_url": "https://api.github.com/repos/jasonlong/geo_pattern/pulls{/number}",
|
61
|
-
"milestones_url": "https://api.github.com/repos/jasonlong/geo_pattern/milestones{/number}",
|
62
|
-
"notifications_url": "https://api.github.com/repos/jasonlong/geo_pattern/notifications{?since,all,participating}",
|
63
|
-
"labels_url": "https://api.github.com/repos/jasonlong/geo_pattern/labels{/name}",
|
64
|
-
"releases_url": "https://api.github.com/repos/jasonlong/geo_pattern/releases{/id}",
|
65
|
-
"created_at": "2014-01-27T15:38:07Z",
|
66
|
-
"updated_at": "2015-01-09T22:05:40Z",
|
67
|
-
"pushed_at": "2015-01-09T22:05:40Z",
|
68
|
-
"git_url": "git://github.com/jasonlong/geo_pattern.git",
|
69
|
-
"ssh_url": "git@github.com:jasonlong/geo_pattern.git",
|
70
|
-
"clone_url": "https://github.com/jasonlong/geo_pattern.git",
|
71
|
-
"svn_url": "https://github.com/jasonlong/geo_pattern",
|
72
|
-
"homepage": "",
|
73
|
-
"size": 1885,
|
74
|
-
"stargazers_count": 584,
|
75
|
-
"watchers_count": 584,
|
76
|
-
"language": "Ruby",
|
77
|
-
"has_issues": true,
|
78
|
-
"has_downloads": true,
|
79
|
-
"has_wiki": true,
|
80
|
-
"has_pages": true,
|
81
|
-
"forks_count": 31,
|
82
|
-
"mirror_url": null,
|
83
|
-
"open_issues_count": 2,
|
84
|
-
"forks": 31,
|
85
|
-
"open_issues": 2,
|
86
|
-
"watchers": 584,
|
87
|
-
"default_branch": "master",
|
88
|
-
"permissions": {
|
89
|
-
"admin": false,
|
90
|
-
"push": false,
|
91
|
-
"pull": true
|
92
|
-
}
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"id": 9639981,
|
96
|
-
"name": "xctool",
|
97
|
-
"full_name": "facebook/xctool",
|
98
|
-
"owner": {
|
99
|
-
"login": "facebook",
|
100
|
-
"id": 69631,
|
101
|
-
"avatar_url": "https://avatars.githubusercontent.com/u/69631?v=3",
|
102
|
-
"gravatar_id": "",
|
103
|
-
"url": "https://api.github.com/users/facebook",
|
104
|
-
"html_url": "https://github.com/facebook",
|
105
|
-
"followers_url": "https://api.github.com/users/facebook/followers",
|
106
|
-
"following_url": "https://api.github.com/users/facebook/following{/other_user}",
|
107
|
-
"gists_url": "https://api.github.com/users/facebook/gists{/gist_id}",
|
108
|
-
"starred_url": "https://api.github.com/users/facebook/starred{/owner}{/repo}",
|
109
|
-
"subscriptions_url": "https://api.github.com/users/facebook/subscriptions",
|
110
|
-
"organizations_url": "https://api.github.com/users/facebook/orgs",
|
111
|
-
"repos_url": "https://api.github.com/users/facebook/repos",
|
112
|
-
"events_url": "https://api.github.com/users/facebook/events{/privacy}",
|
113
|
-
"received_events_url": "https://api.github.com/users/facebook/received_events",
|
114
|
-
"type": "Organization",
|
115
|
-
"site_admin": false
|
116
|
-
},
|
117
|
-
"private": false,
|
118
|
-
"html_url": "https://github.com/facebook/xctool",
|
119
|
-
"description": "A replacement for Apple's xcodebuild that makes it easier to build and test iOS or OSX apps.",
|
120
|
-
"fork": false,
|
121
|
-
"url": "https://api.github.com/repos/facebook/xctool",
|
122
|
-
"forks_url": "https://api.github.com/repos/facebook/xctool/forks",
|
123
|
-
"keys_url": "https://api.github.com/repos/facebook/xctool/keys{/key_id}",
|
124
|
-
"collaborators_url": "https://api.github.com/repos/facebook/xctool/collaborators{/collaborator}",
|
125
|
-
"teams_url": "https://api.github.com/repos/facebook/xctool/teams",
|
126
|
-
"hooks_url": "https://api.github.com/repos/facebook/xctool/hooks",
|
127
|
-
"issue_events_url": "https://api.github.com/repos/facebook/xctool/issues/events{/number}",
|
128
|
-
"events_url": "https://api.github.com/repos/facebook/xctool/events",
|
129
|
-
"assignees_url": "https://api.github.com/repos/facebook/xctool/assignees{/user}",
|
130
|
-
"branches_url": "https://api.github.com/repos/facebook/xctool/branches{/branch}",
|
131
|
-
"tags_url": "https://api.github.com/repos/facebook/xctool/tags",
|
132
|
-
"blobs_url": "https://api.github.com/repos/facebook/xctool/git/blobs{/sha}",
|
133
|
-
"git_tags_url": "https://api.github.com/repos/facebook/xctool/git/tags{/sha}",
|
134
|
-
"git_refs_url": "https://api.github.com/repos/facebook/xctool/git/refs{/sha}",
|
135
|
-
"trees_url": "https://api.github.com/repos/facebook/xctool/git/trees{/sha}",
|
136
|
-
"statuses_url": "https://api.github.com/repos/facebook/xctool/statuses/{sha}",
|
137
|
-
"languages_url": "https://api.github.com/repos/facebook/xctool/languages",
|
138
|
-
"stargazers_url": "https://api.github.com/repos/facebook/xctool/stargazers",
|
139
|
-
"contributors_url": "https://api.github.com/repos/facebook/xctool/contributors",
|
140
|
-
"subscribers_url": "https://api.github.com/repos/facebook/xctool/subscribers",
|
141
|
-
"subscription_url": "https://api.github.com/repos/facebook/xctool/subscription",
|
142
|
-
"commits_url": "https://api.github.com/repos/facebook/xctool/commits{/sha}",
|
143
|
-
"git_commits_url": "https://api.github.com/repos/facebook/xctool/git/commits{/sha}",
|
144
|
-
"comments_url": "https://api.github.com/repos/facebook/xctool/comments{/number}",
|
145
|
-
"issue_comment_url": "https://api.github.com/repos/facebook/xctool/issues/comments/{number}",
|
146
|
-
"contents_url": "https://api.github.com/repos/facebook/xctool/contents/{+path}",
|
147
|
-
"compare_url": "https://api.github.com/repos/facebook/xctool/compare/{base}...{head}",
|
148
|
-
"merges_url": "https://api.github.com/repos/facebook/xctool/merges",
|
149
|
-
"archive_url": "https://api.github.com/repos/facebook/xctool/{archive_format}{/ref}",
|
150
|
-
"downloads_url": "https://api.github.com/repos/facebook/xctool/downloads",
|
151
|
-
"issues_url": "https://api.github.com/repos/facebook/xctool/issues{/number}",
|
152
|
-
"pulls_url": "https://api.github.com/repos/facebook/xctool/pulls{/number}",
|
153
|
-
"milestones_url": "https://api.github.com/repos/facebook/xctool/milestones{/number}",
|
154
|
-
"notifications_url": "https://api.github.com/repos/facebook/xctool/notifications{?since,all,participating}",
|
155
|
-
"labels_url": "https://api.github.com/repos/facebook/xctool/labels{/name}",
|
156
|
-
"releases_url": "https://api.github.com/repos/facebook/xctool/releases{/id}",
|
157
|
-
"created_at": "2013-04-24T05:18:44Z",
|
158
|
-
"updated_at": "2015-01-13T13:34:34Z",
|
159
|
-
"pushed_at": "2014-12-09T01:35:35Z",
|
160
|
-
"git_url": "git://github.com/facebook/xctool.git",
|
161
|
-
"ssh_url": "git@github.com:facebook/xctool.git",
|
162
|
-
"clone_url": "https://github.com/facebook/xctool.git",
|
163
|
-
"svn_url": "https://github.com/facebook/xctool",
|
164
|
-
"homepage": "",
|
165
|
-
"size": 20633,
|
166
|
-
"stargazers_count": 3740,
|
167
|
-
"watchers_count": 3740,
|
168
|
-
"language": "Objective-C",
|
169
|
-
"has_issues": true,
|
170
|
-
"has_downloads": true,
|
171
|
-
"has_wiki": true,
|
172
|
-
"has_pages": false,
|
173
|
-
"forks_count": 398,
|
174
|
-
"mirror_url": null,
|
175
|
-
"open_issues_count": 64,
|
176
|
-
"forks": 398,
|
177
|
-
"open_issues": 64,
|
178
|
-
"watchers": 3740,
|
179
|
-
"default_branch": "master",
|
180
|
-
"permissions": {
|
181
|
-
"admin": false,
|
182
|
-
"push": false,
|
183
|
-
"pull": true
|
184
|
-
}
|
185
|
-
}
|
186
|
-
]
|