hookworm-handlers 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +3 -0
  5. data/.simplecov +6 -0
  6. data/.travis.yml +17 -0
  7. data/.yardopts +1 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.md +23 -0
  10. data/README.md +29 -0
  11. data/Rakefile +20 -0
  12. data/bin/hookworm-annotator +6 -0
  13. data/bin/hookworm-build-index-handler +6 -0
  14. data/bin/hookworm-logging-handler +6 -0
  15. data/bin/hookworm-rogue-commit-handler +6 -0
  16. data/hookworm-handlers.gemspec +32 -0
  17. data/lib/hookworm/annotator.rb +49 -0
  18. data/lib/hookworm/build_index_handler.rb +132 -0
  19. data/lib/hookworm/github_payload_annotator.rb +110 -0
  20. data/lib/hookworm/handlers/version.rb +5 -0
  21. data/lib/hookworm/handlers.rb +5 -0
  22. data/lib/hookworm/logging_handler.rb +55 -0
  23. data/lib/hookworm/rogue-commit-email-tmpl.erb +153 -0
  24. data/lib/hookworm/rogue_commit_handler.rb +240 -0
  25. data/lib/hookworm/travis_payload_annotator.rb +23 -0
  26. data/lib/hookworm-handlers.rb +7 -0
  27. data/sampledata/github-payloads/bogus.json +4 -0
  28. data/sampledata/github-payloads/branch_delete.json +41 -0
  29. data/sampledata/github-payloads/pull_request.json +153 -0
  30. data/sampledata/github-payloads/rogue.json +152 -0
  31. data/sampledata/github-payloads/rogue_unwatched_branch.json +152 -0
  32. data/sampledata/github-payloads/rogue_unwatched_path.json +91 -0
  33. data/sampledata/github-payloads/valid.json +66 -0
  34. data/sampledata/github-payloads/with_nulls.json +67 -0
  35. data/sampledata/travis-payloads/annotated_success.json +76 -0
  36. data/sampledata/travis-payloads/success.json +74 -0
  37. data/sampledata/travis-payloads/valid.json +56 -0
  38. data/spec/lib/hookworm/annotator_spec.rb +103 -0
  39. data/spec/lib/hookworm/build_index_handler_spec.rb +110 -0
  40. data/spec/lib/hookworm/logging_handler_spec.rb +134 -0
  41. data/spec/lib/hookworm/rogue_commit_handler_spec.rb +65 -0
  42. data/spec/spec_helper.rb +3 -0
  43. data/spec/support.rb +117 -0
  44. metadata +222 -0
