github-payload 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/.gitignore +18 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.md +22 -0
  4. data/README.md +25 -0
  5. data/Rakefile +10 -0
  6. data/github-payload.gemspec +26 -0
  7. data/lib/github/payload.rb +14 -0
  8. data/lib/github/payload/formatter.rb +65 -0
  9. data/lib/github/payload/formatter/create_event.rb +21 -0
  10. data/lib/github/payload/formatter/delete_event.rb +21 -0
  11. data/lib/github/payload/formatter/issue_comment_event.rb +21 -0
  12. data/lib/github/payload/formatter/issues_event.rb +9 -0
  13. data/lib/github/payload/formatter/public_event.rb +21 -0
  14. data/lib/github/payload/formatter/pull_request_event.rb +9 -0
  15. data/lib/github/payload/formatter/push_event.rb +9 -0
  16. data/lib/github/payload/helpers.rb +10 -0
  17. data/lib/github/payload/helpers/actions.rb +15 -0
  18. data/lib/github/payload/helpers/issues.rb +42 -0
  19. data/lib/github/payload/helpers/meta.rb +26 -0
  20. data/lib/github/payload/helpers/pull_request.rb +52 -0
  21. data/lib/github/payload/helpers/push.rb +230 -0
  22. data/lib/github/payload/version.rb +5 -0
  23. data/test/data_test.rb +107 -0
  24. data/test/fixtures/commit_comment_comment.json +143 -0
  25. data/test/fixtures/create_branch.json +117 -0
  26. data/test/fixtures/delete_branch.json +115 -0
  27. data/test/fixtures/issue_comment_created.json +185 -0
  28. data/test/fixtures/issues_closed.json +158 -0
  29. data/test/fixtures/issues_opened.json +158 -0
  30. data/test/fixtures/member_added.json +132 -0
  31. data/test/fixtures/public.json +113 -0
  32. data/test/fixtures/pull_request_closed.json +414 -0
  33. data/test/fixtures/pull_request_opened.json +397 -0
  34. data/test/fixtures/pull_request_review_comment_comment.json +157 -0
  35. data/test/fixtures/push_created_forced.json +75 -0
  36. data/test/fixtures/push_deleted_forced.json +49 -0
  37. data/test/fixtures/push_event.json +99 -0
  38. data/test/push_test.rb +142 -0
  39. data/test/test_helper.rb +48 -0
  40. metadata +182 -0
