{"action":"created","comment":{"url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/comments/238127974","pull_request_review_id":180593898,"id":238127974,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzODEyNzk3NA==","diff_hunk":"@@ -386,6 +386,18 @@ final class StringExtensionsTests: XCTestCase {\n         XCTAssertEqual(\"Hello This Tests\".count(of: \"t\", caseSensitive: false), 3)\n     }\n \n+    func testDominantLanguage() {\n+        if #available(iOS 11.0, *, macOS 10.13, tvOS 11.0, watchOS 4.0) {","path":"Tests/SwiftStdlibTests/StringExtensionsTests.swift","position":5,"original_position":5,"commit_id":"7f6da8d767082cbf7250dd1a9c66959291812fde","original_commit_id":"7f6da8d767082cbf7250dd1a9c66959291812fde","user":{"login":"guykogus","id":924764,"node_id":"MDQ6VXNlcjkyNDc2NA==","avatar_url":"https://avatars2.githubusercontent.com/u/924764?v=4","gravatar_id":"","url":"https://api.github.com/users/guykogus","html_url":"https://github.com/guykogus","followers_url":"https://api.github.com/users/guykogus/followers","following_url":"https://api.github.com/users/guykogus/following{/other_user}","gists_url":"https://api.github.com/users/guykogus/gists{/gist_id}","starred_url":"https://api.github.com/users/guykogus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guykogus/subscriptions","organizations_url":"https://api.github.com/users/guykogus/orgs","repos_url":"https://api.github.com/users/guykogus/repos","events_url":"https://api.github.com/users/guykogus/events{/privacy}","received_events_url":"https://api.github.com/users/guykogus/received_events","type":"User","site_admin":false},"body":"This should be `@available(...)` at the function signature level, rather than internally in the implementation.","created_at":"2018-12-03T01:54:58Z","updated_at":"2018-12-03T01:55:05Z","html_url":"https://github.com/SwifterSwift/SwifterSwift/pull/611#discussion_r238127974","pull_request_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/comments/238127974"},"html":{"href":"https://github.com/SwifterSwift/SwifterSwift/pull/611#discussion_r238127974"},"pull_request":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611"}}},"pull_request":{"url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611","id":233433101,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNDMzMTAx","html_url":"https://github.com/SwifterSwift/SwifterSwift/pull/611","diff_url":"https://github.com/SwifterSwift/SwifterSwift/pull/611.diff","patch_url":"https://github.com/SwifterSwift/SwifterSwift/pull/611.patch","issue_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/611","number":611,"state":"open","locked":false,"title":"Added method to return dominant language of a String","user":{"login":"AdrianBinDC","id":10606010,"node_id":"MDQ6VXNlcjEwNjA2MDEw","avatar_url":"https://avatars2.githubusercontent.com/u/10606010?v=4","gravatar_id":"","url":"https://api.github.com/users/AdrianBinDC","html_url":"https://github.com/AdrianBinDC","followers_url":"https://api.github.com/users/AdrianBinDC/followers","following_url":"https://api.github.com/users/AdrianBinDC/following{/other_user}","gists_url":"https://api.github.com/users/AdrianBinDC/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianBinDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianBinDC/subscriptions","organizations_url":"https://api.github.com/users/AdrianBinDC/orgs","repos_url":"https://api.github.com/users/AdrianBinDC/repos","events_url":"https://api.github.com/users/AdrianBinDC/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianBinDC/received_events","type":"User","site_admin":false},"body":"## Checklist\r\n<!--- Please go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [x] I checked the [**Contributing Guidelines**](https://github.com/SwifterSwift/SwifterSwift/blob/master/CONTRIBUTING.md) before creating this request.\r\n- [x] New extensions are written in Swift 4.\r\n- [x] New extensions support iOS 8.0+ / tvOS 9.0+ / macOS 10.10+ / watchOS 2.0+.\r\n- [x] I have added tests for new extensions, and they passed.\r\n- [x] All extensions have a **clear** comments explaining their functionality, all parameters and return type in English.\r\n- [x] All extensions are declared as **public**.\r\n- [x] I have added a [changelog](https://github.com/SwifterSwift/SwifterSwift/blob/master/CHANGELOG_GUIDELINES.md) entry describing my changes.\r\n","created_at":"2018-11-26T04:07:05Z","updated_at":"2018-12-03T01:55:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa636833030b962279b06a5f6e26a57a678ee0db","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611/commits","review_comments_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611/comments","review_comment_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/611/comments","statuses_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/statuses/7f6da8d767082cbf7250dd1a9c66959291812fde","head":{"label":"AdrianBinDC:master","ref":"master","sha":"7f6da8d767082cbf7250dd1a9c66959291812fde","user":{"login":"AdrianBinDC","id":10606010,"node_id":"MDQ6VXNlcjEwNjA2MDEw","avatar_url":"https://avatars2.githubusercontent.com/u/10606010?v=4","gravatar_id":"","url":"https://api.github.com/users/AdrianBinDC","html_url":"https://github.com/AdrianBinDC","followers_url":"https://api.github.com/users/AdrianBinDC/followers","following_url":"https://api.github.com/users/AdrianBinDC/following{/other_user}","gists_url":"https://api.github.com/users/AdrianBinDC/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianBinDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianBinDC/subscriptions","organizations_url":"https://api.github.com/users/AdrianBinDC/orgs","repos_url":"https://api.github.com/users/AdrianBinDC/repos","events_url":"https://api.github.com/users/AdrianBinDC/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianBinDC/received_events","type":"User","site_admin":false},"repo":{"id":158601517,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg2MDE1MTc=","name":"SwifterSwift","full_name":"AdrianBinDC/SwifterSwift","private":false,"owner":{"login":"AdrianBinDC","id":10606010,"node_id":"MDQ6VXNlcjEwNjA2MDEw","avatar_url":"https://avatars2.githubusercontent.com/u/10606010?v=4","gravatar_id":"","url":"https://api.github.com/users/AdrianBinDC","html_url":"https://github.com/AdrianBinDC","followers_url":"https://api.github.com/users/AdrianBinDC/followers","following_url":"https://api.github.com/users/AdrianBinDC/following{/other_user}","gists_url":"https://api.github.com/users/AdrianBinDC/gists{/gist_id}","starred_url":"https://api.github.com/users/AdrianBinDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdrianBinDC/subscriptions","organizations_url":"https://api.github.com/users/AdrianBinDC/orgs","repos_url":"https://api.github.com/users/AdrianBinDC/repos","events_url":"https://api.github.com/users/AdrianBinDC/events{/privacy}","received_events_url":"https://api.github.com/users/AdrianBinDC/received_events","type":"User","site_admin":false},"html_url":"https://github.com/AdrianBinDC/SwifterSwift","description":"A handy collection of more than 500 native Swift extensions to boost your productivity.","fork":true,"url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift","forks_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/forks","keys_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/teams","hooks_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/hooks","issue_events_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/issues/events{/number}","events_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/events","assignees_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/assignees{/user}","branches_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/branches{/branch}","tags_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/tags","blobs_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/git/refs{/sha}","trees_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/statuses/{sha}","languages_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/languages","stargazers_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/stargazers","contributors_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/contributors","subscribers_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/subscribers","subscription_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/subscription","commits_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/commits{/sha}","git_commits_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/git/commits{/sha}","comments_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/comments{/number}","issue_comment_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/issues/comments{/number}","contents_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/contents/{+path}","compare_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/merges","archive_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/downloads","issues_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/issues{/number}","pulls_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/pulls{/number}","milestones_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/milestones{/number}","notifications_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/labels{/name}","releases_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/releases{/id}","deployments_url":"https://api.github.com/repos/AdrianBinDC/SwifterSwift/deployments","created_at":"2018-11-21T20:16:43Z","updated_at":"2018-12-02T00:39:14Z","pushed_at":"2018-12-02T00:39:12Z","git_url":"git://github.com/AdrianBinDC/SwifterSwift.git","ssh_url":"git@github.com:AdrianBinDC/SwifterSwift.git","clone_url":"https://github.com/AdrianBinDC/SwifterSwift.git","svn_url":"https://github.com/AdrianBinDC/SwifterSwift","homepage":"https://swifterswift.com","size":14655,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"SwifterSwift:master","ref":"master","sha":"b9638f305e99bc1579536eee86ec279e55f897e5","user":{"login":"SwifterSwift","id":25029478,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDI5NDc4","avatar_url":"https://avatars2.githubusercontent.com/u/25029478?v=4","gravatar_id":"","url":"https://api.github.com/users/SwifterSwift","html_url":"https://github.com/SwifterSwift","followers_url":"https://api.github.com/users/SwifterSwift/followers","following_url":"https://api.github.com/users/SwifterSwift/following{/other_user}","gists_url":"https://api.github.com/users/SwifterSwift/gists{/gist_id}","starred_url":"https://api.github.com/users/SwifterSwift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwifterSwift/subscriptions","organizations_url":"https://api.github.com/users/SwifterSwift/orgs","repos_url":"https://api.github.com/users/SwifterSwift/repos","events_url":"https://api.github.com/users/SwifterSwift/events{/privacy}","received_events_url":"https://api.github.com/users/SwifterSwift/received_events","type":"Organization","site_admin":false},"repo":{"id":64705781,"node_id":"MDEwOlJlcG9zaXRvcnk2NDcwNTc4MQ==","name":"SwifterSwift","full_name":"SwifterSwift/SwifterSwift","private":false,"owner":{"login":"SwifterSwift","id":25029478,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1MDI5NDc4","avatar_url":"https://avatars2.githubusercontent.com/u/25029478?v=4","gravatar_id":"","url":"https://api.github.com/users/SwifterSwift","html_url":"https://github.com/SwifterSwift","followers_url":"https://api.github.com/users/SwifterSwift/followers","following_url":"https://api.github.com/users/SwifterSwift/following{/other_user}","gists_url":"https://api.github.com/users/SwifterSwift/gists{/gist_id}","starred_url":"https://api.github.com/users/SwifterSwift/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SwifterSwift/subscriptions","organizations_url":"https://api.github.com/users/SwifterSwift/orgs","repos_url":"https://api.github.com/users/SwifterSwift/repos","events_url":"https://api.github.com/users/SwifterSwift/events{/privacy}","received_events_url":"https://api.github.com/users/SwifterSwift/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/SwifterSwift/SwifterSwift","description":"A handy collection of more than 500 native Swift extensions to boost your productivity.","fork":false,"url":"https://api.github.com/repos/SwifterSwift/SwifterSwift","forks_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/forks","keys_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/teams","hooks_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/hooks","issue_events_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/events{/number}","events_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/events","assignees_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/assignees{/user}","branches_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/branches{/branch}","tags_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/tags","blobs_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/git/refs{/sha}","trees_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/statuses/{sha}","languages_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/languages","stargazers_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/stargazers","contributors_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/contributors","subscribers_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/subscribers","subscription_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/subscription","commits_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/commits{/sha}","git_commits_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/git/commits{/sha}","comments_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/comments{/number}","issue_comment_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/comments{/number}","contents_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/contents/{+path}","compare_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/merges","archive_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/downloads","issues_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues{/number}","pulls_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls{/number}","milestones_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/milestones{/number}","notifications_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/labels{/name}","releases_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/releases{/id}","deployments_url":"https://api.github.com/repos/SwifterSwift/SwifterSwift/deployments","created_at":"2016-08-01T22:25:24Z","updated_at":"2018-12-01T18:10:03Z","pushed_at":"2018-12-02T12:28:56Z","git_url":"git://github.com/SwifterSwift/SwifterSwift.git","ssh_url":"git@github.com:SwifterSwift/SwifterSwift.git","clone_url":"https://github.com/SwifterSwift/SwifterSwift.git","svn_url":"https://github.com/SwifterSwift/SwifterSwift","homepage":"https://swifterswift.com","size":14610,"stargazers_count":6457,"watchers_count":6457,"language":"Swift","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":728,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":728,"open_issues":23,"watchers":6457,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611"},"html":{"href":"https://github.com/SwifterSwift/SwifterSwift/pull/611"},"issue":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/611"},"comments":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/issues/611/comments"},"review_comments":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611/comments"},"review_comment":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/pulls/611/commits"},"statuses":{"href":"https://api.github.com/repos/SwifterSwift/SwifterSwift/statuses/7f6da8d767082cbf7250dd1a9c66959291812fde"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"guykogus"}}