{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/27","id":64463882,"html_url":"https://github.com/webpack/compression-webpack-plugin/pull/27","diff_url":"https://github.com/webpack/compression-webpack-plugin/pull/27.diff","patch_url":"https://github.com/webpack/compression-webpack-plugin/pull/27.patch","issue_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues/27","number":27,"state":"open","locked":false,"title":"#25 Option 2: Populate options for custom algorithm functions","user":{"login":"h4l","id":146503,"avatar_url":"https://avatars.githubusercontent.com/u/146503?v=3","gravatar_id":"","url":"https://api.github.com/users/h4l","html_url":"https://github.com/h4l","followers_url":"https://api.github.com/users/h4l/followers","following_url":"https://api.github.com/users/h4l/following{/other_user}","gists_url":"https://api.github.com/users/h4l/gists{/gist_id}","starred_url":"https://api.github.com/users/h4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4l/subscriptions","organizations_url":"https://api.github.com/users/h4l/orgs","repos_url":"https://api.github.com/users/h4l/repos","events_url":"https://api.github.com/users/h4l/events{/privacy}","received_events_url":"https://api.github.com/users/h4l/received_events","type":"User","site_admin":false},"body":"Previously the options object passed to custom algorithms was always\r\nan empty object. Now it contains any options passed to the constructor\r\nwhich aren't general plugin options.\r\n\r\nThis implements option 2 from #25.","created_at":"2016-03-29T13:20:31Z","updated_at":"2016-03-29T13:20:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/27/commits","review_comments_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/27/comments","review_comment_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues/27/comments","statuses_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/statuses/994749b0fe522ca0d46541be5556f967de7f2ec2","head":{"label":"h4l:populate-options-argument","ref":"populate-options-argument","sha":"994749b0fe522ca0d46541be5556f967de7f2ec2","user":{"login":"h4l","id":146503,"avatar_url":"https://avatars.githubusercontent.com/u/146503?v=3","gravatar_id":"","url":"https://api.github.com/users/h4l","html_url":"https://github.com/h4l","followers_url":"https://api.github.com/users/h4l/followers","following_url":"https://api.github.com/users/h4l/following{/other_user}","gists_url":"https://api.github.com/users/h4l/gists{/gist_id}","starred_url":"https://api.github.com/users/h4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4l/subscriptions","organizations_url":"https://api.github.com/users/h4l/orgs","repos_url":"https://api.github.com/users/h4l/repos","events_url":"https://api.github.com/users/h4l/events{/privacy}","received_events_url":"https://api.github.com/users/h4l/received_events","type":"User","site_admin":false},"repo":{"id":54976958,"name":"compression-webpack-plugin","full_name":"h4l/compression-webpack-plugin","owner":{"login":"h4l","id":146503,"avatar_url":"https://avatars.githubusercontent.com/u/146503?v=3","gravatar_id":"","url":"https://api.github.com/users/h4l","html_url":"https://github.com/h4l","followers_url":"https://api.github.com/users/h4l/followers","following_url":"https://api.github.com/users/h4l/following{/other_user}","gists_url":"https://api.github.com/users/h4l/gists{/gist_id}","starred_url":"https://api.github.com/users/h4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h4l/subscriptions","organizations_url":"https://api.github.com/users/h4l/orgs","repos_url":"https://api.github.com/users/h4l/repos","events_url":"https://api.github.com/users/h4l/events{/privacy}","received_events_url":"https://api.github.com/users/h4l/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h4l/compression-webpack-plugin","description":"Prepare compressed versions of assets to serve them with Content-Encoding","fork":true,"url":"https://api.github.com/repos/h4l/compression-webpack-plugin","forks_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/forks","keys_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/teams","hooks_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/hooks","issue_events_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/events","assignees_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/tags","blobs_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/languages","stargazers_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/stargazers","contributors_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/contributors","subscribers_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/subscribers","subscription_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/subscription","commits_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/merges","archive_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/downloads","issues_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/labels{/name}","releases_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/h4l/compression-webpack-plugin/deployments","created_at":"2016-03-29T13:14:25Z","updated_at":"2016-03-29T13:14:26Z","pushed_at":"2016-03-29T13:16:13Z","git_url":"git://github.com/h4l/compression-webpack-plugin.git","ssh_url":"git@github.com:h4l/compression-webpack-plugin.git","clone_url":"https://github.com/h4l/compression-webpack-plugin.git","svn_url":"https://github.com/h4l/compression-webpack-plugin","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"webpack:master","ref":"master","sha":"e428e5325783c13707ab80aafdc5a6f96efe66ac","user":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"repo":{"id":11895397,"name":"compression-webpack-plugin","full_name":"webpack/compression-webpack-plugin","owner":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webpack/compression-webpack-plugin","description":"Prepare compressed versions of assets to serve them with Content-Encoding","fork":false,"url":"https://api.github.com/repos/webpack/compression-webpack-plugin","forks_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/forks","keys_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/teams","hooks_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/hooks","issue_events_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/events","assignees_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/tags","blobs_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/languages","stargazers_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/stargazers","contributors_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/contributors","subscribers_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/subscribers","subscription_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/subscription","commits_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/merges","archive_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/downloads","issues_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/labels{/name}","releases_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/webpack/compression-webpack-plugin/deployments","created_at":"2013-08-05T10:07:57Z","updated_at":"2016-03-27T13:45:48Z","pushed_at":"2016-03-29T13:20:21Z","git_url":"git://github.com/webpack/compression-webpack-plugin.git","ssh_url":"git@github.com:webpack/compression-webpack-plugin.git","clone_url":"https://github.com/webpack/compression-webpack-plugin.git","svn_url":"https://github.com/webpack/compression-webpack-plugin","homepage":null,"size":13,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":14,"forks":15,"open_issues":14,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/27"},"html":{"href":"https://github.com/webpack/compression-webpack-plugin/pull/27"},"issue":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues/27"},"comments":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/webpack/compression-webpack-plugin/statuses/994749b0fe522ca0d46541be5556f967de7f2ec2"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":17,"changed_files":2}}