octokit 1.0.7 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +1 -0
- data/lib/octokit/client.rb +3 -0
- data/lib/octokit/client/gists.rb +66 -0
- data/lib/octokit/gist.rb +27 -0
- data/lib/octokit/version.rb +1 -1
- data/spec/fixtures/timeline.json +1408 -1237
- data/spec/fixtures/v2/blob_metadata.json +2052 -1
- data/spec/fixtures/v2/blobs.json +260 -1
- data/spec/fixtures/v2/issues.json +49 -1
- data/spec/fixtures/v2/network_data.json +3551 -1
- data/spec/fixtures/v2/network_meta.json +2530 -1
- data/spec/fixtures/v2/repositories.json +173 -1
- data/spec/fixtures/v2/tree_metadata.json +2612 -1
- data/spec/fixtures/v2/user.json +19 -1
- data/spec/fixtures/v2/users.json +24 -1
- data/spec/fixtures/v3/blob.json +5 -5
- data/spec/fixtures/v3/branches.json +14 -14
- data/spec/fixtures/v3/collaborators.json +60 -60
- data/spec/fixtures/v3/comment.json +12 -12
- data/spec/fixtures/v3/comments.json +41 -41
- data/spec/fixtures/v3/commit.json +50 -1
- data/spec/fixtures/v3/commit_comment.json +17 -17
- data/spec/fixtures/v3/commit_comments.json +76 -76
- data/spec/fixtures/v3/commits.json +1414 -1
- data/spec/fixtures/v3/contributors.json +889 -889
- data/spec/fixtures/v3/download.json +9 -9
- data/spec/fixtures/v3/downloads.json +33 -33
- data/spec/fixtures/v3/emails.json +3 -3
- data/spec/fixtures/v3/followers.json +210 -210
- data/spec/fixtures/v3/following.json +207 -207
- data/spec/fixtures/v3/forks.json +870 -870
- data/spec/fixtures/v3/gist.json +51 -0
- data/spec/fixtures/v3/gists.json +548 -0
- data/spec/fixtures/v3/issue.json +33 -35
- data/spec/fixtures/v3/issue_closed.json +34 -36
- data/spec/fixtures/v3/issue_event.json +40 -42
- data/spec/fixtures/v3/issue_events.json +70 -70
- data/spec/fixtures/v3/issues.json +1559 -1577
- data/spec/fixtures/v3/label.json +3 -3
- data/spec/fixtures/v3/labels.json +15 -15
- data/spec/fixtures/v3/languages.json +3 -3
- data/spec/fixtures/v3/list_commit_comments.json +570 -570
- data/spec/fixtures/v3/milestone.json +9 -10
- data/spec/fixtures/v3/milestones.json +25 -25
- data/spec/fixtures/v3/not_found.json +1 -1
- data/spec/fixtures/v3/organization-repositories.json +4290 -4290
- data/spec/fixtures/v3/organization-repository.json +41 -41
- data/spec/fixtures/v3/organization.json +16 -16
- data/spec/fixtures/v3/organization_members.json +574 -574
- data/spec/fixtures/v3/organization_team_members.json +14 -14
- data/spec/fixtures/v3/organization_team_repos.json +60 -60
- data/spec/fixtures/v3/organizations.json +42 -42
- data/spec/fixtures/v3/public_events.json +1101 -1107
- data/spec/fixtures/v3/public_gists.json +968 -0
- data/spec/fixtures/v3/public_key.json +3 -3
- data/spec/fixtures/v3/public_keys.json +5 -5
- data/spec/fixtures/v3/pull_created.json +134 -134
- data/spec/fixtures/v3/pull_request.json +134 -134
- data/spec/fixtures/v3/pull_requests.json +185 -185
- data/spec/fixtures/v3/repo_events.json +1644 -1660
- data/spec/fixtures/v3/repo_issues_events.json +127 -133
- data/spec/fixtures/v3/repositories.json +871 -871
- data/spec/fixtures/v3/repository.json +33 -33
- data/spec/fixtures/v3/starred_gists.json +30 -0
- data/spec/fixtures/v3/tags.json +171 -171
- data/spec/fixtures/v3/team.json +6 -6
- data/spec/fixtures/v3/teams.json +10 -10
- data/spec/fixtures/v3/tree.json +110 -110
- data/spec/fixtures/v3/user.json +18 -18
- data/spec/fixtures/v3/user_events.json +99 -100
- data/spec/fixtures/v3/watched.json +1020 -1020
- data/spec/fixtures/v3/watchers.json +180 -180
- data/spec/octokit/client/gists_spec.rb +133 -0
- data/spec/octokit/gist_spec.rb +49 -0
- metadata +40 -26
@@ -1,5 +1,5 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
"id": 103205,
|
3
|
+
"key": "ssh-dss AAAAB3NzaC1kc3MAAACBAJz7HanBa18ad1YsdFzHO5Wy1/WgXd4BV+czbKq7q23jungbfjN3eo2a0SVdxux8GG+RZ9ia90VD/X+PE4s3LV60oXZ7PDAuyPO1CTF0TaDoKf9mPaHcPa6agMJVocMsgBgwviWT1Q9VgN1SccDsYVDtxkIAwuw25YeHZlG6myx1AAAAFQCgW+OvXWUdUJPBGkRJ8ML7uf0VHQAAAIAlP5G96tTss0SKYVSCJCyocn9cyGQdNjxah4/aYuYFTbLI1rxk7sr/AkZfJNIoF2UFyO5STbbratykIQGUPdUBg1a2t72bu31x+4ZYJMngNsG/AkZ2oqLiH6dJKHD7PFx2oSPalogwsUV7iSMIZIYaPa03A9763iFsN0qJjaed+gAAAIBxz3Prxdzt/os4XGXSMNoWcS03AFC/05NOkoDMrXxQnTTpp1wrOgyRqEnKz15qC5dWk1ynzK+LJXHDZGA8lXPfCjHpJO3zrlZ/ivvLhgPdDpt13MAhIJFH06hTal0woxbk/fIdY71P3kbgXC0Ppx/0S7BC+VxqRCA4/wcM+BoDbA==",
|
4
|
+
"title": "Moss"
|
5
5
|
}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
[
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
{
|
3
|
+
"id": 103205,
|
4
|
+
"key": "ssh-dss AAAAB3NzaC1kc3MAAACBAJz7HanBa18ad1YsdFzHO5Wy1/WgXd4BV+czbKq7q23jungbfjN3eo2a0SVdxux8GG+RZ9ia90VD/X+PE4s3LV60oXZ7PDAuyPO1CTF0TaDoKf9mPaHcPa6agMJVocMsgBgwviWT1Q9VgN1SccDsYVDtxkIAwuw25YeHZlG6myx1AAAAFQCgW+OvXWUdUJPBGkRJ8ML7uf0VHQAAAIAlP5G96tTss0SKYVSCJCyocn9cyGQdNjxah4/aYuYFTbLI1rxk7sr/AkZfJNIoF2UFyO5STbbratykIQGUPdUBg1a2t72bu31x+4ZYJMngNsG/AkZ2oqLiH6dJKHD7PFx2oSPalogwsUV7iSMIZIYaPa03A9763iFsN0qJjaed+gAAAIBxz3Prxdzt/os4XGXSMNoWcS03AFC/05NOkoDMrXxQnTTpp1wrOgyRqEnKz15qC5dWk1ynzK+LJXHDZGA8lXPfCjHpJO3zrlZ/ivvLhgPdDpt13MAhIJFH06hTal0woxbk/fIdY71P3kbgXC0Ppx/0S7BC+VxqRCA4/wcM+BoDbA==",
|
5
|
+
"title": "Moss"
|
6
|
+
}
|
7
7
|
]
|
@@ -1,138 +1,138 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
2
|
+
"_links": {
|
3
|
+
"comments": {
|
4
|
+
"href": "https://api.github.com/repos/ctshryock/octokit/issues/15/comments"
|
5
|
+
},
|
6
|
+
"html": {
|
7
|
+
"href": "https://github.com/ctshryock/octokit/pull/15"
|
8
|
+
},
|
9
|
+
"review_comments": {
|
10
|
+
"href": "https://api.github.com/repos/ctshryock/octokit/pulls/15/comments"
|
11
|
+
},
|
12
|
+
"self": {
|
13
|
+
"href": "https://api.github.com/repos/ctshryock/octokit/pulls/15"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"additions": 5015,
|
17
|
+
"base": {
|
18
|
+
"label": "ctshryock:master",
|
19
|
+
"ref": "master",
|
20
|
+
"repo": {
|
21
|
+
"clone_url": "https://github.com/ctshryock/octokit.git",
|
22
|
+
"created_at": "2011-04-29T18:43:10Z",
|
23
|
+
"description": "Simple Ruby wrapper for the GitHub v2 API and feeds",
|
24
|
+
"fork": true,
|
25
|
+
"forks": 0,
|
26
|
+
"git_url": "git://github.com/ctshryock/octokit.git",
|
27
|
+
"has_downloads": true,
|
28
|
+
"has_issues": true,
|
29
|
+
"has_wiki": true,
|
30
|
+
"homepage": "",
|
31
|
+
"html_url": "https://github.com/ctshryock/octokit",
|
32
|
+
"id": 1682040,
|
33
|
+
"language": "Ruby",
|
34
|
+
"master_branch": null,
|
35
|
+
"mirror_url": null,
|
36
|
+
"name": "octokit",
|
37
|
+
"open_issues": 1,
|
38
|
+
"owner": {
|
39
|
+
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
40
|
+
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
41
|
+
"id": 61721,
|
42
|
+
"login": "ctshryock",
|
43
|
+
"url": "https://api.github.com/users/ctshryock"
|
44
|
+
},
|
45
|
+
"private": false,
|
46
|
+
"pushed_at": "2012-02-11T16:06:32Z",
|
47
|
+
"size": 140,
|
48
|
+
"ssh_url": "git@github.com:ctshryock/octokit.git",
|
49
|
+
"svn_url": "https://github.com/ctshryock/octokit",
|
50
|
+
"updated_at": "2012-02-11T16:06:34Z",
|
51
|
+
"url": "https://api.github.com/repos/ctshryock/octokit",
|
52
|
+
"watchers": 1
|
53
|
+
},
|
54
|
+
"sha": "89e255143524b71bd91f51d2ca31b7e8c90f398c",
|
55
|
+
"user": {
|
56
|
+
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
57
|
+
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
58
|
+
"id": 61721,
|
59
|
+
"login": "ctshryock",
|
60
|
+
"url": "https://api.github.com/users/ctshryock"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"body": "Here is more V3 stuff",
|
64
|
+
"changed_files": 15,
|
65
|
+
"closed_at": null,
|
66
|
+
"comments": 0,
|
67
|
+
"commits": 19,
|
68
|
+
"created_at": "2012-02-11T16:12:31Z",
|
69
|
+
"deletions": 112,
|
70
|
+
"diff_url": "https://github.com/ctshryock/octokit/pull/15.diff",
|
71
|
+
"head": {
|
72
|
+
"label": "ctshryock:api-version-3",
|
73
|
+
"ref": "api-version-3",
|
74
|
+
"repo": {
|
75
|
+
"clone_url": "https://github.com/ctshryock/octokit.git",
|
76
|
+
"created_at": "2011-04-29T18:43:10Z",
|
77
|
+
"description": "Simple Ruby wrapper for the GitHub v2 API and feeds",
|
78
|
+
"fork": true,
|
79
|
+
"forks": 0,
|
80
|
+
"git_url": "git://github.com/ctshryock/octokit.git",
|
81
|
+
"has_downloads": true,
|
82
|
+
"has_issues": true,
|
83
|
+
"has_wiki": true,
|
84
|
+
"homepage": "",
|
85
|
+
"html_url": "https://github.com/ctshryock/octokit",
|
86
|
+
"id": 1682040,
|
87
|
+
"language": "Ruby",
|
88
|
+
"master_branch": null,
|
89
|
+
"mirror_url": null,
|
90
|
+
"name": "octokit",
|
91
|
+
"open_issues": 1,
|
92
|
+
"owner": {
|
93
|
+
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
94
|
+
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
95
|
+
"id": 61721,
|
96
|
+
"login": "ctshryock",
|
97
|
+
"url": "https://api.github.com/users/ctshryock"
|
98
|
+
},
|
99
|
+
"private": false,
|
100
|
+
"pushed_at": "2012-02-11T16:06:32Z",
|
101
|
+
"size": 140,
|
102
|
+
"ssh_url": "git@github.com:ctshryock/octokit.git",
|
103
|
+
"svn_url": "https://github.com/ctshryock/octokit",
|
104
|
+
"updated_at": "2012-02-11T16:06:34Z",
|
105
|
+
"url": "https://api.github.com/repos/ctshryock/octokit",
|
106
|
+
"watchers": 1
|
107
|
+
},
|
108
|
+
"sha": "3a3a3ca7ca0ca0026fca1bccfb090b4113a7e754",
|
109
|
+
"user": {
|
110
|
+
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
111
|
+
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
112
|
+
"id": 61721,
|
113
|
+
"login": "ctshryock",
|
114
|
+
"url": "https://api.github.com/users/ctshryock"
|
115
|
+
}
|
116
|
+
},
|
117
|
+
"html_url": "https://github.com/ctshryock/octokit/pull/15",
|
118
|
+
"id": 815669,
|
119
|
+
"issue_url": "https://github.com/ctshryock/octokit/issues/15",
|
120
|
+
"mergeable": null,
|
121
|
+
"merged": false,
|
122
|
+
"merged_at": null,
|
123
|
+
"merged_by": null,
|
124
|
+
"number": 15,
|
125
|
+
"patch_url": "https://github.com/ctshryock/octokit/pull/15.patch",
|
126
|
+
"review_comments": 0,
|
127
|
+
"state": "open",
|
128
|
+
"title": "Pull this awesome v3 stuff",
|
129
|
+
"updated_at": "2012-02-11T16:12:31Z",
|
130
|
+
"url": "https://api.github.com/repos/ctshryock/octokit/pulls/15",
|
51
131
|
"user": {
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
132
|
+
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
133
|
+
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
134
|
+
"id": 61721,
|
135
|
+
"login": "ctshryock",
|
136
|
+
"url": "https://api.github.com/users/ctshryock"
|
57
137
|
}
|
58
|
-
},
|
59
|
-
"body": "Here is more V3 stuff",
|
60
|
-
"html_url": "https://github.com/ctshryock/octokit/pull/15",
|
61
|
-
"diff_url": "https://github.com/ctshryock/octokit/pull/15.diff",
|
62
|
-
"base": {
|
63
|
-
"ref": "master",
|
64
|
-
"repo": {
|
65
|
-
"svn_url": "https://github.com/ctshryock/octokit",
|
66
|
-
"mirror_url": null,
|
67
|
-
"url": "https://api.github.com/repos/ctshryock/octokit",
|
68
|
-
"clone_url": "https://github.com/ctshryock/octokit.git",
|
69
|
-
"created_at": "2011-04-29T18:43:10Z",
|
70
|
-
"html_url": "https://github.com/ctshryock/octokit",
|
71
|
-
"ssh_url": "git@github.com:ctshryock/octokit.git",
|
72
|
-
"description": "Simple Ruby wrapper for the GitHub v2 API and feeds",
|
73
|
-
"has_wiki": true,
|
74
|
-
"forks": 0,
|
75
|
-
"fork": true,
|
76
|
-
"pushed_at": "2012-02-11T16:06:32Z",
|
77
|
-
"watchers": 1,
|
78
|
-
"open_issues": 1,
|
79
|
-
"master_branch": null,
|
80
|
-
"private": false,
|
81
|
-
"homepage": "",
|
82
|
-
"size": 140,
|
83
|
-
"has_issues": true,
|
84
|
-
"updated_at": "2012-02-11T16:06:34Z",
|
85
|
-
"owner": {
|
86
|
-
"url": "https://api.github.com/users/ctshryock",
|
87
|
-
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
88
|
-
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
89
|
-
"login": "ctshryock",
|
90
|
-
"id": 61721
|
91
|
-
},
|
92
|
-
"name": "octokit",
|
93
|
-
"git_url": "git://github.com/ctshryock/octokit.git",
|
94
|
-
"id": 1682040,
|
95
|
-
"has_downloads": true,
|
96
|
-
"language": "Ruby"
|
97
|
-
},
|
98
|
-
"sha": "89e255143524b71bd91f51d2ca31b7e8c90f398c",
|
99
|
-
"label": "ctshryock:master",
|
100
|
-
"user": {
|
101
|
-
"url": "https://api.github.com/users/ctshryock",
|
102
|
-
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
103
|
-
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
104
|
-
"login": "ctshryock",
|
105
|
-
"id": 61721
|
106
|
-
}
|
107
|
-
},
|
108
|
-
"mergeable": null,
|
109
|
-
"comments": 0,
|
110
|
-
"review_comments": 0,
|
111
|
-
"_links": {
|
112
|
-
"html": {
|
113
|
-
"href": "https://github.com/ctshryock/octokit/pull/15"
|
114
|
-
},
|
115
|
-
"review_comments": {
|
116
|
-
"href": "https://api.github.com/repos/ctshryock/octokit/pulls/15/comments"
|
117
|
-
},
|
118
|
-
"comments": {
|
119
|
-
"href": "https://api.github.com/repos/ctshryock/octokit/issues/15/comments"
|
120
|
-
},
|
121
|
-
"self": {
|
122
|
-
"href": "https://api.github.com/repos/ctshryock/octokit/pulls/15"
|
123
|
-
}
|
124
|
-
},
|
125
|
-
"closed_at": null,
|
126
|
-
"updated_at": "2012-02-11T16:12:31Z",
|
127
|
-
"state": "open",
|
128
|
-
"id": 815669,
|
129
|
-
"merged_by": null,
|
130
|
-
"changed_files": 15,
|
131
|
-
"user": {
|
132
|
-
"url": "https://api.github.com/users/ctshryock",
|
133
|
-
"avatar_url": "https://secure.gravatar.com/avatar/dfb3948650131e4f0385c3328187cfca?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
134
|
-
"gravatar_id": "dfb3948650131e4f0385c3328187cfca",
|
135
|
-
"login": "ctshryock",
|
136
|
-
"id": 61721
|
137
|
-
}
|
138
138
|
}
|
@@ -1,138 +1,138 @@
|
|
1
1
|
{
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
"
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
"
|
55
|
-
"
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
},
|
63
|
-
"
|
64
|
-
"
|
65
|
-
"
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
2
|
+
"_links": {
|
3
|
+
"comments": {
|
4
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/issues/67/comments"
|
5
|
+
},
|
6
|
+
"html": {
|
7
|
+
"href": "https://github.com/pengwynn/octokit/pull/67"
|
8
|
+
},
|
9
|
+
"review_comments": {
|
10
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/67/comments"
|
11
|
+
},
|
12
|
+
"self": {
|
13
|
+
"href": "https://api.github.com/repos/pengwynn/octokit/pulls/67"
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"additions": 23,
|
17
|
+
"base": {
|
18
|
+
"label": "pengwynn:master",
|
19
|
+
"ref": "master",
|
20
|
+
"repo": {
|
21
|
+
"clone_url": "https://github.com/pengwynn/octokit.git",
|
22
|
+
"created_at": "2009-12-10T21:41:49Z",
|
23
|
+
"description": "Simple Ruby wrapper for the GitHub v2, v3 API and feeds",
|
24
|
+
"fork": false,
|
25
|
+
"forks": 45,
|
26
|
+
"git_url": "git://github.com/pengwynn/octokit.git",
|
27
|
+
"has_downloads": true,
|
28
|
+
"has_issues": true,
|
29
|
+
"has_wiki": true,
|
30
|
+
"homepage": "",
|
31
|
+
"html_url": "https://github.com/pengwynn/octokit",
|
32
|
+
"id": 417862,
|
33
|
+
"language": "Ruby",
|
34
|
+
"master_branch": null,
|
35
|
+
"mirror_url": null,
|
36
|
+
"name": "octokit",
|
37
|
+
"open_issues": 6,
|
38
|
+
"owner": {
|
39
|
+
"avatar_url": "https://secure.gravatar.com/avatar/7e19cd5486b5d6dc1ef90e671ba52ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
40
|
+
"gravatar_id": "7e19cd5486b5d6dc1ef90e671ba52ae0",
|
41
|
+
"id": 865,
|
42
|
+
"login": "pengwynn",
|
43
|
+
"url": "https://api.github.com/users/pengwynn"
|
44
|
+
},
|
45
|
+
"private": false,
|
46
|
+
"pushed_at": "2012-02-05T23:56:13Z",
|
47
|
+
"size": 188,
|
48
|
+
"ssh_url": "git@github.com:pengwynn/octokit.git",
|
49
|
+
"svn_url": "https://github.com/pengwynn/octokit",
|
50
|
+
"updated_at": "2012-02-09T06:27:01Z",
|
51
|
+
"url": "https://api.github.com/repos/pengwynn/octokit",
|
52
|
+
"watchers": 170
|
53
|
+
},
|
54
|
+
"sha": "9c5d4c76b42f535bc796f46d0bf7a5526b6066bb",
|
55
|
+
"user": {
|
56
|
+
"avatar_url": "https://secure.gravatar.com/avatar/7e19cd5486b5d6dc1ef90e671ba52ae0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
57
|
+
"gravatar_id": "7e19cd5486b5d6dc1ef90e671ba52ae0",
|
58
|
+
"id": 865,
|
59
|
+
"login": "pengwynn",
|
60
|
+
"url": "https://api.github.com/users/pengwynn"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"body": "Support github alternative sites.\r\nfor example: github:enterprise https://enterprise.github.com/",
|
64
|
+
"changed_files": 3,
|
65
|
+
"closed_at": null,
|
66
|
+
"comments": 2,
|
67
|
+
"commits": 1,
|
68
|
+
"created_at": "2012-01-31T10:54:26Z",
|
69
|
+
"deletions": 4,
|
70
|
+
"diff_url": "https://github.com/pengwynn/octokit/pull/67.diff",
|
71
|
+
"head": {
|
72
|
+
"label": "koichiro:alter-url",
|
73
|
+
"ref": "alter-url",
|
74
|
+
"repo": {
|
75
|
+
"clone_url": "https://github.com/koichiro/octokit.git",
|
76
|
+
"created_at": "2012-01-31T10:41:19Z",
|
77
|
+
"description": "Simple Ruby wrapper for the GitHub v2, v3 API and feeds",
|
78
|
+
"fork": true,
|
79
|
+
"forks": 0,
|
80
|
+
"git_url": "git://github.com/koichiro/octokit.git",
|
81
|
+
"has_downloads": true,
|
82
|
+
"has_issues": false,
|
83
|
+
"has_wiki": true,
|
84
|
+
"homepage": "",
|
85
|
+
"html_url": "https://github.com/koichiro/octokit",
|
86
|
+
"id": 3313901,
|
87
|
+
"language": "Ruby",
|
88
|
+
"master_branch": null,
|
89
|
+
"mirror_url": null,
|
90
|
+
"name": "octokit",
|
91
|
+
"open_issues": 0,
|
92
|
+
"owner": {
|
93
|
+
"avatar_url": "https://secure.gravatar.com/avatar/1ce18b10bd8f911566c5577042b6a44c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
94
|
+
"gravatar_id": "1ce18b10bd8f911566c5577042b6a44c",
|
95
|
+
"id": 9646,
|
96
|
+
"login": "koichiro",
|
97
|
+
"url": "https://api.github.com/users/koichiro"
|
98
|
+
},
|
99
|
+
"private": false,
|
100
|
+
"pushed_at": "2012-01-31T10:53:02Z",
|
101
|
+
"size": 152,
|
102
|
+
"ssh_url": "git@github.com:koichiro/octokit.git",
|
103
|
+
"svn_url": "https://github.com/koichiro/octokit",
|
104
|
+
"updated_at": "2012-01-31T10:53:02Z",
|
105
|
+
"url": "https://api.github.com/repos/koichiro/octokit",
|
106
|
+
"watchers": 1
|
107
|
+
},
|
108
|
+
"sha": "2097821c7c5aa4dc02a2cc54d5ca51968b373f95",
|
109
|
+
"user": {
|
110
|
+
"avatar_url": "https://secure.gravatar.com/avatar/1ce18b10bd8f911566c5577042b6a44c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
111
|
+
"gravatar_id": "1ce18b10bd8f911566c5577042b6a44c",
|
112
|
+
"id": 9646,
|
113
|
+
"login": "koichiro",
|
114
|
+
"url": "https://api.github.com/users/koichiro"
|
115
|
+
}
|
116
|
+
},
|
117
|
+
"html_url": "https://github.com/pengwynn/octokit/pull/67",
|
118
|
+
"id": 759706,
|
119
|
+
"issue_url": "https://github.com/pengwynn/octokit/issues/67",
|
120
|
+
"mergeable": true,
|
121
|
+
"merged": false,
|
122
|
+
"merged_at": null,
|
123
|
+
"merged_by": null,
|
124
|
+
"number": 67,
|
125
|
+
"patch_url": "https://github.com/pengwynn/octokit/pull/67.patch",
|
126
|
+
"review_comments": 1,
|
127
|
+
"state": "open",
|
128
|
+
"title": "Added new paramater for github_url",
|
129
|
+
"updated_at": "2012-01-31T14:26:49Z",
|
130
|
+
"url": "https://api.github.com/repos/pengwynn/octokit/pulls/67",
|
114
131
|
"user": {
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
132
|
+
"avatar_url": "https://secure.gravatar.com/avatar/1ce18b10bd8f911566c5577042b6a44c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
133
|
+
"gravatar_id": "1ce18b10bd8f911566c5577042b6a44c",
|
134
|
+
"id": 9646,
|
135
|
+
"login": "koichiro",
|
136
|
+
"url": "https://api.github.com/users/koichiro"
|
120
137
|
}
|
121
|
-
},
|
122
|
-
"mergeable": true,
|
123
|
-
"comments": 2,
|
124
|
-
"review_comments": 1,
|
125
|
-
"closed_at": null,
|
126
|
-
"updated_at": "2012-01-31T14:26:49Z",
|
127
|
-
"state": "open",
|
128
|
-
"diff_url": "https://github.com/pengwynn/octokit/pull/67.diff",
|
129
|
-
"id": 759706,
|
130
|
-
"merged_by": null,
|
131
|
-
"user": {
|
132
|
-
"url": "https://api.github.com/users/koichiro",
|
133
|
-
"avatar_url": "https://secure.gravatar.com/avatar/1ce18b10bd8f911566c5577042b6a44c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
|
134
|
-
"gravatar_id": "1ce18b10bd8f911566c5577042b6a44c",
|
135
|
-
"login": "koichiro",
|
136
|
-
"id": 9646
|
137
|
-
}
|
138
138
|
}
|