{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/1","id":54559781,"html_url":"https://github.com/sethwebster/ember-cli-new-version/pull/1","diff_url":"https://github.com/sethwebster/ember-cli-new-version/pull/1.diff","patch_url":"https://github.com/sethwebster/ember-cli-new-version/pull/1.patch","issue_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/1","number":1,"state":"closed","locked":false,"title":"Allow custom notifications","user":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","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":"Can be used like so:\r\n\r\n```hbs\r\n{{#ember-cli-new-version as |version lastVersion reload close|}}\r\n  <div class=\"custom-notification\">\r\n    Reload to update to the new version ({{version}}) of this application\r\n    <button type=\"button\" onclick={{action reload}}>Reload</button>\r\n    <button type=\"button\" onclick={{action close}}>Close</button>\r\n  </div>\r\n{{/ember-cli-new-version}}\r\n```\r\n\r\nAlso fixed a version issue by trimming the version before setting it.","created_at":"2015-12-24T16:52:36Z","updated_at":"2015-12-28T15:08:09Z","closed_at":"2015-12-28T15:08:09Z","merged_at":null,"merge_commit_sha":"8e4680f14b4bf9f4434a2e3811d1e4a4a071bbc1","assignee":{"login":"sethwebster","id":680625,"avatar_url":"https://avatars.githubusercontent.com/u/680625?v=3","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},"milestone":null,"commits_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/1/commits","review_comments_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/1/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/1/comments","statuses_url":"https://api.github.com/repos/sethwebster/ember-cli-new-version/statuses/08e1d185b9a7192f6545cb54485e445e7f047972","head":{"label":"knownasilya:patch-1","ref":"patch-1","sha":"08e1d185b9a7192f6545cb54485e445e7f047972","user":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","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},"repo":{"id":48550372,"name":"ember-cli-new-version","full_name":"knownasilya/ember-cli-new-version","owner":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","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},"private":false,"html_url":"https://github.com/knownasilya/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":true,"url":"https://api.github.com/repos/knownasilya/ember-cli-new-version","forks_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/forks","keys_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/teams","hooks_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/hooks","issue_events_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/issues/events{/number}","events_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/events","assignees_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/assignees{/user}","branches_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/branches{/branch}","tags_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/tags","blobs_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/git/refs{/sha}","trees_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/statuses/{sha}","languages_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/languages","stargazers_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/stargazers","contributors_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/contributors","subscribers_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/subscribers","subscription_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/subscription","commits_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/commits{/sha}","git_commits_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/git/commits{/sha}","comments_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/comments{/number}","issue_comment_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/issues/comments{/number}","contents_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/contents/{+path}","compare_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/merges","archive_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/downloads","issues_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/issues{/number}","pulls_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/pulls{/number}","milestones_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/milestones{/number}","notifications_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/labels{/name}","releases_url":"https://api.github.com/repos/knownasilya/ember-cli-new-version/releases{/id}","created_at":"2015-12-24T16:43:07Z","updated_at":"2015-12-24T16:43:08Z","pushed_at":"2015-12-28T15:07:38Z","git_url":"git://github.com/knownasilya/ember-cli-new-version.git","ssh_url":"git@github.com:knownasilya/ember-cli-new-version.git","clone_url":"https://github.com/knownasilya/ember-cli-new-version.git","svn_url":"https://github.com/knownasilya/ember-cli-new-version","homepage":null,"size":12,"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":"sethwebster:master","ref":"master","sha":"955c38e3368a3e311b2378d5a04d22c264f469f9","user":{"login":"sethwebster","id":680625,"avatar_url":"https://avatars.githubusercontent.com/u/680625?v=3","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://avatars.githubusercontent.com/u/680625?v=3","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}","created_at":"2015-12-23T18:19:32Z","updated_at":"2015-12-28T01:33:11Z","pushed_at":"2015-12-28T15:07:38Z","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":null,"size":34,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/1"},"html":{"href":"https://github.com/sethwebster/ember-cli-new-version/pull/1"},"issue":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/1"},"comments":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/pulls/1/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/1/commits"},"statuses":{"href":"https://api.github.com/repos/sethwebster/ember-cli-new-version/statuses/08e1d185b9a7192f6545cb54485e445e7f047972"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":52,"deletions":21,"changed_files":3}}