{"action":"created","comment":{"url":"https://api.github.com/repos/ajsharma/monologue/pulls/comments/28200435","id":28200435,"diff_hunk":"@@ -12,26 +12,39 @@ def current_user= user\n     session[:user_id] = user.id\n   end\n \n+  def current_user_github_access_token\n+    current_user.github_access_token\n+  end\n+\n+  def current_user_github_username\n+    current_user.github_username\n+  end\n+\n+  def current_repository\n+    \"#{params[ :org ]}/#{params[:repo]}\"","path":"app/controllers/application_controller.rb","position":13,"original_position":13,"commit_id":"207c1a4dd2aae969b72dcd7112087c7d93dd870b","original_commit_id":"207c1a4dd2aae969b72dcd7112087c7d93dd870b","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?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":"User","site_admin":false},"body":"Space inside square brackets detected.","created_at":"2015-04-12T03:53:57Z","updated_at":"2015-04-12T03:53:57Z","html_url":"https://github.com/ajsharma/monologue/pull/14#discussion_r28200435","pull_request_url":"https://api.github.com/repos/ajsharma/monologue/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/ajsharma/monologue/pulls/comments/28200435"},"html":{"href":"https://github.com/ajsharma/monologue/pull/14#discussion_r28200435"},"pull_request":{"href":"https://api.github.com/repos/ajsharma/monologue/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/ajsharma/monologue/pulls/14","id":33114436,"html_url":"https://github.com/ajsharma/monologue/pull/14","diff_url":"https://github.com/ajsharma/monologue/pull/14.diff","patch_url":"https://github.com/ajsharma/monologue/pull/14.patch","issue_url":"https://api.github.com/repos/ajsharma/monologue/issues/14","number":14,"state":"open","locked":false,"title":"Show issues summary","user":{"login":"ajsharma","id":766658,"avatar_url":"https://avatars.githubusercontent.com/u/766658?v=3","gravatar_id":"","url":"https://api.github.com/users/ajsharma","html_url":"https://github.com/ajsharma","followers_url":"https://api.github.com/users/ajsharma/followers","following_url":"https://api.github.com/users/ajsharma/following{/other_user}","gists_url":"https://api.github.com/users/ajsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/ajsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajsharma/subscriptions","organizations_url":"https://api.github.com/users/ajsharma/orgs","repos_url":"https://api.github.com/users/ajsharma/repos","events_url":"https://api.github.com/users/ajsharma/events{/privacy}","received_events_url":"https://api.github.com/users/ajsharma/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-12T03:53:52Z","updated_at":"2015-04-12T03:53:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"197215edb20bb70c49aecb49a83533b9b7d7d4f5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ajsharma/monologue/pulls/14/commits","review_comments_url":"https://api.github.com/repos/ajsharma/monologue/pulls/14/comments","review_comment_url":"https://api.github.com/repos/ajsharma/monologue/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ajsharma/monologue/issues/14/comments","statuses_url":"https://api.github.com/repos/ajsharma/monologue/statuses/207c1a4dd2aae969b72dcd7112087c7d93dd870b","head":{"label":"ajsharma:gi-issues","ref":"gi-issues","sha":"207c1a4dd2aae969b72dcd7112087c7d93dd870b","user":{"login":"ajsharma","id":766658,"avatar_url":"https://avatars.githubusercontent.com/u/766658?v=3","gravatar_id":"","url":"https://api.github.com/users/ajsharma","html_url":"https://github.com/ajsharma","followers_url":"https://api.github.com/users/ajsharma/followers","following_url":"https://api.github.com/users/ajsharma/following{/other_user}","gists_url":"https://api.github.com/users/ajsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/ajsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajsharma/subscriptions","organizations_url":"https://api.github.com/users/ajsharma/orgs","repos_url":"https://api.github.com/users/ajsharma/repos","events_url":"https://api.github.com/users/ajsharma/events{/privacy}","received_events_url":"https://api.github.com/users/ajsharma/received_events","type":"User","site_admin":false},"repo":{"id":23133314,"name":"monologue","full_name":"ajsharma/monologue","owner":{"login":"ajsharma","id":766658,"avatar_url":"https://avatars.githubusercontent.com/u/766658?v=3","gravatar_id":"","url":"https://api.github.com/users/ajsharma","html_url":"https://github.com/ajsharma","followers_url":"https://api.github.com/users/ajsharma/followers","following_url":"https://api.github.com/users/ajsharma/following{/other_user}","gists_url":"https://api.github.com/users/ajsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/ajsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajsharma/subscriptions","organizations_url":"https://api.github.com/users/ajsharma/orgs","repos_url":"https://api.github.com/users/ajsharma/repos","events_url":"https://api.github.com/users/ajsharma/events{/privacy}","received_events_url":"https://api.github.com/users/ajsharma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajsharma/monologue","description":"See all your github activity, not just the public stuff","fork":false,"url":"https://api.github.com/repos/ajsharma/monologue","forks_url":"https://api.github.com/repos/ajsharma/monologue/forks","keys_url":"https://api.github.com/repos/ajsharma/monologue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajsharma/monologue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajsharma/monologue/teams","hooks_url":"https://api.github.com/repos/ajsharma/monologue/hooks","issue_events_url":"https://api.github.com/repos/ajsharma/monologue/issues/events{/number}","events_url":"https://api.github.com/repos/ajsharma/monologue/events","assignees_url":"https://api.github.com/repos/ajsharma/monologue/assignees{/user}","branches_url":"https://api.github.com/repos/ajsharma/monologue/branches{/branch}","tags_url":"https://api.github.com/repos/ajsharma/monologue/tags","blobs_url":"https://api.github.com/repos/ajsharma/monologue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajsharma/monologue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajsharma/monologue/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajsharma/monologue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajsharma/monologue/statuses/{sha}","languages_url":"https://api.github.com/repos/ajsharma/monologue/languages","stargazers_url":"https://api.github.com/repos/ajsharma/monologue/stargazers","contributors_url":"https://api.github.com/repos/ajsharma/monologue/contributors","subscribers_url":"https://api.github.com/repos/ajsharma/monologue/subscribers","subscription_url":"https://api.github.com/repos/ajsharma/monologue/subscription","commits_url":"https://api.github.com/repos/ajsharma/monologue/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajsharma/monologue/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajsharma/monologue/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajsharma/monologue/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajsharma/monologue/contents/{+path}","compare_url":"https://api.github.com/repos/ajsharma/monologue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajsharma/monologue/merges","archive_url":"https://api.github.com/repos/ajsharma/monologue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajsharma/monologue/downloads","issues_url":"https://api.github.com/repos/ajsharma/monologue/issues{/number}","pulls_url":"https://api.github.com/repos/ajsharma/monologue/pulls{/number}","milestones_url":"https://api.github.com/repos/ajsharma/monologue/milestones{/number}","notifications_url":"https://api.github.com/repos/ajsharma/monologue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajsharma/monologue/labels{/name}","releases_url":"https://api.github.com/repos/ajsharma/monologue/releases{/id}","created_at":"2014-08-20T02:36:08Z","updated_at":"2015-04-12T01:35:30Z","pushed_at":"2015-04-12T03:53:52Z","git_url":"git://github.com/ajsharma/monologue.git","ssh_url":"git@github.com:ajsharma/monologue.git","clone_url":"https://github.com/ajsharma/monologue.git","svn_url":"https://github.com/ajsharma/monologue","homepage":"","size":452,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ajsharma:master","ref":"master","sha":"34576e2d28b87ca9f2615e93e37ac232c2f2ca99","user":{"login":"ajsharma","id":766658,"avatar_url":"https://avatars.githubusercontent.com/u/766658?v=3","gravatar_id":"","url":"https://api.github.com/users/ajsharma","html_url":"https://github.com/ajsharma","followers_url":"https://api.github.com/users/ajsharma/followers","following_url":"https://api.github.com/users/ajsharma/following{/other_user}","gists_url":"https://api.github.com/users/ajsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/ajsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajsharma/subscriptions","organizations_url":"https://api.github.com/users/ajsharma/orgs","repos_url":"https://api.github.com/users/ajsharma/repos","events_url":"https://api.github.com/users/ajsharma/events{/privacy}","received_events_url":"https://api.github.com/users/ajsharma/received_events","type":"User","site_admin":false},"repo":{"id":23133314,"name":"monologue","full_name":"ajsharma/monologue","owner":{"login":"ajsharma","id":766658,"avatar_url":"https://avatars.githubusercontent.com/u/766658?v=3","gravatar_id":"","url":"https://api.github.com/users/ajsharma","html_url":"https://github.com/ajsharma","followers_url":"https://api.github.com/users/ajsharma/followers","following_url":"https://api.github.com/users/ajsharma/following{/other_user}","gists_url":"https://api.github.com/users/ajsharma/gists{/gist_id}","starred_url":"https://api.github.com/users/ajsharma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajsharma/subscriptions","organizations_url":"https://api.github.com/users/ajsharma/orgs","repos_url":"https://api.github.com/users/ajsharma/repos","events_url":"https://api.github.com/users/ajsharma/events{/privacy}","received_events_url":"https://api.github.com/users/ajsharma/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ajsharma/monologue","description":"See all your github activity, not just the public stuff","fork":false,"url":"https://api.github.com/repos/ajsharma/monologue","forks_url":"https://api.github.com/repos/ajsharma/monologue/forks","keys_url":"https://api.github.com/repos/ajsharma/monologue/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ajsharma/monologue/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ajsharma/monologue/teams","hooks_url":"https://api.github.com/repos/ajsharma/monologue/hooks","issue_events_url":"https://api.github.com/repos/ajsharma/monologue/issues/events{/number}","events_url":"https://api.github.com/repos/ajsharma/monologue/events","assignees_url":"https://api.github.com/repos/ajsharma/monologue/assignees{/user}","branches_url":"https://api.github.com/repos/ajsharma/monologue/branches{/branch}","tags_url":"https://api.github.com/repos/ajsharma/monologue/tags","blobs_url":"https://api.github.com/repos/ajsharma/monologue/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ajsharma/monologue/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ajsharma/monologue/git/refs{/sha}","trees_url":"https://api.github.com/repos/ajsharma/monologue/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ajsharma/monologue/statuses/{sha}","languages_url":"https://api.github.com/repos/ajsharma/monologue/languages","stargazers_url":"https://api.github.com/repos/ajsharma/monologue/stargazers","contributors_url":"https://api.github.com/repos/ajsharma/monologue/contributors","subscribers_url":"https://api.github.com/repos/ajsharma/monologue/subscribers","subscription_url":"https://api.github.com/repos/ajsharma/monologue/subscription","commits_url":"https://api.github.com/repos/ajsharma/monologue/commits{/sha}","git_commits_url":"https://api.github.com/repos/ajsharma/monologue/git/commits{/sha}","comments_url":"https://api.github.com/repos/ajsharma/monologue/comments{/number}","issue_comment_url":"https://api.github.com/repos/ajsharma/monologue/issues/comments{/number}","contents_url":"https://api.github.com/repos/ajsharma/monologue/contents/{+path}","compare_url":"https://api.github.com/repos/ajsharma/monologue/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ajsharma/monologue/merges","archive_url":"https://api.github.com/repos/ajsharma/monologue/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ajsharma/monologue/downloads","issues_url":"https://api.github.com/repos/ajsharma/monologue/issues{/number}","pulls_url":"https://api.github.com/repos/ajsharma/monologue/pulls{/number}","milestones_url":"https://api.github.com/repos/ajsharma/monologue/milestones{/number}","notifications_url":"https://api.github.com/repos/ajsharma/monologue/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ajsharma/monologue/labels{/name}","releases_url":"https://api.github.com/repos/ajsharma/monologue/releases{/id}","created_at":"2014-08-20T02:36:08Z","updated_at":"2015-04-12T01:35:30Z","pushed_at":"2015-04-12T03:53:52Z","git_url":"git://github.com/ajsharma/monologue.git","ssh_url":"git@github.com:ajsharma/monologue.git","clone_url":"https://github.com/ajsharma/monologue.git","svn_url":"https://github.com/ajsharma/monologue","homepage":"","size":452,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ajsharma/monologue/pulls/14"},"html":{"href":"https://github.com/ajsharma/monologue/pull/14"},"issue":{"href":"https://api.github.com/repos/ajsharma/monologue/issues/14"},"comments":{"href":"https://api.github.com/repos/ajsharma/monologue/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/ajsharma/monologue/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/ajsharma/monologue/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ajsharma/monologue/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/ajsharma/monologue/statuses/207c1a4dd2aae969b72dcd7112087c7d93dd870b"}}}}