{"action":"closed","number":48,"pull_request":{"url":"https://api.github.com/repos/matryer/bitbar/pulls/48","id":55087763,"html_url":"https://github.com/matryer/bitbar/pull/48","diff_url":"https://github.com/matryer/bitbar/pull/48.diff","patch_url":"https://github.com/matryer/bitbar/pull/48.patch","issue_url":"https://api.github.com/repos/matryer/bitbar/issues/48","number":48,"state":"closed","locked":false,"title":"Refresh keyword","user":{"login":"jcaille","id":2685236,"avatar_url":"https://avatars.githubusercontent.com/u/2685236?v=3","gravatar_id":"","url":"https://api.github.com/users/jcaille","html_url":"https://github.com/jcaille","followers_url":"https://api.github.com/users/jcaille/followers","following_url":"https://api.github.com/users/jcaille/following{/other_user}","gists_url":"https://api.github.com/users/jcaille/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaille/subscriptions","organizations_url":"https://api.github.com/users/jcaille/orgs","repos_url":"https://api.github.com/users/jcaille/repos","events_url":"https://api.github.com/users/jcaille/events{/privacy}","received_events_url":"https://api.github.com/users/jcaille/received_events","type":"User","site_admin":false},"body":"* Added a `refresh` keyword to manually trigger a refresh of a plugin.\r\n* Improved the UI when a plugin is refreshing by displaying the short string `\"Updating ...\"` in place of the (now out of date) plugin information.\r\n* Updated the documentation to reflect those changes\r\n\r\nIn the code, I now keep a reference to the timer triggering the next automatic refresh, invalidating it when a manual refresh is requested.\r\nBefore launching a new task, I set the content to `\"Updating...\"` and manually trigger a menuItem rebuild.\r\n","created_at":"2016-01-05T12:51:46Z","updated_at":"2016-01-06T12:07:10Z","closed_at":"2016-01-06T12:07:10Z","merged_at":"2016-01-06T12:07:10Z","merge_commit_sha":"89191af114fc69457a3a1f8d802cc70cc628ed99","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/matryer/bitbar/pulls/48/commits","review_comments_url":"https://api.github.com/repos/matryer/bitbar/pulls/48/comments","review_comment_url":"https://api.github.com/repos/matryer/bitbar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/matryer/bitbar/issues/48/comments","statuses_url":"https://api.github.com/repos/matryer/bitbar/statuses/14ba503239f904f5bca8d4658b5804c98d2ccf92","head":{"label":"jcaille:feature/Refresh","ref":"feature/Refresh","sha":"14ba503239f904f5bca8d4658b5804c98d2ccf92","user":{"login":"jcaille","id":2685236,"avatar_url":"https://avatars.githubusercontent.com/u/2685236?v=3","gravatar_id":"","url":"https://api.github.com/users/jcaille","html_url":"https://github.com/jcaille","followers_url":"https://api.github.com/users/jcaille/followers","following_url":"https://api.github.com/users/jcaille/following{/other_user}","gists_url":"https://api.github.com/users/jcaille/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaille/subscriptions","organizations_url":"https://api.github.com/users/jcaille/orgs","repos_url":"https://api.github.com/users/jcaille/repos","events_url":"https://api.github.com/users/jcaille/events{/privacy}","received_events_url":"https://api.github.com/users/jcaille/received_events","type":"User","site_admin":false},"repo":{"id":48750413,"name":"bitbar","full_name":"jcaille/bitbar","owner":{"login":"jcaille","id":2685236,"avatar_url":"https://avatars.githubusercontent.com/u/2685236?v=3","gravatar_id":"","url":"https://api.github.com/users/jcaille","html_url":"https://github.com/jcaille","followers_url":"https://api.github.com/users/jcaille/followers","following_url":"https://api.github.com/users/jcaille/following{/other_user}","gists_url":"https://api.github.com/users/jcaille/gists{/gist_id}","starred_url":"https://api.github.com/users/jcaille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcaille/subscriptions","organizations_url":"https://api.github.com/users/jcaille/orgs","repos_url":"https://api.github.com/users/jcaille/repos","events_url":"https://api.github.com/users/jcaille/events{/privacy}","received_events_url":"https://api.github.com/users/jcaille/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jcaille/bitbar","description":"Free app to put the output from any script in your Mac OS X Menu Bar","fork":true,"url":"https://api.github.com/repos/jcaille/bitbar","forks_url":"https://api.github.com/repos/jcaille/bitbar/forks","keys_url":"https://api.github.com/repos/jcaille/bitbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jcaille/bitbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jcaille/bitbar/teams","hooks_url":"https://api.github.com/repos/jcaille/bitbar/hooks","issue_events_url":"https://api.github.com/repos/jcaille/bitbar/issues/events{/number}","events_url":"https://api.github.com/repos/jcaille/bitbar/events","assignees_url":"https://api.github.com/repos/jcaille/bitbar/assignees{/user}","branches_url":"https://api.github.com/repos/jcaille/bitbar/branches{/branch}","tags_url":"https://api.github.com/repos/jcaille/bitbar/tags","blobs_url":"https://api.github.com/repos/jcaille/bitbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jcaille/bitbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jcaille/bitbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/jcaille/bitbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jcaille/bitbar/statuses/{sha}","languages_url":"https://api.github.com/repos/jcaille/bitbar/languages","stargazers_url":"https://api.github.com/repos/jcaille/bitbar/stargazers","contributors_url":"https://api.github.com/repos/jcaille/bitbar/contributors","subscribers_url":"https://api.github.com/repos/jcaille/bitbar/subscribers","subscription_url":"https://api.github.com/repos/jcaille/bitbar/subscription","commits_url":"https://api.github.com/repos/jcaille/bitbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/jcaille/bitbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/jcaille/bitbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/jcaille/bitbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/jcaille/bitbar/contents/{+path}","compare_url":"https://api.github.com/repos/jcaille/bitbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jcaille/bitbar/merges","archive_url":"https://api.github.com/repos/jcaille/bitbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jcaille/bitbar/downloads","issues_url":"https://api.github.com/repos/jcaille/bitbar/issues{/number}","pulls_url":"https://api.github.com/repos/jcaille/bitbar/pulls{/number}","milestones_url":"https://api.github.com/repos/jcaille/bitbar/milestones{/number}","notifications_url":"https://api.github.com/repos/jcaille/bitbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jcaille/bitbar/labels{/name}","releases_url":"https://api.github.com/repos/jcaille/bitbar/releases{/id}","created_at":"2015-12-29T14:11:00Z","updated_at":"2016-01-05T14:39:09Z","pushed_at":"2016-01-06T08:47:55Z","git_url":"git://github.com/jcaille/bitbar.git","ssh_url":"git@github.com:jcaille/bitbar.git","clone_url":"https://github.com/jcaille/bitbar.git","svn_url":"https://github.com/jcaille/bitbar","homepage":"","size":2902,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":8,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"matryer:master","ref":"master","sha":"20350dd007de56403bb7e06051a7ac19116fe3f6","user":{"login":"matryer","id":101659,"avatar_url":"https://avatars.githubusercontent.com/u/101659?v=3","gravatar_id":"","url":"https://api.github.com/users/matryer","html_url":"https://github.com/matryer","followers_url":"https://api.github.com/users/matryer/followers","following_url":"https://api.github.com/users/matryer/following{/other_user}","gists_url":"https://api.github.com/users/matryer/gists{/gist_id}","starred_url":"https://api.github.com/users/matryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matryer/subscriptions","organizations_url":"https://api.github.com/users/matryer/orgs","repos_url":"https://api.github.com/users/matryer/repos","events_url":"https://api.github.com/users/matryer/events{/privacy}","received_events_url":"https://api.github.com/users/matryer/received_events","type":"User","site_admin":false},"repo":{"id":14376285,"name":"bitbar","full_name":"matryer/bitbar","owner":{"login":"matryer","id":101659,"avatar_url":"https://avatars.githubusercontent.com/u/101659?v=3","gravatar_id":"","url":"https://api.github.com/users/matryer","html_url":"https://github.com/matryer","followers_url":"https://api.github.com/users/matryer/followers","following_url":"https://api.github.com/users/matryer/following{/other_user}","gists_url":"https://api.github.com/users/matryer/gists{/gist_id}","starred_url":"https://api.github.com/users/matryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matryer/subscriptions","organizations_url":"https://api.github.com/users/matryer/orgs","repos_url":"https://api.github.com/users/matryer/repos","events_url":"https://api.github.com/users/matryer/events{/privacy}","received_events_url":"https://api.github.com/users/matryer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/matryer/bitbar","description":"Put the output from any script in your Mac OS X Menu Bar","fork":false,"url":"https://api.github.com/repos/matryer/bitbar","forks_url":"https://api.github.com/repos/matryer/bitbar/forks","keys_url":"https://api.github.com/repos/matryer/bitbar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/matryer/bitbar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/matryer/bitbar/teams","hooks_url":"https://api.github.com/repos/matryer/bitbar/hooks","issue_events_url":"https://api.github.com/repos/matryer/bitbar/issues/events{/number}","events_url":"https://api.github.com/repos/matryer/bitbar/events","assignees_url":"https://api.github.com/repos/matryer/bitbar/assignees{/user}","branches_url":"https://api.github.com/repos/matryer/bitbar/branches{/branch}","tags_url":"https://api.github.com/repos/matryer/bitbar/tags","blobs_url":"https://api.github.com/repos/matryer/bitbar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/matryer/bitbar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/matryer/bitbar/git/refs{/sha}","trees_url":"https://api.github.com/repos/matryer/bitbar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/matryer/bitbar/statuses/{sha}","languages_url":"https://api.github.com/repos/matryer/bitbar/languages","stargazers_url":"https://api.github.com/repos/matryer/bitbar/stargazers","contributors_url":"https://api.github.com/repos/matryer/bitbar/contributors","subscribers_url":"https://api.github.com/repos/matryer/bitbar/subscribers","subscription_url":"https://api.github.com/repos/matryer/bitbar/subscription","commits_url":"https://api.github.com/repos/matryer/bitbar/commits{/sha}","git_commits_url":"https://api.github.com/repos/matryer/bitbar/git/commits{/sha}","comments_url":"https://api.github.com/repos/matryer/bitbar/comments{/number}","issue_comment_url":"https://api.github.com/repos/matryer/bitbar/issues/comments{/number}","contents_url":"https://api.github.com/repos/matryer/bitbar/contents/{+path}","compare_url":"https://api.github.com/repos/matryer/bitbar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/matryer/bitbar/merges","archive_url":"https://api.github.com/repos/matryer/bitbar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/matryer/bitbar/downloads","issues_url":"https://api.github.com/repos/matryer/bitbar/issues{/number}","pulls_url":"https://api.github.com/repos/matryer/bitbar/pulls{/number}","milestones_url":"https://api.github.com/repos/matryer/bitbar/milestones{/number}","notifications_url":"https://api.github.com/repos/matryer/bitbar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/matryer/bitbar/labels{/name}","releases_url":"https://api.github.com/repos/matryer/bitbar/releases{/id}","created_at":"2013-11-13T21:00:12Z","updated_at":"2016-01-06T12:05:49Z","pushed_at":"2016-01-06T12:07:11Z","git_url":"git://github.com/matryer/bitbar.git","ssh_url":"git@github.com:matryer/bitbar.git","clone_url":"https://github.com/matryer/bitbar.git","svn_url":"https://github.com/matryer/bitbar","homepage":"","size":2851,"stargazers_count":2985,"watchers_count":2985,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":103,"mirror_url":null,"open_issues_count":26,"forks":103,"open_issues":26,"watchers":2985,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/matryer/bitbar/pulls/48"},"html":{"href":"https://github.com/matryer/bitbar/pull/48"},"issue":{"href":"https://api.github.com/repos/matryer/bitbar/issues/48"},"comments":{"href":"https://api.github.com/repos/matryer/bitbar/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/matryer/bitbar/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/matryer/bitbar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/matryer/bitbar/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/matryer/bitbar/statuses/14ba503239f904f5bca8d4658b5804c98d2ccf92"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"matryer","id":101659,"avatar_url":"https://avatars.githubusercontent.com/u/101659?v=3","gravatar_id":"","url":"https://api.github.com/users/matryer","html_url":"https://github.com/matryer","followers_url":"https://api.github.com/users/matryer/followers","following_url":"https://api.github.com/users/matryer/following{/other_user}","gists_url":"https://api.github.com/users/matryer/gists{/gist_id}","starred_url":"https://api.github.com/users/matryer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matryer/subscriptions","organizations_url":"https://api.github.com/users/matryer/orgs","repos_url":"https://api.github.com/users/matryer/repos","events_url":"https://api.github.com/users/matryer/events{/privacy}","received_events_url":"https://api.github.com/users/matryer/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":3,"additions":23,"deletions":6,"changed_files":4}}