{"action":"created","issue":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/461","repository_url":"https://api.github.com/repos/apple/swift-corelibs-foundation","labels_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/461/labels{/name}","comments_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/461/comments","events_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/461/events","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/461","id":166894593,"number":461,"title":"implementation for NSURLComponents.copy(with:)","user":{"login":"mbvreddy","id":13833097,"avatar_url":"https://avatars.githubusercontent.com/u/13833097?v=3","gravatar_id":"","url":"https://api.github.com/users/mbvreddy","html_url":"https://github.com/mbvreddy","followers_url":"https://api.github.com/users/mbvreddy/followers","following_url":"https://api.github.com/users/mbvreddy/following{/other_user}","gists_url":"https://api.github.com/users/mbvreddy/gists{/gist_id}","starred_url":"https://api.github.com/users/mbvreddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbvreddy/subscriptions","organizations_url":"https://api.github.com/users/mbvreddy/orgs","repos_url":"https://api.github.com/users/mbvreddy/repos","events_url":"https://api.github.com/users/mbvreddy/events{/privacy}","received_events_url":"https://api.github.com/users/mbvreddy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-21T19:07:15Z","updated_at":"2016-08-24T08:07:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/pulls/461","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/461","diff_url":"https://github.com/apple/swift-corelibs-foundation/pull/461.diff","patch_url":"https://github.com/apple/swift-corelibs-foundation/pull/461.patch"},"body":"This PR has following:\r\n\r\n1. Implementation for NSURLComponents.copy(with:). Approach is to create default NSURLComponent and update fields one by one.\r\n\r\n2. Override isEqual() function. Since copy is not 'self', it is required to override isEqual to compare properties instead of object references. \r\n\r\n3. Unit test for copy(). I've used NSURLComponents class in testcase instead of URLComponents structure because it doesn't have mapping for copy() function.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/comments/241988437","html_url":"https://github.com/apple/swift-corelibs-foundation/pull/461#issuecomment-241988437","issue_url":"https://api.github.com/repos/apple/swift-corelibs-foundation/issues/461","id":241988437,"user":{"login":"mbvreddy","id":13833097,"avatar_url":"https://avatars.githubusercontent.com/u/13833097?v=3","gravatar_id":"","url":"https://api.github.com/users/mbvreddy","html_url":"https://github.com/mbvreddy","followers_url":"https://api.github.com/users/mbvreddy/followers","following_url":"https://api.github.com/users/mbvreddy/following{/other_user}","gists_url":"https://api.github.com/users/mbvreddy/gists{/gist_id}","starred_url":"https://api.github.com/users/mbvreddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbvreddy/subscriptions","organizations_url":"https://api.github.com/users/mbvreddy/orgs","repos_url":"https://api.github.com/users/mbvreddy/repos","events_url":"https://api.github.com/users/mbvreddy/events{/privacy}","received_events_url":"https://api.github.com/users/mbvreddy/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T08:07:15Z","updated_at":"2016-08-24T08:07:15Z","body":"rebased"}}
{"actor":{"display_login":"mbvreddy"}}