{"action":"created","comment":{"url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/comments/82700154","pull_request_review_id":3588807,"id":82700154,"diff_hunk":"@@ -672,31 +678,31 @@ extension Socket {\n }\n \n public enum SecurityMechanism {\n-    case Null\n-    case Plain\n-    case CURVE\n+    case null\n+    case plain\n+    case curve\n }\n \n extension SecurityMechanism {\n     init?(rawValue: Int32) {\n         switch rawValue {\n-        case ZMQ_NULL: self = Null\n-        case ZMQ_PLAIN: self = Plain\n-        case ZMQ_CURVE: self = CURVE\n+        case ZMQ_NULL: self = .null\n+        case ZMQ_PLAIN: self = .plain\n+        case ZMQ_CURVE: self = .curve\n         default: return nil\n         }\n     }\n }\n \n extension Socket {\n     public func sendString(_ string: String, mode: SendMode = []) throws -> Bool {","path":"Sources/Socket.swift","position":244,"original_position":244,"commit_id":"e888bdd8f02fc8a5183add4de01c5663f825caf4","original_commit_id":"e888bdd8f02fc8a5183add4de01c5663f825caf4","user":{"login":"Danappelxx","id":3291251,"avatar_url":"https://avatars.githubusercontent.com/u/3291251?v=3","gravatar_id":"","url":"https://api.github.com/users/Danappelxx","html_url":"https://github.com/Danappelxx","followers_url":"https://api.github.com/users/Danappelxx/followers","following_url":"https://api.github.com/users/Danappelxx/following{/other_user}","gists_url":"https://api.github.com/users/Danappelxx/gists{/gist_id}","starred_url":"https://api.github.com/users/Danappelxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danappelxx/subscriptions","organizations_url":"https://api.github.com/users/Danappelxx/orgs","repos_url":"https://api.github.com/users/Danappelxx/repos","events_url":"https://api.github.com/users/Danappelxx/events{/privacy}","received_events_url":"https://api.github.com/users/Danappelxx/received_events","type":"User","site_admin":false},"body":"Just `send` is good here - the type information is enough (following the API design guidelines). Same goes for `receiveString`","created_at":"2016-10-10T23:15:11Z","updated_at":"2016-10-10T23:17:32Z","html_url":"https://github.com/ZewoGraveyard/ZeroMQ/pull/16#discussion_r82700154","pull_request_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/comments/82700154"},"html":{"href":"https://github.com/ZewoGraveyard/ZeroMQ/pull/16#discussion_r82700154"},"pull_request":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16","id":86552948,"html_url":"https://github.com/ZewoGraveyard/ZeroMQ/pull/16","diff_url":"https://github.com/ZewoGraveyard/ZeroMQ/pull/16.diff","patch_url":"https://github.com/ZewoGraveyard/ZeroMQ/pull/16.patch","issue_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues/16","number":16,"state":"open","locked":false,"title":"adapt 3 swift","user":{"login":"goloveychuk","id":2370419,"avatar_url":"https://avatars.githubusercontent.com/u/2370419?v=3","gravatar_id":"","url":"https://api.github.com/users/goloveychuk","html_url":"https://github.com/goloveychuk","followers_url":"https://api.github.com/users/goloveychuk/followers","following_url":"https://api.github.com/users/goloveychuk/following{/other_user}","gists_url":"https://api.github.com/users/goloveychuk/gists{/gist_id}","starred_url":"https://api.github.com/users/goloveychuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goloveychuk/subscriptions","organizations_url":"https://api.github.com/users/goloveychuk/orgs","repos_url":"https://api.github.com/users/goloveychuk/repos","events_url":"https://api.github.com/users/goloveychuk/events{/privacy}","received_events_url":"https://api.github.com/users/goloveychuk/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-23T17:44:42Z","updated_at":"2016-10-10T23:17:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03fed4b1a1d4fac0f2360f5e19964d5f3f907c0e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues/16/comments","statuses_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/statuses/e888bdd8f02fc8a5183add4de01c5663f825caf4","head":{"label":"goloveychuk:master","ref":"master","sha":"e888bdd8f02fc8a5183add4de01c5663f825caf4","user":{"login":"goloveychuk","id":2370419,"avatar_url":"https://avatars.githubusercontent.com/u/2370419?v=3","gravatar_id":"","url":"https://api.github.com/users/goloveychuk","html_url":"https://github.com/goloveychuk","followers_url":"https://api.github.com/users/goloveychuk/followers","following_url":"https://api.github.com/users/goloveychuk/following{/other_user}","gists_url":"https://api.github.com/users/goloveychuk/gists{/gist_id}","starred_url":"https://api.github.com/users/goloveychuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goloveychuk/subscriptions","organizations_url":"https://api.github.com/users/goloveychuk/orgs","repos_url":"https://api.github.com/users/goloveychuk/repos","events_url":"https://api.github.com/users/goloveychuk/events{/privacy}","received_events_url":"https://api.github.com/users/goloveychuk/received_events","type":"User","site_admin":false},"repo":{"id":69047561,"name":"ZeroMQ","full_name":"goloveychuk/ZeroMQ","owner":{"login":"goloveychuk","id":2370419,"avatar_url":"https://avatars.githubusercontent.com/u/2370419?v=3","gravatar_id":"","url":"https://api.github.com/users/goloveychuk","html_url":"https://github.com/goloveychuk","followers_url":"https://api.github.com/users/goloveychuk/followers","following_url":"https://api.github.com/users/goloveychuk/following{/other_user}","gists_url":"https://api.github.com/users/goloveychuk/gists{/gist_id}","starred_url":"https://api.github.com/users/goloveychuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/goloveychuk/subscriptions","organizations_url":"https://api.github.com/users/goloveychuk/orgs","repos_url":"https://api.github.com/users/goloveychuk/repos","events_url":"https://api.github.com/users/goloveychuk/events{/privacy}","received_events_url":"https://api.github.com/users/goloveychuk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/goloveychuk/ZeroMQ","description":"ZeroMQ for Swift","fork":true,"url":"https://api.github.com/repos/goloveychuk/ZeroMQ","forks_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/forks","keys_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/teams","hooks_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/hooks","issue_events_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/issues/events{/number}","events_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/events","assignees_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/assignees{/user}","branches_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/branches{/branch}","tags_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/tags","blobs_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/git/refs{/sha}","trees_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/statuses/{sha}","languages_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/languages","stargazers_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/stargazers","contributors_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/contributors","subscribers_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/subscribers","subscription_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/subscription","commits_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/commits{/sha}","git_commits_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/git/commits{/sha}","comments_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/comments{/number}","issue_comment_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/issues/comments{/number}","contents_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/contents/{+path}","compare_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/merges","archive_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/downloads","issues_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/issues{/number}","pulls_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/pulls{/number}","milestones_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/milestones{/number}","notifications_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/labels{/name}","releases_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/releases{/id}","deployments_url":"https://api.github.com/repos/goloveychuk/ZeroMQ/deployments","created_at":"2016-09-23T17:44:10Z","updated_at":"2016-09-23T17:44:11Z","pushed_at":"2016-10-09T10:31:25Z","git_url":"git://github.com/goloveychuk/ZeroMQ.git","ssh_url":"git@github.com:goloveychuk/ZeroMQ.git","clone_url":"https://github.com/goloveychuk/ZeroMQ.git","svn_url":"https://github.com/goloveychuk/ZeroMQ","homepage":"","size":88,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ZewoGraveyard:master","ref":"master","sha":"7578c5c2e64a7631194a8fd35183091ed50cae3a","user":{"login":"ZewoGraveyard","id":21095832,"avatar_url":"https://avatars.githubusercontent.com/u/21095832?v=3","gravatar_id":"","url":"https://api.github.com/users/ZewoGraveyard","html_url":"https://github.com/ZewoGraveyard","followers_url":"https://api.github.com/users/ZewoGraveyard/followers","following_url":"https://api.github.com/users/ZewoGraveyard/following{/other_user}","gists_url":"https://api.github.com/users/ZewoGraveyard/gists{/gist_id}","starred_url":"https://api.github.com/users/ZewoGraveyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZewoGraveyard/subscriptions","organizations_url":"https://api.github.com/users/ZewoGraveyard/orgs","repos_url":"https://api.github.com/users/ZewoGraveyard/repos","events_url":"https://api.github.com/users/ZewoGraveyard/events{/privacy}","received_events_url":"https://api.github.com/users/ZewoGraveyard/received_events","type":"Organization","site_admin":false},"repo":{"id":44943626,"name":"ZeroMQ","full_name":"ZewoGraveyard/ZeroMQ","owner":{"login":"ZewoGraveyard","id":21095832,"avatar_url":"https://avatars.githubusercontent.com/u/21095832?v=3","gravatar_id":"","url":"https://api.github.com/users/ZewoGraveyard","html_url":"https://github.com/ZewoGraveyard","followers_url":"https://api.github.com/users/ZewoGraveyard/followers","following_url":"https://api.github.com/users/ZewoGraveyard/following{/other_user}","gists_url":"https://api.github.com/users/ZewoGraveyard/gists{/gist_id}","starred_url":"https://api.github.com/users/ZewoGraveyard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZewoGraveyard/subscriptions","organizations_url":"https://api.github.com/users/ZewoGraveyard/orgs","repos_url":"https://api.github.com/users/ZewoGraveyard/repos","events_url":"https://api.github.com/users/ZewoGraveyard/events{/privacy}","received_events_url":"https://api.github.com/users/ZewoGraveyard/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ZewoGraveyard/ZeroMQ","description":"ZeroMQ for Swift","fork":false,"url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ","forks_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/forks","keys_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/teams","hooks_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/hooks","issue_events_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues/events{/number}","events_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/events","assignees_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/assignees{/user}","branches_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/branches{/branch}","tags_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/tags","blobs_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/git/refs{/sha}","trees_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/statuses/{sha}","languages_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/languages","stargazers_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/stargazers","contributors_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/contributors","subscribers_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/subscribers","subscription_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/subscription","commits_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/commits{/sha}","git_commits_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/git/commits{/sha}","comments_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/comments{/number}","issue_comment_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues/comments{/number}","contents_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/contents/{+path}","compare_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/merges","archive_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/downloads","issues_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues{/number}","pulls_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls{/number}","milestones_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/milestones{/number}","notifications_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/labels{/name}","releases_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/releases{/id}","deployments_url":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/deployments","created_at":"2015-10-26T03:27:30Z","updated_at":"2016-10-03T15:50:31Z","pushed_at":"2016-10-09T10:31:25Z","git_url":"git://github.com/ZewoGraveyard/ZeroMQ.git","ssh_url":"git@github.com:ZewoGraveyard/ZeroMQ.git","clone_url":"https://github.com/ZewoGraveyard/ZeroMQ.git","svn_url":"https://github.com/ZewoGraveyard/ZeroMQ","homepage":"","size":88,"stargazers_count":61,"watchers_count":61,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":4,"forks":17,"open_issues":4,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16"},"html":{"href":"https://github.com/ZewoGraveyard/ZeroMQ/pull/16"},"issue":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues/16"},"comments":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ZewoGraveyard/ZeroMQ/statuses/e888bdd8f02fc8a5183add4de01c5663f825caf4"}}}}
{"actor":{"display_login":"Danappelxx"}}