{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/1","id":45446133,"html_url":"https://github.com/ketan/BeautifyLatex/pull/1","diff_url":"https://github.com/ketan/BeautifyLatex/pull/1.diff","patch_url":"https://github.com/ketan/BeautifyLatex/pull/1.patch","issue_url":"https://api.github.com/repos/ketan/BeautifyLatex/issues/1","number":1,"state":"open","locked":false,"title":"Fix temp file handling on Windows","user":{"login":"Foxlik","id":5588577,"avatar_url":"https://avatars.githubusercontent.com/u/5588577?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxlik","html_url":"https://github.com/Foxlik","followers_url":"https://api.github.com/users/Foxlik/followers","following_url":"https://api.github.com/users/Foxlik/following{/other_user}","gists_url":"https://api.github.com/users/Foxlik/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxlik/subscriptions","organizations_url":"https://api.github.com/users/Foxlik/orgs","repos_url":"https://api.github.com/users/Foxlik/repos","events_url":"https://api.github.com/users/Foxlik/events{/privacy}","received_events_url":"https://api.github.com/users/Foxlik/received_events","type":"User","site_admin":false},"body":"On windows, you can not read file, which has been opened for writing by NamedTemporaryFile. This patch closes the file after it has been filled and deletes it once it is no longer needed.\r\n\r\n* I am no python expert, so the error handling may be better.\r\n* I have no Linux and/or OS X Sublime installation handy, so it has not been tested there. To my best knowledge it should work.","created_at":"2015-09-18T19:57:07Z","updated_at":"2015-09-18T19:57:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ketan/BeautifyLatex/issues/1/comments","statuses_url":"https://api.github.com/repos/ketan/BeautifyLatex/statuses/cf1e98deb7a2fc4e56118f3c79378ae6452aaf9e","head":{"label":"Foxlik:patch-1","ref":"patch-1","sha":"cf1e98deb7a2fc4e56118f3c79378ae6452aaf9e","user":{"login":"Foxlik","id":5588577,"avatar_url":"https://avatars.githubusercontent.com/u/5588577?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxlik","html_url":"https://github.com/Foxlik","followers_url":"https://api.github.com/users/Foxlik/followers","following_url":"https://api.github.com/users/Foxlik/following{/other_user}","gists_url":"https://api.github.com/users/Foxlik/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxlik/subscriptions","organizations_url":"https://api.github.com/users/Foxlik/orgs","repos_url":"https://api.github.com/users/Foxlik/repos","events_url":"https://api.github.com/users/Foxlik/events{/privacy}","received_events_url":"https://api.github.com/users/Foxlik/received_events","type":"User","site_admin":false},"repo":{"id":42743796,"name":"BeautifyLatex","full_name":"Foxlik/BeautifyLatex","owner":{"login":"Foxlik","id":5588577,"avatar_url":"https://avatars.githubusercontent.com/u/5588577?v=3","gravatar_id":"","url":"https://api.github.com/users/Foxlik","html_url":"https://github.com/Foxlik","followers_url":"https://api.github.com/users/Foxlik/followers","following_url":"https://api.github.com/users/Foxlik/following{/other_user}","gists_url":"https://api.github.com/users/Foxlik/gists{/gist_id}","starred_url":"https://api.github.com/users/Foxlik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Foxlik/subscriptions","organizations_url":"https://api.github.com/users/Foxlik/orgs","repos_url":"https://api.github.com/users/Foxlik/repos","events_url":"https://api.github.com/users/Foxlik/events{/privacy}","received_events_url":"https://api.github.com/users/Foxlik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Foxlik/BeautifyLatex","description":null,"fork":true,"url":"https://api.github.com/repos/Foxlik/BeautifyLatex","forks_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/forks","keys_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/teams","hooks_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/hooks","issue_events_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/issues/events{/number}","events_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/events","assignees_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/assignees{/user}","branches_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/branches{/branch}","tags_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/tags","blobs_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/git/refs{/sha}","trees_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/statuses/{sha}","languages_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/languages","stargazers_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/stargazers","contributors_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/contributors","subscribers_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/subscribers","subscription_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/subscription","commits_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/commits{/sha}","git_commits_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/git/commits{/sha}","comments_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/comments{/number}","issue_comment_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/issues/comments{/number}","contents_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/contents/{+path}","compare_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/merges","archive_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/downloads","issues_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/issues{/number}","pulls_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/pulls{/number}","milestones_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/milestones{/number}","notifications_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/labels{/name}","releases_url":"https://api.github.com/repos/Foxlik/BeautifyLatex/releases{/id}","created_at":"2015-09-18T19:45:47Z","updated_at":"2015-09-18T19:45:47Z","pushed_at":"2015-09-18T19:56:34Z","git_url":"git://github.com/Foxlik/BeautifyLatex.git","ssh_url":"git@github.com:Foxlik/BeautifyLatex.git","clone_url":"https://github.com/Foxlik/BeautifyLatex.git","svn_url":"https://github.com/Foxlik/BeautifyLatex","homepage":null,"size":0,"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":"ketan:master","ref":"master","sha":"f6ef9929d9571aef6b212ea1f24e19d845c94ae7","user":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"repo":{"id":42715376,"name":"BeautifyLatex","full_name":"ketan/BeautifyLatex","owner":{"login":"ketan","id":10598,"avatar_url":"https://avatars.githubusercontent.com/u/10598?v=3","gravatar_id":"","url":"https://api.github.com/users/ketan","html_url":"https://github.com/ketan","followers_url":"https://api.github.com/users/ketan/followers","following_url":"https://api.github.com/users/ketan/following{/other_user}","gists_url":"https://api.github.com/users/ketan/gists{/gist_id}","starred_url":"https://api.github.com/users/ketan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ketan/subscriptions","organizations_url":"https://api.github.com/users/ketan/orgs","repos_url":"https://api.github.com/users/ketan/repos","events_url":"https://api.github.com/users/ketan/events{/privacy}","received_events_url":"https://api.github.com/users/ketan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ketan/BeautifyLatex","description":null,"fork":false,"url":"https://api.github.com/repos/ketan/BeautifyLatex","forks_url":"https://api.github.com/repos/ketan/BeautifyLatex/forks","keys_url":"https://api.github.com/repos/ketan/BeautifyLatex/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ketan/BeautifyLatex/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ketan/BeautifyLatex/teams","hooks_url":"https://api.github.com/repos/ketan/BeautifyLatex/hooks","issue_events_url":"https://api.github.com/repos/ketan/BeautifyLatex/issues/events{/number}","events_url":"https://api.github.com/repos/ketan/BeautifyLatex/events","assignees_url":"https://api.github.com/repos/ketan/BeautifyLatex/assignees{/user}","branches_url":"https://api.github.com/repos/ketan/BeautifyLatex/branches{/branch}","tags_url":"https://api.github.com/repos/ketan/BeautifyLatex/tags","blobs_url":"https://api.github.com/repos/ketan/BeautifyLatex/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ketan/BeautifyLatex/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ketan/BeautifyLatex/git/refs{/sha}","trees_url":"https://api.github.com/repos/ketan/BeautifyLatex/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ketan/BeautifyLatex/statuses/{sha}","languages_url":"https://api.github.com/repos/ketan/BeautifyLatex/languages","stargazers_url":"https://api.github.com/repos/ketan/BeautifyLatex/stargazers","contributors_url":"https://api.github.com/repos/ketan/BeautifyLatex/contributors","subscribers_url":"https://api.github.com/repos/ketan/BeautifyLatex/subscribers","subscription_url":"https://api.github.com/repos/ketan/BeautifyLatex/subscription","commits_url":"https://api.github.com/repos/ketan/BeautifyLatex/commits{/sha}","git_commits_url":"https://api.github.com/repos/ketan/BeautifyLatex/git/commits{/sha}","comments_url":"https://api.github.com/repos/ketan/BeautifyLatex/comments{/number}","issue_comment_url":"https://api.github.com/repos/ketan/BeautifyLatex/issues/comments{/number}","contents_url":"https://api.github.com/repos/ketan/BeautifyLatex/contents/{+path}","compare_url":"https://api.github.com/repos/ketan/BeautifyLatex/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ketan/BeautifyLatex/merges","archive_url":"https://api.github.com/repos/ketan/BeautifyLatex/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ketan/BeautifyLatex/downloads","issues_url":"https://api.github.com/repos/ketan/BeautifyLatex/issues{/number}","pulls_url":"https://api.github.com/repos/ketan/BeautifyLatex/pulls{/number}","milestones_url":"https://api.github.com/repos/ketan/BeautifyLatex/milestones{/number}","notifications_url":"https://api.github.com/repos/ketan/BeautifyLatex/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ketan/BeautifyLatex/labels{/name}","releases_url":"https://api.github.com/repos/ketan/BeautifyLatex/releases{/id}","created_at":"2015-09-18T10:33:07Z","updated_at":"2015-09-18T10:36:26Z","pushed_at":"2015-09-18T19:57:07Z","git_url":"git://github.com/ketan/BeautifyLatex.git","ssh_url":"git@github.com:ketan/BeautifyLatex.git","clone_url":"https://github.com/ketan/BeautifyLatex.git","svn_url":"https://github.com/ketan/BeautifyLatex","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/1"},"html":{"href":"https://github.com/ketan/BeautifyLatex/pull/1"},"issue":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/issues/1"},"comments":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ketan/BeautifyLatex/statuses/cf1e98deb7a2fc4e56118f3c79378ae6452aaf9e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":9,"changed_files":1}}