{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/21","id":69060414,"html_url":"https://github.com/rosylilly/ruboty-slack_rtm/pull/21","diff_url":"https://github.com/rosylilly/ruboty-slack_rtm/pull/21.diff","patch_url":"https://github.com/rosylilly/ruboty-slack_rtm/pull/21.patch","issue_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues/21","number":21,"state":"open","locked":false,"title":"Apply resolve_mention! logic to attachments","user":{"login":"sorah","id":29440,"avatar_url":"https://avatars.githubusercontent.com/u/29440?v=3","gravatar_id":"","url":"https://api.github.com/users/sorah","html_url":"https://github.com/sorah","followers_url":"https://api.github.com/users/sorah/followers","following_url":"https://api.github.com/users/sorah/following{/other_user}","gists_url":"https://api.github.com/users/sorah/gists{/gist_id}","starred_url":"https://api.github.com/users/sorah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorah/subscriptions","organizations_url":"https://api.github.com/users/sorah/orgs","repos_url":"https://api.github.com/users/sorah/repos","events_url":"https://api.github.com/users/sorah/events{/privacy}","received_events_url":"https://api.github.com/users/sorah/received_events","type":"User","site_admin":false},"body":"- resolve_mention! is now extract_mention and it returns plaintext and mentions.","created_at":"2016-05-05T19:54:17Z","updated_at":"2016-05-05T19:54:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/21/commits","review_comments_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/21/comments","review_comment_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues/21/comments","statuses_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/statuses/19bf8b45f8565417096e09e001cf3d74265acf18","head":{"label":"sorah:apply-mention-resolve-attach","ref":"apply-mention-resolve-attach","sha":"19bf8b45f8565417096e09e001cf3d74265acf18","user":{"login":"sorah","id":29440,"avatar_url":"https://avatars.githubusercontent.com/u/29440?v=3","gravatar_id":"","url":"https://api.github.com/users/sorah","html_url":"https://github.com/sorah","followers_url":"https://api.github.com/users/sorah/followers","following_url":"https://api.github.com/users/sorah/following{/other_user}","gists_url":"https://api.github.com/users/sorah/gists{/gist_id}","starred_url":"https://api.github.com/users/sorah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorah/subscriptions","organizations_url":"https://api.github.com/users/sorah/orgs","repos_url":"https://api.github.com/users/sorah/repos","events_url":"https://api.github.com/users/sorah/events{/privacy}","received_events_url":"https://api.github.com/users/sorah/received_events","type":"User","site_admin":false},"repo":{"id":32743055,"name":"ruboty-slack_rtm","full_name":"sorah/ruboty-slack_rtm","owner":{"login":"sorah","id":29440,"avatar_url":"https://avatars.githubusercontent.com/u/29440?v=3","gravatar_id":"","url":"https://api.github.com/users/sorah","html_url":"https://github.com/sorah","followers_url":"https://api.github.com/users/sorah/followers","following_url":"https://api.github.com/users/sorah/following{/other_user}","gists_url":"https://api.github.com/users/sorah/gists{/gist_id}","starred_url":"https://api.github.com/users/sorah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorah/subscriptions","organizations_url":"https://api.github.com/users/sorah/orgs","repos_url":"https://api.github.com/users/sorah/repos","events_url":"https://api.github.com/users/sorah/events{/privacy}","received_events_url":"https://api.github.com/users/sorah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sorah/ruboty-slack_rtm","description":"Slack(real time api) adapter for ruboty.","fork":true,"url":"https://api.github.com/repos/sorah/ruboty-slack_rtm","forks_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/forks","keys_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/teams","hooks_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/hooks","issue_events_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/issues/events{/number}","events_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/events","assignees_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/assignees{/user}","branches_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/branches{/branch}","tags_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/tags","blobs_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/git/refs{/sha}","trees_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/statuses/{sha}","languages_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/languages","stargazers_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/stargazers","contributors_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/contributors","subscribers_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/subscribers","subscription_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/subscription","commits_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/commits{/sha}","git_commits_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/git/commits{/sha}","comments_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/comments{/number}","issue_comment_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/issues/comments{/number}","contents_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/contents/{+path}","compare_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/merges","archive_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/downloads","issues_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/issues{/number}","pulls_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/pulls{/number}","milestones_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/milestones{/number}","notifications_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/labels{/name}","releases_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/releases{/id}","deployments_url":"https://api.github.com/repos/sorah/ruboty-slack_rtm/deployments","created_at":"2015-03-23T16:05:14Z","updated_at":"2015-03-23T16:05:14Z","pushed_at":"2016-05-05T19:52:53Z","git_url":"git://github.com/sorah/ruboty-slack_rtm.git","ssh_url":"git@github.com:sorah/ruboty-slack_rtm.git","clone_url":"https://github.com/sorah/ruboty-slack_rtm.git","svn_url":"https://github.com/sorah/ruboty-slack_rtm","homepage":"https://github.com/rosylilly/ruboty-slack_rtm","size":51,"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":"rosylilly:master","ref":"master","sha":"358467380e22a3ef73314e7d2f3fa2614f448ef8","user":{"login":"rosylilly","id":29084,"avatar_url":"https://avatars.githubusercontent.com/u/29084?v=3","gravatar_id":"","url":"https://api.github.com/users/rosylilly","html_url":"https://github.com/rosylilly","followers_url":"https://api.github.com/users/rosylilly/followers","following_url":"https://api.github.com/users/rosylilly/following{/other_user}","gists_url":"https://api.github.com/users/rosylilly/gists{/gist_id}","starred_url":"https://api.github.com/users/rosylilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosylilly/subscriptions","organizations_url":"https://api.github.com/users/rosylilly/orgs","repos_url":"https://api.github.com/users/rosylilly/repos","events_url":"https://api.github.com/users/rosylilly/events{/privacy}","received_events_url":"https://api.github.com/users/rosylilly/received_events","type":"User","site_admin":false},"repo":{"id":29466006,"name":"ruboty-slack_rtm","full_name":"rosylilly/ruboty-slack_rtm","owner":{"login":"rosylilly","id":29084,"avatar_url":"https://avatars.githubusercontent.com/u/29084?v=3","gravatar_id":"","url":"https://api.github.com/users/rosylilly","html_url":"https://github.com/rosylilly","followers_url":"https://api.github.com/users/rosylilly/followers","following_url":"https://api.github.com/users/rosylilly/following{/other_user}","gists_url":"https://api.github.com/users/rosylilly/gists{/gist_id}","starred_url":"https://api.github.com/users/rosylilly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosylilly/subscriptions","organizations_url":"https://api.github.com/users/rosylilly/orgs","repos_url":"https://api.github.com/users/rosylilly/repos","events_url":"https://api.github.com/users/rosylilly/events{/privacy}","received_events_url":"https://api.github.com/users/rosylilly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rosylilly/ruboty-slack_rtm","description":"Slack(real time api) adapter for ruboty.","fork":false,"url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm","forks_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/forks","keys_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/teams","hooks_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/hooks","issue_events_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues/events{/number}","events_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/events","assignees_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/assignees{/user}","branches_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/branches{/branch}","tags_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/tags","blobs_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/git/refs{/sha}","trees_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/statuses/{sha}","languages_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/languages","stargazers_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/stargazers","contributors_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/contributors","subscribers_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/subscribers","subscription_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/subscription","commits_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/commits{/sha}","git_commits_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/git/commits{/sha}","comments_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/comments{/number}","issue_comment_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues/comments{/number}","contents_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/contents/{+path}","compare_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/merges","archive_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/downloads","issues_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues{/number}","pulls_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls{/number}","milestones_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/milestones{/number}","notifications_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/labels{/name}","releases_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/releases{/id}","deployments_url":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/deployments","created_at":"2015-01-19T10:39:13Z","updated_at":"2016-04-26T13:09:01Z","pushed_at":"2016-05-05T19:43:59Z","git_url":"git://github.com/rosylilly/ruboty-slack_rtm.git","ssh_url":"git@github.com:rosylilly/ruboty-slack_rtm.git","clone_url":"https://github.com/rosylilly/ruboty-slack_rtm.git","svn_url":"https://github.com/rosylilly/ruboty-slack_rtm","homepage":"https://github.com/rosylilly/ruboty-slack_rtm","size":51,"stargazers_count":17,"watchers_count":17,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":1,"forks":11,"open_issues":1,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/21"},"html":{"href":"https://github.com/rosylilly/ruboty-slack_rtm/pull/21"},"issue":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues/21"},"comments":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/rosylilly/ruboty-slack_rtm/statuses/19bf8b45f8565417096e09e001cf3d74265acf18"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":16,"changed_files":1}}