{"action":"opened","number":33,"pull_request":{"url":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/33","id":77813138,"html_url":"https://github.com/DockYard/ember-service-worker/pull/33","diff_url":"https://github.com/DockYard/ember-service-worker/pull/33.diff","patch_url":"https://github.com/DockYard/ember-service-worker/pull/33.patch","issue_url":"https://api.github.com/repos/DockYard/ember-service-worker/issues/33","number":33,"state":"open","locked":false,"title":"Provide `PROJECT_REVISION`.","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"body":"This will allow both `service-worker` and `service-worker-registration` to do different things based on the current revision.\r\n\r\nThere are at least two major use-cases for this:\r\n\r\n* Allow caching to be busted (of things like `vendor.js`) to only be invalidated when the projects dependencies (and/or its sub-dependencies) are changed.\r\n* Allow a plugin to ensure the service-worker and the registration success handler are paired together properly.\r\n\r\n","created_at":"2016-07-18T14:03:15Z","updated_at":"2016-07-18T14:03:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/33/commits","review_comments_url":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/33/comments","review_comment_url":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DockYard/ember-service-worker/issues/33/comments","statuses_url":"https://api.github.com/repos/DockYard/ember-service-worker/statuses/e63891244e84259b329b1a93ff8aace08c918e4b","head":{"label":"rwjblue:provide-project-revision","ref":"provide-project-revision","sha":"e63891244e84259b329b1a93ff8aace08c918e4b","user":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"repo":{"id":61953825,"name":"ember-service-worker","full_name":"rwjblue/ember-service-worker","owner":{"login":"rwjblue","id":12637,"avatar_url":"https://avatars.githubusercontent.com/u/12637?v=3","gravatar_id":"","url":"https://api.github.com/users/rwjblue","html_url":"https://github.com/rwjblue","followers_url":"https://api.github.com/users/rwjblue/followers","following_url":"https://api.github.com/users/rwjblue/following{/other_user}","gists_url":"https://api.github.com/users/rwjblue/gists{/gist_id}","starred_url":"https://api.github.com/users/rwjblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwjblue/subscriptions","organizations_url":"https://api.github.com/users/rwjblue/orgs","repos_url":"https://api.github.com/users/rwjblue/repos","events_url":"https://api.github.com/users/rwjblue/events{/privacy}","received_events_url":"https://api.github.com/users/rwjblue/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwjblue/ember-service-worker","description":"A pluggable approach to Service Workers for Ember.js","fork":true,"url":"https://api.github.com/repos/rwjblue/ember-service-worker","forks_url":"https://api.github.com/repos/rwjblue/ember-service-worker/forks","keys_url":"https://api.github.com/repos/rwjblue/ember-service-worker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwjblue/ember-service-worker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwjblue/ember-service-worker/teams","hooks_url":"https://api.github.com/repos/rwjblue/ember-service-worker/hooks","issue_events_url":"https://api.github.com/repos/rwjblue/ember-service-worker/issues/events{/number}","events_url":"https://api.github.com/repos/rwjblue/ember-service-worker/events","assignees_url":"https://api.github.com/repos/rwjblue/ember-service-worker/assignees{/user}","branches_url":"https://api.github.com/repos/rwjblue/ember-service-worker/branches{/branch}","tags_url":"https://api.github.com/repos/rwjblue/ember-service-worker/tags","blobs_url":"https://api.github.com/repos/rwjblue/ember-service-worker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwjblue/ember-service-worker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwjblue/ember-service-worker/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwjblue/ember-service-worker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwjblue/ember-service-worker/statuses/{sha}","languages_url":"https://api.github.com/repos/rwjblue/ember-service-worker/languages","stargazers_url":"https://api.github.com/repos/rwjblue/ember-service-worker/stargazers","contributors_url":"https://api.github.com/repos/rwjblue/ember-service-worker/contributors","subscribers_url":"https://api.github.com/repos/rwjblue/ember-service-worker/subscribers","subscription_url":"https://api.github.com/repos/rwjblue/ember-service-worker/subscription","commits_url":"https://api.github.com/repos/rwjblue/ember-service-worker/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwjblue/ember-service-worker/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwjblue/ember-service-worker/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwjblue/ember-service-worker/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwjblue/ember-service-worker/contents/{+path}","compare_url":"https://api.github.com/repos/rwjblue/ember-service-worker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwjblue/ember-service-worker/merges","archive_url":"https://api.github.com/repos/rwjblue/ember-service-worker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwjblue/ember-service-worker/downloads","issues_url":"https://api.github.com/repos/rwjblue/ember-service-worker/issues{/number}","pulls_url":"https://api.github.com/repos/rwjblue/ember-service-worker/pulls{/number}","milestones_url":"https://api.github.com/repos/rwjblue/ember-service-worker/milestones{/number}","notifications_url":"https://api.github.com/repos/rwjblue/ember-service-worker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwjblue/ember-service-worker/labels{/name}","releases_url":"https://api.github.com/repos/rwjblue/ember-service-worker/releases{/id}","deployments_url":"https://api.github.com/repos/rwjblue/ember-service-worker/deployments","created_at":"2016-06-25T17:21:42Z","updated_at":"2016-06-25T17:21:43Z","pushed_at":"2016-07-18T14:02:04Z","git_url":"git://github.com/rwjblue/ember-service-worker.git","ssh_url":"git@github.com:rwjblue/ember-service-worker.git","clone_url":"https://github.com/rwjblue/ember-service-worker.git","svn_url":"https://github.com/rwjblue/ember-service-worker","homepage":"https://github.com/DockYard/ember-service-worker","size":45,"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":"DockYard:master","ref":"master","sha":"8bdb5845ddf5e9ad46520ae2b4ab6e266d8cf80e","user":{"login":"DockYard","id":873981,"avatar_url":"https://avatars.githubusercontent.com/u/873981?v=3","gravatar_id":"","url":"https://api.github.com/users/DockYard","html_url":"https://github.com/DockYard","followers_url":"https://api.github.com/users/DockYard/followers","following_url":"https://api.github.com/users/DockYard/following{/other_user}","gists_url":"https://api.github.com/users/DockYard/gists{/gist_id}","starred_url":"https://api.github.com/users/DockYard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DockYard/subscriptions","organizations_url":"https://api.github.com/users/DockYard/orgs","repos_url":"https://api.github.com/users/DockYard/repos","events_url":"https://api.github.com/users/DockYard/events{/privacy}","received_events_url":"https://api.github.com/users/DockYard/received_events","type":"Organization","site_admin":false},"repo":{"id":52545849,"name":"ember-service-worker","full_name":"DockYard/ember-service-worker","owner":{"login":"DockYard","id":873981,"avatar_url":"https://avatars.githubusercontent.com/u/873981?v=3","gravatar_id":"","url":"https://api.github.com/users/DockYard","html_url":"https://github.com/DockYard","followers_url":"https://api.github.com/users/DockYard/followers","following_url":"https://api.github.com/users/DockYard/following{/other_user}","gists_url":"https://api.github.com/users/DockYard/gists{/gist_id}","starred_url":"https://api.github.com/users/DockYard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DockYard/subscriptions","organizations_url":"https://api.github.com/users/DockYard/orgs","repos_url":"https://api.github.com/users/DockYard/repos","events_url":"https://api.github.com/users/DockYard/events{/privacy}","received_events_url":"https://api.github.com/users/DockYard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DockYard/ember-service-worker","description":"A pluggable approach to Service Workers for Ember.js","fork":false,"url":"https://api.github.com/repos/DockYard/ember-service-worker","forks_url":"https://api.github.com/repos/DockYard/ember-service-worker/forks","keys_url":"https://api.github.com/repos/DockYard/ember-service-worker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DockYard/ember-service-worker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DockYard/ember-service-worker/teams","hooks_url":"https://api.github.com/repos/DockYard/ember-service-worker/hooks","issue_events_url":"https://api.github.com/repos/DockYard/ember-service-worker/issues/events{/number}","events_url":"https://api.github.com/repos/DockYard/ember-service-worker/events","assignees_url":"https://api.github.com/repos/DockYard/ember-service-worker/assignees{/user}","branches_url":"https://api.github.com/repos/DockYard/ember-service-worker/branches{/branch}","tags_url":"https://api.github.com/repos/DockYard/ember-service-worker/tags","blobs_url":"https://api.github.com/repos/DockYard/ember-service-worker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DockYard/ember-service-worker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DockYard/ember-service-worker/git/refs{/sha}","trees_url":"https://api.github.com/repos/DockYard/ember-service-worker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DockYard/ember-service-worker/statuses/{sha}","languages_url":"https://api.github.com/repos/DockYard/ember-service-worker/languages","stargazers_url":"https://api.github.com/repos/DockYard/ember-service-worker/stargazers","contributors_url":"https://api.github.com/repos/DockYard/ember-service-worker/contributors","subscribers_url":"https://api.github.com/repos/DockYard/ember-service-worker/subscribers","subscription_url":"https://api.github.com/repos/DockYard/ember-service-worker/subscription","commits_url":"https://api.github.com/repos/DockYard/ember-service-worker/commits{/sha}","git_commits_url":"https://api.github.com/repos/DockYard/ember-service-worker/git/commits{/sha}","comments_url":"https://api.github.com/repos/DockYard/ember-service-worker/comments{/number}","issue_comment_url":"https://api.github.com/repos/DockYard/ember-service-worker/issues/comments{/number}","contents_url":"https://api.github.com/repos/DockYard/ember-service-worker/contents/{+path}","compare_url":"https://api.github.com/repos/DockYard/ember-service-worker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DockYard/ember-service-worker/merges","archive_url":"https://api.github.com/repos/DockYard/ember-service-worker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DockYard/ember-service-worker/downloads","issues_url":"https://api.github.com/repos/DockYard/ember-service-worker/issues{/number}","pulls_url":"https://api.github.com/repos/DockYard/ember-service-worker/pulls{/number}","milestones_url":"https://api.github.com/repos/DockYard/ember-service-worker/milestones{/number}","notifications_url":"https://api.github.com/repos/DockYard/ember-service-worker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DockYard/ember-service-worker/labels{/name}","releases_url":"https://api.github.com/repos/DockYard/ember-service-worker/releases{/id}","deployments_url":"https://api.github.com/repos/DockYard/ember-service-worker/deployments","created_at":"2016-02-25T18:05:42Z","updated_at":"2016-07-12T12:45:18Z","pushed_at":"2016-07-18T14:03:16Z","git_url":"git://github.com/DockYard/ember-service-worker.git","ssh_url":"git@github.com:DockYard/ember-service-worker.git","clone_url":"https://github.com/DockYard/ember-service-worker.git","svn_url":"https://github.com/DockYard/ember-service-worker","homepage":"https://github.com/DockYard/ember-service-worker","size":40,"stargazers_count":67,"watchers_count":67,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":5,"forks":2,"open_issues":5,"watchers":67,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/33"},"html":{"href":"https://github.com/DockYard/ember-service-worker/pull/33"},"issue":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/issues/33"},"comments":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/DockYard/ember-service-worker/statuses/e63891244e84259b329b1a93ff8aace08c918e4b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":58,"deletions":13,"changed_files":5}}
{"actor":{"display_login":"rwjblue"}}