{"action":"created","comment":{"url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/comments/93631407","pull_request_review_id":14163118,"id":93631407,"diff_hunk":"@@ -0,0 +1,36 @@\n+'use strict';\n+\n+const BrowserStat = require('./lib/index');\n+\n+module.exports = (gemini, options) => {\n+    const events = gemini.events;\n+\n+    BrowserStat\n+        .create(gemini, options)\n+        .subscribe(events.START_BROWSER, function(data) {\n+            this.model.startBrowserTime(data.id);\n+        })\n+        .subscribe(events.STOP_BROWSER, function(data) {\n+            this.model.markBrowserTime(data.id);\n+        })\n+        .subscribe(events.TEST_RESULT, function(data) {\n+            data.equal\n+                ? this.model.addPassed(data.browserId)\n+                : this.model.addFailed(data.browserId);\n+        })\n+        .subscribe(events.RETRY, function(data) {\n+            this.model.addRetry(data.browserId);\n+        })\n+        .subscribe(events.SKIP_STATE, function(data) {\n+            this.model.addSkipped(data.browserId);\n+        })\n+        .subscribe(events.WARNING, function(data) {","path":"gemini.js","position":27,"original_position":27,"commit_id":"a8133082b34a898943e8596044a3eddb86c9edbe","original_commit_id":"a8133082b34a898943e8596044a3eddb86c9edbe","user":{"login":"sipayRT","id":1658415,"avatar_url":"https://avatars.githubusercontent.com/u/1658415?v=3","gravatar_id":"","url":"https://api.github.com/users/sipayRT","html_url":"https://github.com/sipayRT","followers_url":"https://api.github.com/users/sipayRT/followers","following_url":"https://api.github.com/users/sipayRT/following{/other_user}","gists_url":"https://api.github.com/users/sipayRT/gists{/gist_id}","starred_url":"https://api.github.com/users/sipayRT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipayRT/subscriptions","organizations_url":"https://api.github.com/users/sipayRT/orgs","repos_url":"https://api.github.com/users/sipayRT/repos","events_url":"https://api.github.com/users/sipayRT/events{/privacy}","received_events_url":"https://api.github.com/users/sipayRT/received_events","type":"User","site_admin":false},"body":"думаю, это легаси. @eGavr ты ж вроде смотрел, что в gemini никто не слушает это событие","created_at":"2016-12-22T14:26:13Z","updated_at":"2016-12-22T14:26:13Z","html_url":"https://github.com/gemini-testing/stat-reporter/pull/3#discussion_r93631407","pull_request_url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/comments/93631407"},"html":{"href":"https://github.com/gemini-testing/stat-reporter/pull/3#discussion_r93631407"},"pull_request":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3","id":98929290,"html_url":"https://github.com/gemini-testing/stat-reporter/pull/3","diff_url":"https://github.com/gemini-testing/stat-reporter/pull/3.diff","patch_url":"https://github.com/gemini-testing/stat-reporter/pull/3.patch","issue_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/3","number":3,"state":"open","locked":false,"title":"Implement core functionality","user":{"login":"tormozz48","id":996162,"avatar_url":"https://avatars.githubusercontent.com/u/996162?v=3","gravatar_id":"","url":"https://api.github.com/users/tormozz48","html_url":"https://github.com/tormozz48","followers_url":"https://api.github.com/users/tormozz48/followers","following_url":"https://api.github.com/users/tormozz48/following{/other_user}","gists_url":"https://api.github.com/users/tormozz48/gists{/gist_id}","starred_url":"https://api.github.com/users/tormozz48/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tormozz48/subscriptions","organizations_url":"https://api.github.com/users/tormozz48/orgs","repos_url":"https://api.github.com/users/tormozz48/repos","events_url":"https://api.github.com/users/tormozz48/events{/privacy}","received_events_url":"https://api.github.com/users/tormozz48/received_events","type":"User","site_admin":false},"body":"@j0tunn @eGavr @sipayRT @DudaGod @rostik404 Please review it","created_at":"2016-12-21T13:05:22Z","updated_at":"2016-12-22T14:26:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"473a4cf92147d0e0b620cef67febfd0fc161b61d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3/commits","review_comments_url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3/comments","review_comment_url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/3/comments","statuses_url":"https://api.github.com/repos/gemini-testing/stat-reporter/statuses/a8133082b34a898943e8596044a3eddb86c9edbe","head":{"label":"gemini-testing:core","ref":"core","sha":"a8133082b34a898943e8596044a3eddb86c9edbe","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"repo":{"id":76735191,"name":"stat-reporter","full_name":"gemini-testing/stat-reporter","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-testing/stat-reporter","description":"Gemini/Hermione plugin which helps to collect test statistic by browsers","fork":false,"url":"https://api.github.com/repos/gemini-testing/stat-reporter","forks_url":"https://api.github.com/repos/gemini-testing/stat-reporter/forks","keys_url":"https://api.github.com/repos/gemini-testing/stat-reporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/stat-reporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/stat-reporter/teams","hooks_url":"https://api.github.com/repos/gemini-testing/stat-reporter/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/stat-reporter/events","assignees_url":"https://api.github.com/repos/gemini-testing/stat-reporter/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/stat-reporter/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/stat-reporter/tags","blobs_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/stat-reporter/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/stat-reporter/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/stat-reporter/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/stat-reporter/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/stat-reporter/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/stat-reporter/subscription","commits_url":"https://api.github.com/repos/gemini-testing/stat-reporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/stat-reporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/stat-reporter/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/stat-reporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/stat-reporter/merges","archive_url":"https://api.github.com/repos/gemini-testing/stat-reporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/stat-reporter/downloads","issues_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/stat-reporter/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/stat-reporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/stat-reporter/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/stat-reporter/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/stat-reporter/deployments","created_at":"2016-12-17T16:41:51Z","updated_at":"2016-12-21T11:49:48Z","pushed_at":"2016-12-21T13:05:22Z","git_url":"git://github.com/gemini-testing/stat-reporter.git","ssh_url":"git@github.com:gemini-testing/stat-reporter.git","clone_url":"https://github.com/gemini-testing/stat-reporter.git","svn_url":"https://github.com/gemini-testing/stat-reporter","homepage":null,"size":9,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"gemini-testing:master","ref":"master","sha":"0e8a649b8f06acea6b52edf2c9461207b859447a","user":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"repo":{"id":76735191,"name":"stat-reporter","full_name":"gemini-testing/stat-reporter","owner":{"login":"gemini-testing","id":11424134,"avatar_url":"https://avatars.githubusercontent.com/u/11424134?v=3","gravatar_id":"","url":"https://api.github.com/users/gemini-testing","html_url":"https://github.com/gemini-testing","followers_url":"https://api.github.com/users/gemini-testing/followers","following_url":"https://api.github.com/users/gemini-testing/following{/other_user}","gists_url":"https://api.github.com/users/gemini-testing/gists{/gist_id}","starred_url":"https://api.github.com/users/gemini-testing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gemini-testing/subscriptions","organizations_url":"https://api.github.com/users/gemini-testing/orgs","repos_url":"https://api.github.com/users/gemini-testing/repos","events_url":"https://api.github.com/users/gemini-testing/events{/privacy}","received_events_url":"https://api.github.com/users/gemini-testing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gemini-testing/stat-reporter","description":"Gemini/Hermione plugin which helps to collect test statistic by browsers","fork":false,"url":"https://api.github.com/repos/gemini-testing/stat-reporter","forks_url":"https://api.github.com/repos/gemini-testing/stat-reporter/forks","keys_url":"https://api.github.com/repos/gemini-testing/stat-reporter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/stat-reporter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/stat-reporter/teams","hooks_url":"https://api.github.com/repos/gemini-testing/stat-reporter/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/stat-reporter/events","assignees_url":"https://api.github.com/repos/gemini-testing/stat-reporter/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/stat-reporter/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/stat-reporter/tags","blobs_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/stat-reporter/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/stat-reporter/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/stat-reporter/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/stat-reporter/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/stat-reporter/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/stat-reporter/subscription","commits_url":"https://api.github.com/repos/gemini-testing/stat-reporter/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/stat-reporter/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/stat-reporter/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/stat-reporter/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/stat-reporter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/stat-reporter/merges","archive_url":"https://api.github.com/repos/gemini-testing/stat-reporter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/stat-reporter/downloads","issues_url":"https://api.github.com/repos/gemini-testing/stat-reporter/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/stat-reporter/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/stat-reporter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/stat-reporter/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/stat-reporter/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/stat-reporter/deployments","created_at":"2016-12-17T16:41:51Z","updated_at":"2016-12-21T11:49:48Z","pushed_at":"2016-12-21T13:05:22Z","git_url":"git://github.com/gemini-testing/stat-reporter.git","ssh_url":"git@github.com:gemini-testing/stat-reporter.git","clone_url":"https://github.com/gemini-testing/stat-reporter.git","svn_url":"https://github.com/gemini-testing/stat-reporter","homepage":null,"size":9,"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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3"},"html":{"href":"https://github.com/gemini-testing/stat-reporter/pull/3"},"issue":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/3"},"comments":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/gemini-testing/stat-reporter/statuses/a8133082b34a898943e8596044a3eddb86c9edbe"}}}}
{"actor":{"display_login":"sipayRT"}}