@@ -0,0 +1,152 @@
1
+ {
2
+ "ref": "refs/heads/master",
3
+ "after": "d0afb08e931361f179a7e0fd29daec7ca1663233",
4
+ "before": "926ed297f149354424c1968924bf944c5b69a7ec",
5
+ "created": false,
6
+ "deleted": false,
7
+ "forced": false,
8
+ "compare": "https://github.com/modcloth-labs/hookworm/compare/926ed297f149...d0afb08e9313",
9
+ "commits": [
10
+ {
11
+ "id": "7afdcae33a1903e52d0290e738b868d944ce3f60",
12
+ "distinct": true,
13
+ "message": "Merge from modcloth-labs/payload-parsing-and-emailing\n\nPayload parsing and emœiling",
14
+ "timestamp": "2013-06-01T19:28:39-07:00",
15
+ "url": "https://github.com/modcloth-labs/hookworm/commit/7afdcae33a1903e52d0290e738b868d944ce3f60",
16
+ "author": {
17
+ "name": "Dan Buch",
18
+ "email": "daniel.buch@gmail.com",
19
+ "username": "meatballhat"
20
+ },
21
+ "committer": {
22
+ "name": "Dan Buch",
23
+ "email": "daniel.buch@gmail.com",
24
+ "username": "meatballhat"
25
+ },
26
+ "added": [
27
+ "emailer.go",
28
+ "example-payload.json",
29
+ "payload.go"
30
+ ],
31
+ "removed": [
32
+
33
+ ],
34
+ "modified": [
35
+ "Makefile",
36
+ "server.go"
37
+ ]
38
+ },
39
+ {
40
+ "id": "323fa5bebc49cbeac869a242682a56c83d4566cc",
41
+ "distinct": true,
42
+ "message": "Handling JSON nulls all over the place\n\nwhich I may end up reverting in favor of the {}interface + type\nassertion approach.",
43
+ "timestamp": "2013-06-02T09:42:59-07:00",
44
+ "url": "https://github.com/modcloth-labs/hookworm/commit/323fa5bebc49cbeac869a242682a56c83d4566cc",
45
+ "author": {
46
+ "name": "Dan Buch",
47
+ "email": "d.buch@modcloth.com",
48
+ "username": "meatballhat"
49
+ },
50
+ "committer": {
51
+ "name": "Dan Buch",
52
+ "email": "d.buch@modcloth.com",
53
+ "username": "meatballhat"
54
+ },
55
+ "added": [
56
+ "sampledata/payload-with-nulls.json",
57
+ "sampledata/payload.json"
58
+ ],
59
+ "removed": [
60
+ "example-payload.json"
61
+ ],
62
+ "modified": [
63
+ "payload.go",
64
+ "server.go"
65
+ ]
66
+ },
67
+ {
68
+ "id": "d0afb08e931361f179a7e0fd29daec7ca1663233",
69
+ "distinct": true,
70
+ "message": "Merge pull request #2 from modcloth-labs/payload-parsing-and-emailing\n\nHandling JSON nulls all over the place",
71
+ "timestamp": "2013-06-02T09:47:08-07:00",
72
+ "url": "https://github.com/modcloth-labs/hookworm/commit/d0afb08e931361f179a7e0fd29daec7ca1663233",
73
+ "author": {
74
+ "name": "Dan Buch",
75
+ "email": "daniel.buch@gmail.com",
76
+ "username": "meatballhat"
77
+ },
78
+ "committer": {
79
+ "name": "Dan Buch",
80
+ "email": "daniel.buch@gmail.com",
81
+ "username": "meatballhat"
82
+ },
83
+ "added": [
84
+ "sampledata/payload-with-nulls.json",
85
+ "sampledata/payload.json"
86
+ ],
87
+ "removed": [
88
+ "example-payload.json"
89
+ ],
90
+ "modified": [
91
+ "payload.go",
92
+ "server.go"
93
+ ]
94
+ }
95
+ ],
96
+ "head_commit": {
97
+ "id": "d0afb08e931361f179a7e0fd29daec7ca1663233",
98
+ "distinct": true,
99
+ "message": "Merge from modcloth-labs/payload-parsing-and-emailing\n\nPayload parsing and emœiling",
100
+ "timestamp": "2013-06-02T09:47:08-07:00",
101
+ "url": "https://github.com/modcloth-labs/hookworm/commit/d0afb08e931361f179a7e0fd29daec7ca1663233",
102
+ "author": {
103
+ "name": "Dan Buch",
104
+ "email": "daniel.buch@gmail.com",
105
+ "username": "meatballhat"
106
+ },
107
+ "committer": {
108
+ "name": "Dan Buch",
109
+ "email": "daniel.buch@gmail.com",
110
+ "username": "meatballhat"
111
+ },
112
+ "added": [
113
+ "sampledata/payload-with-nulls.json",
114
+ "sampledata/payload.json"
115
+ ],
116
+ "removed": [
117
+ "example-payload.json"
118
+ ],
119
+ "modified": [
120
+ "payload.go",
121
+ "server.go"
122
+ ]
123
+ },
124
+ "repository": {
125
+ "id": 10417548,
126
+ "name": "hookworm",
127
+ "url": "https://github.com/modcloth-labs/hookworm",
128
+ "description": "github hook receiving thingydoo",
129
+ "watchers": 0,
130
+ "stargazers": 0,
131
+ "forks": 0,
132
+ "fork": false,
133
+ "size": 208,
134
+ "owner": {
135
+ "name": "modcloth-labs",
136
+ "email": null
137
+ },
138
+ "private": false,
139
+ "open_issues": 0,
140
+ "has_issues": true,
141
+ "has_downloads": true,
142
+ "has_wiki": true,
143
+ "language": "Go",
144
+ "created_at": 1370060266,
145
+ "pushed_at": 1370191630,
146
+ "master_branch": "master",
147
+ "organization": "modcloth-labs"
148
+ },
149
+ "pusher": {
150
+ "name": "none"
151
+ }
152
+ }
@@ -0,0 +1,152 @@
1
+ {
2
+ "ref": "refs/heads/still-workin-on-it",
3
+ "after": "d0afb08e931361f179a7e0fd29daec7ca1663233",
4
+ "before": "926ed297f149354424c1968924bf944c5b69a7ec",
5
+ "created": false,
6
+ "deleted": false,
7
+ "forced": false,
8
+ "compare": "https://github.com/modcloth-labs/hookworm/compare/926ed297f149...d0afb08e9313",
9
+ "commits": [
10
+ {
11
+ "id": "7afdcae33a1903e52d0290e738b868d944ce3f60",
12
+ "distinct": true,
13
+ "message": "Merge from modcloth-labs/payload-parsing-and-emailing\n\nPayload parsing and emœiling",
14
+ "timestamp": "2013-06-01T19:28:39-07:00",
15
+ "url": "https://github.com/modcloth-labs/hookworm/commit/7afdcae33a1903e52d0290e738b868d944ce3f60",
16
+ "author": {
17
+ "name": "Dan Buch",
18
+ "email": "daniel.buch@gmail.com",
19
+ "username": "meatballhat"
20
+ },
21
+ "committer": {
22
+ "name": "Dan Buch",
23
+ "email": "daniel.buch@gmail.com",
24
+ "username": "meatballhat"
25
+ },
26
+ "added": [
27
+ "emailer.go",
28
+ "example-payload.json",
29
+ "payload.go"
30
+ ],
31
+ "removed": [
32
+
33
+ ],
34
+ "modified": [
35
+ "Makefile",
36
+ "server.go"
37
+ ]
38
+ },
39
+ {
40
+ "id": "323fa5bebc49cbeac869a242682a56c83d4566cc",
41
+ "distinct": true,
42
+ "message": "Handling JSON nulls all over the place\n\nwhich I may end up reverting in favor of the {}interface + type\nassertion approach.",
43
+ "timestamp": "2013-06-02T09:42:59-07:00",
44
+ "url": "https://github.com/modcloth-labs/hookworm/commit/323fa5bebc49cbeac869a242682a56c83d4566cc",
45
+ "author": {
46
+ "name": "Dan Buch",
47
+ "email": "d.buch@modcloth.com",
48
+ "username": "meatballhat"
49
+ },
50
+ "committer": {
51
+ "name": "Dan Buch",
52
+ "email": "d.buch@modcloth.com",
53
+ "username": "meatballhat"
54
+ },
55
+ "added": [
56
+ "sampledata/payload-with-nulls.json",
57
+ "sampledata/payload.json"
58
+ ],
59
+ "removed": [
60
+ "example-payload.json"
61
+ ],
62
+ "modified": [
63
+ "payload.go",
64
+ "server.go"
65
+ ]
66
+ },
67
+ {
68
+ "id": "d0afb08e931361f179a7e0fd29daec7ca1663233",
69
+ "distinct": true,
70
+ "message": "Merge pull request #2 from modcloth-labs/payload-parsing-and-emailing\n\nHandling JSON nulls all over the place",
71
+ "timestamp": "2013-06-02T09:47:08-07:00",
72
+ "url": "https://github.com/modcloth-labs/hookworm/commit/d0afb08e931361f179a7e0fd29daec7ca1663233",
73
+ "author": {
74
+ "name": "Dan Buch",
75
+ "email": "daniel.buch@gmail.com",
76
+ "username": "meatballhat"
77
+ },
78
+ "committer": {
79
+ "name": "Dan Buch",
80
+ "email": "daniel.buch@gmail.com",
81
+ "username": "meatballhat"
82
+ },
83
+ "added": [
84
+ "sampledata/payload-with-nulls.json",
85
+ "sampledata/payload.json"
86
+ ],
87
+ "removed": [
88
+ "example-payload.json"
89
+ ],
90
+ "modified": [
91
+ "payload.go",
92
+ "server.go"
93
+ ]
94
+ }
95
+ ],
96
+ "head_commit": {
97
+ "id": "d0afb08e931361f179a7e0fd29daec7ca1663233",
98
+ "distinct": true,
99
+ "message": "Merge from modcloth-labs/payload-parsing-and-emailing\n\nPayload parsing and emœiling",
100
+ "timestamp": "2013-06-02T09:47:08-07:00",
101
+ "url": "https://github.com/modcloth-labs/hookworm/commit/d0afb08e931361f179a7e0fd29daec7ca1663233",
102
+ "author": {
103
+ "name": "Dan Buch",
104
+ "email": "daniel.buch@gmail.com",
105
+ "username": "meatballhat"
106
+ },
107
+ "committer": {
108
+ "name": "Dan Buch",
109
+ "email": "daniel.buch@gmail.com",
110
+ "username": "meatballhat"
111
+ },
112
+ "added": [
113
+ "sampledata/payload-with-nulls.json",
114
+ "sampledata/payload.json"
115
+ ],
116
+ "removed": [
117
+ "example-payload.json"
118
+ ],
119
+ "modified": [
120
+ "payload.go",
121
+ "server.go"
122
+ ]
123
+ },
124
+ "repository": {
125
+ "id": 10417548,
126
+ "name": "hookworm",
127
+ "url": "https://github.com/modcloth-labs/hookworm",
128
+ "description": "github hook receiving thingydoo",
129
+ "watchers": 0,
130
+ "stargazers": 0,
131
+ "forks": 0,
132
+ "fork": false,
133
+ "size": 208,
134
+ "owner": {
135
+ "name": "modcloth-labs",
136
+ "email": null
137
+ },
138
+ "private": false,
139
+ "open_issues": 0,
140
+ "has_issues": true,
141
+ "has_downloads": true,
142
+ "has_wiki": true,
143
+ "language": "Go",
144
+ "created_at": 1370060266,
145
+ "pushed_at": 1370191630,
146
+ "master_branch": "master",
147
+ "organization": "modcloth-labs"
148
+ },
149
+ "pusher": {
150
+ "name": "none"
151
+ }
152
+ }
@@ -0,0 +1,91 @@
1
+ {
2
+ "ref": "refs/heads/master",
3
+ "after": "d0afb08e931361f179a7e0fd29daec7ca1663233",
4
+ "before": "926ed297f149354424c1968924bf944c5b69a7ec",
5
+ "created": false,
6
+ "deleted": false,
7
+ "forced": false,
8
+ "compare": "https://github.com/modcloth-labs/hookworm/compare/926ed297f149...d0afb08e9313",
9
+ "commits": [
10
+ {
11
+ "id": "7afdcae33a1903e52d0290e738b868d944ce3f60",
12
+ "distinct": true,
13
+ "message": "TRIVIAL readmë fix up",
14
+ "timestamp": "2013-06-01T19:28:39-07:00",
15
+ "url": "https://github.com/modcloth-labs/hookworm/commit/7afdcae33a1903e52d0290e738b868d944ce3f60",
16
+ "author": {
17
+ "name": "Dan Buch",
18
+ "email": "daniel.buch@gmail.com",
19
+ "username": "meatballhat"
20
+ },
21
+ "committer": {
22
+ "name": "Dan Buch",
23
+ "email": "daniel.buch@gmail.com",
24
+ "username": "meatballhat"
25
+ },
26
+ "added": [
27
+
28
+ ],
29
+ "removed": [
30
+
31
+ ],
32
+ "modified": [
33
+ "README.md"
34
+ ]
35
+ }
36
+ ],
37
+ "head_commit": {
38
+ "id": "7afdcae33a1903e52d0290e738b868d944ce3f60",
39
+ "distinct": true,
40
+ "message": "TRIVIAL readme fix up",
41
+ "timestamp": "2013-06-01T19:28:39-07:00",
42
+ "url": "https://github.com/modcloth-labs/hookworm/commit/7afdcae33a1903e52d0290e738b868d944ce3f60",
43
+ "author": {
44
+ "name": "Dan Buch",
45
+ "email": "daniel.buch@gmail.com",
46
+ "username": "meatballhat"
47
+ },
48
+ "committer": {
49
+ "name": "Dan Buch",
50
+ "email": "daniel.buch@gmail.com",
51
+ "username": "meatballhat"
52
+ },
53
+ "added": [
54
+
55
+ ],
56
+ "removed": [
57
+
58
+ ],
59
+ "modified": [
60
+ "README.md"
61
+ ]
62
+ },
63
+ "repository": {
64
+ "id": 10417548,
65
+ "name": "hookworm",
66
+ "url": "https://github.com/modcloth-labs/hookworm",
67
+ "description": "github hook receiving thingydoo",
68
+ "watchers": 0,
69
+ "stargazers": 0,
70
+ "forks": 0,
71
+ "fork": false,
72
+ "size": 208,
73
+ "owner": {
74
+ "name": "modcloth-labs",
75
+ "email": null
76
+ },
77
+ "private": false,
78
+ "open_issues": 0,
79
+ "has_issues": true,
80
+ "has_downloads": true,
81
+ "has_wiki": true,
82
+ "language": "Go",
83
+ "created_at": 1370060266,
84
+ "pushed_at": 1370191630,
85
+ "master_branch": "master",
86
+ "organization": "modcloth-labs"
87
+ },
88
+ "pusher": {
89
+ "name": "none"
90
+ }
91
+ }
@@ -0,0 +1,66 @@
1
+ {
2
+ "ref": "refs/heads/master",
3
+ "after": "a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
4
+ "before": "a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
5
+ "created": false,
6
+ "deleted": false,
7
+ "forced": false,
8
+ "compare": "https://github.com/modcloth-labs/hookworm/compare/a427c2db83ad...a427c2db83ad",
9
+ "commits": [],
10
+ "head_commit": {
11
+ "id": "a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
12
+ "distinct": true,
13
+ "message": "Bœilerpláte bits\n\nbecause such things are important, right?\n\nOr not...\n",
14
+ "timestamp": "2013-05-31T21:23:54-07:00",
15
+ "url": "https://github.com/modcloth-labs/hookworm/commit/a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
16
+ "author": {
17
+ "name": "Dan Buch",
18
+ "email": "d.buch@modcloth.com",
19
+ "username": "meatballhat"
20
+ },
21
+ "committer": {
22
+ "name": "Dan Buch",
23
+ "email": "d.buch@modcloth.com",
24
+ "username": "meatballhat"
25
+ },
26
+ "added": [
27
+ "AUTHORS.md",
28
+ "CONTRIBUTING.md",
29
+ "LICENSE.md",
30
+ "Makefile",
31
+ "README.md",
32
+ "hookworm-server/main.go",
33
+ "server.go"
34
+ ],
35
+ "removed": [],
36
+ "modified": []
37
+ },
38
+ "repository": {
39
+ "id": 10417548,
40
+ "name": "hookworm",
41
+ "url": "https://github.com/modcloth-labs/hookworm",
42
+ "description": "github hook receiving thingydoo",
43
+ "watchers": 0,
44
+ "stargazers": 0,
45
+ "forks": 0,
46
+ "fork": false,
47
+ "size": 112,
48
+ "owner": {
49
+ "name": "modcloth-labs",
50
+ "email": null
51
+ },
52
+ "private": false,
53
+ "open_issues": 0,
54
+ "has_issues": true,
55
+ "has_downloads": true,
56
+ "has_wiki": true,
57
+ "language": "Go",
58
+ "created_at": 1370060266,
59
+ "pushed_at": 1370060789,
60
+ "master_branch": "master",
61
+ "organization": "modcloth-labs"
62
+ },
63
+ "pusher": {
64
+ "name": "none"
65
+ }
66
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "ref": "refs/heads/master",
3
+ "after": "a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
4
+ "before": "a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
5
+ "created": false,
6
+ "deleted": null,
7
+ "forced": false,
8
+ "compare": "https://github.com/modcloth-labs/hookworm/compare/a427c2db83ad...a427c2db83ad",
9
+ "commits": [],
10
+ "head_commit": {
11
+ "id": "a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
12
+ "distinct": true,
13
+ "message": "Bœilerplate bits",
14
+ "timestamp": "2013-05-31T21:23:54-07:00",
15
+ "url": "https://github.com/modcloth-labs/hookworm/commit/a427c2db83ad2e6f57c9f4c7c0f52ec66ed6271f",
16
+ "author": {
17
+ "name": "Dan Buch",
18
+ "email": "d.buch@modcloth.com",
19
+ "username": "meatballhat"
20
+ },
21
+ "committer": {
22
+ "name": "Dan Buch",
23
+ "email": null,
24
+ "username": "meatballhat"
25
+ },
26
+ "added": [
27
+ "AUTHORS.md",
28
+ "CONTRIBUTING.md",
29
+ "LICENSE.md",
30
+ "Makefile",
31
+ "README.md",
32
+ "hookworm-server/main.go",
33
+ "server.go",
34
+ null
35
+ ],
36
+ "removed": [],
37
+ "modified": []
38
+ },
39
+ "repository": {
40
+ "id": 10417548,
41
+ "name": "hookworm",
42
+ "url": "https://github.com/modcloth-labs/hookworm",
43
+ "description": "github hook receiving thingydoo",
44
+ "watchers": 0,
45
+ "stargazers": 0,
46
+ "forks": 0,
47
+ "fork": false,
48
+ "size": 112,
49
+ "owner": {
50
+ "name": "modcloth-labs",
51
+ "email": null
52
+ },
53
+ "private": false,
54
+ "open_issues": 0,
55
+ "has_issues": true,
56
+ "has_downloads": true,
57
+ "has_wiki": true,
58
+ "language": "Go",
59
+ "created_at": 1370060266,
60
+ "pushed_at": 1370060789,
61
+ "master_branch": "master",
62
+ "organization": "modcloth-labs"
63
+ },
64
+ "pusher": {
65
+ "name": "none"
66
+ }
67
+ }
@@ -0,0 +1,76 @@
1
+ {
2
+ "id": 10180613,
3
+ "repository": {
4
+ "id": 1111764,
5
+ "name": "fuzzy-octo-archer",
6
+ "owner_name": "meatballhat",
7
+ "url": "https://github.com/meatballhat/fuzzy-octo-archer",
8
+ "slug": "meatballhat/fuzzy-octo-archer"
9
+ },
10
+ "number": "7",
11
+ "config": {
12
+ "language": "ruby",
13
+ "rvm": [
14
+ "1.9.3"
15
+ ],
16
+ "install": "echo nerp",
17
+ "script": "ruby foo.rb",
18
+ "notifications": {
19
+ "webhooks": [
20
+ "http://meatballhat.no-ip.biz:9988/travis"
21
+ ]
22
+ },
23
+ ".result": "configured"
24
+ },
25
+ "status": 0,
26
+ "result": 0,
27
+ "status_message": "Passed",
28
+ "result_message": "Passed",
29
+ "started_at": "2013-08-14T02:26:25Z",
30
+ "finished_at": "2013-08-14T02:26:37Z",
31
+ "duration": 12,
32
+ "build_url": "https://travis-ci.org/meatballhat/fuzzy-octo-archer/builds/10180613",
33
+ "commit": "ad281ff8a9d7be26da84a65147b42ca7f6cf6857",
34
+ "branch": "master",
35
+ "message": "Removing the fælcon bit to speed things up",
36
+ "compare_url": "https://github.com/meatballhat/fuzzy-octo-archer/compare/8ebf80abc39b...ad281ff8a9d7",
37
+ "committed_at": "2013-08-13T23:11:23Z",
38
+ "author_name": "Dan Buch",
39
+ "author_email": "dan@meatballhat.com",
40
+ "committer_name": "Dan Buch",
41
+ "committer_email": "dan@meatballhat.com",
42
+ "matrix": [
43
+ {
44
+ "id": 10180614,
45
+ "repository_id": 1111764,
46
+ "parent_id": 10180613,
47
+ "number": "7.1",
48
+ "state": "finished",
49
+ "config": {
50
+ "language": "ruby",
51
+ "rvm": "1.9.3",
52
+ "install": "echo nerp",
53
+ "script": "ruby foo.rb",
54
+ "notifications": {
55
+ "webhooks": [
56
+ "http://meatballhat.no-ip.biz:9988/travis"
57
+ ]
58
+ },
59
+ ".result": "configured"
60
+ },
61
+ "status": null,
62
+ "result": null,
63
+ "commit": "ad281ff8a9d7be26da84a65147b42ca7f6cf6857",
64
+ "branch": "master",
65
+ "message": "Removing the falcon bit to speed things up",
66
+ "compare_url": "https://github.com/meatballhat/fuzzy-octo-archer/compare/8ebf80abc39b...ad281ff8a9d7",
67
+ "committed_at": "2013-08-13T23:11:23Z",
68
+ "author_name": "Dan Buch",
69
+ "author_email": "dan@meatballhat.com",
70
+ "committer_name": "Dan Buch",
71
+ "committer_email": "dan@meatballhat.com",
72
+ "finished_at": "2013-08-14T02:26:37Z"
73
+ }
74
+ ],
75
+ "success": true
76
+ }
@@ -0,0 +1,74 @@
1
+ {
2
+ "id": 10180613,
3
+ "repository": {
4
+ "id": 1111764,
5
+ "name": "fuzzy-octo-archer",
6
+ "owner_name": "meatballhat",
7
+ "url": "https://github.com/meatballhat/fuzzy-octo-archer"
8
+ },
9
+ "number": "7",
10
+ "config": {
11
+ "language": "ruby",
12
+ "rvm": [
13
+ "1.9.3"
14
+ ],
15
+ "install": "echo nerp",
16
+ "script": "ruby foo.rb",
17
+ "notifications": {
18
+ "webhooks": [
19
+ "http://meatballhat.no-ip.biz:9988/travis"
20
+ ]
21
+ },
22
+ ".result": "configured"
23
+ },
24
+ "status": 0,
25
+ "result": 0,
26
+ "status_message": "Passed",
27
+ "result_message": "Passed",
28
+ "started_at": "2013-08-14T02:26:25Z",
29
+ "finished_at": "2013-08-14T02:26:37Z",
30
+ "duration": 12,
31
+ "build_url": "https://travis-ci.org/meatballhat/fuzzy-octo-archer/builds/10180613",
32
+ "commit": "ad281ff8a9d7be26da84a65147b42ca7f6cf6857",
33
+ "branch": "master",
34
+ "message": "Removing the fælcon bit to speed things up",
35
+ "compare_url": "https://github.com/meatballhat/fuzzy-octo-archer/compare/8ebf80abc39b...ad281ff8a9d7",
36
+ "committed_at": "2013-08-13T23:11:23Z",
37
+ "author_name": "Dan Buch",
38
+ "author_email": "dan@meatballhat.com",
39
+ "committer_name": "Dan Buch",
40
+ "committer_email": "dan@meatballhat.com",
41
+ "matrix": [
42
+ {
43
+ "id": 10180614,
44
+ "repository_id": 1111764,
45
+ "parent_id": 10180613,
46
+ "number": "7.1",
47
+ "state": "finished",
48
+ "config": {
49
+ "language": "ruby",
50
+ "rvm": "1.9.3",
51
+ "install": "echo nerp",
52
+ "script": "ruby foo.rb",
53
+ "notifications": {
54
+ "webhooks": [
55
+ "http://meatballhat.no-ip.biz:9988/travis"
56
+ ]
57
+ },
58
+ ".result": "configured"
59
+ },
60
+ "status": null,
61
+ "result": null,
62
+ "commit": "ad281ff8a9d7be26da84a65147b42ca7f6cf6857",
63
+ "branch": "master",
64
+ "message": "Removing the falcon bit to speed things up",
65
+ "compare_url": "https://github.com/meatballhat/fuzzy-octo-archer/compare/8ebf80abc39b...ad281ff8a9d7",
66
+ "committed_at": "2013-08-13T23:11:23Z",
67
+ "author_name": "Dan Buch",
68
+ "author_email": "dan@meatballhat.com",
69
+ "committer_name": "Dan Buch",
70
+ "committer_email": "dan@meatballhat.com",
71
+ "finished_at": "2013-08-14T02:26:37Z"
72
+ }
73
+ ]
74
+ }