{"action":"created","comment":{"url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/comments/47830612","id":47830612,"diff_hunk":"@@ -0,0 +1,42 @@\n+#  -*- coding: utf-8 -*-\n+#  cstopic.rb\n+#  Author: slackR\n+#  ------------------------\n+#  A Cinch plugin that generates CS research topics for yossarian-bot.\n+#  ------------------------\n+#  This code is licensed by slackR under the MIT License.\n+#  http://opensource.org/licenses/MIT\n+\n+require 'research_topicgen'\n+\n+require_relative 'yossarian_plugin'\n+\n+class CSTopic < YossarianPlugin\n+\tinclude Cinch::Plugin\n+\tuse_blacklist\n+\n+\tdef usage\n+\t  '!cstopic <cs|system|crypto> - Generate Worthy Research Topics.'\n+\tend\n+\n+\tmatch /topic (.+)/, method: :cstopic\n+\n+\tdef match?(cmd)\n+\t\tcmd =~ /^(!)?cstopic$/\n+\tend\n+\n+\tdef cstopic(m, search)\n+","path":"plugins/cstopic.rb","position":29,"original_position":29,"commit_id":"71d361904bd2e33fa53cf9882c34405dd281bfc2","original_commit_id":"71d361904bd2e33fa53cf9882c34405dd281bfc2","user":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"body":"Remove extra l","created_at":"2015-12-16T20:40:23Z","updated_at":"2015-12-16T20:40:23Z","html_url":"https://github.com/woodruffw/yossarian-bot/pull/17#discussion_r47830612","pull_request_url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/comments/47830612"},"html":{"href":"https://github.com/woodruffw/yossarian-bot/pull/17#discussion_r47830612"},"pull_request":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17","id":53170276,"html_url":"https://github.com/woodruffw/yossarian-bot/pull/17","diff_url":"https://github.com/woodruffw/yossarian-bot/pull/17.diff","patch_url":"https://github.com/woodruffw/yossarian-bot/pull/17.patch","issue_url":"https://api.github.com/repos/woodruffw/yossarian-bot/issues/17","number":17,"state":"open","locked":false,"title":"New Plugin Added","user":{"login":"bdt0-rocklee","id":8173131,"avatar_url":"https://avatars.githubusercontent.com/u/8173131?v=3","gravatar_id":"","url":"https://api.github.com/users/bdt0-rocklee","html_url":"https://github.com/bdt0-rocklee","followers_url":"https://api.github.com/users/bdt0-rocklee/followers","following_url":"https://api.github.com/users/bdt0-rocklee/following{/other_user}","gists_url":"https://api.github.com/users/bdt0-rocklee/gists{/gist_id}","starred_url":"https://api.github.com/users/bdt0-rocklee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdt0-rocklee/subscriptions","organizations_url":"https://api.github.com/users/bdt0-rocklee/orgs","repos_url":"https://api.github.com/users/bdt0-rocklee/repos","events_url":"https://api.github.com/users/bdt0-rocklee/events{/privacy}","received_events_url":"https://api.github.com/users/bdt0-rocklee/received_events","type":"User","site_admin":false},"body":"CRTG(CS Research Topic Generator) plugin added. Updated the Commands list, Version file.","created_at":"2015-12-09T20:04:24Z","updated_at":"2015-12-16T20:40:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ca68b31aeed11ec5b770052c44945f0490678730","assignee":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17/commits","review_comments_url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17/comments","review_comment_url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/woodruffw/yossarian-bot/issues/17/comments","statuses_url":"https://api.github.com/repos/woodruffw/yossarian-bot/statuses/71d361904bd2e33fa53cf9882c34405dd281bfc2","head":{"label":"bdt0-rocklee:master","ref":"master","sha":"71d361904bd2e33fa53cf9882c34405dd281bfc2","user":{"login":"bdt0-rocklee","id":8173131,"avatar_url":"https://avatars.githubusercontent.com/u/8173131?v=3","gravatar_id":"","url":"https://api.github.com/users/bdt0-rocklee","html_url":"https://github.com/bdt0-rocklee","followers_url":"https://api.github.com/users/bdt0-rocklee/followers","following_url":"https://api.github.com/users/bdt0-rocklee/following{/other_user}","gists_url":"https://api.github.com/users/bdt0-rocklee/gists{/gist_id}","starred_url":"https://api.github.com/users/bdt0-rocklee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdt0-rocklee/subscriptions","organizations_url":"https://api.github.com/users/bdt0-rocklee/orgs","repos_url":"https://api.github.com/users/bdt0-rocklee/repos","events_url":"https://api.github.com/users/bdt0-rocklee/events{/privacy}","received_events_url":"https://api.github.com/users/bdt0-rocklee/received_events","type":"User","site_admin":false},"repo":{"id":47715130,"name":"yossarian-bot","full_name":"bdt0-rocklee/yossarian-bot","owner":{"login":"bdt0-rocklee","id":8173131,"avatar_url":"https://avatars.githubusercontent.com/u/8173131?v=3","gravatar_id":"","url":"https://api.github.com/users/bdt0-rocklee","html_url":"https://github.com/bdt0-rocklee","followers_url":"https://api.github.com/users/bdt0-rocklee/followers","following_url":"https://api.github.com/users/bdt0-rocklee/following{/other_user}","gists_url":"https://api.github.com/users/bdt0-rocklee/gists{/gist_id}","starred_url":"https://api.github.com/users/bdt0-rocklee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdt0-rocklee/subscriptions","organizations_url":"https://api.github.com/users/bdt0-rocklee/orgs","repos_url":"https://api.github.com/users/bdt0-rocklee/repos","events_url":"https://api.github.com/users/bdt0-rocklee/events{/privacy}","received_events_url":"https://api.github.com/users/bdt0-rocklee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bdt0-rocklee/yossarian-bot","description":"An IRC bot with a bunch of features.","fork":true,"url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot","forks_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/forks","keys_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/teams","hooks_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/hooks","issue_events_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/issues/events{/number}","events_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/events","assignees_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/assignees{/user}","branches_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/branches{/branch}","tags_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/tags","blobs_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/languages","stargazers_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/stargazers","contributors_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/contributors","subscribers_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/subscribers","subscription_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/subscription","commits_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/contents/{+path}","compare_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/merges","archive_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/downloads","issues_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/issues{/number}","pulls_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/labels{/name}","releases_url":"https://api.github.com/repos/bdt0-rocklee/yossarian-bot/releases{/id}","created_at":"2015-12-09T19:52:15Z","updated_at":"2015-12-09T19:52:16Z","pushed_at":"2015-12-16T20:39:35Z","git_url":"git://github.com/bdt0-rocklee/yossarian-bot.git","ssh_url":"git@github.com:bdt0-rocklee/yossarian-bot.git","clone_url":"https://github.com/bdt0-rocklee/yossarian-bot.git","svn_url":"https://github.com/bdt0-rocklee/yossarian-bot","homepage":"","size":470,"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":"woodruffw:master","ref":"master","sha":"f7ec1c8bf4654a83645e496678b77da332be77a5","user":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"repo":{"id":28700798,"name":"yossarian-bot","full_name":"woodruffw/yossarian-bot","owner":{"login":"woodruffw","id":3059210,"avatar_url":"https://avatars.githubusercontent.com/u/3059210?v=3","gravatar_id":"","url":"https://api.github.com/users/woodruffw","html_url":"https://github.com/woodruffw","followers_url":"https://api.github.com/users/woodruffw/followers","following_url":"https://api.github.com/users/woodruffw/following{/other_user}","gists_url":"https://api.github.com/users/woodruffw/gists{/gist_id}","starred_url":"https://api.github.com/users/woodruffw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/woodruffw/subscriptions","organizations_url":"https://api.github.com/users/woodruffw/orgs","repos_url":"https://api.github.com/users/woodruffw/repos","events_url":"https://api.github.com/users/woodruffw/events{/privacy}","received_events_url":"https://api.github.com/users/woodruffw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/woodruffw/yossarian-bot","description":"An IRC bot with a bunch of features.","fork":false,"url":"https://api.github.com/repos/woodruffw/yossarian-bot","forks_url":"https://api.github.com/repos/woodruffw/yossarian-bot/forks","keys_url":"https://api.github.com/repos/woodruffw/yossarian-bot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/woodruffw/yossarian-bot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/woodruffw/yossarian-bot/teams","hooks_url":"https://api.github.com/repos/woodruffw/yossarian-bot/hooks","issue_events_url":"https://api.github.com/repos/woodruffw/yossarian-bot/issues/events{/number}","events_url":"https://api.github.com/repos/woodruffw/yossarian-bot/events","assignees_url":"https://api.github.com/repos/woodruffw/yossarian-bot/assignees{/user}","branches_url":"https://api.github.com/repos/woodruffw/yossarian-bot/branches{/branch}","tags_url":"https://api.github.com/repos/woodruffw/yossarian-bot/tags","blobs_url":"https://api.github.com/repos/woodruffw/yossarian-bot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/woodruffw/yossarian-bot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/woodruffw/yossarian-bot/git/refs{/sha}","trees_url":"https://api.github.com/repos/woodruffw/yossarian-bot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/woodruffw/yossarian-bot/statuses/{sha}","languages_url":"https://api.github.com/repos/woodruffw/yossarian-bot/languages","stargazers_url":"https://api.github.com/repos/woodruffw/yossarian-bot/stargazers","contributors_url":"https://api.github.com/repos/woodruffw/yossarian-bot/contributors","subscribers_url":"https://api.github.com/repos/woodruffw/yossarian-bot/subscribers","subscription_url":"https://api.github.com/repos/woodruffw/yossarian-bot/subscription","commits_url":"https://api.github.com/repos/woodruffw/yossarian-bot/commits{/sha}","git_commits_url":"https://api.github.com/repos/woodruffw/yossarian-bot/git/commits{/sha}","comments_url":"https://api.github.com/repos/woodruffw/yossarian-bot/comments{/number}","issue_comment_url":"https://api.github.com/repos/woodruffw/yossarian-bot/issues/comments{/number}","contents_url":"https://api.github.com/repos/woodruffw/yossarian-bot/contents/{+path}","compare_url":"https://api.github.com/repos/woodruffw/yossarian-bot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/woodruffw/yossarian-bot/merges","archive_url":"https://api.github.com/repos/woodruffw/yossarian-bot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/woodruffw/yossarian-bot/downloads","issues_url":"https://api.github.com/repos/woodruffw/yossarian-bot/issues{/number}","pulls_url":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls{/number}","milestones_url":"https://api.github.com/repos/woodruffw/yossarian-bot/milestones{/number}","notifications_url":"https://api.github.com/repos/woodruffw/yossarian-bot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/woodruffw/yossarian-bot/labels{/name}","releases_url":"https://api.github.com/repos/woodruffw/yossarian-bot/releases{/id}","created_at":"2015-01-02T01:58:45Z","updated_at":"2015-12-15T19:49:14Z","pushed_at":"2015-12-16T20:39:35Z","git_url":"git://github.com/woodruffw/yossarian-bot.git","ssh_url":"git@github.com:woodruffw/yossarian-bot.git","clone_url":"https://github.com/woodruffw/yossarian-bot.git","svn_url":"https://github.com/woodruffw/yossarian-bot","homepage":"","size":471,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17"},"html":{"href":"https://github.com/woodruffw/yossarian-bot/pull/17"},"issue":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/issues/17"},"comments":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/woodruffw/yossarian-bot/statuses/71d361904bd2e33fa53cf9882c34405dd281bfc2"}}}}