{"action":"created","comment":{"url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/comments/22517617","id":22517617,"diff_hunk":"@@ -0,0 +1,16 @@\n+'use strict';\n+\n+function AuthHeaders($http) {","path":"app/js/auth/auth_headers.js","position":3,"original_position":3,"commit_id":"dd2881b9cd38af5a01e17783c41ffbda09f17d09","original_commit_id":"dd2881b9cd38af5a01e17783c41ffbda09f17d09","user":{"login":"gabrielpoca","id":934580,"avatar_url":"https://avatars.githubusercontent.com/u/934580?v=3","gravatar_id":"","url":"https://api.github.com/users/gabrielpoca","html_url":"https://github.com/gabrielpoca","followers_url":"https://api.github.com/users/gabrielpoca/followers","following_url":"https://api.github.com/users/gabrielpoca/following{/other_user}","gists_url":"https://api.github.com/users/gabrielpoca/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielpoca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielpoca/subscriptions","organizations_url":"https://api.github.com/users/gabrielpoca/orgs","repos_url":"https://api.github.com/users/gabrielpoca/repos","events_url":"https://api.github.com/users/gabrielpoca/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielpoca/received_events","type":"User","site_admin":false},"body":"Since this is already inside the `Auth` module, don't you think it would look better if it was called just `Headers`?","created_at":"2015-01-06T10:45:51Z","updated_at":"2015-01-06T10:45:51Z","html_url":"https://github.com/groupbuddies/theshelf-angular/pull/4#discussion_r22517617","pull_request_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/comments/22517617"},"html":{"href":"https://github.com/groupbuddies/theshelf-angular/pull/4#discussion_r22517617"},"pull_request":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4","id":26697103,"html_url":"https://github.com/groupbuddies/theshelf-angular/pull/4","diff_url":"https://github.com/groupbuddies/theshelf-angular/pull/4.diff","patch_url":"https://github.com/groupbuddies/theshelf-angular/pull/4.patch","issue_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/4","number":4,"state":"open","locked":false,"title":"Auth with tests","user":{"login":"azevedo-252","id":448574,"avatar_url":"https://avatars.githubusercontent.com/u/448574?v=3","gravatar_id":"","url":"https://api.github.com/users/azevedo-252","html_url":"https://github.com/azevedo-252","followers_url":"https://api.github.com/users/azevedo-252/followers","following_url":"https://api.github.com/users/azevedo-252/following{/other_user}","gists_url":"https://api.github.com/users/azevedo-252/gists{/gist_id}","starred_url":"https://api.github.com/users/azevedo-252/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azevedo-252/subscriptions","organizations_url":"https://api.github.com/users/azevedo-252/orgs","repos_url":"https://api.github.com/users/azevedo-252/repos","events_url":"https://api.github.com/users/azevedo-252/events{/privacy}","received_events_url":"https://api.github.com/users/azevedo-252/received_events","type":"User","site_admin":false},"body":"Authentication + Tests","created_at":"2014-12-30T18:31:06Z","updated_at":"2015-01-06T10:45:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a362c4284175f0c59cddea2487ad4dd6061d7d4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4/commits","review_comments_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4/comments","review_comment_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/comments/{number}","comments_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/4/comments","statuses_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/statuses/dd2881b9cd38af5a01e17783c41ffbda09f17d09","head":{"label":"groupbuddies:auth-with-tests","ref":"auth-with-tests","sha":"dd2881b9cd38af5a01e17783c41ffbda09f17d09","user":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"repo":{"id":26490688,"name":"theshelf-angular","full_name":"groupbuddies/theshelf-angular","owner":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/groupbuddies/theshelf-angular","description":"An AngularJS web client for The Shelf","fork":false,"url":"https://api.github.com/repos/groupbuddies/theshelf-angular","forks_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/forks","keys_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/teams","hooks_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/hooks","issue_events_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/events{/number}","events_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/events","assignees_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/assignees{/user}","branches_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/branches{/branch}","tags_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/tags","blobs_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/languages","stargazers_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/stargazers","contributors_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/contributors","subscribers_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/subscribers","subscription_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/subscription","commits_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/comments/{number}","contents_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/contents/{+path}","compare_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/merges","archive_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/downloads","issues_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues{/number}","pulls_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/labels{/name}","releases_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/releases{/id}","created_at":"2014-11-11T15:23:09Z","updated_at":"2015-01-05T18:13:44Z","pushed_at":"2015-01-05T18:58:26Z","git_url":"git://github.com/groupbuddies/theshelf-angular.git","ssh_url":"git@github.com:groupbuddies/theshelf-angular.git","clone_url":"https://github.com/groupbuddies/theshelf-angular.git","svn_url":"https://github.com/groupbuddies/theshelf-angular","homepage":null,"size":684,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","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":4,"default_branch":"master"}},"base":{"label":"groupbuddies:master","ref":"master","sha":"22518e98a98cc87a2c5bb0f6a50586ff3107b913","user":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"repo":{"id":26490688,"name":"theshelf-angular","full_name":"groupbuddies/theshelf-angular","owner":{"login":"groupbuddies","id":1085467,"avatar_url":"https://avatars.githubusercontent.com/u/1085467?v=3","gravatar_id":"","url":"https://api.github.com/users/groupbuddies","html_url":"https://github.com/groupbuddies","followers_url":"https://api.github.com/users/groupbuddies/followers","following_url":"https://api.github.com/users/groupbuddies/following{/other_user}","gists_url":"https://api.github.com/users/groupbuddies/gists{/gist_id}","starred_url":"https://api.github.com/users/groupbuddies/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groupbuddies/subscriptions","organizations_url":"https://api.github.com/users/groupbuddies/orgs","repos_url":"https://api.github.com/users/groupbuddies/repos","events_url":"https://api.github.com/users/groupbuddies/events{/privacy}","received_events_url":"https://api.github.com/users/groupbuddies/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/groupbuddies/theshelf-angular","description":"An AngularJS web client for The Shelf","fork":false,"url":"https://api.github.com/repos/groupbuddies/theshelf-angular","forks_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/forks","keys_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/keys{/key_id}","collaborators_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/teams","hooks_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/hooks","issue_events_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/events{/number}","events_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/events","assignees_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/assignees{/user}","branches_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/branches{/branch}","tags_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/tags","blobs_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/refs{/sha}","trees_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/trees{/sha}","statuses_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/statuses/{sha}","languages_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/languages","stargazers_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/stargazers","contributors_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/contributors","subscribers_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/subscribers","subscription_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/subscription","commits_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/commits{/sha}","git_commits_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/git/commits{/sha}","comments_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/comments{/number}","issue_comment_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/comments/{number}","contents_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/contents/{+path}","compare_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/compare/{base}...{head}","merges_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/merges","archive_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/downloads","issues_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues{/number}","pulls_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls{/number}","milestones_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/milestones{/number}","notifications_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/labels{/name}","releases_url":"https://api.github.com/repos/groupbuddies/theshelf-angular/releases{/id}","created_at":"2014-11-11T15:23:09Z","updated_at":"2015-01-05T18:13:44Z","pushed_at":"2015-01-05T18:58:26Z","git_url":"git://github.com/groupbuddies/theshelf-angular.git","ssh_url":"git@github.com:groupbuddies/theshelf-angular.git","clone_url":"https://github.com/groupbuddies/theshelf-angular.git","svn_url":"https://github.com/groupbuddies/theshelf-angular","homepage":null,"size":684,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4"},"html":{"href":"https://github.com/groupbuddies/theshelf-angular/pull/4"},"issue":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/4"},"comments":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/groupbuddies/theshelf-angular/statuses/dd2881b9cd38af5a01e17783c41ffbda09f17d09"}}}}