{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/comments/61238674","id":61238674,"diff_hunk":"@@ -337,6 +338,24 @@ gulp.task('bundle', ['buildnumber'], function () {\n   return createBundle(DEFINES).pipe(gulp.dest(BUILD_DIR));\n });\n \n+gulp.task('publish', ['generic'], function() {","path":"gulpfile.js","position":null,"original_position":12,"commit_id":"c53a0c4bcd2e2fc1581010bab4322b77e6e22155","original_commit_id":"c5fddd8b5b91bc7ff063aca6e9ed6d57d93d685d","user":{"login":"timvandermeij","id":1993262,"avatar_url":"https://avatars.githubusercontent.com/u/1993262?v=3","gravatar_id":"","url":"https://api.github.com/users/timvandermeij","html_url":"https://github.com/timvandermeij","followers_url":"https://api.github.com/users/timvandermeij/followers","following_url":"https://api.github.com/users/timvandermeij/following{/other_user}","gists_url":"https://api.github.com/users/timvandermeij/gists{/gist_id}","starred_url":"https://api.github.com/users/timvandermeij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvandermeij/subscriptions","organizations_url":"https://api.github.com/users/timvandermeij/orgs","repos_url":"https://api.github.com/users/timvandermeij/repos","events_url":"https://api.github.com/users/timvandermeij/events{/privacy}","received_events_url":"https://api.github.com/users/timvandermeij/received_events","type":"User","site_admin":false},"body":"Done in the new commit. I decided to make the function asynchronous and chain the streams, so I hope it's better this way!","created_at":"2016-04-27T10:54:26Z","updated_at":"2016-04-27T10:54:26Z","html_url":"https://github.com/mozilla/pdf.js/pull/7256#discussion_r61238674","pull_request_url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256","_links":{"self":{"href":"https://api.github.com/repos/mozilla/pdf.js/pulls/comments/61238674"},"html":{"href":"https://github.com/mozilla/pdf.js/pull/7256#discussion_r61238674"},"pull_request":{"href":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256","id":67962443,"html_url":"https://github.com/mozilla/pdf.js/pull/7256","diff_url":"https://github.com/mozilla/pdf.js/pull/7256.diff","patch_url":"https://github.com/mozilla/pdf.js/pull/7256.patch","issue_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7256","number":7256,"state":"open","locked":false,"title":"Port the `publish` target to Gulp","user":{"login":"timvandermeij","id":1993262,"avatar_url":"https://avatars.githubusercontent.com/u/1993262?v=3","gravatar_id":"","url":"https://api.github.com/users/timvandermeij","html_url":"https://github.com/timvandermeij","followers_url":"https://api.github.com/users/timvandermeij/followers","following_url":"https://api.github.com/users/timvandermeij/following{/other_user}","gists_url":"https://api.github.com/users/timvandermeij/gists{/gist_id}","starred_url":"https://api.github.com/users/timvandermeij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvandermeij/subscriptions","organizations_url":"https://api.github.com/users/timvandermeij/orgs","repos_url":"https://api.github.com/users/timvandermeij/repos","events_url":"https://api.github.com/users/timvandermeij/events{/privacy}","received_events_url":"https://api.github.com/users/timvandermeij/received_events","type":"User","site_admin":false},"body":"This patch is a part of #7062.\r\n\r\nGulp now handles creating the ZIP file so we do not have to rely on `zip` being available on the user's system anymore. The `gulp-zip` package uses the `yazl` package in the background to create ZIP files using pure JS.","created_at":"2016-04-26T21:36:13Z","updated_at":"2016-04-27T10:54:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"053c32ef358eda2685258266e11c17ca8e910310","assignee":{"login":"yurydelendik","id":1523410,"avatar_url":"https://avatars.githubusercontent.com/u/1523410?v=3","gravatar_id":"","url":"https://api.github.com/users/yurydelendik","html_url":"https://github.com/yurydelendik","followers_url":"https://api.github.com/users/yurydelendik/followers","following_url":"https://api.github.com/users/yurydelendik/following{/other_user}","gists_url":"https://api.github.com/users/yurydelendik/gists{/gist_id}","starred_url":"https://api.github.com/users/yurydelendik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurydelendik/subscriptions","organizations_url":"https://api.github.com/users/yurydelendik/orgs","repos_url":"https://api.github.com/users/yurydelendik/repos","events_url":"https://api.github.com/users/yurydelendik/events{/privacy}","received_events_url":"https://api.github.com/users/yurydelendik/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256/commits","review_comments_url":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256/comments","review_comment_url":"https://api.github.com/repos/mozilla/pdf.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/issues/7256/comments","statuses_url":"https://api.github.com/repos/mozilla/pdf.js/statuses/c53a0c4bcd2e2fc1581010bab4322b77e6e22155","head":{"label":"timvandermeij:gulp-targets","ref":"gulp-targets","sha":"c53a0c4bcd2e2fc1581010bab4322b77e6e22155","user":{"login":"timvandermeij","id":1993262,"avatar_url":"https://avatars.githubusercontent.com/u/1993262?v=3","gravatar_id":"","url":"https://api.github.com/users/timvandermeij","html_url":"https://github.com/timvandermeij","followers_url":"https://api.github.com/users/timvandermeij/followers","following_url":"https://api.github.com/users/timvandermeij/following{/other_user}","gists_url":"https://api.github.com/users/timvandermeij/gists{/gist_id}","starred_url":"https://api.github.com/users/timvandermeij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvandermeij/subscriptions","organizations_url":"https://api.github.com/users/timvandermeij/orgs","repos_url":"https://api.github.com/users/timvandermeij/repos","events_url":"https://api.github.com/users/timvandermeij/events{/privacy}","received_events_url":"https://api.github.com/users/timvandermeij/received_events","type":"User","site_admin":false},"repo":{"id":6161909,"name":"pdf.js","full_name":"timvandermeij/pdf.js","owner":{"login":"timvandermeij","id":1993262,"avatar_url":"https://avatars.githubusercontent.com/u/1993262?v=3","gravatar_id":"","url":"https://api.github.com/users/timvandermeij","html_url":"https://github.com/timvandermeij","followers_url":"https://api.github.com/users/timvandermeij/followers","following_url":"https://api.github.com/users/timvandermeij/following{/other_user}","gists_url":"https://api.github.com/users/timvandermeij/gists{/gist_id}","starred_url":"https://api.github.com/users/timvandermeij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timvandermeij/subscriptions","organizations_url":"https://api.github.com/users/timvandermeij/orgs","repos_url":"https://api.github.com/users/timvandermeij/repos","events_url":"https://api.github.com/users/timvandermeij/events{/privacy}","received_events_url":"https://api.github.com/users/timvandermeij/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timvandermeij/pdf.js","description":"PDF Reader in JavaScript","fork":true,"url":"https://api.github.com/repos/timvandermeij/pdf.js","forks_url":"https://api.github.com/repos/timvandermeij/pdf.js/forks","keys_url":"https://api.github.com/repos/timvandermeij/pdf.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timvandermeij/pdf.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timvandermeij/pdf.js/teams","hooks_url":"https://api.github.com/repos/timvandermeij/pdf.js/hooks","issue_events_url":"https://api.github.com/repos/timvandermeij/pdf.js/issues/events{/number}","events_url":"https://api.github.com/repos/timvandermeij/pdf.js/events","assignees_url":"https://api.github.com/repos/timvandermeij/pdf.js/assignees{/user}","branches_url":"https://api.github.com/repos/timvandermeij/pdf.js/branches{/branch}","tags_url":"https://api.github.com/repos/timvandermeij/pdf.js/tags","blobs_url":"https://api.github.com/repos/timvandermeij/pdf.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timvandermeij/pdf.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timvandermeij/pdf.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/timvandermeij/pdf.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timvandermeij/pdf.js/statuses/{sha}","languages_url":"https://api.github.com/repos/timvandermeij/pdf.js/languages","stargazers_url":"https://api.github.com/repos/timvandermeij/pdf.js/stargazers","contributors_url":"https://api.github.com/repos/timvandermeij/pdf.js/contributors","subscribers_url":"https://api.github.com/repos/timvandermeij/pdf.js/subscribers","subscription_url":"https://api.github.com/repos/timvandermeij/pdf.js/subscription","commits_url":"https://api.github.com/repos/timvandermeij/pdf.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/timvandermeij/pdf.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/timvandermeij/pdf.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/timvandermeij/pdf.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/timvandermeij/pdf.js/contents/{+path}","compare_url":"https://api.github.com/repos/timvandermeij/pdf.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timvandermeij/pdf.js/merges","archive_url":"https://api.github.com/repos/timvandermeij/pdf.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timvandermeij/pdf.js/downloads","issues_url":"https://api.github.com/repos/timvandermeij/pdf.js/issues{/number}","pulls_url":"https://api.github.com/repos/timvandermeij/pdf.js/pulls{/number}","milestones_url":"https://api.github.com/repos/timvandermeij/pdf.js/milestones{/number}","notifications_url":"https://api.github.com/repos/timvandermeij/pdf.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timvandermeij/pdf.js/labels{/name}","releases_url":"https://api.github.com/repos/timvandermeij/pdf.js/releases{/id}","deployments_url":"https://api.github.com/repos/timvandermeij/pdf.js/deployments","created_at":"2012-10-10T18:16:22Z","updated_at":"2015-04-30T20:36:01Z","pushed_at":"2016-04-27T10:52:56Z","git_url":"git://github.com/timvandermeij/pdf.js.git","ssh_url":"git@github.com:timvandermeij/pdf.js.git","clone_url":"https://github.com/timvandermeij/pdf.js.git","svn_url":"https://github.com/timvandermeij/pdf.js","homepage":"","size":55511,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"97b3a70df86713aaf9abcea1d48bc2e31d6a7453","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":1663468,"name":"pdf.js","full_name":"mozilla/pdf.js","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/pdf.js","description":"PDF Reader in JavaScript","fork":false,"url":"https://api.github.com/repos/mozilla/pdf.js","forks_url":"https://api.github.com/repos/mozilla/pdf.js/forks","keys_url":"https://api.github.com/repos/mozilla/pdf.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/pdf.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/pdf.js/teams","hooks_url":"https://api.github.com/repos/mozilla/pdf.js/hooks","issue_events_url":"https://api.github.com/repos/mozilla/pdf.js/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/pdf.js/events","assignees_url":"https://api.github.com/repos/mozilla/pdf.js/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/pdf.js/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/pdf.js/tags","blobs_url":"https://api.github.com/repos/mozilla/pdf.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/pdf.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/pdf.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/pdf.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/pdf.js/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/pdf.js/languages","stargazers_url":"https://api.github.com/repos/mozilla/pdf.js/stargazers","contributors_url":"https://api.github.com/repos/mozilla/pdf.js/contributors","subscribers_url":"https://api.github.com/repos/mozilla/pdf.js/subscribers","subscription_url":"https://api.github.com/repos/mozilla/pdf.js/subscription","commits_url":"https://api.github.com/repos/mozilla/pdf.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/pdf.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/pdf.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/pdf.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/pdf.js/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/pdf.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/pdf.js/merges","archive_url":"https://api.github.com/repos/mozilla/pdf.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/pdf.js/downloads","issues_url":"https://api.github.com/repos/mozilla/pdf.js/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/pdf.js/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/pdf.js/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/pdf.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/pdf.js/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/pdf.js/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/pdf.js/deployments","created_at":"2011-04-26T06:32:03Z","updated_at":"2016-04-27T10:49:40Z","pushed_at":"2016-04-27T10:53:03Z","git_url":"git://github.com/mozilla/pdf.js.git","ssh_url":"git@github.com:mozilla/pdf.js.git","clone_url":"https://github.com/mozilla/pdf.js.git","svn_url":"https://github.com/mozilla/pdf.js","homepage":"","size":834389,"stargazers_count":14232,"watchers_count":14232,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3367,"mirror_url":null,"open_issues_count":589,"forks":3367,"open_issues":589,"watchers":14232,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256"},"html":{"href":"https://github.com/mozilla/pdf.js/pull/7256"},"issue":{"href":"https://api.github.com/repos/mozilla/pdf.js/issues/7256"},"comments":{"href":"https://api.github.com/repos/mozilla/pdf.js/issues/7256/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/pdf.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/pdf.js/pulls/7256/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/pdf.js/statuses/c53a0c4bcd2e2fc1581010bab4322b77e6e22155"}}}}