{"action":"created","comment":{"url":"https://api.github.com/repos/ConsultingMD/integrity/pulls/comments/32350963","id":32350963,"diff_hunk":"@@ -0,0 +1,202 @@\n+# Head of Engineering\n+if !Integrity::User.first(username: 'kenberland')\n+  u = Integrity::User.new\n+  u.name = 'Ken Berland'\n+  u.email = 'ken@grandrounds.com'\n+  u.username = 'kenberland'\n+  u.title = 'Head of Engineering'\n+  u.gh_uid = '681863'\n+  u.admin = true\n+  u.save\n+end\n+\n+# Leads\n+if !Integrity::User.first(username: 'beghbali')\n+  u = Integrity::User.new\n+  u.name = 'Bashir Eghbali'\n+  u.email = 'bashir@grandrounds.com'\n+  u.username = 'beghbali'\n+  u.title = 'Technical Lead'\n+  u.gh_uid = '998422'\n+  u.admin = true\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'rahmal')\n+  u = Integrity::User.new\n+  u.name = 'Rahmal Conda'\n+  u.email = 'rahmal@grandrounds.com'\n+  u.username = 'rahmal'\n+  u.title = 'Technical Lead'\n+  u.gh_uid = '122263'\n+  u.admin = true\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'webflint')\n+  u = Integrity::User.new\n+  u.name = 'Brett Suwyn'\n+  u.email = 'brett@grandrounds.com'\n+  u.username = 'webflint'\n+  u.title = 'Technical Lead'\n+  u.gh_uid = '252220'\n+  u.admin = true\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'cobbr2')\n+  u = Integrity::User.new\n+  u.name = 'Rick Cobb'\n+  u.email = 'rick@grandrounds.com'\n+  u.username = 'cobbr2'\n+  u.title = 'Architect/Lead'\n+  u.gh_uid = '249301'\n+  u.admin = true\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'soonahn')\n+  u = Integrity::User.new\n+  u.name = 'Justin Ahn'\n+  u.email = 'justin@grandrounds.com'\n+  u.username = 'soonahn'\n+  u.title = 'Architect/Senior Engineer'\n+  u.gh_uid = '1271952'\n+  u.admin = true\n+  u.save\n+end\n+\n+# Engineers\n+if !Integrity::User.first(username: 'timz1290')\n+  u = Integrity::User.new\n+  u.name = 'Tim Wang'\n+  u.email = 'tim.wang@grandrounds.com'\n+  u.username = 'timz1290'\n+  u.title = 'Engineer'\n+  u.gh_uid = '1915687'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'mpgaillard')\n+  u = Integrity::User.new\n+  u.name = 'Michael Pena'\n+  u.email = 'michael.pena@grandrounds.com'\n+  u.username = 'mpgaillard'\n+  u.title = 'Engineer'\n+  u.gh_uid = '2374007'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'mike809')\n+  u = Integrity::User.new\n+  u.name = 'Michael Romano'\n+  u.email = 'michael@grandrounds.com'\n+  u.username = 'mike809'\n+  u.title = 'Engineer'\n+  u.gh_uid = '3720790'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'OAGr')\n+  u = Integrity::User.new\n+  u.name = 'Ozzie Gooen'\n+  u.email = 'ozzie@grandrounds.com'\n+  u.username = 'OAGr'\n+  u.title = 'Engineer'\n+  u.gh_uid = '377065'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'kquet')\n+  u = Integrity::User.new\n+  u.name = 'Kael Quet'\n+  u.email = 'kael.quet@grandrounds.com'\n+  u.username = 'kquet'\n+  u.title = 'Engineer'\n+  u.gh_uid = '2567715'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'Bojole')\n+  u = Integrity::User.new\n+  u.name = 'Bojil Velinov'\n+  u.email = 'bojil.velinov@grandrounds.com'\n+  u.username = 'Bojole'\n+  u.title = 'Engineer'\n+  u.gh_uid = '2790158'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'alexebird')\n+  u = Integrity::User.new\n+  u.name = 'Alex Bird'\n+  u.email = 'alex.bird@grandrounds.com'\n+  u.username = 'alexebird'\n+  u.title = 'Engineer'\n+  u.gh_uid = '120678'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'andrewpurcell')\n+  u = Integrity::User.new\n+  u.name = 'Andrew Purcell'\n+  u.email = 'andrew.purcell@grandrounds.com'\n+  u.username = 'andrewpurcell'\n+  u.title = 'Engineer'\n+  u.gh_uid = '466873'\n+  u.admin = false\n+  u.save\n+end\n+\n+if !Integrity::User.first(username: 'glacier')\n+  u = Integrity::User.new\n+  u.name = 'Grace Li'\n+  u.email = 'grace.li@grandrounds.com'\n+  u.username = 'glacier'\n+  u.title = 'Engineer'\n+  u.gh_uid = '233731'\n+  u.admin = false\n+  u.save\n+end","path":"lib/users.rb","position":167,"original_position":167,"commit_id":"147ea8728c60944e1e1f28e55a47ac33d423f4b8","original_commit_id":"147ea8728c60944e1e1f28e55a47ac33d423f4b8","user":{"login":"OAGr","id":377065,"avatar_url":"https://avatars.githubusercontent.com/u/377065?v=3","gravatar_id":"","url":"https://api.github.com/users/OAGr","html_url":"https://github.com/OAGr","followers_url":"https://api.github.com/users/OAGr/followers","following_url":"https://api.github.com/users/OAGr/following{/other_user}","gists_url":"https://api.github.com/users/OAGr/gists{/gist_id}","starred_url":"https://api.github.com/users/OAGr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OAGr/subscriptions","organizations_url":"https://api.github.com/users/OAGr/orgs","repos_url":"https://api.github.com/users/OAGr/repos","events_url":"https://api.github.com/users/OAGr/events{/privacy}","received_events_url":"https://api.github.com/users/OAGr/received_events","type":"User","site_admin":false},"body":"If we are going this way we need Jesse, Josh, Richard, Nancy","created_at":"2015-06-12T20:16:13Z","updated_at":"2015-06-12T20:16:13Z","html_url":"https://github.com/ConsultingMD/integrity/pull/32#discussion_r32350963","pull_request_url":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/ConsultingMD/integrity/pulls/comments/32350963"},"html":{"href":"https://github.com/ConsultingMD/integrity/pull/32#discussion_r32350963"},"pull_request":{"href":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32","id":31649450,"html_url":"https://github.com/ConsultingMD/integrity/pull/32","diff_url":"https://github.com/ConsultingMD/integrity/pull/32.diff","patch_url":"https://github.com/ConsultingMD/integrity/pull/32.patch","issue_url":"https://api.github.com/repos/ConsultingMD/integrity/issues/32","number":32,"state":"open","locked":false,"title":"Authentication","user":{"login":"rahmal","id":122263,"avatar_url":"https://avatars.githubusercontent.com/u/122263?v=3","gravatar_id":"","url":"https://api.github.com/users/rahmal","html_url":"https://github.com/rahmal","followers_url":"https://api.github.com/users/rahmal/followers","following_url":"https://api.github.com/users/rahmal/following{/other_user}","gists_url":"https://api.github.com/users/rahmal/gists{/gist_id}","starred_url":"https://api.github.com/users/rahmal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rahmal/subscriptions","organizations_url":"https://api.github.com/users/rahmal/orgs","repos_url":"https://api.github.com/users/rahmal/repos","events_url":"https://api.github.com/users/rahmal/events{/privacy}","received_events_url":"https://api.github.com/users/rahmal/received_events","type":"User","site_admin":false},"body":"- Re-factor app into MVC pattern\r\n- Breakup `app.rb` into controllers\r\n- Add authentication via Github\r\n- Make authentication required (so we have a better papertrail of who does what)","created_at":"2015-03-20T20:33:03Z","updated_at":"2015-06-12T20:16:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"30d3643916c652f153deecd1ef63f2d88d5dcc72","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32/commits","review_comments_url":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32/comments","review_comment_url":"https://api.github.com/repos/ConsultingMD/integrity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ConsultingMD/integrity/issues/32/comments","statuses_url":"https://api.github.com/repos/ConsultingMD/integrity/statuses/147ea8728c60944e1e1f28e55a47ac33d423f4b8","head":{"label":"ConsultingMD:authentication","ref":"authentication","sha":"147ea8728c60944e1e1f28e55a47ac33d423f4b8","user":{"login":"ConsultingMD","id":1349864,"avatar_url":"https://avatars.githubusercontent.com/u/1349864?v=3","gravatar_id":"","url":"https://api.github.com/users/ConsultingMD","html_url":"https://github.com/ConsultingMD","followers_url":"https://api.github.com/users/ConsultingMD/followers","following_url":"https://api.github.com/users/ConsultingMD/following{/other_user}","gists_url":"https://api.github.com/users/ConsultingMD/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsultingMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsultingMD/subscriptions","organizations_url":"https://api.github.com/users/ConsultingMD/orgs","repos_url":"https://api.github.com/users/ConsultingMD/repos","events_url":"https://api.github.com/users/ConsultingMD/events{/privacy}","received_events_url":"https://api.github.com/users/ConsultingMD/received_events","type":"Organization","site_admin":false},"repo":{"id":24744635,"name":"integrity","full_name":"ConsultingMD/integrity","owner":{"login":"ConsultingMD","id":1349864,"avatar_url":"https://avatars.githubusercontent.com/u/1349864?v=3","gravatar_id":"","url":"https://api.github.com/users/ConsultingMD","html_url":"https://github.com/ConsultingMD","followers_url":"https://api.github.com/users/ConsultingMD/followers","following_url":"https://api.github.com/users/ConsultingMD/following{/other_user}","gists_url":"https://api.github.com/users/ConsultingMD/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsultingMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsultingMD/subscriptions","organizations_url":"https://api.github.com/users/ConsultingMD/orgs","repos_url":"https://api.github.com/users/ConsultingMD/repos","events_url":"https://api.github.com/users/ConsultingMD/events{/privacy}","received_events_url":"https://api.github.com/users/ConsultingMD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ConsultingMD/integrity","description":"Continuous Integration server","fork":true,"url":"https://api.github.com/repos/ConsultingMD/integrity","forks_url":"https://api.github.com/repos/ConsultingMD/integrity/forks","keys_url":"https://api.github.com/repos/ConsultingMD/integrity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConsultingMD/integrity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConsultingMD/integrity/teams","hooks_url":"https://api.github.com/repos/ConsultingMD/integrity/hooks","issue_events_url":"https://api.github.com/repos/ConsultingMD/integrity/issues/events{/number}","events_url":"https://api.github.com/repos/ConsultingMD/integrity/events","assignees_url":"https://api.github.com/repos/ConsultingMD/integrity/assignees{/user}","branches_url":"https://api.github.com/repos/ConsultingMD/integrity/branches{/branch}","tags_url":"https://api.github.com/repos/ConsultingMD/integrity/tags","blobs_url":"https://api.github.com/repos/ConsultingMD/integrity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConsultingMD/integrity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConsultingMD/integrity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConsultingMD/integrity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConsultingMD/integrity/statuses/{sha}","languages_url":"https://api.github.com/repos/ConsultingMD/integrity/languages","stargazers_url":"https://api.github.com/repos/ConsultingMD/integrity/stargazers","contributors_url":"https://api.github.com/repos/ConsultingMD/integrity/contributors","subscribers_url":"https://api.github.com/repos/ConsultingMD/integrity/subscribers","subscription_url":"https://api.github.com/repos/ConsultingMD/integrity/subscription","commits_url":"https://api.github.com/repos/ConsultingMD/integrity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConsultingMD/integrity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConsultingMD/integrity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConsultingMD/integrity/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConsultingMD/integrity/contents/{+path}","compare_url":"https://api.github.com/repos/ConsultingMD/integrity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConsultingMD/integrity/merges","archive_url":"https://api.github.com/repos/ConsultingMD/integrity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConsultingMD/integrity/downloads","issues_url":"https://api.github.com/repos/ConsultingMD/integrity/issues{/number}","pulls_url":"https://api.github.com/repos/ConsultingMD/integrity/pulls{/number}","milestones_url":"https://api.github.com/repos/ConsultingMD/integrity/milestones{/number}","notifications_url":"https://api.github.com/repos/ConsultingMD/integrity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConsultingMD/integrity/labels{/name}","releases_url":"https://api.github.com/repos/ConsultingMD/integrity/releases{/id}","created_at":"2014-10-03T02:42:21Z","updated_at":"2015-05-08T02:01:48Z","pushed_at":"2015-06-12T19:22:12Z","git_url":"git://github.com/ConsultingMD/integrity.git","ssh_url":"git@github.com:ConsultingMD/integrity.git","clone_url":"https://github.com/ConsultingMD/integrity.git","svn_url":"https://github.com/ConsultingMD/integrity","homepage":"http://integrity.github.com","size":11673,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ConsultingMD:master","ref":"master","sha":"782d0a3126342a0f68e0080f07f9763086fe1cba","user":{"login":"ConsultingMD","id":1349864,"avatar_url":"https://avatars.githubusercontent.com/u/1349864?v=3","gravatar_id":"","url":"https://api.github.com/users/ConsultingMD","html_url":"https://github.com/ConsultingMD","followers_url":"https://api.github.com/users/ConsultingMD/followers","following_url":"https://api.github.com/users/ConsultingMD/following{/other_user}","gists_url":"https://api.github.com/users/ConsultingMD/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsultingMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsultingMD/subscriptions","organizations_url":"https://api.github.com/users/ConsultingMD/orgs","repos_url":"https://api.github.com/users/ConsultingMD/repos","events_url":"https://api.github.com/users/ConsultingMD/events{/privacy}","received_events_url":"https://api.github.com/users/ConsultingMD/received_events","type":"Organization","site_admin":false},"repo":{"id":24744635,"name":"integrity","full_name":"ConsultingMD/integrity","owner":{"login":"ConsultingMD","id":1349864,"avatar_url":"https://avatars.githubusercontent.com/u/1349864?v=3","gravatar_id":"","url":"https://api.github.com/users/ConsultingMD","html_url":"https://github.com/ConsultingMD","followers_url":"https://api.github.com/users/ConsultingMD/followers","following_url":"https://api.github.com/users/ConsultingMD/following{/other_user}","gists_url":"https://api.github.com/users/ConsultingMD/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsultingMD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsultingMD/subscriptions","organizations_url":"https://api.github.com/users/ConsultingMD/orgs","repos_url":"https://api.github.com/users/ConsultingMD/repos","events_url":"https://api.github.com/users/ConsultingMD/events{/privacy}","received_events_url":"https://api.github.com/users/ConsultingMD/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ConsultingMD/integrity","description":"Continuous Integration server","fork":true,"url":"https://api.github.com/repos/ConsultingMD/integrity","forks_url":"https://api.github.com/repos/ConsultingMD/integrity/forks","keys_url":"https://api.github.com/repos/ConsultingMD/integrity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ConsultingMD/integrity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ConsultingMD/integrity/teams","hooks_url":"https://api.github.com/repos/ConsultingMD/integrity/hooks","issue_events_url":"https://api.github.com/repos/ConsultingMD/integrity/issues/events{/number}","events_url":"https://api.github.com/repos/ConsultingMD/integrity/events","assignees_url":"https://api.github.com/repos/ConsultingMD/integrity/assignees{/user}","branches_url":"https://api.github.com/repos/ConsultingMD/integrity/branches{/branch}","tags_url":"https://api.github.com/repos/ConsultingMD/integrity/tags","blobs_url":"https://api.github.com/repos/ConsultingMD/integrity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ConsultingMD/integrity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ConsultingMD/integrity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ConsultingMD/integrity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ConsultingMD/integrity/statuses/{sha}","languages_url":"https://api.github.com/repos/ConsultingMD/integrity/languages","stargazers_url":"https://api.github.com/repos/ConsultingMD/integrity/stargazers","contributors_url":"https://api.github.com/repos/ConsultingMD/integrity/contributors","subscribers_url":"https://api.github.com/repos/ConsultingMD/integrity/subscribers","subscription_url":"https://api.github.com/repos/ConsultingMD/integrity/subscription","commits_url":"https://api.github.com/repos/ConsultingMD/integrity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ConsultingMD/integrity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ConsultingMD/integrity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ConsultingMD/integrity/issues/comments{/number}","contents_url":"https://api.github.com/repos/ConsultingMD/integrity/contents/{+path}","compare_url":"https://api.github.com/repos/ConsultingMD/integrity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ConsultingMD/integrity/merges","archive_url":"https://api.github.com/repos/ConsultingMD/integrity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ConsultingMD/integrity/downloads","issues_url":"https://api.github.com/repos/ConsultingMD/integrity/issues{/number}","pulls_url":"https://api.github.com/repos/ConsultingMD/integrity/pulls{/number}","milestones_url":"https://api.github.com/repos/ConsultingMD/integrity/milestones{/number}","notifications_url":"https://api.github.com/repos/ConsultingMD/integrity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ConsultingMD/integrity/labels{/name}","releases_url":"https://api.github.com/repos/ConsultingMD/integrity/releases{/id}","created_at":"2014-10-03T02:42:21Z","updated_at":"2015-05-08T02:01:48Z","pushed_at":"2015-06-12T19:22:12Z","git_url":"git://github.com/ConsultingMD/integrity.git","ssh_url":"git@github.com:ConsultingMD/integrity.git","clone_url":"https://github.com/ConsultingMD/integrity.git","svn_url":"https://github.com/ConsultingMD/integrity","homepage":"http://integrity.github.com","size":11673,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32"},"html":{"href":"https://github.com/ConsultingMD/integrity/pull/32"},"issue":{"href":"https://api.github.com/repos/ConsultingMD/integrity/issues/32"},"comments":{"href":"https://api.github.com/repos/ConsultingMD/integrity/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/ConsultingMD/integrity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ConsultingMD/integrity/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/ConsultingMD/integrity/statuses/147ea8728c60944e1e1f28e55a47ac33d423f4b8"}}}}