{"action":"closed","number":92,"pull_request":{"url":"https://api.github.com/repos/yucao24hours/elt2015/pulls/92","id":42337632,"html_url":"https://github.com/yucao24hours/elt2015/pull/92","diff_url":"https://github.com/yucao24hours/elt2015/pull/92.diff","patch_url":"https://github.com/yucao24hours/elt2015/pull/92.patch","issue_url":"https://api.github.com/repos/yucao24hours/elt2015/issues/92","number":92,"state":"closed","locked":false,"title":"LT の順番を発表順に表示する [closes #47]","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"body":"## 概要\r\n「みんなの出品一覧」の LT タブに出る LT 一覧を、当日の LT 発表順に並べるようにします（昇順）。\r\n\r\n## TODO\r\n- [x] テストをかく\r\n- [x] exhibits テーブルに、順番をあらわすカラムを追加する\r\n- [x] 上記カラムには同じ数字が入らないようにバリデーションを念のためつけておく -> ユーザが直接操作するところではないので、モデルバリデーションではなく DB 制約にしています。\r\n\r\n## 考えてること\r\n- 順番の数字をどうやって入れる？管理画面からだとやりやすそうだけど、さいあく rails console でなんとかなりそうな気もする。\r\n- 順番の数字は、全体で必ず連番になっているように保証するなにかを入れたりしたほうがいいのかな....さすがにそこまでしなくていいかな...\r\n\r\n## 対応ストーリー\r\nThis work connects to #47 \r\n","created_at":"2015-08-13T10:57:25Z","updated_at":"2015-08-19T00:47:10Z","closed_at":"2015-08-19T00:47:10Z","merged_at":"2015-08-19T00:47:10Z","merge_commit_sha":"550490f4663e71deae0746164b5836233e0ed0d3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yucao24hours/elt2015/pulls/92/commits","review_comments_url":"https://api.github.com/repos/yucao24hours/elt2015/pulls/92/comments","review_comment_url":"https://api.github.com/repos/yucao24hours/elt2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yucao24hours/elt2015/issues/92/comments","statuses_url":"https://api.github.com/repos/yucao24hours/elt2015/statuses/21b07194ca5c4358b04ca52c0287694783b57e03","head":{"label":"yucao24hours:order","ref":"order","sha":"21b07194ca5c4358b04ca52c0287694783b57e03","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"repo":{"id":37064187,"name":"elt2015","full_name":"yucao24hours/elt2015","owner":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yucao24hours/elt2015","description":"","fork":false,"url":"https://api.github.com/repos/yucao24hours/elt2015","forks_url":"https://api.github.com/repos/yucao24hours/elt2015/forks","keys_url":"https://api.github.com/repos/yucao24hours/elt2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yucao24hours/elt2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yucao24hours/elt2015/teams","hooks_url":"https://api.github.com/repos/yucao24hours/elt2015/hooks","issue_events_url":"https://api.github.com/repos/yucao24hours/elt2015/issues/events{/number}","events_url":"https://api.github.com/repos/yucao24hours/elt2015/events","assignees_url":"https://api.github.com/repos/yucao24hours/elt2015/assignees{/user}","branches_url":"https://api.github.com/repos/yucao24hours/elt2015/branches{/branch}","tags_url":"https://api.github.com/repos/yucao24hours/elt2015/tags","blobs_url":"https://api.github.com/repos/yucao24hours/elt2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yucao24hours/elt2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yucao24hours/elt2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/yucao24hours/elt2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yucao24hours/elt2015/statuses/{sha}","languages_url":"https://api.github.com/repos/yucao24hours/elt2015/languages","stargazers_url":"https://api.github.com/repos/yucao24hours/elt2015/stargazers","contributors_url":"https://api.github.com/repos/yucao24hours/elt2015/contributors","subscribers_url":"https://api.github.com/repos/yucao24hours/elt2015/subscribers","subscription_url":"https://api.github.com/repos/yucao24hours/elt2015/subscription","commits_url":"https://api.github.com/repos/yucao24hours/elt2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/yucao24hours/elt2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/yucao24hours/elt2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/yucao24hours/elt2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/yucao24hours/elt2015/contents/{+path}","compare_url":"https://api.github.com/repos/yucao24hours/elt2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yucao24hours/elt2015/merges","archive_url":"https://api.github.com/repos/yucao24hours/elt2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yucao24hours/elt2015/downloads","issues_url":"https://api.github.com/repos/yucao24hours/elt2015/issues{/number}","pulls_url":"https://api.github.com/repos/yucao24hours/elt2015/pulls{/number}","milestones_url":"https://api.github.com/repos/yucao24hours/elt2015/milestones{/number}","notifications_url":"https://api.github.com/repos/yucao24hours/elt2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yucao24hours/elt2015/labels{/name}","releases_url":"https://api.github.com/repos/yucao24hours/elt2015/releases{/id}","created_at":"2015-06-08T11:59:56Z","updated_at":"2015-08-17T16:07:57Z","pushed_at":"2015-08-19T00:47:10Z","git_url":"git://github.com/yucao24hours/elt2015.git","ssh_url":"git@github.com:yucao24hours/elt2015.git","clone_url":"https://github.com/yucao24hours/elt2015.git","svn_url":"https://github.com/yucao24hours/elt2015","homepage":null,"size":980,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":0,"default_branch":"master"}},"base":{"label":"yucao24hours:master","ref":"master","sha":"68dbd5135e9611e789016f25f6916619302e13cd","user":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"repo":{"id":37064187,"name":"elt2015","full_name":"yucao24hours/elt2015","owner":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yucao24hours/elt2015","description":"","fork":false,"url":"https://api.github.com/repos/yucao24hours/elt2015","forks_url":"https://api.github.com/repos/yucao24hours/elt2015/forks","keys_url":"https://api.github.com/repos/yucao24hours/elt2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yucao24hours/elt2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yucao24hours/elt2015/teams","hooks_url":"https://api.github.com/repos/yucao24hours/elt2015/hooks","issue_events_url":"https://api.github.com/repos/yucao24hours/elt2015/issues/events{/number}","events_url":"https://api.github.com/repos/yucao24hours/elt2015/events","assignees_url":"https://api.github.com/repos/yucao24hours/elt2015/assignees{/user}","branches_url":"https://api.github.com/repos/yucao24hours/elt2015/branches{/branch}","tags_url":"https://api.github.com/repos/yucao24hours/elt2015/tags","blobs_url":"https://api.github.com/repos/yucao24hours/elt2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yucao24hours/elt2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yucao24hours/elt2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/yucao24hours/elt2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yucao24hours/elt2015/statuses/{sha}","languages_url":"https://api.github.com/repos/yucao24hours/elt2015/languages","stargazers_url":"https://api.github.com/repos/yucao24hours/elt2015/stargazers","contributors_url":"https://api.github.com/repos/yucao24hours/elt2015/contributors","subscribers_url":"https://api.github.com/repos/yucao24hours/elt2015/subscribers","subscription_url":"https://api.github.com/repos/yucao24hours/elt2015/subscription","commits_url":"https://api.github.com/repos/yucao24hours/elt2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/yucao24hours/elt2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/yucao24hours/elt2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/yucao24hours/elt2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/yucao24hours/elt2015/contents/{+path}","compare_url":"https://api.github.com/repos/yucao24hours/elt2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yucao24hours/elt2015/merges","archive_url":"https://api.github.com/repos/yucao24hours/elt2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yucao24hours/elt2015/downloads","issues_url":"https://api.github.com/repos/yucao24hours/elt2015/issues{/number}","pulls_url":"https://api.github.com/repos/yucao24hours/elt2015/pulls{/number}","milestones_url":"https://api.github.com/repos/yucao24hours/elt2015/milestones{/number}","notifications_url":"https://api.github.com/repos/yucao24hours/elt2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yucao24hours/elt2015/labels{/name}","releases_url":"https://api.github.com/repos/yucao24hours/elt2015/releases{/id}","created_at":"2015-06-08T11:59:56Z","updated_at":"2015-08-17T16:07:57Z","pushed_at":"2015-08-19T00:47:10Z","git_url":"git://github.com/yucao24hours/elt2015.git","ssh_url":"git@github.com:yucao24hours/elt2015.git","clone_url":"https://github.com/yucao24hours/elt2015.git","svn_url":"https://github.com/yucao24hours/elt2015","homepage":null,"size":980,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yucao24hours/elt2015/pulls/92"},"html":{"href":"https://github.com/yucao24hours/elt2015/pull/92"},"issue":{"href":"https://api.github.com/repos/yucao24hours/elt2015/issues/92"},"comments":{"href":"https://api.github.com/repos/yucao24hours/elt2015/issues/92/comments"},"review_comments":{"href":"https://api.github.com/repos/yucao24hours/elt2015/pulls/92/comments"},"review_comment":{"href":"https://api.github.com/repos/yucao24hours/elt2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yucao24hours/elt2015/pulls/92/commits"},"statuses":{"href":"https://api.github.com/repos/yucao24hours/elt2015/statuses/21b07194ca5c4358b04ca52c0287694783b57e03"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yucao24hours","id":1979779,"avatar_url":"https://avatars.githubusercontent.com/u/1979779?v=3","gravatar_id":"","url":"https://api.github.com/users/yucao24hours","html_url":"https://github.com/yucao24hours","followers_url":"https://api.github.com/users/yucao24hours/followers","following_url":"https://api.github.com/users/yucao24hours/following{/other_user}","gists_url":"https://api.github.com/users/yucao24hours/gists{/gist_id}","starred_url":"https://api.github.com/users/yucao24hours/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yucao24hours/subscriptions","organizations_url":"https://api.github.com/users/yucao24hours/orgs","repos_url":"https://api.github.com/users/yucao24hours/repos","events_url":"https://api.github.com/users/yucao24hours/events{/privacy}","received_events_url":"https://api.github.com/users/yucao24hours/received_events","type":"User","site_admin":false},"comments":7,"review_comments":7,"commits":7,"additions":93,"deletions":31,"changed_files":9}}