{"action":"created","comment":{"url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/comments/75589577","id":75589577,"diff_hunk":"@@ -0,0 +1,13 @@\n+'use strict';\n+\n+const ImageOptim = require('./image-optim');\n+\n+module.exports = (gemini, opts) => {\n+    gemini.on('startRunner', (runner) => {\n+        runner.on('updateResult', (data) => {\n+            if (data.updated) {\n+                ImageOptim.create(opts, data).exec();","path":"lib/plugin.js","position":9,"original_position":9,"commit_id":"872abe80ecfe71c636579602c18ff82f0d3f7879","original_commit_id":"872abe80ecfe71c636579602c18ff82f0d3f7879","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":"Да, конечно же здесь должен быть return","created_at":"2016-08-21T06:32:13Z","updated_at":"2016-08-21T06:32:13Z","html_url":"https://github.com/gemini-testing/gemini-imageoptim/pull/1#discussion_r75589577","pull_request_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/comments/75589577"},"html":{"href":"https://github.com/gemini-testing/gemini-imageoptim/pull/1#discussion_r75589577"},"pull_request":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1","id":81991529,"html_url":"https://github.com/gemini-testing/gemini-imageoptim/pull/1","diff_url":"https://github.com/gemini-testing/gemini-imageoptim/pull/1.diff","patch_url":"https://github.com/gemini-testing/gemini-imageoptim/pull/1.patch","issue_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/1","number":1,"state":"open","locked":false,"title":"init","user":{"login":"DudaGod","id":5900697,"avatar_url":"https://avatars.githubusercontent.com/u/5900697?v=3","gravatar_id":"","url":"https://api.github.com/users/DudaGod","html_url":"https://github.com/DudaGod","followers_url":"https://api.github.com/users/DudaGod/followers","following_url":"https://api.github.com/users/DudaGod/following{/other_user}","gists_url":"https://api.github.com/users/DudaGod/gists{/gist_id}","starred_url":"https://api.github.com/users/DudaGod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DudaGod/subscriptions","organizations_url":"https://api.github.com/users/DudaGod/orgs","repos_url":"https://api.github.com/users/DudaGod/repos","events_url":"https://api.github.com/users/DudaGod/events{/privacy}","received_events_url":"https://api.github.com/users/DudaGod/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-19T14:37:51Z","updated_at":"2016-08-21T06:32:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dd174a242d5db96d3b391661fadd56a41b070398","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1/commits","review_comments_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1/comments","review_comment_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/1/comments","statuses_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/statuses/872abe80ecfe71c636579602c18ff82f0d3f7879","head":{"label":"gemini-testing:init-branch","ref":"init-branch","sha":"872abe80ecfe71c636579602c18ff82f0d3f7879","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":66087341,"name":"gemini-imageoptim","full_name":"gemini-testing/gemini-imageoptim","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/gemini-imageoptim","description":"Plugin for Gemini which optimize reference images.","fork":false,"url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim","forks_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/forks","keys_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/teams","hooks_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/events","assignees_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/tags","blobs_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/subscription","commits_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/merges","archive_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/downloads","issues_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/deployments","created_at":"2016-08-19T14:15:18Z","updated_at":"2016-08-19T14:15:18Z","pushed_at":"2016-08-19T22:29:35Z","git_url":"git://github.com/gemini-testing/gemini-imageoptim.git","ssh_url":"git@github.com:gemini-testing/gemini-imageoptim.git","clone_url":"https://github.com/gemini-testing/gemini-imageoptim.git","svn_url":"https://github.com/gemini-testing/gemini-imageoptim","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"gemini-testing:master","ref":"master","sha":"2ad486b4793da42634dcb3a41a1481851dd8f53e","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":66087341,"name":"gemini-imageoptim","full_name":"gemini-testing/gemini-imageoptim","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/gemini-imageoptim","description":"Plugin for Gemini which optimize reference images.","fork":false,"url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim","forks_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/forks","keys_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/teams","hooks_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/hooks","issue_events_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/events{/number}","events_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/events","assignees_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/assignees{/user}","branches_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/branches{/branch}","tags_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/tags","blobs_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/refs{/sha}","trees_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/statuses/{sha}","languages_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/languages","stargazers_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/stargazers","contributors_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/contributors","subscribers_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/subscribers","subscription_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/subscription","commits_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/commits{/sha}","git_commits_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/git/commits{/sha}","comments_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/comments{/number}","issue_comment_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/comments{/number}","contents_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/contents/{+path}","compare_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/merges","archive_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/downloads","issues_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues{/number}","pulls_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls{/number}","milestones_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/milestones{/number}","notifications_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/labels{/name}","releases_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/releases{/id}","deployments_url":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/deployments","created_at":"2016-08-19T14:15:18Z","updated_at":"2016-08-19T14:15:18Z","pushed_at":"2016-08-19T22:29:35Z","git_url":"git://github.com/gemini-testing/gemini-imageoptim.git","ssh_url":"git@github.com:gemini-testing/gemini-imageoptim.git","clone_url":"https://github.com/gemini-testing/gemini-imageoptim.git","svn_url":"https://github.com/gemini-testing/gemini-imageoptim","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1"},"html":{"href":"https://github.com/gemini-testing/gemini-imageoptim/pull/1"},"issue":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/1"},"comments":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/gemini-testing/gemini-imageoptim/statuses/872abe80ecfe71c636579602c18ff82f0d3f7879"}}}}
{"actor":{"display_login":"tormozz48"}}