{"action":"closed","number":59,"pull_request":{"url":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/59","id":106491027,"html_url":"https://github.com/Na0ki/mikutter_slack/pull/59","diff_url":"https://github.com/Na0ki/mikutter_slack/pull/59.diff","patch_url":"https://github.com/Na0ki/mikutter_slack/pull/59.patch","issue_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/59","number":59,"state":"closed","locked":false,"title":"Message Modelはto_showのオーバーライドをやめ、descriptionは本文を正しく返す #58","user":{"login":"toshia","id":586906,"avatar_url":"https://avatars.githubusercontent.com/u/586906?v=3","gravatar_id":"","url":"https://api.github.com/users/toshia","html_url":"https://github.com/toshia","followers_url":"https://api.github.com/users/toshia/followers","following_url":"https://api.github.com/users/toshia/following{/other_user}","gists_url":"https://api.github.com/users/toshia/gists{/gist_id}","starred_url":"https://api.github.com/users/toshia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshia/subscriptions","organizations_url":"https://api.github.com/users/toshia/orgs","repos_url":"https://api.github.com/users/toshia/repos","events_url":"https://api.github.com/users/toshia/events{/privacy}","received_events_url":"https://api.github.com/users/toshia/received_events","type":"User","site_admin":false},"body":"Plugin::Slack::Entity::MessageEntity#to_show を、Plugin::Slack::Message#to_show がオーバーライドしてしまっていて、オーバーライドしたコードがアンエスケープを行っていなかった。\r\n\r\nPlugin::Slack::Entity::MessageEntity#to_show は、descriptionメソッドが「エスケープされた本文」を返すことを期待した実装になっているので、textフィールドの内容を返すdescriptionメソッドをPlugin::Slack::Messageに実装","created_at":"2017-02-16T10:04:33Z","updated_at":"2017-02-16T10:08:05Z","closed_at":"2017-02-16T10:08:05Z","merged_at":"2017-02-16T10:08:05Z","merge_commit_sha":"e4e8137084327e53409a38a3f81cd67905dde649","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/59/commits","review_comments_url":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/59/comments","review_comment_url":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/59/comments","statuses_url":"https://api.github.com/repos/Na0ki/mikutter_slack/statuses/557d20328ce1da7cb0779aa7ebfe249851dde06b","head":{"label":"toshia:invalid-escape","ref":"invalid-escape","sha":"557d20328ce1da7cb0779aa7ebfe249851dde06b","user":{"login":"toshia","id":586906,"avatar_url":"https://avatars.githubusercontent.com/u/586906?v=3","gravatar_id":"","url":"https://api.github.com/users/toshia","html_url":"https://github.com/toshia","followers_url":"https://api.github.com/users/toshia/followers","following_url":"https://api.github.com/users/toshia/following{/other_user}","gists_url":"https://api.github.com/users/toshia/gists{/gist_id}","starred_url":"https://api.github.com/users/toshia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshia/subscriptions","organizations_url":"https://api.github.com/users/toshia/orgs","repos_url":"https://api.github.com/users/toshia/repos","events_url":"https://api.github.com/users/toshia/events{/privacy}","received_events_url":"https://api.github.com/users/toshia/received_events","type":"User","site_admin":false},"repo":{"id":69105968,"name":"mikutter_slack","full_name":"toshia/mikutter_slack","owner":{"login":"toshia","id":586906,"avatar_url":"https://avatars.githubusercontent.com/u/586906?v=3","gravatar_id":"","url":"https://api.github.com/users/toshia","html_url":"https://github.com/toshia","followers_url":"https://api.github.com/users/toshia/followers","following_url":"https://api.github.com/users/toshia/following{/other_user}","gists_url":"https://api.github.com/users/toshia/gists{/gist_id}","starred_url":"https://api.github.com/users/toshia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toshia/subscriptions","organizations_url":"https://api.github.com/users/toshia/orgs","repos_url":"https://api.github.com/users/toshia/repos","events_url":"https://api.github.com/users/toshia/events{/privacy}","received_events_url":"https://api.github.com/users/toshia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/toshia/mikutter_slack","description":"Slack on mikutter","fork":true,"url":"https://api.github.com/repos/toshia/mikutter_slack","forks_url":"https://api.github.com/repos/toshia/mikutter_slack/forks","keys_url":"https://api.github.com/repos/toshia/mikutter_slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/toshia/mikutter_slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/toshia/mikutter_slack/teams","hooks_url":"https://api.github.com/repos/toshia/mikutter_slack/hooks","issue_events_url":"https://api.github.com/repos/toshia/mikutter_slack/issues/events{/number}","events_url":"https://api.github.com/repos/toshia/mikutter_slack/events","assignees_url":"https://api.github.com/repos/toshia/mikutter_slack/assignees{/user}","branches_url":"https://api.github.com/repos/toshia/mikutter_slack/branches{/branch}","tags_url":"https://api.github.com/repos/toshia/mikutter_slack/tags","blobs_url":"https://api.github.com/repos/toshia/mikutter_slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/toshia/mikutter_slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/toshia/mikutter_slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/toshia/mikutter_slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/toshia/mikutter_slack/statuses/{sha}","languages_url":"https://api.github.com/repos/toshia/mikutter_slack/languages","stargazers_url":"https://api.github.com/repos/toshia/mikutter_slack/stargazers","contributors_url":"https://api.github.com/repos/toshia/mikutter_slack/contributors","subscribers_url":"https://api.github.com/repos/toshia/mikutter_slack/subscribers","subscription_url":"https://api.github.com/repos/toshia/mikutter_slack/subscription","commits_url":"https://api.github.com/repos/toshia/mikutter_slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/toshia/mikutter_slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/toshia/mikutter_slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/toshia/mikutter_slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/toshia/mikutter_slack/contents/{+path}","compare_url":"https://api.github.com/repos/toshia/mikutter_slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/toshia/mikutter_slack/merges","archive_url":"https://api.github.com/repos/toshia/mikutter_slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/toshia/mikutter_slack/downloads","issues_url":"https://api.github.com/repos/toshia/mikutter_slack/issues{/number}","pulls_url":"https://api.github.com/repos/toshia/mikutter_slack/pulls{/number}","milestones_url":"https://api.github.com/repos/toshia/mikutter_slack/milestones{/number}","notifications_url":"https://api.github.com/repos/toshia/mikutter_slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/toshia/mikutter_slack/labels{/name}","releases_url":"https://api.github.com/repos/toshia/mikutter_slack/releases{/id}","deployments_url":"https://api.github.com/repos/toshia/mikutter_slack/deployments","created_at":"2016-09-24T14:08:01Z","updated_at":"2016-09-24T14:08:02Z","pushed_at":"2017-02-16T10:00:12Z","git_url":"git://github.com/toshia/mikutter_slack.git","ssh_url":"git@github.com:toshia/mikutter_slack.git","clone_url":"https://github.com/toshia/mikutter_slack.git","svn_url":"https://github.com/toshia/mikutter_slack","homepage":null,"size":223,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Na0ki:master","ref":"master","sha":"5e01ecb4177a6a129720a725b21b10dbe2b06f9b","user":{"login":"Na0ki","id":5732969,"avatar_url":"https://avatars.githubusercontent.com/u/5732969?v=3","gravatar_id":"","url":"https://api.github.com/users/Na0ki","html_url":"https://github.com/Na0ki","followers_url":"https://api.github.com/users/Na0ki/followers","following_url":"https://api.github.com/users/Na0ki/following{/other_user}","gists_url":"https://api.github.com/users/Na0ki/gists{/gist_id}","starred_url":"https://api.github.com/users/Na0ki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Na0ki/subscriptions","organizations_url":"https://api.github.com/users/Na0ki/orgs","repos_url":"https://api.github.com/users/Na0ki/repos","events_url":"https://api.github.com/users/Na0ki/events{/privacy}","received_events_url":"https://api.github.com/users/Na0ki/received_events","type":"User","site_admin":false},"repo":{"id":67106836,"name":"mikutter_slack","full_name":"Na0ki/mikutter_slack","owner":{"login":"Na0ki","id":5732969,"avatar_url":"https://avatars.githubusercontent.com/u/5732969?v=3","gravatar_id":"","url":"https://api.github.com/users/Na0ki","html_url":"https://github.com/Na0ki","followers_url":"https://api.github.com/users/Na0ki/followers","following_url":"https://api.github.com/users/Na0ki/following{/other_user}","gists_url":"https://api.github.com/users/Na0ki/gists{/gist_id}","starred_url":"https://api.github.com/users/Na0ki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Na0ki/subscriptions","organizations_url":"https://api.github.com/users/Na0ki/orgs","repos_url":"https://api.github.com/users/Na0ki/repos","events_url":"https://api.github.com/users/Na0ki/events{/privacy}","received_events_url":"https://api.github.com/users/Na0ki/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Na0ki/mikutter_slack","description":"Slack on mikutter","fork":false,"url":"https://api.github.com/repos/Na0ki/mikutter_slack","forks_url":"https://api.github.com/repos/Na0ki/mikutter_slack/forks","keys_url":"https://api.github.com/repos/Na0ki/mikutter_slack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Na0ki/mikutter_slack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Na0ki/mikutter_slack/teams","hooks_url":"https://api.github.com/repos/Na0ki/mikutter_slack/hooks","issue_events_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/events{/number}","events_url":"https://api.github.com/repos/Na0ki/mikutter_slack/events","assignees_url":"https://api.github.com/repos/Na0ki/mikutter_slack/assignees{/user}","branches_url":"https://api.github.com/repos/Na0ki/mikutter_slack/branches{/branch}","tags_url":"https://api.github.com/repos/Na0ki/mikutter_slack/tags","blobs_url":"https://api.github.com/repos/Na0ki/mikutter_slack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Na0ki/mikutter_slack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Na0ki/mikutter_slack/git/refs{/sha}","trees_url":"https://api.github.com/repos/Na0ki/mikutter_slack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Na0ki/mikutter_slack/statuses/{sha}","languages_url":"https://api.github.com/repos/Na0ki/mikutter_slack/languages","stargazers_url":"https://api.github.com/repos/Na0ki/mikutter_slack/stargazers","contributors_url":"https://api.github.com/repos/Na0ki/mikutter_slack/contributors","subscribers_url":"https://api.github.com/repos/Na0ki/mikutter_slack/subscribers","subscription_url":"https://api.github.com/repos/Na0ki/mikutter_slack/subscription","commits_url":"https://api.github.com/repos/Na0ki/mikutter_slack/commits{/sha}","git_commits_url":"https://api.github.com/repos/Na0ki/mikutter_slack/git/commits{/sha}","comments_url":"https://api.github.com/repos/Na0ki/mikutter_slack/comments{/number}","issue_comment_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/comments{/number}","contents_url":"https://api.github.com/repos/Na0ki/mikutter_slack/contents/{+path}","compare_url":"https://api.github.com/repos/Na0ki/mikutter_slack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Na0ki/mikutter_slack/merges","archive_url":"https://api.github.com/repos/Na0ki/mikutter_slack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Na0ki/mikutter_slack/downloads","issues_url":"https://api.github.com/repos/Na0ki/mikutter_slack/issues{/number}","pulls_url":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls{/number}","milestones_url":"https://api.github.com/repos/Na0ki/mikutter_slack/milestones{/number}","notifications_url":"https://api.github.com/repos/Na0ki/mikutter_slack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Na0ki/mikutter_slack/labels{/name}","releases_url":"https://api.github.com/repos/Na0ki/mikutter_slack/releases{/id}","deployments_url":"https://api.github.com/repos/Na0ki/mikutter_slack/deployments","created_at":"2016-09-01T07:03:25Z","updated_at":"2017-02-07T16:16:26Z","pushed_at":"2017-02-16T10:08:05Z","git_url":"git://github.com/Na0ki/mikutter_slack.git","ssh_url":"git@github.com:Na0ki/mikutter_slack.git","clone_url":"https://github.com/Na0ki/mikutter_slack.git","svn_url":"https://github.com/Na0ki/mikutter_slack","homepage":null,"size":232,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":11,"forks":3,"open_issues":11,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/59"},"html":{"href":"https://github.com/Na0ki/mikutter_slack/pull/59"},"issue":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/59"},"comments":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/Na0ki/mikutter_slack/statuses/557d20328ce1da7cb0779aa7ebfe249851dde06b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Na0ki","id":5732969,"avatar_url":"https://avatars.githubusercontent.com/u/5732969?v=3","gravatar_id":"","url":"https://api.github.com/users/Na0ki","html_url":"https://github.com/Na0ki","followers_url":"https://api.github.com/users/Na0ki/followers","following_url":"https://api.github.com/users/Na0ki/following{/other_user}","gists_url":"https://api.github.com/users/Na0ki/gists{/gist_id}","starred_url":"https://api.github.com/users/Na0ki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Na0ki/subscriptions","organizations_url":"https://api.github.com/users/Na0ki/orgs","repos_url":"https://api.github.com/users/Na0ki/repos","events_url":"https://api.github.com/users/Na0ki/events{/privacy}","received_events_url":"https://api.github.com/users/Na0ki/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"Na0ki"}}