{"action":"opened","number":414,"pull_request":{"url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/414","id":79616059,"html_url":"https://github.com/lzybkr/PSReadLine/pull/414","diff_url":"https://github.com/lzybkr/PSReadLine/pull/414.diff","patch_url":"https://github.com/lzybkr/PSReadLine/pull/414.patch","issue_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/414","number":414,"state":"open","locked":false,"title":"SampleCode QuoteInsertion: insert only a single quote when inside the other quotes","user":{"login":"Laoujin","id":2582910,"avatar_url":"https://avatars.githubusercontent.com/u/2582910?v=3","gravatar_id":"","url":"https://api.github.com/users/Laoujin","html_url":"https://github.com/Laoujin","followers_url":"https://api.github.com/users/Laoujin/followers","following_url":"https://api.github.com/users/Laoujin/following{/other_user}","gists_url":"https://api.github.com/users/Laoujin/gists{/gist_id}","starred_url":"https://api.github.com/users/Laoujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laoujin/subscriptions","organizations_url":"https://api.github.com/users/Laoujin/orgs","repos_url":"https://api.github.com/users/Laoujin/repos","events_url":"https://api.github.com/users/Laoujin/events{/privacy}","received_events_url":"https://api.github.com/users/Laoujin/received_events","type":"User","site_admin":false},"body":"well, you're not the only one: because it always doubled something like  `\"this isn''t working\"`, I had the quote insertion turned off for single quotes.\r\n\r\nnow, this implementation is also pretty naieve, the following won't work for example:\r\n`git ci -m\"this doesn't work\" | echo '`\r\n\r\nIt thinks it shouldn't double the single quote because there is an orphan single quote before it. But that one is in between double quotes so it shouldn't take it into account.\r\n\r\nAnyhow, I hope that that this implementation will be wrong in more \"complex\" scenarios only...\r\n","created_at":"2016-08-01T18:46:27Z","updated_at":"2016-08-01T18:46:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2d52c5acd22a3220a413166a58e7154c22d7645c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/414/commits","review_comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/414/comments","review_comment_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/414/comments","statuses_url":"https://api.github.com/repos/lzybkr/PSReadLine/statuses/9ec250accec5b1de69d37f0bfb8558917c05a8de","head":{"label":"Laoujin:SampleCodeSmarterQuoteInsertion","ref":"SampleCodeSmarterQuoteInsertion","sha":"9ec250accec5b1de69d37f0bfb8558917c05a8de","user":{"login":"Laoujin","id":2582910,"avatar_url":"https://avatars.githubusercontent.com/u/2582910?v=3","gravatar_id":"","url":"https://api.github.com/users/Laoujin","html_url":"https://github.com/Laoujin","followers_url":"https://api.github.com/users/Laoujin/followers","following_url":"https://api.github.com/users/Laoujin/following{/other_user}","gists_url":"https://api.github.com/users/Laoujin/gists{/gist_id}","starred_url":"https://api.github.com/users/Laoujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laoujin/subscriptions","organizations_url":"https://api.github.com/users/Laoujin/orgs","repos_url":"https://api.github.com/users/Laoujin/repos","events_url":"https://api.github.com/users/Laoujin/events{/privacy}","received_events_url":"https://api.github.com/users/Laoujin/received_events","type":"User","site_admin":false},"repo":{"id":63478368,"name":"PSReadLine","full_name":"Laoujin/PSReadLine","owner":{"login":"Laoujin","id":2582910,"avatar_url":"https://avatars.githubusercontent.com/u/2582910?v=3","gravatar_id":"","url":"https://api.github.com/users/Laoujin","html_url":"https://github.com/Laoujin","followers_url":"https://api.github.com/users/Laoujin/followers","following_url":"https://api.github.com/users/Laoujin/following{/other_user}","gists_url":"https://api.github.com/users/Laoujin/gists{/gist_id}","starred_url":"https://api.github.com/users/Laoujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laoujin/subscriptions","organizations_url":"https://api.github.com/users/Laoujin/orgs","repos_url":"https://api.github.com/users/Laoujin/repos","events_url":"https://api.github.com/users/Laoujin/events{/privacy}","received_events_url":"https://api.github.com/users/Laoujin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Laoujin/PSReadLine","description":"A bash inspired readline implementation for PowerShell","fork":true,"url":"https://api.github.com/repos/Laoujin/PSReadLine","forks_url":"https://api.github.com/repos/Laoujin/PSReadLine/forks","keys_url":"https://api.github.com/repos/Laoujin/PSReadLine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Laoujin/PSReadLine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Laoujin/PSReadLine/teams","hooks_url":"https://api.github.com/repos/Laoujin/PSReadLine/hooks","issue_events_url":"https://api.github.com/repos/Laoujin/PSReadLine/issues/events{/number}","events_url":"https://api.github.com/repos/Laoujin/PSReadLine/events","assignees_url":"https://api.github.com/repos/Laoujin/PSReadLine/assignees{/user}","branches_url":"https://api.github.com/repos/Laoujin/PSReadLine/branches{/branch}","tags_url":"https://api.github.com/repos/Laoujin/PSReadLine/tags","blobs_url":"https://api.github.com/repos/Laoujin/PSReadLine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Laoujin/PSReadLine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Laoujin/PSReadLine/git/refs{/sha}","trees_url":"https://api.github.com/repos/Laoujin/PSReadLine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Laoujin/PSReadLine/statuses/{sha}","languages_url":"https://api.github.com/repos/Laoujin/PSReadLine/languages","stargazers_url":"https://api.github.com/repos/Laoujin/PSReadLine/stargazers","contributors_url":"https://api.github.com/repos/Laoujin/PSReadLine/contributors","subscribers_url":"https://api.github.com/repos/Laoujin/PSReadLine/subscribers","subscription_url":"https://api.github.com/repos/Laoujin/PSReadLine/subscription","commits_url":"https://api.github.com/repos/Laoujin/PSReadLine/commits{/sha}","git_commits_url":"https://api.github.com/repos/Laoujin/PSReadLine/git/commits{/sha}","comments_url":"https://api.github.com/repos/Laoujin/PSReadLine/comments{/number}","issue_comment_url":"https://api.github.com/repos/Laoujin/PSReadLine/issues/comments{/number}","contents_url":"https://api.github.com/repos/Laoujin/PSReadLine/contents/{+path}","compare_url":"https://api.github.com/repos/Laoujin/PSReadLine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Laoujin/PSReadLine/merges","archive_url":"https://api.github.com/repos/Laoujin/PSReadLine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Laoujin/PSReadLine/downloads","issues_url":"https://api.github.com/repos/Laoujin/PSReadLine/issues{/number}","pulls_url":"https://api.github.com/repos/Laoujin/PSReadLine/pulls{/number}","milestones_url":"https://api.github.com/repos/Laoujin/PSReadLine/milestones{/number}","notifications_url":"https://api.github.com/repos/Laoujin/PSReadLine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Laoujin/PSReadLine/labels{/name}","releases_url":"https://api.github.com/repos/Laoujin/PSReadLine/releases{/id}","deployments_url":"https://api.github.com/repos/Laoujin/PSReadLine/deployments","created_at":"2016-07-16T10:42:49Z","updated_at":"2016-07-16T10:42:51Z","pushed_at":"2016-08-01T18:41:16Z","git_url":"git://github.com/Laoujin/PSReadLine.git","ssh_url":"git@github.com:Laoujin/PSReadLine.git","clone_url":"https://github.com/Laoujin/PSReadLine.git","svn_url":"https://github.com/Laoujin/PSReadLine","homepage":"","size":1311,"stargazers_count":0,"watchers_count":0,"language":"C#","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":"lzybkr:master","ref":"master","sha":"1843af219680a40264db14df3e88017ae8c247dd","user":{"login":"lzybkr","id":2148248,"avatar_url":"https://avatars.githubusercontent.com/u/2148248?v=3","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false},"repo":{"id":10025737,"name":"PSReadLine","full_name":"lzybkr/PSReadLine","owner":{"login":"lzybkr","id":2148248,"avatar_url":"https://avatars.githubusercontent.com/u/2148248?v=3","gravatar_id":"","url":"https://api.github.com/users/lzybkr","html_url":"https://github.com/lzybkr","followers_url":"https://api.github.com/users/lzybkr/followers","following_url":"https://api.github.com/users/lzybkr/following{/other_user}","gists_url":"https://api.github.com/users/lzybkr/gists{/gist_id}","starred_url":"https://api.github.com/users/lzybkr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzybkr/subscriptions","organizations_url":"https://api.github.com/users/lzybkr/orgs","repos_url":"https://api.github.com/users/lzybkr/repos","events_url":"https://api.github.com/users/lzybkr/events{/privacy}","received_events_url":"https://api.github.com/users/lzybkr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lzybkr/PSReadLine","description":"A bash inspired readline implementation for PowerShell","fork":false,"url":"https://api.github.com/repos/lzybkr/PSReadLine","forks_url":"https://api.github.com/repos/lzybkr/PSReadLine/forks","keys_url":"https://api.github.com/repos/lzybkr/PSReadLine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lzybkr/PSReadLine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lzybkr/PSReadLine/teams","hooks_url":"https://api.github.com/repos/lzybkr/PSReadLine/hooks","issue_events_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/events{/number}","events_url":"https://api.github.com/repos/lzybkr/PSReadLine/events","assignees_url":"https://api.github.com/repos/lzybkr/PSReadLine/assignees{/user}","branches_url":"https://api.github.com/repos/lzybkr/PSReadLine/branches{/branch}","tags_url":"https://api.github.com/repos/lzybkr/PSReadLine/tags","blobs_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/refs{/sha}","trees_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lzybkr/PSReadLine/statuses/{sha}","languages_url":"https://api.github.com/repos/lzybkr/PSReadLine/languages","stargazers_url":"https://api.github.com/repos/lzybkr/PSReadLine/stargazers","contributors_url":"https://api.github.com/repos/lzybkr/PSReadLine/contributors","subscribers_url":"https://api.github.com/repos/lzybkr/PSReadLine/subscribers","subscription_url":"https://api.github.com/repos/lzybkr/PSReadLine/subscription","commits_url":"https://api.github.com/repos/lzybkr/PSReadLine/commits{/sha}","git_commits_url":"https://api.github.com/repos/lzybkr/PSReadLine/git/commits{/sha}","comments_url":"https://api.github.com/repos/lzybkr/PSReadLine/comments{/number}","issue_comment_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues/comments{/number}","contents_url":"https://api.github.com/repos/lzybkr/PSReadLine/contents/{+path}","compare_url":"https://api.github.com/repos/lzybkr/PSReadLine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lzybkr/PSReadLine/merges","archive_url":"https://api.github.com/repos/lzybkr/PSReadLine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lzybkr/PSReadLine/downloads","issues_url":"https://api.github.com/repos/lzybkr/PSReadLine/issues{/number}","pulls_url":"https://api.github.com/repos/lzybkr/PSReadLine/pulls{/number}","milestones_url":"https://api.github.com/repos/lzybkr/PSReadLine/milestones{/number}","notifications_url":"https://api.github.com/repos/lzybkr/PSReadLine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lzybkr/PSReadLine/labels{/name}","releases_url":"https://api.github.com/repos/lzybkr/PSReadLine/releases{/id}","deployments_url":"https://api.github.com/repos/lzybkr/PSReadLine/deployments","created_at":"2013-05-13T06:39:28Z","updated_at":"2016-07-31T04:27:05Z","pushed_at":"2016-08-01T18:46:27Z","git_url":"git://github.com/lzybkr/PSReadLine.git","ssh_url":"git@github.com:lzybkr/PSReadLine.git","clone_url":"https://github.com/lzybkr/PSReadLine.git","svn_url":"https://github.com/lzybkr/PSReadLine","homepage":"","size":1551,"stargazers_count":695,"watchers_count":695,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":70,"mirror_url":null,"open_issues_count":130,"forks":70,"open_issues":130,"watchers":695,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/414"},"html":{"href":"https://github.com/lzybkr/PSReadLine/pull/414"},"issue":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/issues/414"},"comments":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/414/comments"},"review_comment":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/pulls/414/commits"},"statuses":{"href":"https://api.github.com/repos/lzybkr/PSReadLine/statuses/9ec250accec5b1de69d37f0bfb8558917c05a8de"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":21,"deletions":9,"changed_files":1}}
{"actor":{"display_login":"Laoujin"}}