@@ -0,0 +1,117 @@
1
+ {
2
+ "payload": {
3
+ "ref": "logo",
4
+ "ref_type": "branch",
5
+ "master_branch": "master",
6
+ "description": "",
7
+ "repository": {
8
+ "id": 10544626,
9
+ "name": "test",
10
+ "full_name": "atmos/test",
11
+ "owner": {
12
+ "login": "atmos",
13
+ "id": 38,
14
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
15
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
16
+ "url": "https://api.github.com/users/atmos",
17
+ "html_url": "https://github.com/atmos",
18
+ "followers_url": "https://api.github.com/users/atmos/followers",
19
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
20
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
21
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
22
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
23
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
24
+ "repos_url": "https://api.github.com/users/atmos/repos",
25
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
26
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
27
+ "type": "User"
28
+ },
29
+ "private": true,
30
+ "html_url": "https://github.com/atmos/test",
31
+ "description": "",
32
+ "fork": false,
33
+ "url": "https://api.github.com/repos/atmos/test",
34
+ "forks_url": "https://api.github.com/repos/atmos/test/forks",
35
+ "keys_url": "https://api.github.com/repos/atmos/test/keys{/key_id}",
36
+ "collaborators_url": "https://api.github.com/repos/atmos/test/collaborators{/collaborator}",
37
+ "teams_url": "https://api.github.com/repos/atmos/test/teams",
38
+ "hooks_url": "https://api.github.com/repos/atmos/test/hooks",
39
+ "issue_events_url": "https://api.github.com/repos/atmos/test/issues/events{/number}",
40
+ "events_url": "https://api.github.com/repos/atmos/test/events",
41
+ "assignees_url": "https://api.github.com/repos/atmos/test/assignees{/user}",
42
+ "branches_url": "https://api.github.com/repos/atmos/test/branches{/branch}",
43
+ "tags_url": "https://api.github.com/repos/atmos/test/tags",
44
+ "blobs_url": "https://api.github.com/repos/atmos/test/git/blobs{/sha}",
45
+ "git_tags_url": "https://api.github.com/repos/atmos/test/git/tags{/sha}",
46
+ "git_refs_url": "https://api.github.com/repos/atmos/test/git/refs{/sha}",
47
+ "trees_url": "https://api.github.com/repos/atmos/test/git/trees{/sha}",
48
+ "statuses_url": "https://api.github.com/repos/atmos/test/statuses/{sha}",
49
+ "languages_url": "https://api.github.com/repos/atmos/test/languages",
50
+ "stargazers_url": "https://api.github.com/repos/atmos/test/stargazers",
51
+ "contributors_url": "https://api.github.com/repos/atmos/test/contributors",
52
+ "subscribers_url": "https://api.github.com/repos/atmos/test/subscribers",
53
+ "subscription_url": "https://api.github.com/repos/atmos/test/subscription",
54
+ "commits_url": "https://api.github.com/repos/atmos/test/commits{/sha}",
55
+ "git_commits_url": "https://api.github.com/repos/atmos/test/git/commits{/sha}",
56
+ "comments_url": "https://api.github.com/repos/atmos/test/comments{/number}",
57
+ "issue_comment_url": "https://api.github.com/repos/atmos/test/issues/comments/{number}",
58
+ "contents_url": "https://api.github.com/repos/atmos/test/contents/{+path}",
59
+ "compare_url": "https://api.github.com/repos/atmos/test/compare/{base}...{head}",
60
+ "merges_url": "https://api.github.com/repos/atmos/test/merges",
61
+ "archive_url": "https://api.github.com/repos/atmos/test/{archive_format}{/ref}",
62
+ "downloads_url": "https://api.github.com/repos/atmos/test/downloads",
63
+ "issues_url": "https://api.github.com/repos/atmos/test/issues{/number}",
64
+ "pulls_url": "https://api.github.com/repos/atmos/test/pulls{/number}",
65
+ "milestones_url": "https://api.github.com/repos/atmos/test/milestones{/number}",
66
+ "notifications_url": "https://api.github.com/repos/atmos/test/notifications{?since,all,participating}",
67
+ "labels_url": "https://api.github.com/repos/atmos/test/labels{/name}",
68
+ "created_at": "2013-06-07T07:27:32Z",
69
+ "updated_at": "2013-06-07T07:29:24Z",
70
+ "pushed_at": "2013-06-07T07:29:24Z",
71
+ "git_url": "git://github.com/atmos/test.git",
72
+ "ssh_url": "git@github.com:atmos/test.git",
73
+ "clone_url": "https://github.com/atmos/test.git",
74
+ "svn_url": "https://github.com/atmos/test",
75
+ "homepage": null,
76
+ "size": 112,
77
+ "watchers_count": 0,
78
+ "language": null,
79
+ "has_issues": true,
80
+ "has_downloads": true,
81
+ "has_wiki": true,
82
+ "forks_count": 0,
83
+ "mirror_url": null,
84
+ "open_issues_count": 1,
85
+ "forks": 0,
86
+ "open_issues": 1,
87
+ "watchers": 0,
88
+ "master_branch": "master",
89
+ "default_branch": "master"
90
+ },
91
+ "sender": {
92
+ "login": "fakeatmos",
93
+ "id": 704696,
94
+ "avatar_url": "https://secure.gravatar.com/avatar/7310f196129141a0517f1fe8f0689472?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
95
+ "gravatar_id": "7310f196129141a0517f1fe8f0689472",
96
+ "url": "https://api.github.com/users/fakeatmos",
97
+ "html_url": "https://github.com/fakeatmos",
98
+ "followers_url": "https://api.github.com/users/fakeatmos/followers",
99
+ "following_url": "https://api.github.com/users/fakeatmos/following{/other_user}",
100
+ "gists_url": "https://api.github.com/users/fakeatmos/gists{/gist_id}",
101
+ "starred_url": "https://api.github.com/users/fakeatmos/starred{/owner}{/repo}",
102
+ "subscriptions_url": "https://api.github.com/users/fakeatmos/subscriptions",
103
+ "organizations_url": "https://api.github.com/users/fakeatmos/orgs",
104
+ "repos_url": "https://api.github.com/users/fakeatmos/repos",
105
+ "events_url": "https://api.github.com/users/fakeatmos/events{/privacy}",
106
+ "received_events_url": "https://api.github.com/users/fakeatmos/received_events",
107
+ "type": "User"
108
+ }
109
+ },
110
+ "event": "create",
111
+ "config": {
112
+ "url": "https://campfire-relaay.herokuapp.com",
113
+ "content_type": "json",
114
+ "secret": "563eb98bb765b5c048b9bbd1f4611b2c2beafc1c8fb3678b"
115
+ },
116
+ "guid": "fa156200-cf43-11e2-8f2e-3ed9ce51b412"
117
+ }
@@ -0,0 +1,115 @@
1
+ {
2
+ "payload": {
3
+ "ref": "logo",
4
+ "ref_type": "branch",
5
+ "repository": {
6
+ "id": 10544626,
7
+ "name": "test",
8
+ "full_name": "atmos/test",
9
+ "owner": {
10
+ "login": "atmos",
11
+ "id": 38,
12
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
13
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
14
+ "url": "https://api.github.com/users/atmos",
15
+ "html_url": "https://github.com/atmos",
16
+ "followers_url": "https://api.github.com/users/atmos/followers",
17
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
18
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
19
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
20
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
21
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
22
+ "repos_url": "https://api.github.com/users/atmos/repos",
23
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
24
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
25
+ "type": "User"
26
+ },
27
+ "private": true,
28
+ "html_url": "https://github.com/atmos/test",
29
+ "description": "",
30
+ "fork": false,
31
+ "url": "https://api.github.com/repos/atmos/test",
32
+ "forks_url": "https://api.github.com/repos/atmos/test/forks",
33
+ "keys_url": "https://api.github.com/repos/atmos/test/keys{/key_id}",
34
+ "collaborators_url": "https://api.github.com/repos/atmos/test/collaborators{/collaborator}",
35
+ "teams_url": "https://api.github.com/repos/atmos/test/teams",
36
+ "hooks_url": "https://api.github.com/repos/atmos/test/hooks",
37
+ "issue_events_url": "https://api.github.com/repos/atmos/test/issues/events{/number}",
38
+ "events_url": "https://api.github.com/repos/atmos/test/events",
39
+ "assignees_url": "https://api.github.com/repos/atmos/test/assignees{/user}",
40
+ "branches_url": "https://api.github.com/repos/atmos/test/branches{/branch}",
41
+ "tags_url": "https://api.github.com/repos/atmos/test/tags",
42
+ "blobs_url": "https://api.github.com/repos/atmos/test/git/blobs{/sha}",
43
+ "git_tags_url": "https://api.github.com/repos/atmos/test/git/tags{/sha}",
44
+ "git_refs_url": "https://api.github.com/repos/atmos/test/git/refs{/sha}",
45
+ "trees_url": "https://api.github.com/repos/atmos/test/git/trees{/sha}",
46
+ "statuses_url": "https://api.github.com/repos/atmos/test/statuses/{sha}",
47
+ "languages_url": "https://api.github.com/repos/atmos/test/languages",
48
+ "stargazers_url": "https://api.github.com/repos/atmos/test/stargazers",
49
+ "contributors_url": "https://api.github.com/repos/atmos/test/contributors",
50
+ "subscribers_url": "https://api.github.com/repos/atmos/test/subscribers",
51
+ "subscription_url": "https://api.github.com/repos/atmos/test/subscription",
52
+ "commits_url": "https://api.github.com/repos/atmos/test/commits{/sha}",
53
+ "git_commits_url": "https://api.github.com/repos/atmos/test/git/commits{/sha}",
54
+ "comments_url": "https://api.github.com/repos/atmos/test/comments{/number}",
55
+ "issue_comment_url": "https://api.github.com/repos/atmos/test/issues/comments/{number}",
56
+ "contents_url": "https://api.github.com/repos/atmos/test/contents/{+path}",
57
+ "compare_url": "https://api.github.com/repos/atmos/test/compare/{base}...{head}",
58
+ "merges_url": "https://api.github.com/repos/atmos/test/merges",
59
+ "archive_url": "https://api.github.com/repos/atmos/test/{archive_format}{/ref}",
60
+ "downloads_url": "https://api.github.com/repos/atmos/test/downloads",
61
+ "issues_url": "https://api.github.com/repos/atmos/test/issues{/number}",
62
+ "pulls_url": "https://api.github.com/repos/atmos/test/pulls{/number}",
63
+ "milestones_url": "https://api.github.com/repos/atmos/test/milestones{/number}",
64
+ "notifications_url": "https://api.github.com/repos/atmos/test/notifications{?since,all,participating}",
65
+ "labels_url": "https://api.github.com/repos/atmos/test/labels{/name}",
66
+ "created_at": "2013-06-07T07:27:32Z",
67
+ "updated_at": "2013-06-07T07:32:23Z",
68
+ "pushed_at": "2013-06-07T07:32:23Z",
69
+ "git_url": "git://github.com/atmos/test.git",
70
+ "ssh_url": "git@github.com:atmos/test.git",
71
+ "clone_url": "https://github.com/atmos/test.git",
72
+ "svn_url": "https://github.com/atmos/test",
73
+ "homepage": null,
74
+ "size": 112,
75
+ "watchers_count": 0,
76
+ "language": null,
77
+ "has_issues": true,
78
+ "has_downloads": true,
79
+ "has_wiki": true,
80
+ "forks_count": 0,
81
+ "mirror_url": null,
82
+ "open_issues_count": 1,
83
+ "forks": 0,
84
+ "open_issues": 1,
85
+ "watchers": 0,
86
+ "master_branch": "master",
87
+ "default_branch": "master"
88
+ },
89
+ "sender": {
90
+ "login": "fakeatmos",
91
+ "id": 704696,
92
+ "avatar_url": "https://secure.gravatar.com/avatar/7310f196129141a0517f1fe8f0689472?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
93
+ "gravatar_id": "7310f196129141a0517f1fe8f0689472",
94
+ "url": "https://api.github.com/users/fakeatmos",
95
+ "html_url": "https://github.com/fakeatmos",
96
+ "followers_url": "https://api.github.com/users/fakeatmos/followers",
97
+ "following_url": "https://api.github.com/users/fakeatmos/following{/other_user}",
98
+ "gists_url": "https://api.github.com/users/fakeatmos/gists{/gist_id}",
99
+ "starred_url": "https://api.github.com/users/fakeatmos/starred{/owner}{/repo}",
100
+ "subscriptions_url": "https://api.github.com/users/fakeatmos/subscriptions",
101
+ "organizations_url": "https://api.github.com/users/fakeatmos/orgs",
102
+ "repos_url": "https://api.github.com/users/fakeatmos/repos",
103
+ "events_url": "https://api.github.com/users/fakeatmos/events{/privacy}",
104
+ "received_events_url": "https://api.github.com/users/fakeatmos/received_events",
105
+ "type": "User"
106
+ }
107
+ },
108
+ "event": "delete",
109
+ "config": {
110
+ "url": "https://campfire-relaay.herokuapp.com",
111
+ "content_type": "json",
112
+ "secret": "563eb98bb765b5c048b9bbd1f4611b2c2beafc1c8fb3678b"
113
+ },
114
+ "guid": "64c69d80-cf44-11e2-8f09-54e16a2d6bb6"
115
+ }
@@ -0,0 +1,185 @@
1
+ {
2
+ "payload": {
3
+ "action": "created",
4
+ "issue": {
5
+ "url": "https://api.github.com/repos/atmos/test/issues/1",
6
+ "labels_url": "https://api.github.com/repos/atmos/test/issues/1/labels{/name}",
7
+ "comments_url": "https://api.github.com/repos/atmos/test/issues/1/comments",
8
+ "events_url": "https://api.github.com/repos/atmos/test/issues/1/events",
9
+ "html_url": "https://github.com/atmos/test/issues/1",
10
+ "id": 15260493,
11
+ "number": 1,
12
+ "title": "Images would be cool",
13
+ "user": {
14
+ "login": "fakeatmos",
15
+ "id": 704696,
16
+ "avatar_url": "https://secure.gravatar.com/avatar/7310f196129141a0517f1fe8f0689472?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
17
+ "gravatar_id": "7310f196129141a0517f1fe8f0689472",
18
+ "url": "https://api.github.com/users/fakeatmos",
19
+ "html_url": "https://github.com/fakeatmos",
20
+ "followers_url": "https://api.github.com/users/fakeatmos/followers",
21
+ "following_url": "https://api.github.com/users/fakeatmos/following{/other_user}",
22
+ "gists_url": "https://api.github.com/users/fakeatmos/gists{/gist_id}",
23
+ "starred_url": "https://api.github.com/users/fakeatmos/starred{/owner}{/repo}",
24
+ "subscriptions_url": "https://api.github.com/users/fakeatmos/subscriptions",
25
+ "organizations_url": "https://api.github.com/users/fakeatmos/orgs",
26
+ "repos_url": "https://api.github.com/users/fakeatmos/repos",
27
+ "events_url": "https://api.github.com/users/fakeatmos/events{/privacy}",
28
+ "received_events_url": "https://api.github.com/users/fakeatmos/received_events",
29
+ "type": "User"
30
+ },
31
+ "labels": [
32
+
33
+ ],
34
+ "state": "closed",
35
+ "assignee": null,
36
+ "milestone": null,
37
+ "comments": 1,
38
+ "created_at": "2013-06-07T07:29:17Z",
39
+ "updated_at": "2013-06-07T07:32:44Z",
40
+ "closed_at": "2013-06-07T07:32:44Z",
41
+ "pull_request": {
42
+ "html_url": null,
43
+ "diff_url": null,
44
+ "patch_url": null
45
+ },
46
+ "body": "I really think images would be cool."
47
+ },
48
+ "comment": {
49
+ "url": "https://api.github.com/repos/atmos/test/issues/comments/19092978",
50
+ "html_url": "https://github.com/atmos/test/issues/1#issuecomment-19092978",
51
+ "issue_url": "https://api.github.com/repos/atmos/test/issues/1",
52
+ "id": 19092978,
53
+ "user": {
54
+ "login": "atmos",
55
+ "id": 38,
56
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
57
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
58
+ "url": "https://api.github.com/users/atmos",
59
+ "html_url": "https://github.com/atmos",
60
+ "followers_url": "https://api.github.com/users/atmos/followers",
61
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
62
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
63
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
64
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
65
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
66
+ "repos_url": "https://api.github.com/users/atmos/repos",
67
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
68
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
69
+ "type": "User"
70
+ },
71
+ "created_at": "2013-06-07T07:32:44Z",
72
+ "updated_at": "2013-06-07T07:32:44Z",
73
+ "body": "Fixed by #2 "
74
+ },
75
+ "repository": {
76
+ "id": 10544626,
77
+ "name": "test",
78
+ "full_name": "atmos/test",
79
+ "owner": {
80
+ "login": "atmos",
81
+ "id": 38,
82
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
83
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
84
+ "url": "https://api.github.com/users/atmos",
85
+ "html_url": "https://github.com/atmos",
86
+ "followers_url": "https://api.github.com/users/atmos/followers",
87
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
88
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
89
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
90
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
91
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
92
+ "repos_url": "https://api.github.com/users/atmos/repos",
93
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
94
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
95
+ "type": "User"
96
+ },
97
+ "private": true,
98
+ "html_url": "https://github.com/atmos/test",
99
+ "description": "",
100
+ "fork": false,
101
+ "url": "https://api.github.com/repos/atmos/test",
102
+ "forks_url": "https://api.github.com/repos/atmos/test/forks",
103
+ "keys_url": "https://api.github.com/repos/atmos/test/keys{/key_id}",
104
+ "collaborators_url": "https://api.github.com/repos/atmos/test/collaborators{/collaborator}",
105
+ "teams_url": "https://api.github.com/repos/atmos/test/teams",
106
+ "hooks_url": "https://api.github.com/repos/atmos/test/hooks",
107
+ "issue_events_url": "https://api.github.com/repos/atmos/test/issues/events{/number}",
108
+ "events_url": "https://api.github.com/repos/atmos/test/events",
109
+ "assignees_url": "https://api.github.com/repos/atmos/test/assignees{/user}",
110
+ "branches_url": "https://api.github.com/repos/atmos/test/branches{/branch}",
111
+ "tags_url": "https://api.github.com/repos/atmos/test/tags",
112
+ "blobs_url": "https://api.github.com/repos/atmos/test/git/blobs{/sha}",
113
+ "git_tags_url": "https://api.github.com/repos/atmos/test/git/tags{/sha}",
114
+ "git_refs_url": "https://api.github.com/repos/atmos/test/git/refs{/sha}",
115
+ "trees_url": "https://api.github.com/repos/atmos/test/git/trees{/sha}",
116
+ "statuses_url": "https://api.github.com/repos/atmos/test/statuses/{sha}",
117
+ "languages_url": "https://api.github.com/repos/atmos/test/languages",
118
+ "stargazers_url": "https://api.github.com/repos/atmos/test/stargazers",
119
+ "contributors_url": "https://api.github.com/repos/atmos/test/contributors",
120
+ "subscribers_url": "https://api.github.com/repos/atmos/test/subscribers",
121
+ "subscription_url": "https://api.github.com/repos/atmos/test/subscription",
122
+ "commits_url": "https://api.github.com/repos/atmos/test/commits{/sha}",
123
+ "git_commits_url": "https://api.github.com/repos/atmos/test/git/commits{/sha}",
124
+ "comments_url": "https://api.github.com/repos/atmos/test/comments{/number}",
125
+ "issue_comment_url": "https://api.github.com/repos/atmos/test/issues/comments/{number}",
126
+ "contents_url": "https://api.github.com/repos/atmos/test/contents/{+path}",
127
+ "compare_url": "https://api.github.com/repos/atmos/test/compare/{base}...{head}",
128
+ "merges_url": "https://api.github.com/repos/atmos/test/merges",
129
+ "archive_url": "https://api.github.com/repos/atmos/test/{archive_format}{/ref}",
130
+ "downloads_url": "https://api.github.com/repos/atmos/test/downloads",
131
+ "issues_url": "https://api.github.com/repos/atmos/test/issues{/number}",
132
+ "pulls_url": "https://api.github.com/repos/atmos/test/pulls{/number}",
133
+ "milestones_url": "https://api.github.com/repos/atmos/test/milestones{/number}",
134
+ "notifications_url": "https://api.github.com/repos/atmos/test/notifications{?since,all,participating}",
135
+ "labels_url": "https://api.github.com/repos/atmos/test/labels{/name}",
136
+ "created_at": "2013-06-07T07:27:32Z",
137
+ "updated_at": "2013-06-07T07:32:44Z",
138
+ "pushed_at": "2013-06-07T07:32:23Z",
139
+ "git_url": "git://github.com/atmos/test.git",
140
+ "ssh_url": "git@github.com:atmos/test.git",
141
+ "clone_url": "https://github.com/atmos/test.git",
142
+ "svn_url": "https://github.com/atmos/test",
143
+ "homepage": null,
144
+ "size": 112,
145
+ "watchers_count": 0,
146
+ "language": null,
147
+ "has_issues": true,
148
+ "has_downloads": true,
149
+ "has_wiki": true,
150
+ "forks_count": 0,
151
+ "mirror_url": null,
152
+ "open_issues_count": 0,
153
+ "forks": 0,
154
+ "open_issues": 0,
155
+ "watchers": 0,
156
+ "master_branch": "master",
157
+ "default_branch": "master"
158
+ },
159
+ "sender": {
160
+ "login": "atmos",
161
+ "id": 38,
162
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
163
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
164
+ "url": "https://api.github.com/users/atmos",
165
+ "html_url": "https://github.com/atmos",
166
+ "followers_url": "https://api.github.com/users/atmos/followers",
167
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
168
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
169
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
170
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
171
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
172
+ "repos_url": "https://api.github.com/users/atmos/repos",
173
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
174
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
175
+ "type": "User"
176
+ }
177
+ },
178
+ "event": "issue_comment",
179
+ "config": {
180
+ "url": "https://campfire-relaay.herokuapp.com",
181
+ "content_type": "json",
182
+ "secret": "563eb98bb765b5c048b9bbd1f4611b2c2beafc1c8fb3678b"
183
+ },
184
+ "guid": "71e38c80-cf44-11e2-8eea-845bfeea582f"
185
+ }
@@ -0,0 +1,158 @@
1
+ {
2
+ "payload": {
3
+ "action": "closed",
4
+ "issue": {
5
+ "url": "https://api.github.com/repos/atmos/test/issues/1",
6
+ "labels_url": "https://api.github.com/repos/atmos/test/issues/1/labels{/name}",
7
+ "comments_url": "https://api.github.com/repos/atmos/test/issues/1/comments",
8
+ "events_url": "https://api.github.com/repos/atmos/test/issues/1/events",
9
+ "html_url": "https://github.com/atmos/test/issues/1",
10
+ "id": 15260493,
11
+ "number": 1,
12
+ "title": "Images would be cool",
13
+ "user": {
14
+ "login": "fakeatmos",
15
+ "id": 704696,
16
+ "avatar_url": "https://secure.gravatar.com/avatar/7310f196129141a0517f1fe8f0689472?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
17
+ "gravatar_id": "7310f196129141a0517f1fe8f0689472",
18
+ "url": "https://api.github.com/users/fakeatmos",
19
+ "html_url": "https://github.com/fakeatmos",
20
+ "followers_url": "https://api.github.com/users/fakeatmos/followers",
21
+ "following_url": "https://api.github.com/users/fakeatmos/following{/other_user}",
22
+ "gists_url": "https://api.github.com/users/fakeatmos/gists{/gist_id}",
23
+ "starred_url": "https://api.github.com/users/fakeatmos/starred{/owner}{/repo}",
24
+ "subscriptions_url": "https://api.github.com/users/fakeatmos/subscriptions",
25
+ "organizations_url": "https://api.github.com/users/fakeatmos/orgs",
26
+ "repos_url": "https://api.github.com/users/fakeatmos/repos",
27
+ "events_url": "https://api.github.com/users/fakeatmos/events{/privacy}",
28
+ "received_events_url": "https://api.github.com/users/fakeatmos/received_events",
29
+ "type": "User"
30
+ },
31
+ "labels": [
32
+
33
+ ],
34
+ "state": "closed",
35
+ "assignee": null,
36
+ "milestone": null,
37
+ "comments": 1,
38
+ "created_at": "2013-06-07T07:29:17Z",
39
+ "updated_at": "2013-06-07T07:32:44Z",
40
+ "closed_at": "2013-06-07T07:32:44Z",
41
+ "pull_request": {
42
+ "html_url": null,
43
+ "diff_url": null,
44
+ "patch_url": null
45
+ },
46
+ "body": "I really think images would be cool."
47
+ },
48
+ "repository": {
49
+ "id": 10544626,
50
+ "name": "test",
51
+ "full_name": "atmos/test",
52
+ "owner": {
53
+ "login": "atmos",
54
+ "id": 38,
55
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
56
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
57
+ "url": "https://api.github.com/users/atmos",
58
+ "html_url": "https://github.com/atmos",
59
+ "followers_url": "https://api.github.com/users/atmos/followers",
60
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
61
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
62
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
63
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
64
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
65
+ "repos_url": "https://api.github.com/users/atmos/repos",
66
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
67
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
68
+ "type": "User"
69
+ },
70
+ "private": true,
71
+ "html_url": "https://github.com/atmos/test",
72
+ "description": "",
73
+ "fork": false,
74
+ "url": "https://api.github.com/repos/atmos/test",
75
+ "forks_url": "https://api.github.com/repos/atmos/test/forks",
76
+ "keys_url": "https://api.github.com/repos/atmos/test/keys{/key_id}",
77
+ "collaborators_url": "https://api.github.com/repos/atmos/test/collaborators{/collaborator}",
78
+ "teams_url": "https://api.github.com/repos/atmos/test/teams",
79
+ "hooks_url": "https://api.github.com/repos/atmos/test/hooks",
80
+ "issue_events_url": "https://api.github.com/repos/atmos/test/issues/events{/number}",
81
+ "events_url": "https://api.github.com/repos/atmos/test/events",
82
+ "assignees_url": "https://api.github.com/repos/atmos/test/assignees{/user}",
83
+ "branches_url": "https://api.github.com/repos/atmos/test/branches{/branch}",
84
+ "tags_url": "https://api.github.com/repos/atmos/test/tags",
85
+ "blobs_url": "https://api.github.com/repos/atmos/test/git/blobs{/sha}",
86
+ "git_tags_url": "https://api.github.com/repos/atmos/test/git/tags{/sha}",
87
+ "git_refs_url": "https://api.github.com/repos/atmos/test/git/refs{/sha}",
88
+ "trees_url": "https://api.github.com/repos/atmos/test/git/trees{/sha}",
89
+ "statuses_url": "https://api.github.com/repos/atmos/test/statuses/{sha}",
90
+ "languages_url": "https://api.github.com/repos/atmos/test/languages",
91
+ "stargazers_url": "https://api.github.com/repos/atmos/test/stargazers",
92
+ "contributors_url": "https://api.github.com/repos/atmos/test/contributors",
93
+ "subscribers_url": "https://api.github.com/repos/atmos/test/subscribers",
94
+ "subscription_url": "https://api.github.com/repos/atmos/test/subscription",
95
+ "commits_url": "https://api.github.com/repos/atmos/test/commits{/sha}",
96
+ "git_commits_url": "https://api.github.com/repos/atmos/test/git/commits{/sha}",
97
+ "comments_url": "https://api.github.com/repos/atmos/test/comments{/number}",
98
+ "issue_comment_url": "https://api.github.com/repos/atmos/test/issues/comments/{number}",
99
+ "contents_url": "https://api.github.com/repos/atmos/test/contents/{+path}",
100
+ "compare_url": "https://api.github.com/repos/atmos/test/compare/{base}...{head}",
101
+ "merges_url": "https://api.github.com/repos/atmos/test/merges",
102
+ "archive_url": "https://api.github.com/repos/atmos/test/{archive_format}{/ref}",
103
+ "downloads_url": "https://api.github.com/repos/atmos/test/downloads",
104
+ "issues_url": "https://api.github.com/repos/atmos/test/issues{/number}",
105
+ "pulls_url": "https://api.github.com/repos/atmos/test/pulls{/number}",
106
+ "milestones_url": "https://api.github.com/repos/atmos/test/milestones{/number}",
107
+ "notifications_url": "https://api.github.com/repos/atmos/test/notifications{?since,all,participating}",
108
+ "labels_url": "https://api.github.com/repos/atmos/test/labels{/name}",
109
+ "created_at": "2013-06-07T07:27:32Z",
110
+ "updated_at": "2013-06-07T07:32:44Z",
111
+ "pushed_at": "2013-06-07T07:32:23Z",
112
+ "git_url": "git://github.com/atmos/test.git",
113
+ "ssh_url": "git@github.com:atmos/test.git",
114
+ "clone_url": "https://github.com/atmos/test.git",
115
+ "svn_url": "https://github.com/atmos/test",
116
+ "homepage": null,
117
+ "size": 112,
118
+ "watchers_count": 0,
119
+ "language": null,
120
+ "has_issues": true,
121
+ "has_downloads": true,
122
+ "has_wiki": true,
123
+ "forks_count": 0,
124
+ "mirror_url": null,
125
+ "open_issues_count": 0,
126
+ "forks": 0,
127
+ "open_issues": 0,
128
+ "watchers": 0,
129
+ "master_branch": "master",
130
+ "default_branch": "master"
131
+ },
132
+ "sender": {
133
+ "login": "atmos",
134
+ "id": 38,
135
+ "avatar_url": "https://secure.gravatar.com/avatar/a86224d72ce21cd9f5bee6784d4b06c7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png",
136
+ "gravatar_id": "a86224d72ce21cd9f5bee6784d4b06c7",
137
+ "url": "https://api.github.com/users/atmos",
138
+ "html_url": "https://github.com/atmos",
139
+ "followers_url": "https://api.github.com/users/atmos/followers",
140
+ "following_url": "https://api.github.com/users/atmos/following{/other_user}",
141
+ "gists_url": "https://api.github.com/users/atmos/gists{/gist_id}",
142
+ "starred_url": "https://api.github.com/users/atmos/starred{/owner}{/repo}",
143
+ "subscriptions_url": "https://api.github.com/users/atmos/subscriptions",
144
+ "organizations_url": "https://api.github.com/users/atmos/orgs",
145
+ "repos_url": "https://api.github.com/users/atmos/repos",
146
+ "events_url": "https://api.github.com/users/atmos/events{/privacy}",
147
+ "received_events_url": "https://api.github.com/users/atmos/received_events",
148
+ "type": "User"
149
+ }
150
+ },
151
+ "event": "issues",
152
+ "config": {
153
+ "url": "https://campfire-relaay.herokuapp.com",
154
+ "content_type": "json",
155
+ "secret": "563eb98bb765b5c048b9bbd1f4611b2c2beafc1c8fb3678b"
156
+ },
157
+ "guid": "71e38c80-cf44-11e2-9b7d-103359ffacec"
158
+ }