fluent-plugin-github-activities 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +22 -0
- data/README.md +87 -0
- data/fluent-plugin-github-activities.gemspec +43 -0
- data/lib/fluent/plugin/github-activities.rb +27 -0
- data/lib/fluent/plugin/github-activities/crawler.rb +368 -0
- data/lib/fluent/plugin/github-activities/safe_file_writer.rb +46 -0
- data/lib/fluent/plugin/in_github-activities.rb +94 -0
- data/test/fixture.rb +32 -0
- data/test/fixture/accept-pull-request-event.json +55 -0
- data/test/fixture/branch-event.json +25 -0
- data/test/fixture/commit-comment-event.json +58 -0
- data/test/fixture/commit.json +89 -0
- data/test/fixture/fork-event.json +115 -0
- data/test/fixture/issue-comment-event.json +97 -0
- data/test/fixture/issues-event.json +69 -0
- data/test/fixture/line-note-event.json +51 -0
- data/test/fixture/pull-request-accepted-event.json +349 -0
- data/test/fixture/pull-request-comment-event.json +103 -0
- data/test/fixture/pull-request-event.json +331 -0
- data/test/fixture/push-event-multiple-commits.json +85 -0
- data/test/run-test.rb +35 -0
- data/test/test_crawler.rb +260 -0
- metadata +166 -0
@@ -0,0 +1,103 @@
|
|
1
|
+
{
|
2
|
+
"id": "2823106386",
|
3
|
+
"type": "IssueCommentEvent",
|
4
|
+
"actor": {
|
5
|
+
"id": 70062,
|
6
|
+
"login": "piroor",
|
7
|
+
"gravatar_id": "",
|
8
|
+
"url": "https://api.github.com/users/piroor",
|
9
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?"
|
10
|
+
},
|
11
|
+
"repo": {
|
12
|
+
"id": 35922279,
|
13
|
+
"name": "clear-code/fluent-plugin-github-activities",
|
14
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities"
|
15
|
+
},
|
16
|
+
"payload": {
|
17
|
+
"action": "created",
|
18
|
+
"issue": {
|
19
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2",
|
20
|
+
"labels_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2/labels{/name}",
|
21
|
+
"comments_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2/comments",
|
22
|
+
"events_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2/events",
|
23
|
+
"html_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2",
|
24
|
+
"id": 78851228,
|
25
|
+
"number": 2,
|
26
|
+
"title": "Add README",
|
27
|
+
"user": {
|
28
|
+
"login": "piroor",
|
29
|
+
"id": 70062,
|
30
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?v=3",
|
31
|
+
"gravatar_id": "",
|
32
|
+
"url": "https://api.github.com/users/piroor",
|
33
|
+
"html_url": "https://github.com/piroor",
|
34
|
+
"followers_url": "https://api.github.com/users/piroor/followers",
|
35
|
+
"following_url": "https://api.github.com/users/piroor/following{/other_user}",
|
36
|
+
"gists_url": "https://api.github.com/users/piroor/gists{/gist_id}",
|
37
|
+
"starred_url": "https://api.github.com/users/piroor/starred{/owner}{/repo}",
|
38
|
+
"subscriptions_url": "https://api.github.com/users/piroor/subscriptions",
|
39
|
+
"organizations_url": "https://api.github.com/users/piroor/orgs",
|
40
|
+
"repos_url": "https://api.github.com/users/piroor/repos",
|
41
|
+
"events_url": "https://api.github.com/users/piroor/events{/privacy}",
|
42
|
+
"received_events_url": "https://api.github.com/users/piroor/received_events",
|
43
|
+
"type": "User",
|
44
|
+
"site_admin": false
|
45
|
+
},
|
46
|
+
"labels": [
|
47
|
+
|
48
|
+
],
|
49
|
+
"state": "open",
|
50
|
+
"locked": false,
|
51
|
+
"assignee": null,
|
52
|
+
"milestone": null,
|
53
|
+
"comments": 1,
|
54
|
+
"created_at": "2015-05-21T06:16:41Z",
|
55
|
+
"updated_at": "2015-05-21T06:18:54Z",
|
56
|
+
"closed_at": null,
|
57
|
+
"pull_request": {
|
58
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2",
|
59
|
+
"html_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2",
|
60
|
+
"diff_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2.diff",
|
61
|
+
"patch_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2.patch"
|
62
|
+
},
|
63
|
+
"body": "it's required."
|
64
|
+
},
|
65
|
+
"comment": {
|
66
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/comments/104151702",
|
67
|
+
"html_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2#issuecomment-104151702",
|
68
|
+
"issue_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2",
|
69
|
+
"id": 104151702,
|
70
|
+
"user": {
|
71
|
+
"login": "piroor",
|
72
|
+
"id": 70062,
|
73
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?v=3",
|
74
|
+
"gravatar_id": "",
|
75
|
+
"url": "https://api.github.com/users/piroor",
|
76
|
+
"html_url": "https://github.com/piroor",
|
77
|
+
"followers_url": "https://api.github.com/users/piroor/followers",
|
78
|
+
"following_url": "https://api.github.com/users/piroor/following{/other_user}",
|
79
|
+
"gists_url": "https://api.github.com/users/piroor/gists{/gist_id}",
|
80
|
+
"starred_url": "https://api.github.com/users/piroor/starred{/owner}{/repo}",
|
81
|
+
"subscriptions_url": "https://api.github.com/users/piroor/subscriptions",
|
82
|
+
"organizations_url": "https://api.github.com/users/piroor/orgs",
|
83
|
+
"repos_url": "https://api.github.com/users/piroor/repos",
|
84
|
+
"events_url": "https://api.github.com/users/piroor/events{/privacy}",
|
85
|
+
"received_events_url": "https://api.github.com/users/piroor/received_events",
|
86
|
+
"type": "User",
|
87
|
+
"site_admin": false
|
88
|
+
},
|
89
|
+
"created_at": "2015-05-21T06:18:54Z",
|
90
|
+
"updated_at": "2015-05-21T06:18:54Z",
|
91
|
+
"body": "seems good?"
|
92
|
+
}
|
93
|
+
},
|
94
|
+
"public": true,
|
95
|
+
"created_at": "2015-05-21T06:18:54Z",
|
96
|
+
"org": {
|
97
|
+
"id": 176515,
|
98
|
+
"login": "clear-code",
|
99
|
+
"gravatar_id": "",
|
100
|
+
"url": "https://api.github.com/orgs/clear-code",
|
101
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/176515?"
|
102
|
+
}
|
103
|
+
}
|
@@ -0,0 +1,331 @@
|
|
1
|
+
{
|
2
|
+
"id": "2823102882",
|
3
|
+
"type": "PullRequestEvent",
|
4
|
+
"actor": {
|
5
|
+
"id": 70062,
|
6
|
+
"login": "piroor",
|
7
|
+
"gravatar_id": "",
|
8
|
+
"url": "https://api.github.com/users/piroor",
|
9
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?"
|
10
|
+
},
|
11
|
+
"repo": {
|
12
|
+
"id": 35922279,
|
13
|
+
"name": "clear-code/fluent-plugin-github-activities",
|
14
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities"
|
15
|
+
},
|
16
|
+
"payload": {
|
17
|
+
"action": "opened",
|
18
|
+
"number": 2,
|
19
|
+
"pull_request": {
|
20
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2",
|
21
|
+
"id": 35902906,
|
22
|
+
"html_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2",
|
23
|
+
"diff_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2.diff",
|
24
|
+
"patch_url": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2.patch",
|
25
|
+
"issue_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2",
|
26
|
+
"number": 2,
|
27
|
+
"state": "open",
|
28
|
+
"locked": false,
|
29
|
+
"title": "Add README",
|
30
|
+
"user": {
|
31
|
+
"login": "piroor",
|
32
|
+
"id": 70062,
|
33
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?v=3",
|
34
|
+
"gravatar_id": "",
|
35
|
+
"url": "https://api.github.com/users/piroor",
|
36
|
+
"html_url": "https://github.com/piroor",
|
37
|
+
"followers_url": "https://api.github.com/users/piroor/followers",
|
38
|
+
"following_url": "https://api.github.com/users/piroor/following{/other_user}",
|
39
|
+
"gists_url": "https://api.github.com/users/piroor/gists{/gist_id}",
|
40
|
+
"starred_url": "https://api.github.com/users/piroor/starred{/owner}{/repo}",
|
41
|
+
"subscriptions_url": "https://api.github.com/users/piroor/subscriptions",
|
42
|
+
"organizations_url": "https://api.github.com/users/piroor/orgs",
|
43
|
+
"repos_url": "https://api.github.com/users/piroor/repos",
|
44
|
+
"events_url": "https://api.github.com/users/piroor/events{/privacy}",
|
45
|
+
"received_events_url": "https://api.github.com/users/piroor/received_events",
|
46
|
+
"type": "User",
|
47
|
+
"site_admin": false
|
48
|
+
},
|
49
|
+
"body": "it's required.",
|
50
|
+
"created_at": "2015-05-21T06:16:41Z",
|
51
|
+
"updated_at": "2015-05-21T06:16:41Z",
|
52
|
+
"closed_at": null,
|
53
|
+
"merged_at": null,
|
54
|
+
"merge_commit_sha": null,
|
55
|
+
"assignee": null,
|
56
|
+
"milestone": null,
|
57
|
+
"commits_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2/commits",
|
58
|
+
"review_comments_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2/comments",
|
59
|
+
"review_comment_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/comments{/number}",
|
60
|
+
"comments_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2/comments",
|
61
|
+
"statuses_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/statuses/2e64fe40a729bb065805c78245f3eb17dc88f39d",
|
62
|
+
"head": {
|
63
|
+
"label": "piroor:master",
|
64
|
+
"ref": "master",
|
65
|
+
"sha": "2e64fe40a729bb065805c78245f3eb17dc88f39d",
|
66
|
+
"user": {
|
67
|
+
"login": "piroor",
|
68
|
+
"id": 70062,
|
69
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?v=3",
|
70
|
+
"gravatar_id": "",
|
71
|
+
"url": "https://api.github.com/users/piroor",
|
72
|
+
"html_url": "https://github.com/piroor",
|
73
|
+
"followers_url": "https://api.github.com/users/piroor/followers",
|
74
|
+
"following_url": "https://api.github.com/users/piroor/following{/other_user}",
|
75
|
+
"gists_url": "https://api.github.com/users/piroor/gists{/gist_id}",
|
76
|
+
"starred_url": "https://api.github.com/users/piroor/starred{/owner}{/repo}",
|
77
|
+
"subscriptions_url": "https://api.github.com/users/piroor/subscriptions",
|
78
|
+
"organizations_url": "https://api.github.com/users/piroor/orgs",
|
79
|
+
"repos_url": "https://api.github.com/users/piroor/repos",
|
80
|
+
"events_url": "https://api.github.com/users/piroor/events{/privacy}",
|
81
|
+
"received_events_url": "https://api.github.com/users/piroor/received_events",
|
82
|
+
"type": "User",
|
83
|
+
"site_admin": false
|
84
|
+
},
|
85
|
+
"repo": {
|
86
|
+
"id": 35994648,
|
87
|
+
"name": "fluent-plugin-github-activities",
|
88
|
+
"full_name": "piroor/fluent-plugin-github-activities",
|
89
|
+
"owner": {
|
90
|
+
"login": "piroor",
|
91
|
+
"id": 70062,
|
92
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?v=3",
|
93
|
+
"gravatar_id": "",
|
94
|
+
"url": "https://api.github.com/users/piroor",
|
95
|
+
"html_url": "https://github.com/piroor",
|
96
|
+
"followers_url": "https://api.github.com/users/piroor/followers",
|
97
|
+
"following_url": "https://api.github.com/users/piroor/following{/other_user}",
|
98
|
+
"gists_url": "https://api.github.com/users/piroor/gists{/gist_id}",
|
99
|
+
"starred_url": "https://api.github.com/users/piroor/starred{/owner}{/repo}",
|
100
|
+
"subscriptions_url": "https://api.github.com/users/piroor/subscriptions",
|
101
|
+
"organizations_url": "https://api.github.com/users/piroor/orgs",
|
102
|
+
"repos_url": "https://api.github.com/users/piroor/repos",
|
103
|
+
"events_url": "https://api.github.com/users/piroor/events{/privacy}",
|
104
|
+
"received_events_url": "https://api.github.com/users/piroor/received_events",
|
105
|
+
"type": "User",
|
106
|
+
"site_admin": false
|
107
|
+
},
|
108
|
+
"private": false,
|
109
|
+
"html_url": "https://github.com/piroor/fluent-plugin-github-activities",
|
110
|
+
"description": "Provides ability to watch activities on GitHub",
|
111
|
+
"fork": true,
|
112
|
+
"url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities",
|
113
|
+
"forks_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/forks",
|
114
|
+
"keys_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/keys{/key_id}",
|
115
|
+
"collaborators_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/collaborators{/collaborator}",
|
116
|
+
"teams_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/teams",
|
117
|
+
"hooks_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/hooks",
|
118
|
+
"issue_events_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/issues/events{/number}",
|
119
|
+
"events_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/events",
|
120
|
+
"assignees_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/assignees{/user}",
|
121
|
+
"branches_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/branches{/branch}",
|
122
|
+
"tags_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/tags",
|
123
|
+
"blobs_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/git/blobs{/sha}",
|
124
|
+
"git_tags_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/git/tags{/sha}",
|
125
|
+
"git_refs_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/git/refs{/sha}",
|
126
|
+
"trees_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/git/trees{/sha}",
|
127
|
+
"statuses_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/statuses/{sha}",
|
128
|
+
"languages_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/languages",
|
129
|
+
"stargazers_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/stargazers",
|
130
|
+
"contributors_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/contributors",
|
131
|
+
"subscribers_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/subscribers",
|
132
|
+
"subscription_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/subscription",
|
133
|
+
"commits_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/commits{/sha}",
|
134
|
+
"git_commits_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/git/commits{/sha}",
|
135
|
+
"comments_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/comments{/number}",
|
136
|
+
"issue_comment_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/issues/comments{/number}",
|
137
|
+
"contents_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/contents/{+path}",
|
138
|
+
"compare_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/compare/{base}...{head}",
|
139
|
+
"merges_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/merges",
|
140
|
+
"archive_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/{archive_format}{/ref}",
|
141
|
+
"downloads_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/downloads",
|
142
|
+
"issues_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/issues{/number}",
|
143
|
+
"pulls_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/pulls{/number}",
|
144
|
+
"milestones_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/milestones{/number}",
|
145
|
+
"notifications_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/notifications{?since,all,participating}",
|
146
|
+
"labels_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/labels{/name}",
|
147
|
+
"releases_url": "https://api.github.com/repos/piroor/fluent-plugin-github-activities/releases{/id}",
|
148
|
+
"created_at": "2015-05-21T06:13:39Z",
|
149
|
+
"updated_at": "2015-05-21T06:13:40Z",
|
150
|
+
"pushed_at": "2015-05-21T06:16:15Z",
|
151
|
+
"git_url": "git://github.com/piroor/fluent-plugin-github-activities.git",
|
152
|
+
"ssh_url": "git@github.com:piroor/fluent-plugin-github-activities.git",
|
153
|
+
"clone_url": "https://github.com/piroor/fluent-plugin-github-activities.git",
|
154
|
+
"svn_url": "https://github.com/piroor/fluent-plugin-github-activities",
|
155
|
+
"homepage": null,
|
156
|
+
"size": 0,
|
157
|
+
"stargazers_count": 0,
|
158
|
+
"watchers_count": 0,
|
159
|
+
"language": "Ruby",
|
160
|
+
"has_issues": false,
|
161
|
+
"has_downloads": true,
|
162
|
+
"has_wiki": true,
|
163
|
+
"has_pages": false,
|
164
|
+
"forks_count": 0,
|
165
|
+
"mirror_url": null,
|
166
|
+
"open_issues_count": 0,
|
167
|
+
"forks": 0,
|
168
|
+
"open_issues": 0,
|
169
|
+
"watchers": 0,
|
170
|
+
"default_branch": "master"
|
171
|
+
}
|
172
|
+
},
|
173
|
+
"base": {
|
174
|
+
"label": "clear-code:master",
|
175
|
+
"ref": "master",
|
176
|
+
"sha": "18b2123716d70700dd08b45b19e2b3a26ea4c04c",
|
177
|
+
"user": {
|
178
|
+
"login": "clear-code",
|
179
|
+
"id": 176515,
|
180
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/176515?v=3",
|
181
|
+
"gravatar_id": "",
|
182
|
+
"url": "https://api.github.com/users/clear-code",
|
183
|
+
"html_url": "https://github.com/clear-code",
|
184
|
+
"followers_url": "https://api.github.com/users/clear-code/followers",
|
185
|
+
"following_url": "https://api.github.com/users/clear-code/following{/other_user}",
|
186
|
+
"gists_url": "https://api.github.com/users/clear-code/gists{/gist_id}",
|
187
|
+
"starred_url": "https://api.github.com/users/clear-code/starred{/owner}{/repo}",
|
188
|
+
"subscriptions_url": "https://api.github.com/users/clear-code/subscriptions",
|
189
|
+
"organizations_url": "https://api.github.com/users/clear-code/orgs",
|
190
|
+
"repos_url": "https://api.github.com/users/clear-code/repos",
|
191
|
+
"events_url": "https://api.github.com/users/clear-code/events{/privacy}",
|
192
|
+
"received_events_url": "https://api.github.com/users/clear-code/received_events",
|
193
|
+
"type": "Organization",
|
194
|
+
"site_admin": false
|
195
|
+
},
|
196
|
+
"repo": {
|
197
|
+
"id": 35922279,
|
198
|
+
"name": "fluent-plugin-github-activities",
|
199
|
+
"full_name": "clear-code/fluent-plugin-github-activities",
|
200
|
+
"owner": {
|
201
|
+
"login": "clear-code",
|
202
|
+
"id": 176515,
|
203
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/176515?v=3",
|
204
|
+
"gravatar_id": "",
|
205
|
+
"url": "https://api.github.com/users/clear-code",
|
206
|
+
"html_url": "https://github.com/clear-code",
|
207
|
+
"followers_url": "https://api.github.com/users/clear-code/followers",
|
208
|
+
"following_url": "https://api.github.com/users/clear-code/following{/other_user}",
|
209
|
+
"gists_url": "https://api.github.com/users/clear-code/gists{/gist_id}",
|
210
|
+
"starred_url": "https://api.github.com/users/clear-code/starred{/owner}{/repo}",
|
211
|
+
"subscriptions_url": "https://api.github.com/users/clear-code/subscriptions",
|
212
|
+
"organizations_url": "https://api.github.com/users/clear-code/orgs",
|
213
|
+
"repos_url": "https://api.github.com/users/clear-code/repos",
|
214
|
+
"events_url": "https://api.github.com/users/clear-code/events{/privacy}",
|
215
|
+
"received_events_url": "https://api.github.com/users/clear-code/received_events",
|
216
|
+
"type": "Organization",
|
217
|
+
"site_admin": false
|
218
|
+
},
|
219
|
+
"private": false,
|
220
|
+
"html_url": "https://github.com/clear-code/fluent-plugin-github-activities",
|
221
|
+
"description": "Provides ability to watch activities on GitHub",
|
222
|
+
"fork": false,
|
223
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities",
|
224
|
+
"forks_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/forks",
|
225
|
+
"keys_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/keys{/key_id}",
|
226
|
+
"collaborators_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/collaborators{/collaborator}",
|
227
|
+
"teams_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/teams",
|
228
|
+
"hooks_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/hooks",
|
229
|
+
"issue_events_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/events{/number}",
|
230
|
+
"events_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/events",
|
231
|
+
"assignees_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/assignees{/user}",
|
232
|
+
"branches_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/branches{/branch}",
|
233
|
+
"tags_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/tags",
|
234
|
+
"blobs_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/git/blobs{/sha}",
|
235
|
+
"git_tags_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/git/tags{/sha}",
|
236
|
+
"git_refs_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/git/refs{/sha}",
|
237
|
+
"trees_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/git/trees{/sha}",
|
238
|
+
"statuses_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/statuses/{sha}",
|
239
|
+
"languages_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/languages",
|
240
|
+
"stargazers_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/stargazers",
|
241
|
+
"contributors_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/contributors",
|
242
|
+
"subscribers_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/subscribers",
|
243
|
+
"subscription_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/subscription",
|
244
|
+
"commits_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/commits{/sha}",
|
245
|
+
"git_commits_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/git/commits{/sha}",
|
246
|
+
"comments_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/comments{/number}",
|
247
|
+
"issue_comment_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/comments{/number}",
|
248
|
+
"contents_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/contents/{+path}",
|
249
|
+
"compare_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/compare/{base}...{head}",
|
250
|
+
"merges_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/merges",
|
251
|
+
"archive_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/{archive_format}{/ref}",
|
252
|
+
"downloads_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/downloads",
|
253
|
+
"issues_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues{/number}",
|
254
|
+
"pulls_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls{/number}",
|
255
|
+
"milestones_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/milestones{/number}",
|
256
|
+
"notifications_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/notifications{?since,all,participating}",
|
257
|
+
"labels_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/labels{/name}",
|
258
|
+
"releases_url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/releases{/id}",
|
259
|
+
"created_at": "2015-05-20T02:58:42Z",
|
260
|
+
"updated_at": "2015-05-20T07:30:00Z",
|
261
|
+
"pushed_at": "2015-05-21T06:09:12Z",
|
262
|
+
"git_url": "git://github.com/clear-code/fluent-plugin-github-activities.git",
|
263
|
+
"ssh_url": "git@github.com:clear-code/fluent-plugin-github-activities.git",
|
264
|
+
"clone_url": "https://github.com/clear-code/fluent-plugin-github-activities.git",
|
265
|
+
"svn_url": "https://github.com/clear-code/fluent-plugin-github-activities",
|
266
|
+
"homepage": null,
|
267
|
+
"size": 0,
|
268
|
+
"stargazers_count": 0,
|
269
|
+
"watchers_count": 0,
|
270
|
+
"language": "Ruby",
|
271
|
+
"has_issues": true,
|
272
|
+
"has_downloads": true,
|
273
|
+
"has_wiki": true,
|
274
|
+
"has_pages": false,
|
275
|
+
"forks_count": 1,
|
276
|
+
"mirror_url": null,
|
277
|
+
"open_issues_count": 2,
|
278
|
+
"forks": 1,
|
279
|
+
"open_issues": 2,
|
280
|
+
"watchers": 0,
|
281
|
+
"default_branch": "master"
|
282
|
+
}
|
283
|
+
},
|
284
|
+
"_links": {
|
285
|
+
"self": {
|
286
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2"
|
287
|
+
},
|
288
|
+
"html": {
|
289
|
+
"href": "https://github.com/clear-code/fluent-plugin-github-activities/pull/2"
|
290
|
+
},
|
291
|
+
"issue": {
|
292
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2"
|
293
|
+
},
|
294
|
+
"comments": {
|
295
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/issues/2/comments"
|
296
|
+
},
|
297
|
+
"review_comments": {
|
298
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2/comments"
|
299
|
+
},
|
300
|
+
"review_comment": {
|
301
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/comments{/number}"
|
302
|
+
},
|
303
|
+
"commits": {
|
304
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/pulls/2/commits"
|
305
|
+
},
|
306
|
+
"statuses": {
|
307
|
+
"href": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/statuses/2e64fe40a729bb065805c78245f3eb17dc88f39d"
|
308
|
+
}
|
309
|
+
},
|
310
|
+
"merged": false,
|
311
|
+
"mergeable": null,
|
312
|
+
"mergeable_state": "unknown",
|
313
|
+
"merged_by": null,
|
314
|
+
"comments": 0,
|
315
|
+
"review_comments": 0,
|
316
|
+
"commits": 1,
|
317
|
+
"additions": 3,
|
318
|
+
"deletions": 0,
|
319
|
+
"changed_files": 1
|
320
|
+
}
|
321
|
+
},
|
322
|
+
"public": true,
|
323
|
+
"created_at": "2015-05-21T06:16:42Z",
|
324
|
+
"org": {
|
325
|
+
"id": 176515,
|
326
|
+
"login": "clear-code",
|
327
|
+
"gravatar_id": "",
|
328
|
+
"url": "https://api.github.com/orgs/clear-code",
|
329
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/176515?"
|
330
|
+
}
|
331
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
{
|
2
|
+
"id": "2823041920",
|
3
|
+
"type": "PushEvent",
|
4
|
+
"actor": {
|
5
|
+
"id": 70062,
|
6
|
+
"login": "piroor",
|
7
|
+
"gravatar_id": "",
|
8
|
+
"url": "https://api.github.com/users/piroor",
|
9
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/70062?"
|
10
|
+
},
|
11
|
+
"repo": {
|
12
|
+
"id": 35922279,
|
13
|
+
"name": "clear-code/fluent-plugin-github-activities",
|
14
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities"
|
15
|
+
},
|
16
|
+
"payload": {
|
17
|
+
"push_id": 670478406,
|
18
|
+
"size": 5,
|
19
|
+
"distinct_size": 5,
|
20
|
+
"ref": "refs/heads/master",
|
21
|
+
"head": "c908f319c7b6d5c5a69c8b675bde40dd990ee364",
|
22
|
+
"before": "e77acc068b5568f8ea55605db2e3a9005805c898",
|
23
|
+
"commits": [
|
24
|
+
{
|
25
|
+
"sha": "8e90721ff5d89f52b5b3adf0b86db01f03dc5588",
|
26
|
+
"author": {
|
27
|
+
"email": "shimoda@clear-code.com",
|
28
|
+
"name": "YUKI Hiroshi"
|
29
|
+
},
|
30
|
+
"message": "Add missing constant",
|
31
|
+
"distinct": true,
|
32
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/commits/8e90721ff5d89f52b5b3adf0b86db01f03dc5588"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"sha": "63e085b7607a3043cfbf9a866561807fbdda8a10",
|
36
|
+
"author": {
|
37
|
+
"email": "shimoda@clear-code.com",
|
38
|
+
"name": "YUKI Hiroshi"
|
39
|
+
},
|
40
|
+
"message": "Make most methods public for unit testing",
|
41
|
+
"distinct": true,
|
42
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/commits/63e085b7607a3043cfbf9a866561807fbdda8a10"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"sha": "c85e33bace040b7b42983e14d2b11a491d102072",
|
46
|
+
"author": {
|
47
|
+
"email": "shimoda@clear-code.com",
|
48
|
+
"name": "YUKI Hiroshi"
|
49
|
+
},
|
50
|
+
"message": "Add unit test for crawler",
|
51
|
+
"distinct": true,
|
52
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/commits/c85e33bace040b7b42983e14d2b11a491d102072"
|
53
|
+
},
|
54
|
+
{
|
55
|
+
"sha": "8ce6de7582376187e17e233dbae13575311a8c0b",
|
56
|
+
"author": {
|
57
|
+
"email": "shimoda@clear-code.com",
|
58
|
+
"name": "YUKI Hiroshi"
|
59
|
+
},
|
60
|
+
"message": "Separate methods to process multiple events",
|
61
|
+
"distinct": true,
|
62
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/commits/8ce6de7582376187e17e233dbae13575311a8c0b"
|
63
|
+
},
|
64
|
+
{
|
65
|
+
"sha": "c908f319c7b6d5c5a69c8b675bde40dd990ee364",
|
66
|
+
"author": {
|
67
|
+
"email": "shimoda@clear-code.com",
|
68
|
+
"name": "YUKI Hiroshi"
|
69
|
+
},
|
70
|
+
"message": "Add tests for generic user event",
|
71
|
+
"distinct": true,
|
72
|
+
"url": "https://api.github.com/repos/clear-code/fluent-plugin-github-activities/commits/c908f319c7b6d5c5a69c8b675bde40dd990ee364"
|
73
|
+
}
|
74
|
+
]
|
75
|
+
},
|
76
|
+
"public": true,
|
77
|
+
"created_at": "2015-05-21T05:37:34Z",
|
78
|
+
"org": {
|
79
|
+
"id": 176515,
|
80
|
+
"login": "clear-code",
|
81
|
+
"gravatar_id": "",
|
82
|
+
"url": "https://api.github.com/orgs/clear-code",
|
83
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/176515?"
|
84
|
+
}
|
85
|
+
}
|