{"action":"closed","number":28,"pull_request":{"url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/28","id":95583288,"html_url":"https://github.com/sethwebster/ember-cli-new-version/pull/28","diff_url":"https://github.com/sethwebster/ember-cli-new-version/pull/28.diff","patch_url":"https://github.com/sethwebster/ember-cli-new-version/pull/28.patch","issue_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/28","number":28,"state":"closed","locked":false,"title":"Implement `compareVersions` action","user":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars0.githubusercontent.com/u/34726?v=4","gravatar_id":"","url":"https://api.github.com/users/knownasilya","html_url":"https://github.com/knownasilya","followers_url":"https://api.github.com/users/knownasilya/followers","following_url":"https://api.github.com/users/knownasilya/following{/other_user}","gists_url":"https://api.github.com/users/knownasilya/gists{/gist_id}","starred_url":"https://api.github.com/users/knownasilya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knownasilya/subscriptions","organizations_url":"https://api.github.com/users/knownasilya/orgs","repos_url":"https://api.github.com/users/knownasilya/repos","events_url":"https://api.github.com/users/knownasilya/events{/privacy}","received_events_url":"https://api.github.com/users/knownasilya/received_events","type":"User","site_admin":false},"body":"**WIP** needs tests and docs\r\n\r\nNow you can do something like:\r\n\r\n```hbs\r\n{{new-version-notifier compareVersions=(action 'compareVersions')}}\r\n```\r\n\r\nWhere `compareVersions` looks like:\r\n\r\n```js\r\nactions: {\r\n  compareVersions(currentVersion, newVersion) {\r\n    return true; // true for a valid change, which would show a message\r\n  }\r\n}\r\n```","created_at":"2016-11-28T21:50:14Z","updated_at":"2018-03-13T19:53:49Z","closed_at":"2018-03-13T19:53:49Z","merged_at":null,"merge_commit_sha":"02e5cc9c5a23ee0bfb2ccc02623c6435281d780b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/28/commits","review_comments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/28/comments","review_comment_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/28/comments","statuses_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/statuses/34753bca64993c8b2ff0834618222f13a1a09f9c","head":{"label":"sethwebster:feat/compare-versions-action","ref":"feat/compare-versions-action","sha":"34753bca64993c8b2ff0834618222f13a1a09f9c","user":{"login":"sethwebster","id":680625,"avatar_url":"https://avatars1.githubusercontent.com/u/680625?v=4","gravatar_id":"","url":"https://api.github.com/users/sethwebster","html_url":"https://github.com/sethwebster","followers_url":"https://api.github.com/users/sethwebster/followers","following_url":"https://api.github.com/users/sethwebster/following{/other_user}","gists_url":"https://api.github.com/users/sethwebster/gists{/gist_id}","starred_url":"https://api.github.com/users/sethwebster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethwebster/subscriptions","organizations_url":"https://api.github.com/users/sethwebster/orgs","repos_url":"https://api.github.com/users/sethwebster/repos","events_url":"https://api.github.com/users/sethwebster/events{/privacy}","received_events_url":"https://api.github.com/users/sethwebster/received_events","type":"User","site_admin":false},"repo":{"id":48504852,"name":"ember-cli-new-version","full_name":"sethwebster/ember-cli-new-version","owner":{"login":"sethwebster","id":680625,"avatar_url":"https://avatars1.githubusercontent.com/u/680625?v=4","gravatar_id":"","url":"https://api.github.com/users/sethwebster","html_url":"https://github.com/sethwebster","followers_url":"https://api.github.com/users/sethwebster/followers","following_url":"https://api.github.com/users/sethwebster/following{/other_user}","gists_url":"https://api.github.com/users/sethwebster/gists{/gist_id}","starred_url":"https://api.github.com/users/sethwebster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethwebster/subscriptions","organizations_url":"https://api.github.com/users/sethwebster/orgs","repos_url":"https://api.github.com/users/sethwebster/repos","events_url":"https://api.github.com/users/sethwebster/events{/privacy}","received_events_url":"https://api.github.com/users/sethwebster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sethwebster/ember-cli-new-version","description":"A convention based update notification for Ember. With this addon, you can detect a new version and notify the user to refresh the page","fork":false,"url":"https://api.github.com/repos/sethwebster/ember-cli-new-version","forks_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/forks","keys_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/teams","hooks_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/hooks","issue_events_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/events{/number}","events_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/events","assignees_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/assignees{/user}","branches_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/branches{/branch}","tags_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/tags","blobs_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/refs{/sha}","trees_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/statuses/{sha}","languages_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/languages","stargazers_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/stargazers","contributors_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/contributors","subscribers_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/subscribers","subscription_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/subscription","commits_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/commits{/sha}","git_commits_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/commits{/sha}","comments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/comments{/number}","issue_comment_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/comments{/number}","contents_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/contents/{+path}","compare_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/merges","archive_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/downloads","issues_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues{/number}","pulls_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls{/number}","milestones_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/milestones{/number}","notifications_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/labels{/name}","releases_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/releases{/id}","deployments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/deployments","created_at":"2015-12-23T18:19:32Z","updated_at":"2018-02-19T00:36:52Z","pushed_at":"2018-03-13T15:20:12Z","git_url":"git://github.com/sethwebster/ember-cli-new-version.git","ssh_url":"git@github.com:sethwebster/ember-cli-new-version.git","clone_url":"https://github.com/sethwebster/ember-cli-new-version.git","svn_url":"https://github.com/sethwebster/ember-cli-new-version","homepage":"http://sethwebster.github.io/ember-cli-new-version/","size":125,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":10,"open_issues":2,"watchers":13,"default_branch":"master"}},"base":{"label":"sethwebster:master","ref":"master","sha":"acd52814e9ddf7b726d4b15f993fd23433a2a407","user":{"login":"sethwebster","id":680625,"avatar_url":"https://avatars1.githubusercontent.com/u/680625?v=4","gravatar_id":"","url":"https://api.github.com/users/sethwebster","html_url":"https://github.com/sethwebster","followers_url":"https://api.github.com/users/sethwebster/followers","following_url":"https://api.github.com/users/sethwebster/following{/other_user}","gists_url":"https://api.github.com/users/sethwebster/gists{/gist_id}","starred_url":"https://api.github.com/users/sethwebster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethwebster/subscriptions","organizations_url":"https://api.github.com/users/sethwebster/orgs","repos_url":"https://api.github.com/users/sethwebster/repos","events_url":"https://api.github.com/users/sethwebster/events{/privacy}","received_events_url":"https://api.github.com/users/sethwebster/received_events","type":"User","site_admin":false},"repo":{"id":48504852,"name":"ember-cli-new-version","full_name":"sethwebster/ember-cli-new-version","owner":{"login":"sethwebster","id":680625,"avatar_url":"https://avatars1.githubusercontent.com/u/680625?v=4","gravatar_id":"","url":"https://api.github.com/users/sethwebster","html_url":"https://github.com/sethwebster","followers_url":"https://api.github.com/users/sethwebster/followers","following_url":"https://api.github.com/users/sethwebster/following{/other_user}","gists_url":"https://api.github.com/users/sethwebster/gists{/gist_id}","starred_url":"https://api.github.com/users/sethwebster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethwebster/subscriptions","organizations_url":"https://api.github.com/users/sethwebster/orgs","repos_url":"https://api.github.com/users/sethwebster/repos","events_url":"https://api.github.com/users/sethwebster/events{/privacy}","received_events_url":"https://api.github.com/users/sethwebster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sethwebster/ember-cli-new-version","description":"A convention based update notification for Ember. With this addon, you can detect a new version and notify the user to refresh the page","fork":false,"url":"https://api.github.com/repos/sethwebster/ember-cli-new-version","forks_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/forks","keys_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/teams","hooks_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/hooks","issue_events_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/events{/number}","events_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/events","assignees_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/assignees{/user}","branches_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/branches{/branch}","tags_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/tags","blobs_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/refs{/sha}","trees_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/statuses/{sha}","languages_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/languages","stargazers_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/stargazers","contributors_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/contributors","subscribers_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/subscribers","subscription_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/subscription","commits_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/commits{/sha}","git_commits_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/git/commits{/sha}","comments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/comments{/number}","issue_comment_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/comments{/number}","contents_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/contents/{+path}","compare_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/merges","archive_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/downloads","issues_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues{/number}","pulls_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls{/number}","milestones_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/milestones{/number}","notifications_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/labels{/name}","releases_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/releases{/id}","deployments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/deployments","created_at":"2015-12-23T18:19:32Z","updated_at":"2018-02-19T00:36:52Z","pushed_at":"2018-03-13T15:20:12Z","git_url":"git://github.com/sethwebster/ember-cli-new-version.git","ssh_url":"git@github.com:sethwebster/ember-cli-new-version.git","clone_url":"https://github.com/sethwebster/ember-cli-new-version.git","svn_url":"https://github.com/sethwebster/ember-cli-new-version","homepage":"http://sethwebster.github.io/ember-cli-new-version/","size":125,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":10,"open_issues":2,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/28"},"html":{"href":"https://github.com/sethwebster/ember-cli-new-version/pull/28"},"issue":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/28"},"comments":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/statuses/34753bca64993c8b2ff0834618222f13a1a09f9c"}},"author_association":"COLLABORATOR","merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":27,"deletions":17,"changed_files":1}}
{"actor":{"display_login":"knownasilya"}}