{"action":"created","comment":{"url":"https://api.github.com/repos/jk-gan/ADM/pulls/comments/85660842","pull_request_review_id":6364608,"id":85660842,"diff_hunk":"@@ -0,0 +1,49 @@\n+class Aria2Class {\n+\n+  constructor() {\n+    this.exec  = require('child_process').exec\n+    this.WebSocket = require('ws');\n+    this.isClosed = false;\n+  }\n+\n+  start() {\n+    this.child = this.exec(\"aria2\\\\aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all\");\n+    this.socket = new this.WebSocket('ws://localhost:6800/jsonrpc')\n+\n+    // for debuging\n+    this.child.stdout.on('data', (data) => {\n+                      console.log(data.toString());\n+                    });\n+\n+    this.child.on('exit', () => {\n+      this.isClosed = true;\n+    })\n+\n+    this.socket.on('close', () => {\n+      console.log(\"close\")\n+    });\n+\n+    this.socket.on('message', function incoming(message) {\n+      let messageObj = JSON.parse(message)\n+      console.log(messageObj);\n+    });\n+\n+    this.socket.on('open', () => {\n+      console.log(\"open\")","path":"aria2/aria2Module.js","position":32,"original_position":32,"commit_id":"b413653f94e96499b61a2d9616d45c6601430732","original_commit_id":"b413653f94e96499b61a2d9616d45c6601430732","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Missing semicolon.","created_at":"2016-10-30T14:24:57Z","updated_at":"2016-10-30T14:24:57Z","html_url":"https://github.com/jk-gan/ADM/pull/10#discussion_r85660842","pull_request_url":"https://api.github.com/repos/jk-gan/ADM/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/jk-gan/ADM/pulls/comments/85660842"},"html":{"href":"https://github.com/jk-gan/ADM/pull/10#discussion_r85660842"},"pull_request":{"href":"https://api.github.com/repos/jk-gan/ADM/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/jk-gan/ADM/pulls/10","id":91523203,"html_url":"https://github.com/jk-gan/ADM/pull/10","diff_url":"https://github.com/jk-gan/ADM/pull/10.diff","patch_url":"https://github.com/jk-gan/ADM/pull/10.patch","issue_url":"https://api.github.com/repos/jk-gan/ADM/issues/10","number":10,"state":"open","locked":false,"title":"Aria integration","user":{"login":"plwai","id":9108726,"avatar_url":"https://avatars.githubusercontent.com/u/9108726?v=3","gravatar_id":"","url":"https://api.github.com/users/plwai","html_url":"https://github.com/plwai","followers_url":"https://api.github.com/users/plwai/followers","following_url":"https://api.github.com/users/plwai/following{/other_user}","gists_url":"https://api.github.com/users/plwai/gists{/gist_id}","starred_url":"https://api.github.com/users/plwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plwai/subscriptions","organizations_url":"https://api.github.com/users/plwai/orgs","repos_url":"https://api.github.com/users/plwai/repos","events_url":"https://api.github.com/users/plwai/events{/privacy}","received_events_url":"https://api.github.com/users/plwai/received_events","type":"User","site_admin":false},"body":"Basic start and close integration. #7 \r\n","created_at":"2016-10-30T14:24:46Z","updated_at":"2016-10-30T14:24:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d512b26281138a40a07b5c415c9c6a82d4ffc5a","assignee":{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},"assignees":[{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},{"login":"plwai","id":9108726,"avatar_url":"https://avatars.githubusercontent.com/u/9108726?v=3","gravatar_id":"","url":"https://api.github.com/users/plwai","html_url":"https://github.com/plwai","followers_url":"https://api.github.com/users/plwai/followers","following_url":"https://api.github.com/users/plwai/following{/other_user}","gists_url":"https://api.github.com/users/plwai/gists{/gist_id}","starred_url":"https://api.github.com/users/plwai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plwai/subscriptions","organizations_url":"https://api.github.com/users/plwai/orgs","repos_url":"https://api.github.com/users/plwai/repos","events_url":"https://api.github.com/users/plwai/events{/privacy}","received_events_url":"https://api.github.com/users/plwai/received_events","type":"User","site_admin":false},{"login":"Xerra1","id":13793860,"avatar_url":"https://avatars.githubusercontent.com/u/13793860?v=3","gravatar_id":"","url":"https://api.github.com/users/Xerra1","html_url":"https://github.com/Xerra1","followers_url":"https://api.github.com/users/Xerra1/followers","following_url":"https://api.github.com/users/Xerra1/following{/other_user}","gists_url":"https://api.github.com/users/Xerra1/gists{/gist_id}","starred_url":"https://api.github.com/users/Xerra1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xerra1/subscriptions","organizations_url":"https://api.github.com/users/Xerra1/orgs","repos_url":"https://api.github.com/users/Xerra1/repos","events_url":"https://api.github.com/users/Xerra1/events{/privacy}","received_events_url":"https://api.github.com/users/Xerra1/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/jk-gan/ADM/milestones/1","html_url":"https://github.com/jk-gan/ADM/milestones/0.1.0","labels_url":"https://api.github.com/repos/jk-gan/ADM/milestones/1/labels","id":2072284,"number":1,"title":"0.1.0","description":"","creator":{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":3,"state":"open","created_at":"2016-10-16T03:42:47Z","updated_at":"2016-10-30T14:24:46Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jk-gan/ADM/pulls/10/commits","review_comments_url":"https://api.github.com/repos/jk-gan/ADM/pulls/10/comments","review_comment_url":"https://api.github.com/repos/jk-gan/ADM/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jk-gan/ADM/issues/10/comments","statuses_url":"https://api.github.com/repos/jk-gan/ADM/statuses/b413653f94e96499b61a2d9616d45c6601430732","head":{"label":"jk-gan:aria-integration","ref":"aria-integration","sha":"b413653f94e96499b61a2d9616d45c6601430732","user":{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},"repo":{"id":70993376,"name":"ADM","full_name":"jk-gan/ADM","owner":{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jk-gan/ADM","description":"Aria2 Download Manager","fork":false,"url":"https://api.github.com/repos/jk-gan/ADM","forks_url":"https://api.github.com/repos/jk-gan/ADM/forks","keys_url":"https://api.github.com/repos/jk-gan/ADM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jk-gan/ADM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jk-gan/ADM/teams","hooks_url":"https://api.github.com/repos/jk-gan/ADM/hooks","issue_events_url":"https://api.github.com/repos/jk-gan/ADM/issues/events{/number}","events_url":"https://api.github.com/repos/jk-gan/ADM/events","assignees_url":"https://api.github.com/repos/jk-gan/ADM/assignees{/user}","branches_url":"https://api.github.com/repos/jk-gan/ADM/branches{/branch}","tags_url":"https://api.github.com/repos/jk-gan/ADM/tags","blobs_url":"https://api.github.com/repos/jk-gan/ADM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jk-gan/ADM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jk-gan/ADM/git/refs{/sha}","trees_url":"https://api.github.com/repos/jk-gan/ADM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jk-gan/ADM/statuses/{sha}","languages_url":"https://api.github.com/repos/jk-gan/ADM/languages","stargazers_url":"https://api.github.com/repos/jk-gan/ADM/stargazers","contributors_url":"https://api.github.com/repos/jk-gan/ADM/contributors","subscribers_url":"https://api.github.com/repos/jk-gan/ADM/subscribers","subscription_url":"https://api.github.com/repos/jk-gan/ADM/subscription","commits_url":"https://api.github.com/repos/jk-gan/ADM/commits{/sha}","git_commits_url":"https://api.github.com/repos/jk-gan/ADM/git/commits{/sha}","comments_url":"https://api.github.com/repos/jk-gan/ADM/comments{/number}","issue_comment_url":"https://api.github.com/repos/jk-gan/ADM/issues/comments{/number}","contents_url":"https://api.github.com/repos/jk-gan/ADM/contents/{+path}","compare_url":"https://api.github.com/repos/jk-gan/ADM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jk-gan/ADM/merges","archive_url":"https://api.github.com/repos/jk-gan/ADM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jk-gan/ADM/downloads","issues_url":"https://api.github.com/repos/jk-gan/ADM/issues{/number}","pulls_url":"https://api.github.com/repos/jk-gan/ADM/pulls{/number}","milestones_url":"https://api.github.com/repos/jk-gan/ADM/milestones{/number}","notifications_url":"https://api.github.com/repos/jk-gan/ADM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jk-gan/ADM/labels{/name}","releases_url":"https://api.github.com/repos/jk-gan/ADM/releases{/id}","deployments_url":"https://api.github.com/repos/jk-gan/ADM/deployments","created_at":"2016-10-15T14:41:41Z","updated_at":"2016-10-15T14:42:15Z","pushed_at":"2016-10-30T14:24:46Z","git_url":"git://github.com/jk-gan/ADM.git","ssh_url":"git@github.com:jk-gan/ADM.git","clone_url":"https://github.com/jk-gan/ADM.git","svn_url":"https://github.com/jk-gan/ADM","homepage":null,"size":427,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"base":{"label":"jk-gan:master","ref":"master","sha":"d44a66b942a77529fcdb067f8cc2cb6980faa41a","user":{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},"repo":{"id":70993376,"name":"ADM","full_name":"jk-gan/ADM","owner":{"login":"jk-gan","id":7545747,"avatar_url":"https://avatars.githubusercontent.com/u/7545747?v=3","gravatar_id":"","url":"https://api.github.com/users/jk-gan","html_url":"https://github.com/jk-gan","followers_url":"https://api.github.com/users/jk-gan/followers","following_url":"https://api.github.com/users/jk-gan/following{/other_user}","gists_url":"https://api.github.com/users/jk-gan/gists{/gist_id}","starred_url":"https://api.github.com/users/jk-gan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jk-gan/subscriptions","organizations_url":"https://api.github.com/users/jk-gan/orgs","repos_url":"https://api.github.com/users/jk-gan/repos","events_url":"https://api.github.com/users/jk-gan/events{/privacy}","received_events_url":"https://api.github.com/users/jk-gan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jk-gan/ADM","description":"Aria2 Download Manager","fork":false,"url":"https://api.github.com/repos/jk-gan/ADM","forks_url":"https://api.github.com/repos/jk-gan/ADM/forks","keys_url":"https://api.github.com/repos/jk-gan/ADM/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jk-gan/ADM/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jk-gan/ADM/teams","hooks_url":"https://api.github.com/repos/jk-gan/ADM/hooks","issue_events_url":"https://api.github.com/repos/jk-gan/ADM/issues/events{/number}","events_url":"https://api.github.com/repos/jk-gan/ADM/events","assignees_url":"https://api.github.com/repos/jk-gan/ADM/assignees{/user}","branches_url":"https://api.github.com/repos/jk-gan/ADM/branches{/branch}","tags_url":"https://api.github.com/repos/jk-gan/ADM/tags","blobs_url":"https://api.github.com/repos/jk-gan/ADM/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jk-gan/ADM/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jk-gan/ADM/git/refs{/sha}","trees_url":"https://api.github.com/repos/jk-gan/ADM/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jk-gan/ADM/statuses/{sha}","languages_url":"https://api.github.com/repos/jk-gan/ADM/languages","stargazers_url":"https://api.github.com/repos/jk-gan/ADM/stargazers","contributors_url":"https://api.github.com/repos/jk-gan/ADM/contributors","subscribers_url":"https://api.github.com/repos/jk-gan/ADM/subscribers","subscription_url":"https://api.github.com/repos/jk-gan/ADM/subscription","commits_url":"https://api.github.com/repos/jk-gan/ADM/commits{/sha}","git_commits_url":"https://api.github.com/repos/jk-gan/ADM/git/commits{/sha}","comments_url":"https://api.github.com/repos/jk-gan/ADM/comments{/number}","issue_comment_url":"https://api.github.com/repos/jk-gan/ADM/issues/comments{/number}","contents_url":"https://api.github.com/repos/jk-gan/ADM/contents/{+path}","compare_url":"https://api.github.com/repos/jk-gan/ADM/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jk-gan/ADM/merges","archive_url":"https://api.github.com/repos/jk-gan/ADM/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jk-gan/ADM/downloads","issues_url":"https://api.github.com/repos/jk-gan/ADM/issues{/number}","pulls_url":"https://api.github.com/repos/jk-gan/ADM/pulls{/number}","milestones_url":"https://api.github.com/repos/jk-gan/ADM/milestones{/number}","notifications_url":"https://api.github.com/repos/jk-gan/ADM/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jk-gan/ADM/labels{/name}","releases_url":"https://api.github.com/repos/jk-gan/ADM/releases{/id}","deployments_url":"https://api.github.com/repos/jk-gan/ADM/deployments","created_at":"2016-10-15T14:41:41Z","updated_at":"2016-10-15T14:42:15Z","pushed_at":"2016-10-30T14:24:46Z","git_url":"git://github.com/jk-gan/ADM.git","ssh_url":"git@github.com:jk-gan/ADM.git","clone_url":"https://github.com/jk-gan/ADM.git","svn_url":"https://github.com/jk-gan/ADM","homepage":null,"size":427,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jk-gan/ADM/pulls/10"},"html":{"href":"https://github.com/jk-gan/ADM/pull/10"},"issue":{"href":"https://api.github.com/repos/jk-gan/ADM/issues/10"},"comments":{"href":"https://api.github.com/repos/jk-gan/ADM/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/jk-gan/ADM/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/jk-gan/ADM/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jk-gan/ADM/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/jk-gan/ADM/statuses/b413653f94e96499b61a2d9616d45c6601430732"}}}}
{"actor":{"display_login":"houndci-bot"}}