{"action":"created","comment":{"url":"https://api.github.com/repos/houndci/hound/pulls/comments/67113172","id":67113172,"diff_hunk":"@@ -35,4 +35,16 @@\n       )\n     end\n   end\n+\n+  describe \"#intercom_hash\" do\n+    it \"includes user data\" do\n+      user = build_stubbed(:user)\n+\n+      expect(intercom_hash(user)).to eq(\n+        \"Intercom\" => {\n+          userHash: OpenSSL::HMAC.hexdigest(\"sha256\", Hound::INTERCOM_API_SECRET, user.id.to_s)\n+        }","path":"spec/helpers/analytics_helper_spec.rb","position":12,"original_position":12,"commit_id":"b456956a6038571cab56bbc6f00b7fb1c6d291f7","original_commit_id":"b456956a6038571cab56bbc6f00b7fb1c6d291f7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Put a comma after the last parameter of a multiline method call.","created_at":"2016-06-15T07:38:25Z","updated_at":"2016-06-15T07:38:25Z","html_url":"https://github.com/houndci/hound/pull/1158#discussion_r67113172","pull_request_url":"https://api.github.com/repos/houndci/hound/pulls/1158","_links":{"self":{"href":"https://api.github.com/repos/houndci/hound/pulls/comments/67113172"},"html":{"href":"https://github.com/houndci/hound/pull/1158#discussion_r67113172"},"pull_request":{"href":"https://api.github.com/repos/houndci/hound/pulls/1158"}}},"pull_request":{"url":"https://api.github.com/repos/houndci/hound/pulls/1158","id":73860442,"html_url":"https://github.com/houndci/hound/pull/1158","diff_url":"https://github.com/houndci/hound/pull/1158.diff","patch_url":"https://github.com/houndci/hound/pull/1158.patch","issue_url":"https://api.github.com/repos/houndci/hound/issues/1158","number":1158,"state":"open","locked":false,"title":"Add a spec for AnalyticsHelper#intercom_hash","user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-15T06:55:06Z","updated_at":"2016-06-15T07:38:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515b32ae5e4bcbedef69ba8e4316c0a176b993c2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/houndci/hound/pulls/1158/commits","review_comments_url":"https://api.github.com/repos/houndci/hound/pulls/1158/comments","review_comment_url":"https://api.github.com/repos/houndci/hound/pulls/comments{/number}","comments_url":"https://api.github.com/repos/houndci/hound/issues/1158/comments","statuses_url":"https://api.github.com/repos/houndci/hound/statuses/b456956a6038571cab56bbc6f00b7fb1c6d291f7","head":{"label":"JuanitoFatas:spec/analytics-helper-intercom_hash","ref":"spec/analytics-helper-intercom_hash","sha":"b456956a6038571cab56bbc6f00b7fb1c6d291f7","user":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"repo":{"id":26032091,"name":"hound","full_name":"JuanitoFatas/hound","owner":{"login":"JuanitoFatas","id":1000669,"avatar_url":"https://avatars.githubusercontent.com/u/1000669?v=3","gravatar_id":"","url":"https://api.github.com/users/JuanitoFatas","html_url":"https://github.com/JuanitoFatas","followers_url":"https://api.github.com/users/JuanitoFatas/followers","following_url":"https://api.github.com/users/JuanitoFatas/following{/other_user}","gists_url":"https://api.github.com/users/JuanitoFatas/gists{/gist_id}","starred_url":"https://api.github.com/users/JuanitoFatas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuanitoFatas/subscriptions","organizations_url":"https://api.github.com/users/JuanitoFatas/orgs","repos_url":"https://api.github.com/users/JuanitoFatas/repos","events_url":"https://api.github.com/users/JuanitoFatas/events{/privacy}","received_events_url":"https://api.github.com/users/JuanitoFatas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JuanitoFatas/hound","description":"Review your Ruby code for style guide violations with a trusty hound.","fork":true,"url":"https://api.github.com/repos/JuanitoFatas/hound","forks_url":"https://api.github.com/repos/JuanitoFatas/hound/forks","keys_url":"https://api.github.com/repos/JuanitoFatas/hound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuanitoFatas/hound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuanitoFatas/hound/teams","hooks_url":"https://api.github.com/repos/JuanitoFatas/hound/hooks","issue_events_url":"https://api.github.com/repos/JuanitoFatas/hound/issues/events{/number}","events_url":"https://api.github.com/repos/JuanitoFatas/hound/events","assignees_url":"https://api.github.com/repos/JuanitoFatas/hound/assignees{/user}","branches_url":"https://api.github.com/repos/JuanitoFatas/hound/branches{/branch}","tags_url":"https://api.github.com/repos/JuanitoFatas/hound/tags","blobs_url":"https://api.github.com/repos/JuanitoFatas/hound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuanitoFatas/hound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuanitoFatas/hound/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuanitoFatas/hound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuanitoFatas/hound/statuses/{sha}","languages_url":"https://api.github.com/repos/JuanitoFatas/hound/languages","stargazers_url":"https://api.github.com/repos/JuanitoFatas/hound/stargazers","contributors_url":"https://api.github.com/repos/JuanitoFatas/hound/contributors","subscribers_url":"https://api.github.com/repos/JuanitoFatas/hound/subscribers","subscription_url":"https://api.github.com/repos/JuanitoFatas/hound/subscription","commits_url":"https://api.github.com/repos/JuanitoFatas/hound/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuanitoFatas/hound/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuanitoFatas/hound/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuanitoFatas/hound/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuanitoFatas/hound/contents/{+path}","compare_url":"https://api.github.com/repos/JuanitoFatas/hound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuanitoFatas/hound/merges","archive_url":"https://api.github.com/repos/JuanitoFatas/hound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuanitoFatas/hound/downloads","issues_url":"https://api.github.com/repos/JuanitoFatas/hound/issues{/number}","pulls_url":"https://api.github.com/repos/JuanitoFatas/hound/pulls{/number}","milestones_url":"https://api.github.com/repos/JuanitoFatas/hound/milestones{/number}","notifications_url":"https://api.github.com/repos/JuanitoFatas/hound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuanitoFatas/hound/labels{/name}","releases_url":"https://api.github.com/repos/JuanitoFatas/hound/releases{/id}","deployments_url":"https://api.github.com/repos/JuanitoFatas/hound/deployments","created_at":"2014-10-31T20:27:33Z","updated_at":"2016-02-12T17:55:17Z","pushed_at":"2016-06-15T07:38:22Z","git_url":"git://github.com/JuanitoFatas/hound.git","ssh_url":"git@github.com:JuanitoFatas/hound.git","clone_url":"https://github.com/JuanitoFatas/hound.git","svn_url":"https://github.com/JuanitoFatas/hound","homepage":"houndci.com","size":3891,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"houndci:master","ref":"master","sha":"e906091ed31b63e935342dd7bca46632d1e76931","user":{"login":"houndci","id":17184073,"avatar_url":"https://avatars.githubusercontent.com/u/17184073?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"Organization","site_admin":false},"repo":{"id":7411076,"name":"hound","full_name":"houndci/hound","owner":{"login":"houndci","id":17184073,"avatar_url":"https://avatars.githubusercontent.com/u/17184073?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/houndci/hound","description":"Automated review for code style","fork":false,"url":"https://api.github.com/repos/houndci/hound","forks_url":"https://api.github.com/repos/houndci/hound/forks","keys_url":"https://api.github.com/repos/houndci/hound/keys{/key_id}","collaborators_url":"https://api.github.com/repos/houndci/hound/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/houndci/hound/teams","hooks_url":"https://api.github.com/repos/houndci/hound/hooks","issue_events_url":"https://api.github.com/repos/houndci/hound/issues/events{/number}","events_url":"https://api.github.com/repos/houndci/hound/events","assignees_url":"https://api.github.com/repos/houndci/hound/assignees{/user}","branches_url":"https://api.github.com/repos/houndci/hound/branches{/branch}","tags_url":"https://api.github.com/repos/houndci/hound/tags","blobs_url":"https://api.github.com/repos/houndci/hound/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/houndci/hound/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/houndci/hound/git/refs{/sha}","trees_url":"https://api.github.com/repos/houndci/hound/git/trees{/sha}","statuses_url":"https://api.github.com/repos/houndci/hound/statuses/{sha}","languages_url":"https://api.github.com/repos/houndci/hound/languages","stargazers_url":"https://api.github.com/repos/houndci/hound/stargazers","contributors_url":"https://api.github.com/repos/houndci/hound/contributors","subscribers_url":"https://api.github.com/repos/houndci/hound/subscribers","subscription_url":"https://api.github.com/repos/houndci/hound/subscription","commits_url":"https://api.github.com/repos/houndci/hound/commits{/sha}","git_commits_url":"https://api.github.com/repos/houndci/hound/git/commits{/sha}","comments_url":"https://api.github.com/repos/houndci/hound/comments{/number}","issue_comment_url":"https://api.github.com/repos/houndci/hound/issues/comments{/number}","contents_url":"https://api.github.com/repos/houndci/hound/contents/{+path}","compare_url":"https://api.github.com/repos/houndci/hound/compare/{base}...{head}","merges_url":"https://api.github.com/repos/houndci/hound/merges","archive_url":"https://api.github.com/repos/houndci/hound/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/houndci/hound/downloads","issues_url":"https://api.github.com/repos/houndci/hound/issues{/number}","pulls_url":"https://api.github.com/repos/houndci/hound/pulls{/number}","milestones_url":"https://api.github.com/repos/houndci/hound/milestones{/number}","notifications_url":"https://api.github.com/repos/houndci/hound/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/houndci/hound/labels{/name}","releases_url":"https://api.github.com/repos/houndci/hound/releases{/id}","deployments_url":"https://api.github.com/repos/houndci/hound/deployments","created_at":"2013-01-02T18:12:40Z","updated_at":"2016-06-14T19:35:38Z","pushed_at":"2016-06-15T07:38:23Z","git_url":"git://github.com/houndci/hound.git","ssh_url":"git@github.com:houndci/hound.git","clone_url":"https://github.com/houndci/hound.git","svn_url":"https://github.com/houndci/hound","homepage":"https://houndci.com","size":62529,"stargazers_count":1274,"watchers_count":1274,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":276,"mirror_url":null,"open_issues_count":19,"forks":276,"open_issues":19,"watchers":1274,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/houndci/hound/pulls/1158"},"html":{"href":"https://github.com/houndci/hound/pull/1158"},"issue":{"href":"https://api.github.com/repos/houndci/hound/issues/1158"},"comments":{"href":"https://api.github.com/repos/houndci/hound/issues/1158/comments"},"review_comments":{"href":"https://api.github.com/repos/houndci/hound/pulls/1158/comments"},"review_comment":{"href":"https://api.github.com/repos/houndci/hound/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/houndci/hound/pulls/1158/commits"},"statuses":{"href":"https://api.github.com/repos/houndci/hound/statuses/b456956a6038571cab56bbc6f00b7fb1c6d291f7"}}}}
{"actor":{"display_login":"houndci-bot"}}