GitHub PullRequestReviewCommentEvent at 2014-11-26 14:56:24
Repository: bnr-webhooks
Actor: nybblr
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/comments/20939031","id":20939031,"diff_hunk":"@@ -0,0 +1,18 @@\n+require 'spec_helper'\n+\n+describe Bnr::Webhooks::Subscriber do\n+  subject(:subscriber) { described_class.new(subscriber_params) }\n+  let(:subscriber_params) { { url: 'www.bnr.com', api_key: 'change_me'} }\n+\n+  describe '#api_key' do\n+    subject(:api_key) { subscriber.api_key }\n+\n+    it { is_expected.to eq('change_me') }","path":"spec/bnr/webhooks/subscriber_spec.rb","position":10,"original_position":10,"commit_id":"4606570943e15a8128173a93f1a89282dc064074","original_commit_id":"4606570943e15a8128173a93f1a89282dc064074","user":{"login":"nybblr","id":794113,"avatar_url":"https://avatars.githubusercontent.com/u/794113?v=3","gravatar_id":"","url":"https://api.github.com/users/nybblr","html_url":"https://github.com/nybblr","followers_url":"https://api.github.com/users/nybblr/followers","following_url":"https://api.github.com/users/nybblr/following{/other_user}","gists_url":"https://api.github.com/users/nybblr/gists{/gist_id}","starred_url":"https://api.github.com/users/nybblr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nybblr/subscriptions","organizations_url":"https://api.github.com/users/nybblr/orgs","repos_url":"https://api.github.com/users/nybblr/repos","events_url":"https://api.github.com/users/nybblr/events{/privacy}","received_events_url":"https://api.github.com/users/nybblr/received_events","type":"User","site_admin":false},"body":"Why `eq` instead of `eql`? I think there are 15 variations of equality that all have different comparisons, and I can't keep the straight =D","created_at":"2014-11-26T14:56:24Z","updated_at":"2014-11-26T14:56:24Z","html_url":"https://github.com/bignerdranch/bnr-webhooks/pull/9#discussion_r20939031","pull_request_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/comments/20939031"},"html":{"href":"https://github.com/bignerdranch/bnr-webhooks/pull/9#discussion_r20939031"},"pull_request":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9","id":25057873,"html_url":"https://github.com/bignerdranch/bnr-webhooks/pull/9","diff_url":"https://github.com/bignerdranch/bnr-webhooks/pull/9.diff","patch_url":"https://github.com/bignerdranch/bnr-webhooks/pull/9.patch","issue_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/9","number":9,"state":"open","locked":false,"title":"Adds a subscriber class","user":{"login":"srbiv","id":21153,"avatar_url":"https://avatars.githubusercontent.com/u/21153?v=3","gravatar_id":"","url":"https://api.github.com/users/srbiv","html_url":"https://github.com/srbiv","followers_url":"https://api.github.com/users/srbiv/followers","following_url":"https://api.github.com/users/srbiv/following{/other_user}","gists_url":"https://api.github.com/users/srbiv/gists{/gist_id}","starred_url":"https://api.github.com/users/srbiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srbiv/subscriptions","organizations_url":"https://api.github.com/users/srbiv/orgs","repos_url":"https://api.github.com/users/srbiv/repos","events_url":"https://api.github.com/users/srbiv/events{/privacy}","received_events_url":"https://api.github.com/users/srbiv/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-11-26T02:54:32Z","updated_at":"2014-11-26T14:56:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df00fa86dc29bce4610d47d56a4d28e15add9dff","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9/commits","review_comments_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9/comments","review_comment_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/9/comments","statuses_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/statuses/4606570943e15a8128173a93f1a89282dc064074","head":{"label":"bignerdranch:srbiv/subscriber","ref":"srbiv/subscriber","sha":"4606570943e15a8128173a93f1a89282dc064074","user":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"repo":{"id":27144719,"name":"bnr-webhooks","full_name":"bignerdranch/bnr-webhooks","owner":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bignerdranch/bnr-webhooks","description":"Big Nerd Ranch's webhook layer for inter-service communication.","fork":false,"url":"https://api.github.com/repos/bignerdranch/bnr-webhooks","forks_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/forks","keys_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/teams","hooks_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/hooks","issue_events_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/events{/number}","events_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/events","assignees_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/assignees{/user}","branches_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/branches{/branch}","tags_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/tags","blobs_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/statuses/{sha}","languages_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/languages","stargazers_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/stargazers","contributors_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/contributors","subscribers_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/subscribers","subscription_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/subscription","commits_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/comments/{number}","contents_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/contents/{+path}","compare_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/merges","archive_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/downloads","issues_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues{/number}","pulls_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls{/number}","milestones_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/milestones{/number}","notifications_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/labels{/name}","releases_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/releases{/id}","created_at":"2014-11-25T20:30:57Z","updated_at":"2014-11-25T22:30:41Z","pushed_at":"2014-11-26T02:50:56Z","git_url":"git://github.com/bignerdranch/bnr-webhooks.git","ssh_url":"git@github.com:bignerdranch/bnr-webhooks.git","clone_url":"https://github.com/bignerdranch/bnr-webhooks.git","svn_url":"https://github.com/bignerdranch/bnr-webhooks","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"bignerdranch:master","ref":"master","sha":"b2a1f1e05f3b1f43e6d3b715975d27baf5513cd0","user":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"repo":{"id":27144719,"name":"bnr-webhooks","full_name":"bignerdranch/bnr-webhooks","owner":{"login":"bignerdranch","id":230455,"avatar_url":"https://avatars.githubusercontent.com/u/230455?v=3","gravatar_id":"","url":"https://api.github.com/users/bignerdranch","html_url":"https://github.com/bignerdranch","followers_url":"https://api.github.com/users/bignerdranch/followers","following_url":"https://api.github.com/users/bignerdranch/following{/other_user}","gists_url":"https://api.github.com/users/bignerdranch/gists{/gist_id}","starred_url":"https://api.github.com/users/bignerdranch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bignerdranch/subscriptions","organizations_url":"https://api.github.com/users/bignerdranch/orgs","repos_url":"https://api.github.com/users/bignerdranch/repos","events_url":"https://api.github.com/users/bignerdranch/events{/privacy}","received_events_url":"https://api.github.com/users/bignerdranch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bignerdranch/bnr-webhooks","description":"Big Nerd Ranch's webhook layer for inter-service communication.","fork":false,"url":"https://api.github.com/repos/bignerdranch/bnr-webhooks","forks_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/forks","keys_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/teams","hooks_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/hooks","issue_events_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/events{/number}","events_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/events","assignees_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/assignees{/user}","branches_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/branches{/branch}","tags_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/tags","blobs_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/statuses/{sha}","languages_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/languages","stargazers_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/stargazers","contributors_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/contributors","subscribers_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/subscribers","subscription_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/subscription","commits_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/comments/{number}","contents_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/contents/{+path}","compare_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/merges","archive_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/downloads","issues_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues{/number}","pulls_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls{/number}","milestones_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/milestones{/number}","notifications_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/labels{/name}","releases_url":"https://api.github.com/repos/bignerdranch/bnr-webhooks/releases{/id}","created_at":"2014-11-25T20:30:57Z","updated_at":"2014-11-25T22:30:41Z","pushed_at":"2014-11-26T02:50:56Z","git_url":"git://github.com/bignerdranch/bnr-webhooks.git","ssh_url":"git@github.com:bignerdranch/bnr-webhooks.git","clone_url":"https://github.com/bignerdranch/bnr-webhooks.git","svn_url":"https://github.com/bignerdranch/bnr-webhooks","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9"},"html":{"href":"https://github.com/bignerdranch/bnr-webhooks/pull/9"},"issue":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/9"},"comments":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/bignerdranch/bnr-webhooks/statuses/4606570943e15a8128173a93f1a89282dc064074"}}}}