{"action":"closed","number":37,"pull_request":{"url":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/37","id":184845231,"html_url":"https://github.com/cmu-is-projects/tep_system/pull/37","diff_url":"https://github.com/cmu-is-projects/tep_system/pull/37.diff","patch_url":"https://github.com/cmu-is-projects/tep_system/pull/37.patch","issue_url":"https://api.github.com/repos/cmu-is-projects/tep_system/issues/37","number":37,"state":"closed","locked":false,"title":"Reordering works + recreated default user","user":{"login":"alinayu8","id":26490553,"avatar_url":"https://avatars1.githubusercontent.com/u/26490553?v=4","gravatar_id":"","url":"https://api.github.com/users/alinayu8","html_url":"https://github.com/alinayu8","followers_url":"https://api.github.com/users/alinayu8/followers","following_url":"https://api.github.com/users/alinayu8/following{/other_user}","gists_url":"https://api.github.com/users/alinayu8/gists{/gist_id}","starred_url":"https://api.github.com/users/alinayu8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinayu8/subscriptions","organizations_url":"https://api.github.com/users/alinayu8/orgs","repos_url":"https://api.github.com/users/alinayu8/repos","events_url":"https://api.github.com/users/alinayu8/events{/privacy}","received_events_url":"https://api.github.com/users/alinayu8/received_events","type":"User","site_admin":false},"body":"- Drag and drop function is now working for items to reorder items list.\r\n- Discovered that the current_user.role? function wasn't working because our default user's role was wrong, so recreated default user migration file. Might have to do the following command again to get it to work--not sure if you have to db:drop too?\r\n`bundle exec rake db:migrate:redo`","created_at":"2018-04-29T17:32:26Z","updated_at":"2018-04-29T23:06:54Z","closed_at":"2018-04-29T23:06:53Z","merged_at":"2018-04-29T23:06:53Z","merge_commit_sha":"eceb1ac4797cb50162895e743daff3d6315ab44a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/37/commits","review_comments_url":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/37/comments","review_comment_url":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cmu-is-projects/tep_system/issues/37/comments","statuses_url":"https://api.github.com/repos/cmu-is-projects/tep_system/statuses/e54987723ba1cc66a430839d7f2a00546f3f93d1","head":{"label":"alinayu8:master","ref":"master","sha":"e54987723ba1cc66a430839d7f2a00546f3f93d1","user":{"login":"alinayu8","id":26490553,"avatar_url":"https://avatars1.githubusercontent.com/u/26490553?v=4","gravatar_id":"","url":"https://api.github.com/users/alinayu8","html_url":"https://github.com/alinayu8","followers_url":"https://api.github.com/users/alinayu8/followers","following_url":"https://api.github.com/users/alinayu8/following{/other_user}","gists_url":"https://api.github.com/users/alinayu8/gists{/gist_id}","starred_url":"https://api.github.com/users/alinayu8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinayu8/subscriptions","organizations_url":"https://api.github.com/users/alinayu8/orgs","repos_url":"https://api.github.com/users/alinayu8/repos","events_url":"https://api.github.com/users/alinayu8/events{/privacy}","received_events_url":"https://api.github.com/users/alinayu8/received_events","type":"User","site_admin":false},"repo":{"id":124156847,"name":"tep_system","full_name":"alinayu8/tep_system","owner":{"login":"alinayu8","id":26490553,"avatar_url":"https://avatars1.githubusercontent.com/u/26490553?v=4","gravatar_id":"","url":"https://api.github.com/users/alinayu8","html_url":"https://github.com/alinayu8","followers_url":"https://api.github.com/users/alinayu8/followers","following_url":"https://api.github.com/users/alinayu8/following{/other_user}","gists_url":"https://api.github.com/users/alinayu8/gists{/gist_id}","starred_url":"https://api.github.com/users/alinayu8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alinayu8/subscriptions","organizations_url":"https://api.github.com/users/alinayu8/orgs","repos_url":"https://api.github.com/users/alinayu8/repos","events_url":"https://api.github.com/users/alinayu8/events{/privacy}","received_events_url":"https://api.github.com/users/alinayu8/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alinayu8/tep_system","description":null,"fork":true,"url":"https://api.github.com/repos/alinayu8/tep_system","forks_url":"https://api.github.com/repos/alinayu8/tep_system/forks","keys_url":"https://api.github.com/repos/alinayu8/tep_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alinayu8/tep_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alinayu8/tep_system/teams","hooks_url":"https://api.github.com/repos/alinayu8/tep_system/hooks","issue_events_url":"https://api.github.com/repos/alinayu8/tep_system/issues/events{/number}","events_url":"https://api.github.com/repos/alinayu8/tep_system/events","assignees_url":"https://api.github.com/repos/alinayu8/tep_system/assignees{/user}","branches_url":"https://api.github.com/repos/alinayu8/tep_system/branches{/branch}","tags_url":"https://api.github.com/repos/alinayu8/tep_system/tags","blobs_url":"https://api.github.com/repos/alinayu8/tep_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alinayu8/tep_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alinayu8/tep_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/alinayu8/tep_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alinayu8/tep_system/statuses/{sha}","languages_url":"https://api.github.com/repos/alinayu8/tep_system/languages","stargazers_url":"https://api.github.com/repos/alinayu8/tep_system/stargazers","contributors_url":"https://api.github.com/repos/alinayu8/tep_system/contributors","subscribers_url":"https://api.github.com/repos/alinayu8/tep_system/subscribers","subscription_url":"https://api.github.com/repos/alinayu8/tep_system/subscription","commits_url":"https://api.github.com/repos/alinayu8/tep_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/alinayu8/tep_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/alinayu8/tep_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/alinayu8/tep_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/alinayu8/tep_system/contents/{+path}","compare_url":"https://api.github.com/repos/alinayu8/tep_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alinayu8/tep_system/merges","archive_url":"https://api.github.com/repos/alinayu8/tep_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alinayu8/tep_system/downloads","issues_url":"https://api.github.com/repos/alinayu8/tep_system/issues{/number}","pulls_url":"https://api.github.com/repos/alinayu8/tep_system/pulls{/number}","milestones_url":"https://api.github.com/repos/alinayu8/tep_system/milestones{/number}","notifications_url":"https://api.github.com/repos/alinayu8/tep_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alinayu8/tep_system/labels{/name}","releases_url":"https://api.github.com/repos/alinayu8/tep_system/releases{/id}","deployments_url":"https://api.github.com/repos/alinayu8/tep_system/deployments","created_at":"2018-03-07T00:41:06Z","updated_at":"2018-04-29T17:29:45Z","pushed_at":"2018-04-29T17:29:43Z","git_url":"git://github.com/alinayu8/tep_system.git","ssh_url":"git@github.com:alinayu8/tep_system.git","clone_url":"https://github.com/alinayu8/tep_system.git","svn_url":"https://github.com/alinayu8/tep_system","homepage":null,"size":479,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cmu-is-projects:master","ref":"master","sha":"5e48e7e4bbf3b05ac74cf6bc85a858729bf8daf6","user":{"login":"cmu-is-projects","id":382583,"avatar_url":"https://avatars3.githubusercontent.com/u/382583?v=4","gravatar_id":"","url":"https://api.github.com/users/cmu-is-projects","html_url":"https://github.com/cmu-is-projects","followers_url":"https://api.github.com/users/cmu-is-projects/followers","following_url":"https://api.github.com/users/cmu-is-projects/following{/other_user}","gists_url":"https://api.github.com/users/cmu-is-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/cmu-is-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmu-is-projects/subscriptions","organizations_url":"https://api.github.com/users/cmu-is-projects/orgs","repos_url":"https://api.github.com/users/cmu-is-projects/repos","events_url":"https://api.github.com/users/cmu-is-projects/events{/privacy}","received_events_url":"https://api.github.com/users/cmu-is-projects/received_events","type":"Organization","site_admin":false},"repo":{"id":122997459,"name":"tep_system","full_name":"cmu-is-projects/tep_system","owner":{"login":"cmu-is-projects","id":382583,"avatar_url":"https://avatars3.githubusercontent.com/u/382583?v=4","gravatar_id":"","url":"https://api.github.com/users/cmu-is-projects","html_url":"https://github.com/cmu-is-projects","followers_url":"https://api.github.com/users/cmu-is-projects/followers","following_url":"https://api.github.com/users/cmu-is-projects/following{/other_user}","gists_url":"https://api.github.com/users/cmu-is-projects/gists{/gist_id}","starred_url":"https://api.github.com/users/cmu-is-projects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmu-is-projects/subscriptions","organizations_url":"https://api.github.com/users/cmu-is-projects/orgs","repos_url":"https://api.github.com/users/cmu-is-projects/repos","events_url":"https://api.github.com/users/cmu-is-projects/events{/privacy}","received_events_url":"https://api.github.com/users/cmu-is-projects/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cmu-is-projects/tep_system","description":null,"fork":false,"url":"https://api.github.com/repos/cmu-is-projects/tep_system","forks_url":"https://api.github.com/repos/cmu-is-projects/tep_system/forks","keys_url":"https://api.github.com/repos/cmu-is-projects/tep_system/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cmu-is-projects/tep_system/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cmu-is-projects/tep_system/teams","hooks_url":"https://api.github.com/repos/cmu-is-projects/tep_system/hooks","issue_events_url":"https://api.github.com/repos/cmu-is-projects/tep_system/issues/events{/number}","events_url":"https://api.github.com/repos/cmu-is-projects/tep_system/events","assignees_url":"https://api.github.com/repos/cmu-is-projects/tep_system/assignees{/user}","branches_url":"https://api.github.com/repos/cmu-is-projects/tep_system/branches{/branch}","tags_url":"https://api.github.com/repos/cmu-is-projects/tep_system/tags","blobs_url":"https://api.github.com/repos/cmu-is-projects/tep_system/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cmu-is-projects/tep_system/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cmu-is-projects/tep_system/git/refs{/sha}","trees_url":"https://api.github.com/repos/cmu-is-projects/tep_system/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cmu-is-projects/tep_system/statuses/{sha}","languages_url":"https://api.github.com/repos/cmu-is-projects/tep_system/languages","stargazers_url":"https://api.github.com/repos/cmu-is-projects/tep_system/stargazers","contributors_url":"https://api.github.com/repos/cmu-is-projects/tep_system/contributors","subscribers_url":"https://api.github.com/repos/cmu-is-projects/tep_system/subscribers","subscription_url":"https://api.github.com/repos/cmu-is-projects/tep_system/subscription","commits_url":"https://api.github.com/repos/cmu-is-projects/tep_system/commits{/sha}","git_commits_url":"https://api.github.com/repos/cmu-is-projects/tep_system/git/commits{/sha}","comments_url":"https://api.github.com/repos/cmu-is-projects/tep_system/comments{/number}","issue_comment_url":"https://api.github.com/repos/cmu-is-projects/tep_system/issues/comments{/number}","contents_url":"https://api.github.com/repos/cmu-is-projects/tep_system/contents/{+path}","compare_url":"https://api.github.com/repos/cmu-is-projects/tep_system/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cmu-is-projects/tep_system/merges","archive_url":"https://api.github.com/repos/cmu-is-projects/tep_system/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cmu-is-projects/tep_system/downloads","issues_url":"https://api.github.com/repos/cmu-is-projects/tep_system/issues{/number}","pulls_url":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls{/number}","milestones_url":"https://api.github.com/repos/cmu-is-projects/tep_system/milestones{/number}","notifications_url":"https://api.github.com/repos/cmu-is-projects/tep_system/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cmu-is-projects/tep_system/labels{/name}","releases_url":"https://api.github.com/repos/cmu-is-projects/tep_system/releases{/id}","deployments_url":"https://api.github.com/repos/cmu-is-projects/tep_system/deployments","created_at":"2018-02-26T16:32:35Z","updated_at":"2018-04-27T16:08:55Z","pushed_at":"2018-04-29T23:06:53Z","git_url":"git://github.com/cmu-is-projects/tep_system.git","ssh_url":"git@github.com:cmu-is-projects/tep_system.git","clone_url":"https://github.com/cmu-is-projects/tep_system.git","svn_url":"https://github.com/cmu-is-projects/tep_system","homepage":null,"size":468,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":4,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/37"},"html":{"href":"https://github.com/cmu-is-projects/tep_system/pull/37"},"issue":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/issues/37"},"comments":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/issues/37/comments"},"review_comments":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/37/comments"},"review_comment":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/pulls/37/commits"},"statuses":{"href":"https://api.github.com/repos/cmu-is-projects/tep_system/statuses/e54987723ba1cc66a430839d7f2a00546f3f93d1"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"shirzho","id":20470896,"avatar_url":"https://avatars3.githubusercontent.com/u/20470896?v=4","gravatar_id":"","url":"https://api.github.com/users/shirzho","html_url":"https://github.com/shirzho","followers_url":"https://api.github.com/users/shirzho/followers","following_url":"https://api.github.com/users/shirzho/following{/other_user}","gists_url":"https://api.github.com/users/shirzho/gists{/gist_id}","starred_url":"https://api.github.com/users/shirzho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shirzho/subscriptions","organizations_url":"https://api.github.com/users/shirzho/orgs","repos_url":"https://api.github.com/users/shirzho/repos","events_url":"https://api.github.com/users/shirzho/events{/privacy}","received_events_url":"https://api.github.com/users/shirzho/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":6,"additions":108,"deletions":66,"changed_files":17}}
{"actor":{"display_login":"shirzho"}}