{"action":"closed","number":468,"pull_request":{"url":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/468","id":34861038,"html_url":"https://github.com/nate-parrott/Flashlight/pull/468","diff_url":"https://github.com/nate-parrott/Flashlight/pull/468.diff","patch_url":"https://github.com/nate-parrott/Flashlight/pull/468.patch","issue_url":"https://api.github.com/repos/nate-parrott/Flashlight/issues/468","number":468,"state":"closed","locked":false,"title":"Shutdown lock fix","user":{"login":"cHemingway","id":3956920,"avatar_url":"https://avatars.githubusercontent.com/u/3956920?v=3","gravatar_id":"","url":"https://api.github.com/users/cHemingway","html_url":"https://github.com/cHemingway","followers_url":"https://api.github.com/users/cHemingway/followers","following_url":"https://api.github.com/users/cHemingway/following{/other_user}","gists_url":"https://api.github.com/users/cHemingway/gists{/gist_id}","starred_url":"https://api.github.com/users/cHemingway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cHemingway/subscriptions","organizations_url":"https://api.github.com/users/cHemingway/orgs","repos_url":"https://api.github.com/users/cHemingway/repos","events_url":"https://api.github.com/users/cHemingway/events{/privacy}","received_events_url":"https://api.github.com/users/cHemingway/received_events","type":"User","site_admin":false},"body":"Resolves #402 \r\n\r\nThis commit changes the operation of the command \"lock\" to use the method [suggested in the issue](http://apple.stackexchange.com/a/123738), but in python instead.\r\n\r\nThere doesn't appear to be any downsides to this method, and I find the result faster as well as respecting power options, but I have left the old method in and renamed it to \"switch user\" as this more accurately describes its operation.","created_at":"2015-05-06T21:15:20Z","updated_at":"2015-05-06T23:52:23Z","closed_at":"2015-05-06T23:52:23Z","merged_at":"2015-05-06T23:52:23Z","merge_commit_sha":"f675e6b1f91e2b1ae68d9baa3c8e7d6898b86797","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/468/commits","review_comments_url":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/468/comments","review_comment_url":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nate-parrott/Flashlight/issues/468/comments","statuses_url":"https://api.github.com/repos/nate-parrott/Flashlight/statuses/6b723c5f00b9724a98e084b88ff89ee91665d36e","head":{"label":"cHemingway:shutdown_lock_fix","ref":"shutdown_lock_fix","sha":"6b723c5f00b9724a98e084b88ff89ee91665d36e","user":{"login":"cHemingway","id":3956920,"avatar_url":"https://avatars.githubusercontent.com/u/3956920?v=3","gravatar_id":"","url":"https://api.github.com/users/cHemingway","html_url":"https://github.com/cHemingway","followers_url":"https://api.github.com/users/cHemingway/followers","following_url":"https://api.github.com/users/cHemingway/following{/other_user}","gists_url":"https://api.github.com/users/cHemingway/gists{/gist_id}","starred_url":"https://api.github.com/users/cHemingway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cHemingway/subscriptions","organizations_url":"https://api.github.com/users/cHemingway/orgs","repos_url":"https://api.github.com/users/cHemingway/repos","events_url":"https://api.github.com/users/cHemingway/events{/privacy}","received_events_url":"https://api.github.com/users/cHemingway/received_events","type":"User","site_admin":false},"repo":{"id":34344177,"name":"Flashlight","full_name":"cHemingway/Flashlight","owner":{"login":"cHemingway","id":3956920,"avatar_url":"https://avatars.githubusercontent.com/u/3956920?v=3","gravatar_id":"","url":"https://api.github.com/users/cHemingway","html_url":"https://github.com/cHemingway","followers_url":"https://api.github.com/users/cHemingway/followers","following_url":"https://api.github.com/users/cHemingway/following{/other_user}","gists_url":"https://api.github.com/users/cHemingway/gists{/gist_id}","starred_url":"https://api.github.com/users/cHemingway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cHemingway/subscriptions","organizations_url":"https://api.github.com/users/cHemingway/orgs","repos_url":"https://api.github.com/users/cHemingway/repos","events_url":"https://api.github.com/users/cHemingway/events{/privacy}","received_events_url":"https://api.github.com/users/cHemingway/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cHemingway/Flashlight","description":"The missing Spotlight plugin system","fork":true,"url":"https://api.github.com/repos/cHemingway/Flashlight","forks_url":"https://api.github.com/repos/cHemingway/Flashlight/forks","keys_url":"https://api.github.com/repos/cHemingway/Flashlight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cHemingway/Flashlight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cHemingway/Flashlight/teams","hooks_url":"https://api.github.com/repos/cHemingway/Flashlight/hooks","issue_events_url":"https://api.github.com/repos/cHemingway/Flashlight/issues/events{/number}","events_url":"https://api.github.com/repos/cHemingway/Flashlight/events","assignees_url":"https://api.github.com/repos/cHemingway/Flashlight/assignees{/user}","branches_url":"https://api.github.com/repos/cHemingway/Flashlight/branches{/branch}","tags_url":"https://api.github.com/repos/cHemingway/Flashlight/tags","blobs_url":"https://api.github.com/repos/cHemingway/Flashlight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cHemingway/Flashlight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cHemingway/Flashlight/git/refs{/sha}","trees_url":"https://api.github.com/repos/cHemingway/Flashlight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cHemingway/Flashlight/statuses/{sha}","languages_url":"https://api.github.com/repos/cHemingway/Flashlight/languages","stargazers_url":"https://api.github.com/repos/cHemingway/Flashlight/stargazers","contributors_url":"https://api.github.com/repos/cHemingway/Flashlight/contributors","subscribers_url":"https://api.github.com/repos/cHemingway/Flashlight/subscribers","subscription_url":"https://api.github.com/repos/cHemingway/Flashlight/subscription","commits_url":"https://api.github.com/repos/cHemingway/Flashlight/commits{/sha}","git_commits_url":"https://api.github.com/repos/cHemingway/Flashlight/git/commits{/sha}","comments_url":"https://api.github.com/repos/cHemingway/Flashlight/comments{/number}","issue_comment_url":"https://api.github.com/repos/cHemingway/Flashlight/issues/comments{/number}","contents_url":"https://api.github.com/repos/cHemingway/Flashlight/contents/{+path}","compare_url":"https://api.github.com/repos/cHemingway/Flashlight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cHemingway/Flashlight/merges","archive_url":"https://api.github.com/repos/cHemingway/Flashlight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cHemingway/Flashlight/downloads","issues_url":"https://api.github.com/repos/cHemingway/Flashlight/issues{/number}","pulls_url":"https://api.github.com/repos/cHemingway/Flashlight/pulls{/number}","milestones_url":"https://api.github.com/repos/cHemingway/Flashlight/milestones{/number}","notifications_url":"https://api.github.com/repos/cHemingway/Flashlight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cHemingway/Flashlight/labels{/name}","releases_url":"https://api.github.com/repos/cHemingway/Flashlight/releases{/id}","created_at":"2015-04-21T18:15:57Z","updated_at":"2015-04-29T23:00:07Z","pushed_at":"2015-05-06T21:07:14Z","git_url":"git://github.com/cHemingway/Flashlight.git","ssh_url":"git@github.com:cHemingway/Flashlight.git","clone_url":"https://github.com/cHemingway/Flashlight.git","svn_url":"https://github.com/cHemingway/Flashlight","homepage":"http://flashlight.nateparrott.com","size":71444,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"nate-parrott:master","ref":"master","sha":"1149371bbaa2eeb9c1cdc6af7b820c52d7ffa0bf","user":{"login":"nate-parrott","id":3059249,"avatar_url":"https://avatars.githubusercontent.com/u/3059249?v=3","gravatar_id":"","url":"https://api.github.com/users/nate-parrott","html_url":"https://github.com/nate-parrott","followers_url":"https://api.github.com/users/nate-parrott/followers","following_url":"https://api.github.com/users/nate-parrott/following{/other_user}","gists_url":"https://api.github.com/users/nate-parrott/gists{/gist_id}","starred_url":"https://api.github.com/users/nate-parrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nate-parrott/subscriptions","organizations_url":"https://api.github.com/users/nate-parrott/orgs","repos_url":"https://api.github.com/users/nate-parrott/repos","events_url":"https://api.github.com/users/nate-parrott/events{/privacy}","received_events_url":"https://api.github.com/users/nate-parrott/received_events","type":"User","site_admin":false},"repo":{"id":26103342,"name":"Flashlight","full_name":"nate-parrott/Flashlight","owner":{"login":"nate-parrott","id":3059249,"avatar_url":"https://avatars.githubusercontent.com/u/3059249?v=3","gravatar_id":"","url":"https://api.github.com/users/nate-parrott","html_url":"https://github.com/nate-parrott","followers_url":"https://api.github.com/users/nate-parrott/followers","following_url":"https://api.github.com/users/nate-parrott/following{/other_user}","gists_url":"https://api.github.com/users/nate-parrott/gists{/gist_id}","starred_url":"https://api.github.com/users/nate-parrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nate-parrott/subscriptions","organizations_url":"https://api.github.com/users/nate-parrott/orgs","repos_url":"https://api.github.com/users/nate-parrott/repos","events_url":"https://api.github.com/users/nate-parrott/events{/privacy}","received_events_url":"https://api.github.com/users/nate-parrott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nate-parrott/Flashlight","description":"The missing Spotlight plugin system","fork":false,"url":"https://api.github.com/repos/nate-parrott/Flashlight","forks_url":"https://api.github.com/repos/nate-parrott/Flashlight/forks","keys_url":"https://api.github.com/repos/nate-parrott/Flashlight/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nate-parrott/Flashlight/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nate-parrott/Flashlight/teams","hooks_url":"https://api.github.com/repos/nate-parrott/Flashlight/hooks","issue_events_url":"https://api.github.com/repos/nate-parrott/Flashlight/issues/events{/number}","events_url":"https://api.github.com/repos/nate-parrott/Flashlight/events","assignees_url":"https://api.github.com/repos/nate-parrott/Flashlight/assignees{/user}","branches_url":"https://api.github.com/repos/nate-parrott/Flashlight/branches{/branch}","tags_url":"https://api.github.com/repos/nate-parrott/Flashlight/tags","blobs_url":"https://api.github.com/repos/nate-parrott/Flashlight/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nate-parrott/Flashlight/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nate-parrott/Flashlight/git/refs{/sha}","trees_url":"https://api.github.com/repos/nate-parrott/Flashlight/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nate-parrott/Flashlight/statuses/{sha}","languages_url":"https://api.github.com/repos/nate-parrott/Flashlight/languages","stargazers_url":"https://api.github.com/repos/nate-parrott/Flashlight/stargazers","contributors_url":"https://api.github.com/repos/nate-parrott/Flashlight/contributors","subscribers_url":"https://api.github.com/repos/nate-parrott/Flashlight/subscribers","subscription_url":"https://api.github.com/repos/nate-parrott/Flashlight/subscription","commits_url":"https://api.github.com/repos/nate-parrott/Flashlight/commits{/sha}","git_commits_url":"https://api.github.com/repos/nate-parrott/Flashlight/git/commits{/sha}","comments_url":"https://api.github.com/repos/nate-parrott/Flashlight/comments{/number}","issue_comment_url":"https://api.github.com/repos/nate-parrott/Flashlight/issues/comments{/number}","contents_url":"https://api.github.com/repos/nate-parrott/Flashlight/contents/{+path}","compare_url":"https://api.github.com/repos/nate-parrott/Flashlight/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nate-parrott/Flashlight/merges","archive_url":"https://api.github.com/repos/nate-parrott/Flashlight/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nate-parrott/Flashlight/downloads","issues_url":"https://api.github.com/repos/nate-parrott/Flashlight/issues{/number}","pulls_url":"https://api.github.com/repos/nate-parrott/Flashlight/pulls{/number}","milestones_url":"https://api.github.com/repos/nate-parrott/Flashlight/milestones{/number}","notifications_url":"https://api.github.com/repos/nate-parrott/Flashlight/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nate-parrott/Flashlight/labels{/name}","releases_url":"https://api.github.com/repos/nate-parrott/Flashlight/releases{/id}","created_at":"2014-11-03T04:05:25Z","updated_at":"2015-05-06T23:50:13Z","pushed_at":"2015-05-06T23:52:23Z","git_url":"git://github.com/nate-parrott/Flashlight.git","ssh_url":"git@github.com:nate-parrott/Flashlight.git","clone_url":"https://github.com/nate-parrott/Flashlight.git","svn_url":"https://github.com/nate-parrott/Flashlight","homepage":"http://flashlight.nateparrott.com","size":77249,"stargazers_count":3705,"watchers_count":3705,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":273,"mirror_url":null,"open_issues_count":58,"forks":273,"open_issues":58,"watchers":3705,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/468"},"html":{"href":"https://github.com/nate-parrott/Flashlight/pull/468"},"issue":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/issues/468"},"comments":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/issues/468/comments"},"review_comments":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/468/comments"},"review_comment":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/pulls/468/commits"},"statuses":{"href":"https://api.github.com/repos/nate-parrott/Flashlight/statuses/6b723c5f00b9724a98e084b88ff89ee91665d36e"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"nate-parrott","id":3059249,"avatar_url":"https://avatars.githubusercontent.com/u/3059249?v=3","gravatar_id":"","url":"https://api.github.com/users/nate-parrott","html_url":"https://github.com/nate-parrott","followers_url":"https://api.github.com/users/nate-parrott/followers","following_url":"https://api.github.com/users/nate-parrott/following{/other_user}","gists_url":"https://api.github.com/users/nate-parrott/gists{/gist_id}","starred_url":"https://api.github.com/users/nate-parrott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nate-parrott/subscriptions","organizations_url":"https://api.github.com/users/nate-parrott/orgs","repos_url":"https://api.github.com/users/nate-parrott/repos","events_url":"https://api.github.com/users/nate-parrott/events{/privacy}","received_events_url":"https://api.github.com/users/nate-parrott/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":19,"deletions":2,"changed_files":2}}