{"action":"opened","number":161,"pull_request":{"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/161","id":35661981,"html_url":"https://github.com/phase2/grunt-drupal-tasks/pull/161","diff_url":"https://github.com/phase2/grunt-drupal-tasks/pull/161.diff","patch_url":"https://github.com/phase2/grunt-drupal-tasks/pull/161.patch","issue_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/161","number":161,"state":"open","locked":false,"title":"Add \"grunt performance\" to bring in Google Pagespeed.","user":{"login":"grayside","id":283489,"avatar_url":"https://avatars.githubusercontent.com/u/283489?v=3","gravatar_id":"","url":"https://api.github.com/users/grayside","html_url":"https://github.com/grayside","followers_url":"https://api.github.com/users/grayside/followers","following_url":"https://api.github.com/users/grayside/following{/other_user}","gists_url":"https://api.github.com/users/grayside/gists{/gist_id}","starred_url":"https://api.github.com/users/grayside/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grayside/subscriptions","organizations_url":"https://api.github.com/users/grayside/orgs","repos_url":"https://api.github.com/users/grayside/repos","events_url":"https://api.github.com/users/grayside/events{/privacy}","received_events_url":"https://api.github.com/users/grayside/received_events","type":"User","site_admin":false},"body":"Officially `grunt performance`, but also accessible as `grunt pagespeed`, this command runs desktop and mobile pagespeed checks against each siteUrl. You may configure a `performance.samplePaths` property to override the default of testing the homepage alone, the intent is to use this configuration for all performance testing that needs a stock set of paths.\r\n\r\nBecause many performance tools rely on Web APIs or Crawlers, this branch introduces a new concept: \"Web Readiness\". See the new documentation for an explanation. Longer-term if we were to introduce tools that don't depend on external web access we can make grunt performance available for activating those tools, and switch the current warning mechanism to point out the availability of further tasks.\r\n\r\nTo see this in action you need to run `grunt performance --web-ready` or `GDT_WEB_READY=1 grunt performance`.\r\n\r\nThis is a \"best practices\" tool as described in #14.","created_at":"2015-05-18T18:47:10Z","updated_at":"2015-05-18T18:47:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/161/commits","review_comments_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/161/comments","review_comment_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/161/comments","statuses_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/statuses/7b59f5086763d9f68eeb010daadf7ef1ca85848c","head":{"label":"phase2:feature/pagespeed","ref":"feature/pagespeed","sha":"7b59f5086763d9f68eeb010daadf7ef1ca85848c","user":{"login":"phase2","id":148441,"avatar_url":"https://avatars.githubusercontent.com/u/148441?v=3","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"repo":{"id":24077193,"name":"grunt-drupal-tasks","full_name":"phase2/grunt-drupal-tasks","owner":{"login":"phase2","id":148441,"avatar_url":"https://avatars.githubusercontent.com/u/148441?v=3","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phase2/grunt-drupal-tasks","description":"Grunt-based build and testing tasks for Drupal","fork":false,"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks","forks_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/forks","keys_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/teams","hooks_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/hooks","issue_events_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/events","assignees_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/tags","blobs_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/languages","stargazers_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/stargazers","contributors_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/contributors","subscribers_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/subscribers","subscription_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/subscription","commits_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/merges","archive_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/downloads","issues_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/labels{/name}","releases_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/releases{/id}","created_at":"2014-09-15T23:05:13Z","updated_at":"2015-05-15T20:32:42Z","pushed_at":"2015-05-18T18:37:01Z","git_url":"git://github.com/phase2/grunt-drupal-tasks.git","ssh_url":"git@github.com:phase2/grunt-drupal-tasks.git","clone_url":"https://github.com/phase2/grunt-drupal-tasks.git","svn_url":"https://github.com/phase2/grunt-drupal-tasks","homepage":"","size":2733,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":28,"forks":25,"open_issues":28,"watchers":77,"default_branch":"master"}},"base":{"label":"phase2:master","ref":"master","sha":"039be3509676dfe5fc8439b0d10e219d39f5fca5","user":{"login":"phase2","id":148441,"avatar_url":"https://avatars.githubusercontent.com/u/148441?v=3","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"repo":{"id":24077193,"name":"grunt-drupal-tasks","full_name":"phase2/grunt-drupal-tasks","owner":{"login":"phase2","id":148441,"avatar_url":"https://avatars.githubusercontent.com/u/148441?v=3","gravatar_id":"","url":"https://api.github.com/users/phase2","html_url":"https://github.com/phase2","followers_url":"https://api.github.com/users/phase2/followers","following_url":"https://api.github.com/users/phase2/following{/other_user}","gists_url":"https://api.github.com/users/phase2/gists{/gist_id}","starred_url":"https://api.github.com/users/phase2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase2/subscriptions","organizations_url":"https://api.github.com/users/phase2/orgs","repos_url":"https://api.github.com/users/phase2/repos","events_url":"https://api.github.com/users/phase2/events{/privacy}","received_events_url":"https://api.github.com/users/phase2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phase2/grunt-drupal-tasks","description":"Grunt-based build and testing tasks for Drupal","fork":false,"url":"https://api.github.com/repos/phase2/grunt-drupal-tasks","forks_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/forks","keys_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/teams","hooks_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/hooks","issue_events_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/events","assignees_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/tags","blobs_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/languages","stargazers_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/stargazers","contributors_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/contributors","subscribers_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/subscribers","subscription_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/subscription","commits_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/merges","archive_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/downloads","issues_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/labels{/name}","releases_url":"https://api.github.com/repos/phase2/grunt-drupal-tasks/releases{/id}","created_at":"2014-09-15T23:05:13Z","updated_at":"2015-05-15T20:32:42Z","pushed_at":"2015-05-18T18:37:01Z","git_url":"git://github.com/phase2/grunt-drupal-tasks.git","ssh_url":"git@github.com:phase2/grunt-drupal-tasks.git","clone_url":"https://github.com/phase2/grunt-drupal-tasks.git","svn_url":"https://github.com/phase2/grunt-drupal-tasks","homepage":"","size":2733,"stargazers_count":77,"watchers_count":77,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":25,"mirror_url":null,"open_issues_count":28,"forks":25,"open_issues":28,"watchers":77,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/161"},"html":{"href":"https://github.com/phase2/grunt-drupal-tasks/pull/161"},"issue":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/161"},"comments":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/phase2/grunt-drupal-tasks/statuses/7b59f5086763d9f68eeb010daadf7ef1ca85848c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":112,"deletions":0,"changed_files":4}}