{"action":"closed","number":353,"pull_request":{"url":"https://api.github.com/repos/gnachman/iTerm2/pulls/353","id":172385693,"html_url":"https://github.com/gnachman/iTerm2/pull/353","diff_url":"https://github.com/gnachman/iTerm2/pull/353.diff","patch_url":"https://github.com/gnachman/iTerm2/pull/353.patch","issue_url":"https://api.github.com/repos/gnachman/iTerm2/issues/353","number":353,"state":"closed","locked":false,"title":"Fixes singleton, refactor power monitoring mode (#6550)","user":{"login":"mspasov","id":469995,"avatar_url":"https://avatars3.githubusercontent.com/u/469995?v=4","gravatar_id":"","url":"https://api.github.com/users/mspasov","html_url":"https://github.com/mspasov","followers_url":"https://api.github.com/users/mspasov/followers","following_url":"https://api.github.com/users/mspasov/following{/other_user}","gists_url":"https://api.github.com/users/mspasov/gists{/gist_id}","starred_url":"https://api.github.com/users/mspasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspasov/subscriptions","organizations_url":"https://api.github.com/users/mspasov/orgs","repos_url":"https://api.github.com/users/mspasov/repos","events_url":"https://api.github.com/users/mspasov/events{/privacy}","received_events_url":"https://api.github.com/users/mspasov/received_events","type":"User","site_admin":false},"body":"- Fixes singleton implementation of the power manager instance (bug #6550)\r\n- Changes the way power status is monitored to a more optimal callback\r\nwhen power source has been changed to a limited power source\r\n(IOPSCreateLimitedPowerNotification)\r\n\r\nps. excuse my objc, it's a little bit rusty. :)","created_at":"2018-03-01T23:42:00Z","updated_at":"2018-03-04T20:14:05Z","closed_at":"2018-03-04T20:14:05Z","merged_at":"2018-03-04T20:14:05Z","merge_commit_sha":"646363ea2ad3c6d58d8ca6b4c7d57781154f8e24","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gnachman/iTerm2/pulls/353/commits","review_comments_url":"https://api.github.com/repos/gnachman/iTerm2/pulls/353/comments","review_comment_url":"https://api.github.com/repos/gnachman/iTerm2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gnachman/iTerm2/issues/353/comments","statuses_url":"https://api.github.com/repos/gnachman/iTerm2/statuses/646363ea2ad3c6d58d8ca6b4c7d57781154f8e24","head":{"label":"mspasov:fix-6550","ref":"fix-6550","sha":"646363ea2ad3c6d58d8ca6b4c7d57781154f8e24","user":{"login":"mspasov","id":469995,"avatar_url":"https://avatars3.githubusercontent.com/u/469995?v=4","gravatar_id":"","url":"https://api.github.com/users/mspasov","html_url":"https://github.com/mspasov","followers_url":"https://api.github.com/users/mspasov/followers","following_url":"https://api.github.com/users/mspasov/following{/other_user}","gists_url":"https://api.github.com/users/mspasov/gists{/gist_id}","starred_url":"https://api.github.com/users/mspasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspasov/subscriptions","organizations_url":"https://api.github.com/users/mspasov/orgs","repos_url":"https://api.github.com/users/mspasov/repos","events_url":"https://api.github.com/users/mspasov/events{/privacy}","received_events_url":"https://api.github.com/users/mspasov/received_events","type":"User","site_admin":false},"repo":{"id":123504729,"name":"iTerm2","full_name":"mspasov/iTerm2","owner":{"login":"mspasov","id":469995,"avatar_url":"https://avatars3.githubusercontent.com/u/469995?v=4","gravatar_id":"","url":"https://api.github.com/users/mspasov","html_url":"https://github.com/mspasov","followers_url":"https://api.github.com/users/mspasov/followers","following_url":"https://api.github.com/users/mspasov/following{/other_user}","gists_url":"https://api.github.com/users/mspasov/gists{/gist_id}","starred_url":"https://api.github.com/users/mspasov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mspasov/subscriptions","organizations_url":"https://api.github.com/users/mspasov/orgs","repos_url":"https://api.github.com/users/mspasov/repos","events_url":"https://api.github.com/users/mspasov/events{/privacy}","received_events_url":"https://api.github.com/users/mspasov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mspasov/iTerm2","description":"iTerm2 is a terminal emulator for Mac OS X that does amazing things.","fork":true,"url":"https://api.github.com/repos/mspasov/iTerm2","forks_url":"https://api.github.com/repos/mspasov/iTerm2/forks","keys_url":"https://api.github.com/repos/mspasov/iTerm2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mspasov/iTerm2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mspasov/iTerm2/teams","hooks_url":"https://api.github.com/repos/mspasov/iTerm2/hooks","issue_events_url":"https://api.github.com/repos/mspasov/iTerm2/issues/events{/number}","events_url":"https://api.github.com/repos/mspasov/iTerm2/events","assignees_url":"https://api.github.com/repos/mspasov/iTerm2/assignees{/user}","branches_url":"https://api.github.com/repos/mspasov/iTerm2/branches{/branch}","tags_url":"https://api.github.com/repos/mspasov/iTerm2/tags","blobs_url":"https://api.github.com/repos/mspasov/iTerm2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mspasov/iTerm2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mspasov/iTerm2/git/refs{/sha}","trees_url":"https://api.github.com/repos/mspasov/iTerm2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mspasov/iTerm2/statuses/{sha}","languages_url":"https://api.github.com/repos/mspasov/iTerm2/languages","stargazers_url":"https://api.github.com/repos/mspasov/iTerm2/stargazers","contributors_url":"https://api.github.com/repos/mspasov/iTerm2/contributors","subscribers_url":"https://api.github.com/repos/mspasov/iTerm2/subscribers","subscription_url":"https://api.github.com/repos/mspasov/iTerm2/subscription","commits_url":"https://api.github.com/repos/mspasov/iTerm2/commits{/sha}","git_commits_url":"https://api.github.com/repos/mspasov/iTerm2/git/commits{/sha}","comments_url":"https://api.github.com/repos/mspasov/iTerm2/comments{/number}","issue_comment_url":"https://api.github.com/repos/mspasov/iTerm2/issues/comments{/number}","contents_url":"https://api.github.com/repos/mspasov/iTerm2/contents/{+path}","compare_url":"https://api.github.com/repos/mspasov/iTerm2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mspasov/iTerm2/merges","archive_url":"https://api.github.com/repos/mspasov/iTerm2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mspasov/iTerm2/downloads","issues_url":"https://api.github.com/repos/mspasov/iTerm2/issues{/number}","pulls_url":"https://api.github.com/repos/mspasov/iTerm2/pulls{/number}","milestones_url":"https://api.github.com/repos/mspasov/iTerm2/milestones{/number}","notifications_url":"https://api.github.com/repos/mspasov/iTerm2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mspasov/iTerm2/labels{/name}","releases_url":"https://api.github.com/repos/mspasov/iTerm2/releases{/id}","deployments_url":"https://api.github.com/repos/mspasov/iTerm2/deployments","created_at":"2018-03-01T23:31:00Z","updated_at":"2018-03-01T23:31:08Z","pushed_at":"2018-03-03T23:28:44Z","git_url":"git://github.com/mspasov/iTerm2.git","ssh_url":"git@github.com:mspasov/iTerm2.git","clone_url":"https://github.com/mspasov/iTerm2.git","svn_url":"https://github.com/mspasov/iTerm2","homepage":"http://iterm2.com/","size":72083,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gnachman:master","ref":"master","sha":"082a4c09e4cd776aa62a977d5fdc33d85f66d231","user":{"login":"gnachman","id":427546,"avatar_url":"https://avatars3.githubusercontent.com/u/427546?v=4","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"repo":{"id":1580036,"name":"iTerm2","full_name":"gnachman/iTerm2","owner":{"login":"gnachman","id":427546,"avatar_url":"https://avatars3.githubusercontent.com/u/427546?v=4","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gnachman/iTerm2","description":"iTerm2 is a terminal emulator for Mac OS X that does amazing things.","fork":false,"url":"https://api.github.com/repos/gnachman/iTerm2","forks_url":"https://api.github.com/repos/gnachman/iTerm2/forks","keys_url":"https://api.github.com/repos/gnachman/iTerm2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gnachman/iTerm2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gnachman/iTerm2/teams","hooks_url":"https://api.github.com/repos/gnachman/iTerm2/hooks","issue_events_url":"https://api.github.com/repos/gnachman/iTerm2/issues/events{/number}","events_url":"https://api.github.com/repos/gnachman/iTerm2/events","assignees_url":"https://api.github.com/repos/gnachman/iTerm2/assignees{/user}","branches_url":"https://api.github.com/repos/gnachman/iTerm2/branches{/branch}","tags_url":"https://api.github.com/repos/gnachman/iTerm2/tags","blobs_url":"https://api.github.com/repos/gnachman/iTerm2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gnachman/iTerm2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gnachman/iTerm2/git/refs{/sha}","trees_url":"https://api.github.com/repos/gnachman/iTerm2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gnachman/iTerm2/statuses/{sha}","languages_url":"https://api.github.com/repos/gnachman/iTerm2/languages","stargazers_url":"https://api.github.com/repos/gnachman/iTerm2/stargazers","contributors_url":"https://api.github.com/repos/gnachman/iTerm2/contributors","subscribers_url":"https://api.github.com/repos/gnachman/iTerm2/subscribers","subscription_url":"https://api.github.com/repos/gnachman/iTerm2/subscription","commits_url":"https://api.github.com/repos/gnachman/iTerm2/commits{/sha}","git_commits_url":"https://api.github.com/repos/gnachman/iTerm2/git/commits{/sha}","comments_url":"https://api.github.com/repos/gnachman/iTerm2/comments{/number}","issue_comment_url":"https://api.github.com/repos/gnachman/iTerm2/issues/comments{/number}","contents_url":"https://api.github.com/repos/gnachman/iTerm2/contents/{+path}","compare_url":"https://api.github.com/repos/gnachman/iTerm2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gnachman/iTerm2/merges","archive_url":"https://api.github.com/repos/gnachman/iTerm2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gnachman/iTerm2/downloads","issues_url":"https://api.github.com/repos/gnachman/iTerm2/issues{/number}","pulls_url":"https://api.github.com/repos/gnachman/iTerm2/pulls{/number}","milestones_url":"https://api.github.com/repos/gnachman/iTerm2/milestones{/number}","notifications_url":"https://api.github.com/repos/gnachman/iTerm2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gnachman/iTerm2/labels{/name}","releases_url":"https://api.github.com/repos/gnachman/iTerm2/releases{/id}","deployments_url":"https://api.github.com/repos/gnachman/iTerm2/deployments","created_at":"2011-04-07T00:46:28Z","updated_at":"2018-03-04T15:27:08Z","pushed_at":"2018-03-04T20:14:01Z","git_url":"git://github.com/gnachman/iTerm2.git","ssh_url":"git@github.com:gnachman/iTerm2.git","clone_url":"https://github.com/gnachman/iTerm2.git","svn_url":"https://github.com/gnachman/iTerm2","homepage":"http://iterm2.com/","size":72339,"stargazers_count":6812,"watchers_count":6812,"language":"Objective-C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":756,"mirror_url":null,"archived":false,"open_issues_count":36,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":756,"open_issues":36,"watchers":6812,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gnachman/iTerm2/pulls/353"},"html":{"href":"https://github.com/gnachman/iTerm2/pull/353"},"issue":{"href":"https://api.github.com/repos/gnachman/iTerm2/issues/353"},"comments":{"href":"https://api.github.com/repos/gnachman/iTerm2/issues/353/comments"},"review_comments":{"href":"https://api.github.com/repos/gnachman/iTerm2/pulls/353/comments"},"review_comment":{"href":"https://api.github.com/repos/gnachman/iTerm2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gnachman/iTerm2/pulls/353/commits"},"statuses":{"href":"https://api.github.com/repos/gnachman/iTerm2/statuses/646363ea2ad3c6d58d8ca6b4c7d57781154f8e24"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"gnachman","id":427546,"avatar_url":"https://avatars3.githubusercontent.com/u/427546?v=4","gravatar_id":"","url":"https://api.github.com/users/gnachman","html_url":"https://github.com/gnachman","followers_url":"https://api.github.com/users/gnachman/followers","following_url":"https://api.github.com/users/gnachman/following{/other_user}","gists_url":"https://api.github.com/users/gnachman/gists{/gist_id}","starred_url":"https://api.github.com/users/gnachman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnachman/subscriptions","organizations_url":"https://api.github.com/users/gnachman/orgs","repos_url":"https://api.github.com/users/gnachman/repos","events_url":"https://api.github.com/users/gnachman/events{/privacy}","received_events_url":"https://api.github.com/users/gnachman/received_events","type":"User","site_admin":false},"comments":1,"review_comments":9,"maintainer_can_modify":false,"commits":1,"additions":31,"deletions":12,"changed_files":1}}
{"actor":{"display_login":"gnachman"}}