{"action":"opened","number":238,"pull_request":{"url":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/238","id":183270102,"html_url":"https://github.com/hollandben/grunt-cache-bust/pull/238","diff_url":"https://github.com/hollandben/grunt-cache-bust/pull/238.diff","patch_url":"https://github.com/hollandben/grunt-cache-bust/pull/238.patch","issue_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/238","number":238,"state":"open","locked":false,"title":"Hashing nested asset references","user":{"login":"raphaelbs","id":11169832,"avatar_url":"https://avatars1.githubusercontent.com/u/11169832?v=4","gravatar_id":"","url":"https://api.github.com/users/raphaelbs","html_url":"https://github.com/raphaelbs","followers_url":"https://api.github.com/users/raphaelbs/followers","following_url":"https://api.github.com/users/raphaelbs/following{/other_user}","gists_url":"https://api.github.com/users/raphaelbs/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelbs/subscriptions","organizations_url":"https://api.github.com/users/raphaelbs/orgs","repos_url":"https://api.github.com/users/raphaelbs/repos","events_url":"https://api.github.com/users/raphaelbs/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelbs/received_events","type":"User","site_admin":false},"body":"As described in the issue #237, the proposal of this commit is to address the nested problem.\r\n\r\n### Minor changes\r\n- Including a task to run single test cases with `grunt test:<test-name>`\r\n- We can still run all tests using `grunt test`\r\n- Test cases `absolutepath`, `relativepath` and `relativepath2` was duplicated so I left only `absolutepath`, `relativepath` and append the `config/absolutepath.js` which was missing\r\n- Include a test case: `tests/nested`\r\n\r\n### Major changes\r\n- Including a replace condition to address #236 \r\n- Including strategy to replace nested references recursively\r\n\r\n### Todo\r\n- 8/83 assertions failed, need to be fixed\r\n- The recursive strategy is appending the hash over and over making the filename bigger, e.g. `lazyload.db393bc44df4009d.1a3637457ee37996.fd0f51e8be961f5b`","created_at":"2018-04-22T12:14:10Z","updated_at":"2018-04-22T12:14:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/238/commits","review_comments_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/238/comments","review_comment_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/238/comments","statuses_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/statuses/db17483c0fee82f52bcc6f53bc9a43a75d884a5e","head":{"label":"raphaelbs:master","ref":"master","sha":"db17483c0fee82f52bcc6f53bc9a43a75d884a5e","user":{"login":"raphaelbs","id":11169832,"avatar_url":"https://avatars1.githubusercontent.com/u/11169832?v=4","gravatar_id":"","url":"https://api.github.com/users/raphaelbs","html_url":"https://github.com/raphaelbs","followers_url":"https://api.github.com/users/raphaelbs/followers","following_url":"https://api.github.com/users/raphaelbs/following{/other_user}","gists_url":"https://api.github.com/users/raphaelbs/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelbs/subscriptions","organizations_url":"https://api.github.com/users/raphaelbs/orgs","repos_url":"https://api.github.com/users/raphaelbs/repos","events_url":"https://api.github.com/users/raphaelbs/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelbs/received_events","type":"User","site_admin":false},"repo":{"id":130416916,"name":"grunt-cache-bust","full_name":"raphaelbs/grunt-cache-bust","owner":{"login":"raphaelbs","id":11169832,"avatar_url":"https://avatars1.githubusercontent.com/u/11169832?v=4","gravatar_id":"","url":"https://api.github.com/users/raphaelbs","html_url":"https://github.com/raphaelbs","followers_url":"https://api.github.com/users/raphaelbs/followers","following_url":"https://api.github.com/users/raphaelbs/following{/other_user}","gists_url":"https://api.github.com/users/raphaelbs/gists{/gist_id}","starred_url":"https://api.github.com/users/raphaelbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raphaelbs/subscriptions","organizations_url":"https://api.github.com/users/raphaelbs/orgs","repos_url":"https://api.github.com/users/raphaelbs/repos","events_url":"https://api.github.com/users/raphaelbs/events{/privacy}","received_events_url":"https://api.github.com/users/raphaelbs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/raphaelbs/grunt-cache-bust","description":"Cache bust static assets using content hashing","fork":true,"url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust","forks_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/forks","keys_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/teams","hooks_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/hooks","issue_events_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/issues/events{/number}","events_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/events","assignees_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/assignees{/user}","branches_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/branches{/branch}","tags_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/tags","blobs_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/git/refs{/sha}","trees_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/statuses/{sha}","languages_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/languages","stargazers_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/stargazers","contributors_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/contributors","subscribers_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/subscribers","subscription_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/subscription","commits_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/commits{/sha}","git_commits_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/git/commits{/sha}","comments_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/comments{/number}","issue_comment_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/issues/comments{/number}","contents_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/contents/{+path}","compare_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/merges","archive_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/downloads","issues_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/issues{/number}","pulls_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/pulls{/number}","milestones_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/milestones{/number}","notifications_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/labels{/name}","releases_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/releases{/id}","deployments_url":"https://api.github.com/repos/raphaelbs/grunt-cache-bust/deployments","created_at":"2018-04-20T21:48:33Z","updated_at":"2018-04-22T12:05:51Z","pushed_at":"2018-04-22T12:05:49Z","git_url":"git://github.com/raphaelbs/grunt-cache-bust.git","ssh_url":"git@github.com:raphaelbs/grunt-cache-bust.git","clone_url":"https://github.com/raphaelbs/grunt-cache-bust.git","svn_url":"https://github.com/raphaelbs/grunt-cache-bust","homepage":"","size":1371,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hollandben:master","ref":"master","sha":"4e3561a44f8d4b9bc7cff37b435e6cd9412c7182","user":{"login":"hollandben","id":1148714,"avatar_url":"https://avatars3.githubusercontent.com/u/1148714?v=4","gravatar_id":"","url":"https://api.github.com/users/hollandben","html_url":"https://github.com/hollandben","followers_url":"https://api.github.com/users/hollandben/followers","following_url":"https://api.github.com/users/hollandben/following{/other_user}","gists_url":"https://api.github.com/users/hollandben/gists{/gist_id}","starred_url":"https://api.github.com/users/hollandben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollandben/subscriptions","organizations_url":"https://api.github.com/users/hollandben/orgs","repos_url":"https://api.github.com/users/hollandben/repos","events_url":"https://api.github.com/users/hollandben/events{/privacy}","received_events_url":"https://api.github.com/users/hollandben/received_events","type":"User","site_admin":false},"repo":{"id":11921320,"name":"grunt-cache-bust","full_name":"hollandben/grunt-cache-bust","owner":{"login":"hollandben","id":1148714,"avatar_url":"https://avatars3.githubusercontent.com/u/1148714?v=4","gravatar_id":"","url":"https://api.github.com/users/hollandben","html_url":"https://github.com/hollandben","followers_url":"https://api.github.com/users/hollandben/followers","following_url":"https://api.github.com/users/hollandben/following{/other_user}","gists_url":"https://api.github.com/users/hollandben/gists{/gist_id}","starred_url":"https://api.github.com/users/hollandben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hollandben/subscriptions","organizations_url":"https://api.github.com/users/hollandben/orgs","repos_url":"https://api.github.com/users/hollandben/repos","events_url":"https://api.github.com/users/hollandben/events{/privacy}","received_events_url":"https://api.github.com/users/hollandben/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hollandben/grunt-cache-bust","description":"Cache bust static assets using content hashing","fork":false,"url":"https://api.github.com/repos/hollandben/grunt-cache-bust","forks_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/forks","keys_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/teams","hooks_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/hooks","issue_events_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/events{/number}","events_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/events","assignees_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/assignees{/user}","branches_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/branches{/branch}","tags_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/tags","blobs_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/git/refs{/sha}","trees_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/statuses/{sha}","languages_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/languages","stargazers_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/stargazers","contributors_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/contributors","subscribers_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/subscribers","subscription_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/subscription","commits_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/commits{/sha}","git_commits_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/git/commits{/sha}","comments_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/comments{/number}","issue_comment_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/comments{/number}","contents_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/contents/{+path}","compare_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/merges","archive_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/downloads","issues_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues{/number}","pulls_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls{/number}","milestones_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/milestones{/number}","notifications_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/labels{/name}","releases_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/releases{/id}","deployments_url":"https://api.github.com/repos/hollandben/grunt-cache-bust/deployments","created_at":"2013-08-06T10:23:09Z","updated_at":"2018-04-10T05:04:41Z","pushed_at":"2017-11-01T07:06:35Z","git_url":"git://github.com/hollandben/grunt-cache-bust.git","ssh_url":"git@github.com:hollandben/grunt-cache-bust.git","clone_url":"https://github.com/hollandben/grunt-cache-bust.git","svn_url":"https://github.com/hollandben/grunt-cache-bust","homepage":"","size":1269,"stargazers_count":249,"watchers_count":249,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":98,"mirror_url":null,"archived":false,"open_issues_count":29,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":98,"open_issues":29,"watchers":249,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/238"},"html":{"href":"https://github.com/hollandben/grunt-cache-bust/pull/238"},"issue":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/238"},"comments":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/hollandben/grunt-cache-bust/statuses/db17483c0fee82f52bcc6f53bc9a43a75d884a5e"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":11,"additions":4329,"deletions":104,"changed_files":30}}
{"actor":{"display_login":"raphaelbs"}}