{"action":"opened","number":105,"pull_request":{"url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/105","id":44936353,"html_url":"https://github.com/gruntjs/grunt-contrib-qunit/pull/105","diff_url":"https://github.com/gruntjs/grunt-contrib-qunit/pull/105.diff","patch_url":"https://github.com/gruntjs/grunt-contrib-qunit/pull/105.patch","issue_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues/105","number":105,"state":"open","locked":false,"title":"added httpBase.host and httpBase.doRewrite configuration","user":{"login":"labertasch","id":2045934,"avatar_url":"https://avatars.githubusercontent.com/u/2045934?v=3","gravatar_id":"","url":"https://api.github.com/users/labertasch","html_url":"https://github.com/labertasch","followers_url":"https://api.github.com/users/labertasch/followers","following_url":"https://api.github.com/users/labertasch/following{/other_user}","gists_url":"https://api.github.com/users/labertasch/gists{/gist_id}","starred_url":"https://api.github.com/users/labertasch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labertasch/subscriptions","organizations_url":"https://api.github.com/users/labertasch/orgs","repos_url":"https://api.github.com/users/labertasch/repos","events_url":"https://api.github.com/users/labertasch/events{/privacy}","received_events_url":"https://api.github.com/users/labertasch/received_events","type":"User","site_admin":false},"body":"Extended httpBase with an option to rewrite the file url.  Now it is possible to use `all` config together with a remote server and to map the url from filesystem to the corresponding format on the server.\r\n\r\n```js\r\n// Project configuration.\r\ngrunt.initConfig({\r\n  qunit: {\r\n      options: {\r\n          httpBase: {\r\n              host: \"http://localhost:8000\",\r\n              doRewrite: function (file) {\r\n                  return file.replace(\"src/main/resources/META-INF/\", \"\");\r\n              }\r\n          }\r\n      },\t\r\n    all: ['src/main/resources/META-INF/ui/test/**/*.html']\r\n  }\r\n});\r\n```","created_at":"2015-09-14T14:27:34Z","updated_at":"2015-09-14T14:27:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/105/commits","review_comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/105/comments","review_comment_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues/105/comments","statuses_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/statuses/d249b0569c432404b0cc7b03ce66586b2246d2a5","head":{"label":"labertasch:master","ref":"master","sha":"d249b0569c432404b0cc7b03ce66586b2246d2a5","user":{"login":"labertasch","id":2045934,"avatar_url":"https://avatars.githubusercontent.com/u/2045934?v=3","gravatar_id":"","url":"https://api.github.com/users/labertasch","html_url":"https://github.com/labertasch","followers_url":"https://api.github.com/users/labertasch/followers","following_url":"https://api.github.com/users/labertasch/following{/other_user}","gists_url":"https://api.github.com/users/labertasch/gists{/gist_id}","starred_url":"https://api.github.com/users/labertasch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labertasch/subscriptions","organizations_url":"https://api.github.com/users/labertasch/orgs","repos_url":"https://api.github.com/users/labertasch/repos","events_url":"https://api.github.com/users/labertasch/events{/privacy}","received_events_url":"https://api.github.com/users/labertasch/received_events","type":"User","site_admin":false},"repo":{"id":42451337,"name":"grunt-contrib-qunit","full_name":"labertasch/grunt-contrib-qunit","owner":{"login":"labertasch","id":2045934,"avatar_url":"https://avatars.githubusercontent.com/u/2045934?v=3","gravatar_id":"","url":"https://api.github.com/users/labertasch","html_url":"https://github.com/labertasch","followers_url":"https://api.github.com/users/labertasch/followers","following_url":"https://api.github.com/users/labertasch/following{/other_user}","gists_url":"https://api.github.com/users/labertasch/gists{/gist_id}","starred_url":"https://api.github.com/users/labertasch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/labertasch/subscriptions","organizations_url":"https://api.github.com/users/labertasch/orgs","repos_url":"https://api.github.com/users/labertasch/repos","events_url":"https://api.github.com/users/labertasch/events{/privacy}","received_events_url":"https://api.github.com/users/labertasch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/labertasch/grunt-contrib-qunit","description":"Run QUnit unit tests in a headless PhantomJS instance.","fork":true,"url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit","forks_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/forks","keys_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/teams","hooks_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/hooks","issue_events_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/issues/events{/number}","events_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/events","assignees_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/assignees{/user}","branches_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/branches{/branch}","tags_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/tags","blobs_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/git/refs{/sha}","trees_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/statuses/{sha}","languages_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/languages","stargazers_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/stargazers","contributors_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/contributors","subscribers_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/subscribers","subscription_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/subscription","commits_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/commits{/sha}","git_commits_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/git/commits{/sha}","comments_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/comments{/number}","issue_comment_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/issues/comments{/number}","contents_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/contents/{+path}","compare_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/merges","archive_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/downloads","issues_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/issues{/number}","pulls_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/pulls{/number}","milestones_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/milestones{/number}","notifications_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/labels{/name}","releases_url":"https://api.github.com/repos/labertasch/grunt-contrib-qunit/releases{/id}","created_at":"2015-09-14T13:47:16Z","updated_at":"2015-09-14T13:47:17Z","pushed_at":"2015-09-14T14:24:46Z","git_url":"git://github.com/labertasch/grunt-contrib-qunit.git","ssh_url":"git@github.com:labertasch/grunt-contrib-qunit.git","clone_url":"https://github.com/labertasch/grunt-contrib-qunit.git","svn_url":"https://github.com/labertasch/grunt-contrib-qunit","homepage":null,"size":710,"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":"gruntjs:master","ref":"master","sha":"048cf319b6523e77d057bbb5e2daab728ce333c2","user":{"login":"gruntjs","id":1630826,"avatar_url":"https://avatars.githubusercontent.com/u/1630826?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntjs","html_url":"https://github.com/gruntjs","followers_url":"https://api.github.com/users/gruntjs/followers","following_url":"https://api.github.com/users/gruntjs/following{/other_user}","gists_url":"https://api.github.com/users/gruntjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntjs/subscriptions","organizations_url":"https://api.github.com/users/gruntjs/orgs","repos_url":"https://api.github.com/users/gruntjs/repos","events_url":"https://api.github.com/users/gruntjs/events{/privacy}","received_events_url":"https://api.github.com/users/gruntjs/received_events","type":"Organization","site_admin":false},"repo":{"id":6094262,"name":"grunt-contrib-qunit","full_name":"gruntjs/grunt-contrib-qunit","owner":{"login":"gruntjs","id":1630826,"avatar_url":"https://avatars.githubusercontent.com/u/1630826?v=3","gravatar_id":"","url":"https://api.github.com/users/gruntjs","html_url":"https://github.com/gruntjs","followers_url":"https://api.github.com/users/gruntjs/followers","following_url":"https://api.github.com/users/gruntjs/following{/other_user}","gists_url":"https://api.github.com/users/gruntjs/gists{/gist_id}","starred_url":"https://api.github.com/users/gruntjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruntjs/subscriptions","organizations_url":"https://api.github.com/users/gruntjs/orgs","repos_url":"https://api.github.com/users/gruntjs/repos","events_url":"https://api.github.com/users/gruntjs/events{/privacy}","received_events_url":"https://api.github.com/users/gruntjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gruntjs/grunt-contrib-qunit","description":"Run QUnit unit tests in a headless PhantomJS instance.","fork":false,"url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit","forks_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/forks","keys_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/teams","hooks_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/hooks","issue_events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues/events{/number}","events_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/events","assignees_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/assignees{/user}","branches_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/branches{/branch}","tags_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/tags","blobs_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/git/refs{/sha}","trees_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/statuses/{sha}","languages_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/languages","stargazers_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/stargazers","contributors_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/contributors","subscribers_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/subscribers","subscription_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/subscription","commits_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/commits{/sha}","git_commits_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/git/commits{/sha}","comments_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/comments{/number}","issue_comment_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues/comments{/number}","contents_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/contents/{+path}","compare_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/merges","archive_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/downloads","issues_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues{/number}","pulls_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls{/number}","milestones_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/milestones{/number}","notifications_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/labels{/name}","releases_url":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/releases{/id}","created_at":"2012-10-05T17:53:28Z","updated_at":"2015-08-14T15:20:05Z","pushed_at":"2015-09-12T04:08:50Z","git_url":"git://github.com/gruntjs/grunt-contrib-qunit.git","ssh_url":"git@github.com:gruntjs/grunt-contrib-qunit.git","clone_url":"https://github.com/gruntjs/grunt-contrib-qunit.git","svn_url":"https://github.com/gruntjs/grunt-contrib-qunit","homepage":null,"size":710,"stargazers_count":179,"watchers_count":179,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":72,"mirror_url":null,"open_issues_count":21,"forks":72,"open_issues":21,"watchers":179,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/105"},"html":{"href":"https://github.com/gruntjs/grunt-contrib-qunit/pull/105"},"issue":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues/105"},"comments":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/issues/105/comments"},"review_comments":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/105/comments"},"review_comment":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/pulls/105/commits"},"statuses":{"href":"https://api.github.com/repos/gruntjs/grunt-contrib-qunit/statuses/d249b0569c432404b0cc7b03ce66586b2246d2a5"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":50,"deletions":1,"changed_files":2}}