{"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/xNetworking/issues/125","repository_url":"https://api.github.com/repos/PowerShell/xNetworking","labels_url":"https://api.github.com/repos/PowerShell/xNetworking/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/xNetworking/issues/125/comments","events_url":"https://api.github.com/repos/PowerShell/xNetworking/issues/125/events","html_url":"https://github.com/PowerShell/xNetworking/pull/125","id":161598159,"number":125,"title":"Fixed bug with better handling of duplicate entries","user":{"login":"BrianFarnhill","id":1332611,"avatar_url":"https://avatars.githubusercontent.com/u/1332611?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianFarnhill","html_url":"https://github.com/BrianFarnhill","followers_url":"https://api.github.com/users/BrianFarnhill/followers","following_url":"https://api.github.com/users/BrianFarnhill/following{/other_user}","gists_url":"https://api.github.com/users/BrianFarnhill/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianFarnhill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianFarnhill/subscriptions","organizations_url":"https://api.github.com/users/BrianFarnhill/orgs","repos_url":"https://api.github.com/users/BrianFarnhill/repos","events_url":"https://api.github.com/users/BrianFarnhill/events{/privacy}","received_events_url":"https://api.github.com/users/BrianFarnhill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerShell/xNetworking/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-06-22T05:38:44Z","updated_at":"2016-07-21T08:09:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PowerShell/xNetworking/pulls/125","html_url":"https://github.com/PowerShell/xNetworking/pull/125","diff_url":"https://github.com/PowerShell/xNetworking/pull/125.diff","patch_url":"https://github.com/PowerShell/xNetworking/pull/125.patch"},"body":"Fixes #119 \r\n\r\nThis code base is based on a re-write that I did to simplify the code in this resource, and it fixes a bug where entries would duplicate if you tried to update a host file entry. I did extend my code to support localisation the same as the previous resource, and also to account for host file entries that could share multiple hosts on a single line, or one per line. I put some tests in to account for those scenarios as well. \r\n\r\nLastly I also included the launch.json file so the tests could be easily run from VS Code as well for development testing.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/powershell/xnetworking/125)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/xNetworking/issues/comments/234185722","html_url":"https://github.com/PowerShell/xNetworking/pull/125#issuecomment-234185722","issue_url":"https://api.github.com/repos/PowerShell/xNetworking/issues/125","id":234185722,"user":{"login":"PlagueHO","id":7589164,"avatar_url":"https://avatars.githubusercontent.com/u/7589164?v=3","gravatar_id":"","url":"https://api.github.com/users/PlagueHO","html_url":"https://github.com/PlagueHO","followers_url":"https://api.github.com/users/PlagueHO/followers","following_url":"https://api.github.com/users/PlagueHO/following{/other_user}","gists_url":"https://api.github.com/users/PlagueHO/gists{/gist_id}","starred_url":"https://api.github.com/users/PlagueHO/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PlagueHO/subscriptions","organizations_url":"https://api.github.com/users/PlagueHO/orgs","repos_url":"https://api.github.com/users/PlagueHO/repos","events_url":"https://api.github.com/users/PlagueHO/events{/privacy}","received_events_url":"https://api.github.com/users/PlagueHO/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T08:09:58Z","updated_at":"2016-07-21T08:09:58Z","body":"@tysonjhayes  - any chance you would be able to give this a once over and merge it if you're happy?"}}
{"actor":{"display_login":"PlagueHO"}}