{"action":"created","comment":{"url":"https://api.github.com/repos/ENSL/ensl.org/pulls/comments/37217657","id":37217657,"diff_hunk":"@@ -28,4 +28,12 @@ def show\n   rescue ActiveRecord::RecordNotFound\n     raise ActionController::RoutingError.new('User Not Found')\n   end\n+\n+  private\n+\n+  def steam_profile user\n+    SteamCondenser::Community::SteamId.from_steam_id(\"STEAM_#{user.steamid}\")\n+  rescue SteamCondenser::Error => e","path":"app/controllers/api/v1/users_controller.rb","position":29,"original_position":29,"commit_id":"c7a81d8e75ec709df573413866dfbb97e296a5de","original_commit_id":"c7a81d8e75ec709df573413866dfbb97e296a5de","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":"Useless assignment to variable - `e`.","created_at":"2015-08-17T18:09:26Z","updated_at":"2015-08-17T18:09:26Z","html_url":"https://github.com/ENSL/ensl.org/pull/42#discussion_r37217657","pull_request_url":"https://api.github.com/repos/ENSL/ensl.org/pulls/42","_links":{"self":{"href":"https://api.github.com/repos/ENSL/ensl.org/pulls/comments/37217657"},"html":{"href":"https://github.com/ENSL/ensl.org/pull/42#discussion_r37217657"},"pull_request":{"href":"https://api.github.com/repos/ENSL/ensl.org/pulls/42"}}},"pull_request":{"url":"https://api.github.com/repos/ENSL/ensl.org/pulls/42","id":42616731,"html_url":"https://github.com/ENSL/ensl.org/pull/42","diff_url":"https://github.com/ENSL/ensl.org/pull/42.diff","patch_url":"https://github.com/ENSL/ensl.org/pull/42.patch","issue_url":"https://api.github.com/repos/ENSL/ensl.org/issues/42","number":42,"state":"open","locked":false,"title":"Fix users api","user":{"login":"cblanc","id":2160685,"avatar_url":"https://avatars.githubusercontent.com/u/2160685?v=3","gravatar_id":"","url":"https://api.github.com/users/cblanc","html_url":"https://github.com/cblanc","followers_url":"https://api.github.com/users/cblanc/followers","following_url":"https://api.github.com/users/cblanc/following{/other_user}","gists_url":"https://api.github.com/users/cblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/cblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cblanc/subscriptions","organizations_url":"https://api.github.com/users/cblanc/orgs","repos_url":"https://api.github.com/users/cblanc/repos","events_url":"https://api.github.com/users/cblanc/events{/privacy}","received_events_url":"https://api.github.com/users/cblanc/received_events","type":"User","site_admin":false},"body":"Changes on the Users JSON API\r\n\r\n- Returns ID number for user index requests\r\n\r\n- Returns `null` for steam attributes if user has invalid steamid","created_at":"2015-08-17T18:09:19Z","updated_at":"2015-08-17T18:09:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bad839b279aa22d70b9c8679203cbe16600fe082","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ENSL/ensl.org/pulls/42/commits","review_comments_url":"https://api.github.com/repos/ENSL/ensl.org/pulls/42/comments","review_comment_url":"https://api.github.com/repos/ENSL/ensl.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ENSL/ensl.org/issues/42/comments","statuses_url":"https://api.github.com/repos/ENSL/ensl.org/statuses/c7a81d8e75ec709df573413866dfbb97e296a5de","head":{"label":"cblanc:fix_users_api","ref":"fix_users_api","sha":"c7a81d8e75ec709df573413866dfbb97e296a5de","user":{"login":"cblanc","id":2160685,"avatar_url":"https://avatars.githubusercontent.com/u/2160685?v=3","gravatar_id":"","url":"https://api.github.com/users/cblanc","html_url":"https://github.com/cblanc","followers_url":"https://api.github.com/users/cblanc/followers","following_url":"https://api.github.com/users/cblanc/following{/other_user}","gists_url":"https://api.github.com/users/cblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/cblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cblanc/subscriptions","organizations_url":"https://api.github.com/users/cblanc/orgs","repos_url":"https://api.github.com/users/cblanc/repos","events_url":"https://api.github.com/users/cblanc/events{/privacy}","received_events_url":"https://api.github.com/users/cblanc/received_events","type":"User","site_admin":false},"repo":{"id":34605916,"name":"ensl.org","full_name":"cblanc/ensl.org","owner":{"login":"cblanc","id":2160685,"avatar_url":"https://avatars.githubusercontent.com/u/2160685?v=3","gravatar_id":"","url":"https://api.github.com/users/cblanc","html_url":"https://github.com/cblanc","followers_url":"https://api.github.com/users/cblanc/followers","following_url":"https://api.github.com/users/cblanc/following{/other_user}","gists_url":"https://api.github.com/users/cblanc/gists{/gist_id}","starred_url":"https://api.github.com/users/cblanc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cblanc/subscriptions","organizations_url":"https://api.github.com/users/cblanc/orgs","repos_url":"https://api.github.com/users/cblanc/repos","events_url":"https://api.github.com/users/cblanc/events{/privacy}","received_events_url":"https://api.github.com/users/cblanc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cblanc/ensl.org","description":"The ENSL website. http://ensl.org","fork":true,"url":"https://api.github.com/repos/cblanc/ensl.org","forks_url":"https://api.github.com/repos/cblanc/ensl.org/forks","keys_url":"https://api.github.com/repos/cblanc/ensl.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cblanc/ensl.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cblanc/ensl.org/teams","hooks_url":"https://api.github.com/repos/cblanc/ensl.org/hooks","issue_events_url":"https://api.github.com/repos/cblanc/ensl.org/issues/events{/number}","events_url":"https://api.github.com/repos/cblanc/ensl.org/events","assignees_url":"https://api.github.com/repos/cblanc/ensl.org/assignees{/user}","branches_url":"https://api.github.com/repos/cblanc/ensl.org/branches{/branch}","tags_url":"https://api.github.com/repos/cblanc/ensl.org/tags","blobs_url":"https://api.github.com/repos/cblanc/ensl.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cblanc/ensl.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cblanc/ensl.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/cblanc/ensl.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cblanc/ensl.org/statuses/{sha}","languages_url":"https://api.github.com/repos/cblanc/ensl.org/languages","stargazers_url":"https://api.github.com/repos/cblanc/ensl.org/stargazers","contributors_url":"https://api.github.com/repos/cblanc/ensl.org/contributors","subscribers_url":"https://api.github.com/repos/cblanc/ensl.org/subscribers","subscription_url":"https://api.github.com/repos/cblanc/ensl.org/subscription","commits_url":"https://api.github.com/repos/cblanc/ensl.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/cblanc/ensl.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/cblanc/ensl.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/cblanc/ensl.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/cblanc/ensl.org/contents/{+path}","compare_url":"https://api.github.com/repos/cblanc/ensl.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cblanc/ensl.org/merges","archive_url":"https://api.github.com/repos/cblanc/ensl.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cblanc/ensl.org/downloads","issues_url":"https://api.github.com/repos/cblanc/ensl.org/issues{/number}","pulls_url":"https://api.github.com/repos/cblanc/ensl.org/pulls{/number}","milestones_url":"https://api.github.com/repos/cblanc/ensl.org/milestones{/number}","notifications_url":"https://api.github.com/repos/cblanc/ensl.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cblanc/ensl.org/labels{/name}","releases_url":"https://api.github.com/repos/cblanc/ensl.org/releases{/id}","created_at":"2015-04-26T09:40:52Z","updated_at":"2015-04-26T09:40:53Z","pushed_at":"2015-08-17T18:06:54Z","git_url":"git://github.com/cblanc/ensl.org.git","ssh_url":"git@github.com:cblanc/ensl.org.git","clone_url":"https://github.com/cblanc/ensl.org.git","svn_url":"https://github.com/cblanc/ensl.org","homepage":null,"size":49397,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"ENSL:develop","ref":"develop","sha":"4d07d8ddc64f4366ee2103b3fba4ea25944f9936","user":{"login":"ENSL","id":7022038,"avatar_url":"https://avatars.githubusercontent.com/u/7022038?v=3","gravatar_id":"","url":"https://api.github.com/users/ENSL","html_url":"https://github.com/ENSL","followers_url":"https://api.github.com/users/ENSL/followers","following_url":"https://api.github.com/users/ENSL/following{/other_user}","gists_url":"https://api.github.com/users/ENSL/gists{/gist_id}","starred_url":"https://api.github.com/users/ENSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENSL/subscriptions","organizations_url":"https://api.github.com/users/ENSL/orgs","repos_url":"https://api.github.com/users/ENSL/repos","events_url":"https://api.github.com/users/ENSL/events{/privacy}","received_events_url":"https://api.github.com/users/ENSL/received_events","type":"Organization","site_admin":false},"repo":{"id":18012876,"name":"ensl.org","full_name":"ENSL/ensl.org","owner":{"login":"ENSL","id":7022038,"avatar_url":"https://avatars.githubusercontent.com/u/7022038?v=3","gravatar_id":"","url":"https://api.github.com/users/ENSL","html_url":"https://github.com/ENSL","followers_url":"https://api.github.com/users/ENSL/followers","following_url":"https://api.github.com/users/ENSL/following{/other_user}","gists_url":"https://api.github.com/users/ENSL/gists{/gist_id}","starred_url":"https://api.github.com/users/ENSL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ENSL/subscriptions","organizations_url":"https://api.github.com/users/ENSL/orgs","repos_url":"https://api.github.com/users/ENSL/repos","events_url":"https://api.github.com/users/ENSL/events{/privacy}","received_events_url":"https://api.github.com/users/ENSL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ENSL/ensl.org","description":"The ENSL website. http://ensl.org","fork":false,"url":"https://api.github.com/repos/ENSL/ensl.org","forks_url":"https://api.github.com/repos/ENSL/ensl.org/forks","keys_url":"https://api.github.com/repos/ENSL/ensl.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ENSL/ensl.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ENSL/ensl.org/teams","hooks_url":"https://api.github.com/repos/ENSL/ensl.org/hooks","issue_events_url":"https://api.github.com/repos/ENSL/ensl.org/issues/events{/number}","events_url":"https://api.github.com/repos/ENSL/ensl.org/events","assignees_url":"https://api.github.com/repos/ENSL/ensl.org/assignees{/user}","branches_url":"https://api.github.com/repos/ENSL/ensl.org/branches{/branch}","tags_url":"https://api.github.com/repos/ENSL/ensl.org/tags","blobs_url":"https://api.github.com/repos/ENSL/ensl.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ENSL/ensl.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ENSL/ensl.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/ENSL/ensl.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ENSL/ensl.org/statuses/{sha}","languages_url":"https://api.github.com/repos/ENSL/ensl.org/languages","stargazers_url":"https://api.github.com/repos/ENSL/ensl.org/stargazers","contributors_url":"https://api.github.com/repos/ENSL/ensl.org/contributors","subscribers_url":"https://api.github.com/repos/ENSL/ensl.org/subscribers","subscription_url":"https://api.github.com/repos/ENSL/ensl.org/subscription","commits_url":"https://api.github.com/repos/ENSL/ensl.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/ENSL/ensl.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/ENSL/ensl.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/ENSL/ensl.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/ENSL/ensl.org/contents/{+path}","compare_url":"https://api.github.com/repos/ENSL/ensl.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ENSL/ensl.org/merges","archive_url":"https://api.github.com/repos/ENSL/ensl.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ENSL/ensl.org/downloads","issues_url":"https://api.github.com/repos/ENSL/ensl.org/issues{/number}","pulls_url":"https://api.github.com/repos/ENSL/ensl.org/pulls{/number}","milestones_url":"https://api.github.com/repos/ENSL/ensl.org/milestones{/number}","notifications_url":"https://api.github.com/repos/ENSL/ensl.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ENSL/ensl.org/labels{/name}","releases_url":"https://api.github.com/repos/ENSL/ensl.org/releases{/id}","created_at":"2014-03-22T15:39:53Z","updated_at":"2015-04-30T22:49:03Z","pushed_at":"2015-08-17T18:09:19Z","git_url":"git://github.com/ENSL/ensl.org.git","ssh_url":"git@github.com:ENSL/ensl.org.git","clone_url":"https://github.com/ENSL/ensl.org.git","svn_url":"https://github.com/ENSL/ensl.org","homepage":null,"size":50093,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":3,"forks":6,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ENSL/ensl.org/pulls/42"},"html":{"href":"https://github.com/ENSL/ensl.org/pull/42"},"issue":{"href":"https://api.github.com/repos/ENSL/ensl.org/issues/42"},"comments":{"href":"https://api.github.com/repos/ENSL/ensl.org/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/ENSL/ensl.org/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/ENSL/ensl.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ENSL/ensl.org/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/ENSL/ensl.org/statuses/c7a81d8e75ec709df573413866dfbb97e296a5de"}}}}