GitHub PullRequestEvent at 2014-12-22 01:51:30
Repository: pre-commit-hooks
Actor: exKAZUu
Payload: {"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/14","id":26434723,"html_url":"https://github.com/pre-commit/pre-commit-hooks/pull/14","diff_url":"https://github.com/pre-commit/pre-commit-hooks/pull/14.diff","patch_url":"https://github.com/pre-commit/pre-commit-hooks/pull/14.patch","issue_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/14","number":14,"state":"closed","locked":false,"title":"Fix arguments of sed command for Mac OS.","user":{"login":"exKAZUu","id":436237,"avatar_url":"https://avatars.githubusercontent.com/u/436237?v=3","gravatar_id":"","url":"https://api.github.com/users/exKAZUu","html_url":"https://github.com/exKAZUu","followers_url":"https://api.github.com/users/exKAZUu/followers","following_url":"https://api.github.com/users/exKAZUu/following{/other_user}","gists_url":"https://api.github.com/users/exKAZUu/gists{/gist_id}","starred_url":"https://api.github.com/users/exKAZUu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exKAZUu/subscriptions","organizations_url":"https://api.github.com/users/exKAZUu/orgs","repos_url":"https://api.github.com/users/exKAZUu/repos","events_url":"https://api.github.com/users/exKAZUu/events{/privacy}","received_events_url":"https://api.github.com/users/exKAZUu/received_events","type":"User","site_admin":false},"body":"On MacOS `sed -i -e xxxx` creates a backup file whose name is `xxxx-e`.\r\nThis change prevents from creating such a backup file.\r\nHere is a related article on Stackoverflow.\r\nhttp://stackoverflow.com/questions/5171901/sed-command-find-and-replace-in-file-and-overwrite-file-doesnt-work-it-empties#comment40178991_5171935\r\n\r\nI tested my code on only Mac OS.","created_at":"2014-12-22T00:58:45Z","updated_at":"2014-12-22T01:51:29Z","closed_at":"2014-12-22T01:51:29Z","merged_at":null,"merge_commit_sha":"9e021def23c8730d441a8a27a8ed15f64318eebb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/14/commits","review_comments_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/14/comments","review_comment_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/14/comments","statuses_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/statuses/e4e6621bbd6db8e099b5181598a0c83d80e4f934","head":{"label":"exKAZUu:master","ref":"master","sha":"e4e6621bbd6db8e099b5181598a0c83d80e4f934","user":{"login":"exKAZUu","id":436237,"avatar_url":"https://avatars.githubusercontent.com/u/436237?v=3","gravatar_id":"","url":"https://api.github.com/users/exKAZUu","html_url":"https://github.com/exKAZUu","followers_url":"https://api.github.com/users/exKAZUu/followers","following_url":"https://api.github.com/users/exKAZUu/following{/other_user}","gists_url":"https://api.github.com/users/exKAZUu/gists{/gist_id}","starred_url":"https://api.github.com/users/exKAZUu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exKAZUu/subscriptions","organizations_url":"https://api.github.com/users/exKAZUu/orgs","repos_url":"https://api.github.com/users/exKAZUu/repos","events_url":"https://api.github.com/users/exKAZUu/events{/privacy}","received_events_url":"https://api.github.com/users/exKAZUu/received_events","type":"User","site_admin":false},"repo":{"id":28297039,"name":"pre-commit-hooks","full_name":"exKAZUu/pre-commit-hooks","owner":{"login":"exKAZUu","id":436237,"avatar_url":"https://avatars.githubusercontent.com/u/436237?v=3","gravatar_id":"","url":"https://api.github.com/users/exKAZUu","html_url":"https://github.com/exKAZUu","followers_url":"https://api.github.com/users/exKAZUu/followers","following_url":"https://api.github.com/users/exKAZUu/following{/other_user}","gists_url":"https://api.github.com/users/exKAZUu/gists{/gist_id}","starred_url":"https://api.github.com/users/exKAZUu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exKAZUu/subscriptions","organizations_url":"https://api.github.com/users/exKAZUu/orgs","repos_url":"https://api.github.com/users/exKAZUu/repos","events_url":"https://api.github.com/users/exKAZUu/events{/privacy}","received_events_url":"https://api.github.com/users/exKAZUu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/exKAZUu/pre-commit-hooks","description":"Some out-of-the-box hooks for pre-commit","fork":true,"url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks","forks_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/forks","keys_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/teams","hooks_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/hooks","issue_events_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/events","assignees_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/tags","blobs_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/languages","stargazers_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/stargazers","contributors_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/contributors","subscribers_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/subscribers","subscription_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/subscription","commits_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/issues/comments/{number}","contents_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/merges","archive_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/downloads","issues_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/labels{/name}","releases_url":"https://api.github.com/repos/exKAZUu/pre-commit-hooks/releases{/id}","created_at":"2014-12-21T11:13:17Z","updated_at":"2014-12-22T00:52:24Z","pushed_at":"2014-12-22T00:52:24Z","git_url":"git://github.com/exKAZUu/pre-commit-hooks.git","ssh_url":"git@github.com:exKAZUu/pre-commit-hooks.git","clone_url":"https://github.com/exKAZUu/pre-commit-hooks.git","svn_url":"https://github.com/exKAZUu/pre-commit-hooks","homepage":null,"size":651,"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":"pre-commit:master","ref":"master","sha":"25e50df1e5da236a05a9dceaff041210efa6d365","user":{"login":"pre-commit","id":6943086,"avatar_url":"https://avatars.githubusercontent.com/u/6943086?v=3","gravatar_id":"","url":"https://api.github.com/users/pre-commit","html_url":"https://github.com/pre-commit","followers_url":"https://api.github.com/users/pre-commit/followers","following_url":"https://api.github.com/users/pre-commit/following{/other_user}","gists_url":"https://api.github.com/users/pre-commit/gists{/gist_id}","starred_url":"https://api.github.com/users/pre-commit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre-commit/subscriptions","organizations_url":"https://api.github.com/users/pre-commit/orgs","repos_url":"https://api.github.com/users/pre-commit/repos","events_url":"https://api.github.com/users/pre-commit/events{/privacy}","received_events_url":"https://api.github.com/users/pre-commit/received_events","type":"Organization","site_admin":false},"repo":{"id":17714713,"name":"pre-commit-hooks","full_name":"pre-commit/pre-commit-hooks","owner":{"login":"pre-commit","id":6943086,"avatar_url":"https://avatars.githubusercontent.com/u/6943086?v=3","gravatar_id":"","url":"https://api.github.com/users/pre-commit","html_url":"https://github.com/pre-commit","followers_url":"https://api.github.com/users/pre-commit/followers","following_url":"https://api.github.com/users/pre-commit/following{/other_user}","gists_url":"https://api.github.com/users/pre-commit/gists{/gist_id}","starred_url":"https://api.github.com/users/pre-commit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pre-commit/subscriptions","organizations_url":"https://api.github.com/users/pre-commit/orgs","repos_url":"https://api.github.com/users/pre-commit/repos","events_url":"https://api.github.com/users/pre-commit/events{/privacy}","received_events_url":"https://api.github.com/users/pre-commit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pre-commit/pre-commit-hooks","description":"Some out-of-the-box hooks for pre-commit","fork":false,"url":"https://api.github.com/repos/pre-commit/pre-commit-hooks","forks_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/forks","keys_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/teams","hooks_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/hooks","issue_events_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/events{/number}","events_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/events","assignees_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/assignees{/user}","branches_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/branches{/branch}","tags_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/tags","blobs_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/statuses/{sha}","languages_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/languages","stargazers_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/stargazers","contributors_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/contributors","subscribers_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/subscribers","subscription_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/subscription","commits_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/comments/{number}","contents_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/contents/{+path}","compare_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/merges","archive_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/downloads","issues_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues{/number}","pulls_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls{/number}","milestones_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/milestones{/number}","notifications_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/labels{/name}","releases_url":"https://api.github.com/repos/pre-commit/pre-commit-hooks/releases{/id}","created_at":"2014-03-13T15:21:46Z","updated_at":"2014-12-21T14:24:32Z","pushed_at":"2014-12-21T14:24:32Z","git_url":"git://github.com/pre-commit/pre-commit-hooks.git","ssh_url":"git@github.com:pre-commit/pre-commit-hooks.git","clone_url":"https://github.com/pre-commit/pre-commit-hooks.git","svn_url":"https://github.com/pre-commit/pre-commit-hooks","homepage":null,"size":651,"stargazers_count":15,"watchers_count":15,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":0,"forks":7,"open_issues":0,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/14"},"html":{"href":"https://github.com/pre-commit/pre-commit-hooks/pull/14"},"issue":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/14"},"comments":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/pre-commit/pre-commit-hooks/statuses/e4e6621bbd6db8e099b5181598a0c83d80e4f934"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}