{"action":"opened","number":219,"pull_request":{"url":"https://api.github.com/repos/calblueprint/PHC/pulls/219","id":29503145,"html_url":"https://github.com/calblueprint/PHC/pull/219","diff_url":"https://github.com/calblueprint/PHC/pull/219.diff","patch_url":"https://github.com/calblueprint/PHC/pull/219.patch","issue_url":"https://api.github.com/repos/calblueprint/PHC/issues/219","number":219,"state":"open","locked":false,"title":"Alton/auth api","user":{"login":"altonzheng","id":1298214,"avatar_url":"https://avatars.githubusercontent.com/u/1298214?v=3","gravatar_id":"","url":"https://api.github.com/users/altonzheng","html_url":"https://github.com/altonzheng","followers_url":"https://api.github.com/users/altonzheng/followers","following_url":"https://api.github.com/users/altonzheng/following{/other_user}","gists_url":"https://api.github.com/users/altonzheng/gists{/gist_id}","starred_url":"https://api.github.com/users/altonzheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/altonzheng/subscriptions","organizations_url":"https://api.github.com/users/altonzheng/orgs","repos_url":"https://api.github.com/users/altonzheng/repos","events_url":"https://api.github.com/users/altonzheng/events{/privacy}","received_events_url":"https://api.github.com/users/altonzheng/received_events","type":"User","site_admin":false},"body":"- Added user model\r\n- Created sessions controller for logging in/logging out\r\n- Generate auth tokens and check for every API call\r\n- Search and create salesforce data (TODO: actually post to salesforce)\r\n- Fix rake task for pulling accounts from Salesforce (TODO: Fix sql injection vulnerability/refactor)","created_at":"2015-02-18T05:58:50Z","updated_at":"2015-02-18T05:58:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/calblueprint/PHC/pulls/219/commits","review_comments_url":"https://api.github.com/repos/calblueprint/PHC/pulls/219/comments","review_comment_url":"https://api.github.com/repos/calblueprint/PHC/pulls/comments/{number}","comments_url":"https://api.github.com/repos/calblueprint/PHC/issues/219/comments","statuses_url":"https://api.github.com/repos/calblueprint/PHC/statuses/e102f6977f756d0427f8a61670f848da647313fd","head":{"label":"calblueprint:alton/auth_api","ref":"alton/auth_api","sha":"e102f6977f756d0427f8a61670f848da647313fd","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":25014781,"name":"PHC","full_name":"calblueprint/PHC","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/PHC","description":"Best app made by the best devs","fork":false,"url":"https://api.github.com/repos/calblueprint/PHC","forks_url":"https://api.github.com/repos/calblueprint/PHC/forks","keys_url":"https://api.github.com/repos/calblueprint/PHC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/PHC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/PHC/teams","hooks_url":"https://api.github.com/repos/calblueprint/PHC/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/PHC/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/PHC/events","assignees_url":"https://api.github.com/repos/calblueprint/PHC/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/PHC/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/PHC/tags","blobs_url":"https://api.github.com/repos/calblueprint/PHC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/PHC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/PHC/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/PHC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/PHC/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/PHC/languages","stargazers_url":"https://api.github.com/repos/calblueprint/PHC/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/PHC/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/PHC/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/PHC/subscription","commits_url":"https://api.github.com/repos/calblueprint/PHC/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/PHC/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/PHC/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/PHC/issues/comments/{number}","contents_url":"https://api.github.com/repos/calblueprint/PHC/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/PHC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/PHC/merges","archive_url":"https://api.github.com/repos/calblueprint/PHC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/PHC/downloads","issues_url":"https://api.github.com/repos/calblueprint/PHC/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/PHC/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/PHC/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/PHC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/PHC/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/PHC/releases{/id}","created_at":"2014-10-10T01:00:35Z","updated_at":"2015-02-16T08:51:15Z","pushed_at":"2015-02-18T05:55:31Z","git_url":"git://github.com/calblueprint/PHC.git","ssh_url":"git@github.com:calblueprint/PHC.git","clone_url":"https://github.com/calblueprint/PHC.git","svn_url":"https://github.com/calblueprint/PHC","homepage":"","size":4492,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":8,"default_branch":"master"}},"base":{"label":"calblueprint:master","ref":"master","sha":"b7f97c34e93be78495d59519dd37334dd9757da6","user":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"repo":{"id":25014781,"name":"PHC","full_name":"calblueprint/PHC","owner":{"login":"calblueprint","id":2729578,"avatar_url":"https://avatars.githubusercontent.com/u/2729578?v=3","gravatar_id":"","url":"https://api.github.com/users/calblueprint","html_url":"https://github.com/calblueprint","followers_url":"https://api.github.com/users/calblueprint/followers","following_url":"https://api.github.com/users/calblueprint/following{/other_user}","gists_url":"https://api.github.com/users/calblueprint/gists{/gist_id}","starred_url":"https://api.github.com/users/calblueprint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calblueprint/subscriptions","organizations_url":"https://api.github.com/users/calblueprint/orgs","repos_url":"https://api.github.com/users/calblueprint/repos","events_url":"https://api.github.com/users/calblueprint/events{/privacy}","received_events_url":"https://api.github.com/users/calblueprint/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/calblueprint/PHC","description":"Best app made by the best devs","fork":false,"url":"https://api.github.com/repos/calblueprint/PHC","forks_url":"https://api.github.com/repos/calblueprint/PHC/forks","keys_url":"https://api.github.com/repos/calblueprint/PHC/keys{/key_id}","collaborators_url":"https://api.github.com/repos/calblueprint/PHC/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/calblueprint/PHC/teams","hooks_url":"https://api.github.com/repos/calblueprint/PHC/hooks","issue_events_url":"https://api.github.com/repos/calblueprint/PHC/issues/events{/number}","events_url":"https://api.github.com/repos/calblueprint/PHC/events","assignees_url":"https://api.github.com/repos/calblueprint/PHC/assignees{/user}","branches_url":"https://api.github.com/repos/calblueprint/PHC/branches{/branch}","tags_url":"https://api.github.com/repos/calblueprint/PHC/tags","blobs_url":"https://api.github.com/repos/calblueprint/PHC/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/calblueprint/PHC/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/calblueprint/PHC/git/refs{/sha}","trees_url":"https://api.github.com/repos/calblueprint/PHC/git/trees{/sha}","statuses_url":"https://api.github.com/repos/calblueprint/PHC/statuses/{sha}","languages_url":"https://api.github.com/repos/calblueprint/PHC/languages","stargazers_url":"https://api.github.com/repos/calblueprint/PHC/stargazers","contributors_url":"https://api.github.com/repos/calblueprint/PHC/contributors","subscribers_url":"https://api.github.com/repos/calblueprint/PHC/subscribers","subscription_url":"https://api.github.com/repos/calblueprint/PHC/subscription","commits_url":"https://api.github.com/repos/calblueprint/PHC/commits{/sha}","git_commits_url":"https://api.github.com/repos/calblueprint/PHC/git/commits{/sha}","comments_url":"https://api.github.com/repos/calblueprint/PHC/comments{/number}","issue_comment_url":"https://api.github.com/repos/calblueprint/PHC/issues/comments/{number}","contents_url":"https://api.github.com/repos/calblueprint/PHC/contents/{+path}","compare_url":"https://api.github.com/repos/calblueprint/PHC/compare/{base}...{head}","merges_url":"https://api.github.com/repos/calblueprint/PHC/merges","archive_url":"https://api.github.com/repos/calblueprint/PHC/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/calblueprint/PHC/downloads","issues_url":"https://api.github.com/repos/calblueprint/PHC/issues{/number}","pulls_url":"https://api.github.com/repos/calblueprint/PHC/pulls{/number}","milestones_url":"https://api.github.com/repos/calblueprint/PHC/milestones{/number}","notifications_url":"https://api.github.com/repos/calblueprint/PHC/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/calblueprint/PHC/labels{/name}","releases_url":"https://api.github.com/repos/calblueprint/PHC/releases{/id}","created_at":"2014-10-10T01:00:35Z","updated_at":"2015-02-16T08:51:15Z","pushed_at":"2015-02-18T05:55:31Z","git_url":"git://github.com/calblueprint/PHC.git","ssh_url":"git@github.com:calblueprint/PHC.git","clone_url":"https://github.com/calblueprint/PHC.git","svn_url":"https://github.com/calblueprint/PHC","homepage":"","size":4492,"stargazers_count":8,"watchers_count":8,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":33,"forks":0,"open_issues":33,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/219"},"html":{"href":"https://github.com/calblueprint/PHC/pull/219"},"issue":{"href":"https://api.github.com/repos/calblueprint/PHC/issues/219"},"comments":{"href":"https://api.github.com/repos/calblueprint/PHC/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/calblueprint/PHC/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/calblueprint/PHC/statuses/e102f6977f756d0427f8a61670f848da647313fd"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":15,"additions":359,"deletions":23,"changed_files":34}}