{"action":"created","comment":{"url":"https://api.github.com/repos/ankurp/Dollar/pulls/comments/70912181","id":70912181,"diff_hunk":"@@ -485,4 +485,11 @@ class DollarTests: XCTestCase {\n         XCTAssertEqual($.fetch([10, 20, 30, 40, 50], 1), 20, \"Returns 20\")\n         XCTAssertEqual($.fetch([10, 20, 30, 40, 50], 100, orElse: 100), 100, \"Returns 100\")\n     }\n+    \n+    func testGroupBy() {\n+        XCTAssertEqual($.groupBy([1, 2, 3, 4], callback: {$0 % 2}), [\"0\": [2, 4], \"1\": [1, 3]],\n+                       \"Returns dictionary grouped by remainders of two\")\n+        XCTAssertEqual($.groupBy([\"strings\", \"with\", \"different\", \"lengths\"], callback: {$0.characters.count}),\n+                       [\"7\": [\"strings\", \"lengths\"], \"9\": [\"different\"], \"4\": [\"with\"]], \"Returns dictionary with string lengths as keys\")","path":"DollarTests/DollarTests.swift","position":9,"original_position":9,"commit_id":"d19c3283207c34a3f9c1dc68021465515788b3eb","original_commit_id":"d19c3283207c34a3f9c1dc68021465515788b3eb","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Line Length Violation: Line should be 100 characters or less: currently 138 characters (line_length)","created_at":"2016-07-15T01:58:30Z","updated_at":"2016-07-15T01:58:30Z","html_url":"https://github.com/ankurp/Dollar/pull/209#discussion_r70912181","pull_request_url":"https://api.github.com/repos/ankurp/Dollar/pulls/209","_links":{"self":{"href":"https://api.github.com/repos/ankurp/Dollar/pulls/comments/70912181"},"html":{"href":"https://github.com/ankurp/Dollar/pull/209#discussion_r70912181"},"pull_request":{"href":"https://api.github.com/repos/ankurp/Dollar/pulls/209"}}},"pull_request":{"url":"https://api.github.com/repos/ankurp/Dollar/pulls/209","id":70901062,"html_url":"https://github.com/ankurp/Dollar/pull/209","diff_url":"https://github.com/ankurp/Dollar/pull/209.diff","patch_url":"https://github.com/ankurp/Dollar/pull/209.patch","issue_url":"https://api.github.com/repos/ankurp/Dollar/issues/209","number":209,"state":"open","locked":false,"title":"Add groupBy function","user":{"login":"MaggieMoss","id":7714112,"avatar_url":"https://avatars.githubusercontent.com/u/7714112?v=3","gravatar_id":"","url":"https://api.github.com/users/MaggieMoss","html_url":"https://github.com/MaggieMoss","followers_url":"https://api.github.com/users/MaggieMoss/followers","following_url":"https://api.github.com/users/MaggieMoss/following{/other_user}","gists_url":"https://api.github.com/users/MaggieMoss/gists{/gist_id}","starred_url":"https://api.github.com/users/MaggieMoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaggieMoss/subscriptions","organizations_url":"https://api.github.com/users/MaggieMoss/orgs","repos_url":"https://api.github.com/users/MaggieMoss/repos","events_url":"https://api.github.com/users/MaggieMoss/events{/privacy}","received_events_url":"https://api.github.com/users/MaggieMoss/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-20T18:53:20Z","updated_at":"2016-07-15T01:58:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b9968271e285963dc93debc7ede5d08faada19d0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ankurp/Dollar/pulls/209/commits","review_comments_url":"https://api.github.com/repos/ankurp/Dollar/pulls/209/comments","review_comment_url":"https://api.github.com/repos/ankurp/Dollar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ankurp/Dollar/issues/209/comments","statuses_url":"https://api.github.com/repos/ankurp/Dollar/statuses/d19c3283207c34a3f9c1dc68021465515788b3eb","head":{"label":"MaggieMoss:master","ref":"master","sha":"d19c3283207c34a3f9c1dc68021465515788b3eb","user":{"login":"MaggieMoss","id":7714112,"avatar_url":"https://avatars.githubusercontent.com/u/7714112?v=3","gravatar_id":"","url":"https://api.github.com/users/MaggieMoss","html_url":"https://github.com/MaggieMoss","followers_url":"https://api.github.com/users/MaggieMoss/followers","following_url":"https://api.github.com/users/MaggieMoss/following{/other_user}","gists_url":"https://api.github.com/users/MaggieMoss/gists{/gist_id}","starred_url":"https://api.github.com/users/MaggieMoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaggieMoss/subscriptions","organizations_url":"https://api.github.com/users/MaggieMoss/orgs","repos_url":"https://api.github.com/users/MaggieMoss/repos","events_url":"https://api.github.com/users/MaggieMoss/events{/privacy}","received_events_url":"https://api.github.com/users/MaggieMoss/received_events","type":"User","site_admin":false},"repo":{"id":58671907,"name":"Dollar","full_name":"MaggieMoss/Dollar","owner":{"login":"MaggieMoss","id":7714112,"avatar_url":"https://avatars.githubusercontent.com/u/7714112?v=3","gravatar_id":"","url":"https://api.github.com/users/MaggieMoss","html_url":"https://github.com/MaggieMoss","followers_url":"https://api.github.com/users/MaggieMoss/followers","following_url":"https://api.github.com/users/MaggieMoss/following{/other_user}","gists_url":"https://api.github.com/users/MaggieMoss/gists{/gist_id}","starred_url":"https://api.github.com/users/MaggieMoss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaggieMoss/subscriptions","organizations_url":"https://api.github.com/users/MaggieMoss/orgs","repos_url":"https://api.github.com/users/MaggieMoss/repos","events_url":"https://api.github.com/users/MaggieMoss/events{/privacy}","received_events_url":"https://api.github.com/users/MaggieMoss/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaggieMoss/Dollar","description":"A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript","fork":true,"url":"https://api.github.com/repos/MaggieMoss/Dollar","forks_url":"https://api.github.com/repos/MaggieMoss/Dollar/forks","keys_url":"https://api.github.com/repos/MaggieMoss/Dollar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaggieMoss/Dollar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaggieMoss/Dollar/teams","hooks_url":"https://api.github.com/repos/MaggieMoss/Dollar/hooks","issue_events_url":"https://api.github.com/repos/MaggieMoss/Dollar/issues/events{/number}","events_url":"https://api.github.com/repos/MaggieMoss/Dollar/events","assignees_url":"https://api.github.com/repos/MaggieMoss/Dollar/assignees{/user}","branches_url":"https://api.github.com/repos/MaggieMoss/Dollar/branches{/branch}","tags_url":"https://api.github.com/repos/MaggieMoss/Dollar/tags","blobs_url":"https://api.github.com/repos/MaggieMoss/Dollar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaggieMoss/Dollar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaggieMoss/Dollar/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaggieMoss/Dollar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaggieMoss/Dollar/statuses/{sha}","languages_url":"https://api.github.com/repos/MaggieMoss/Dollar/languages","stargazers_url":"https://api.github.com/repos/MaggieMoss/Dollar/stargazers","contributors_url":"https://api.github.com/repos/MaggieMoss/Dollar/contributors","subscribers_url":"https://api.github.com/repos/MaggieMoss/Dollar/subscribers","subscription_url":"https://api.github.com/repos/MaggieMoss/Dollar/subscription","commits_url":"https://api.github.com/repos/MaggieMoss/Dollar/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaggieMoss/Dollar/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaggieMoss/Dollar/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaggieMoss/Dollar/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaggieMoss/Dollar/contents/{+path}","compare_url":"https://api.github.com/repos/MaggieMoss/Dollar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaggieMoss/Dollar/merges","archive_url":"https://api.github.com/repos/MaggieMoss/Dollar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaggieMoss/Dollar/downloads","issues_url":"https://api.github.com/repos/MaggieMoss/Dollar/issues{/number}","pulls_url":"https://api.github.com/repos/MaggieMoss/Dollar/pulls{/number}","milestones_url":"https://api.github.com/repos/MaggieMoss/Dollar/milestones{/number}","notifications_url":"https://api.github.com/repos/MaggieMoss/Dollar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaggieMoss/Dollar/labels{/name}","releases_url":"https://api.github.com/repos/MaggieMoss/Dollar/releases{/id}","deployments_url":"https://api.github.com/repos/MaggieMoss/Dollar/deployments","created_at":"2016-05-12T19:47:20Z","updated_at":"2016-05-12T19:47:21Z","pushed_at":"2016-07-15T01:58:20Z","git_url":"git://github.com/MaggieMoss/Dollar.git","ssh_url":"git@github.com:MaggieMoss/Dollar.git","clone_url":"https://github.com/MaggieMoss/Dollar.git","svn_url":"https://github.com/MaggieMoss/Dollar","homepage":"http://www.dollarswift.org","size":5297,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ankurp:master","ref":"master","sha":"8a3a48f761ddf3370fc3b6c89b0e9a16ac9b329e","user":{"login":"ankurp","id":498669,"avatar_url":"https://avatars.githubusercontent.com/u/498669?v=3","gravatar_id":"","url":"https://api.github.com/users/ankurp","html_url":"https://github.com/ankurp","followers_url":"https://api.github.com/users/ankurp/followers","following_url":"https://api.github.com/users/ankurp/following{/other_user}","gists_url":"https://api.github.com/users/ankurp/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurp/subscriptions","organizations_url":"https://api.github.com/users/ankurp/orgs","repos_url":"https://api.github.com/users/ankurp/repos","events_url":"https://api.github.com/users/ankurp/events{/privacy}","received_events_url":"https://api.github.com/users/ankurp/received_events","type":"User","site_admin":false},"repo":{"id":20466037,"name":"Dollar","full_name":"ankurp/Dollar","owner":{"login":"ankurp","id":498669,"avatar_url":"https://avatars.githubusercontent.com/u/498669?v=3","gravatar_id":"","url":"https://api.github.com/users/ankurp","html_url":"https://github.com/ankurp","followers_url":"https://api.github.com/users/ankurp/followers","following_url":"https://api.github.com/users/ankurp/following{/other_user}","gists_url":"https://api.github.com/users/ankurp/gists{/gist_id}","starred_url":"https://api.github.com/users/ankurp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankurp/subscriptions","organizations_url":"https://api.github.com/users/ankurp/orgs","repos_url":"https://api.github.com/users/ankurp/repos","events_url":"https://api.github.com/users/ankurp/events{/privacy}","received_events_url":"https://api.github.com/users/ankurp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ankurp/Dollar","description":"A functional tool-belt for Swift Language similar to Lo-Dash or Underscore.js in Javascript","fork":false,"url":"https://api.github.com/repos/ankurp/Dollar","forks_url":"https://api.github.com/repos/ankurp/Dollar/forks","keys_url":"https://api.github.com/repos/ankurp/Dollar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ankurp/Dollar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ankurp/Dollar/teams","hooks_url":"https://api.github.com/repos/ankurp/Dollar/hooks","issue_events_url":"https://api.github.com/repos/ankurp/Dollar/issues/events{/number}","events_url":"https://api.github.com/repos/ankurp/Dollar/events","assignees_url":"https://api.github.com/repos/ankurp/Dollar/assignees{/user}","branches_url":"https://api.github.com/repos/ankurp/Dollar/branches{/branch}","tags_url":"https://api.github.com/repos/ankurp/Dollar/tags","blobs_url":"https://api.github.com/repos/ankurp/Dollar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ankurp/Dollar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ankurp/Dollar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ankurp/Dollar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ankurp/Dollar/statuses/{sha}","languages_url":"https://api.github.com/repos/ankurp/Dollar/languages","stargazers_url":"https://api.github.com/repos/ankurp/Dollar/stargazers","contributors_url":"https://api.github.com/repos/ankurp/Dollar/contributors","subscribers_url":"https://api.github.com/repos/ankurp/Dollar/subscribers","subscription_url":"https://api.github.com/repos/ankurp/Dollar/subscription","commits_url":"https://api.github.com/repos/ankurp/Dollar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ankurp/Dollar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ankurp/Dollar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ankurp/Dollar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ankurp/Dollar/contents/{+path}","compare_url":"https://api.github.com/repos/ankurp/Dollar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ankurp/Dollar/merges","archive_url":"https://api.github.com/repos/ankurp/Dollar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ankurp/Dollar/downloads","issues_url":"https://api.github.com/repos/ankurp/Dollar/issues{/number}","pulls_url":"https://api.github.com/repos/ankurp/Dollar/pulls{/number}","milestones_url":"https://api.github.com/repos/ankurp/Dollar/milestones{/number}","notifications_url":"https://api.github.com/repos/ankurp/Dollar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ankurp/Dollar/labels{/name}","releases_url":"https://api.github.com/repos/ankurp/Dollar/releases{/id}","deployments_url":"https://api.github.com/repos/ankurp/Dollar/deployments","created_at":"2014-06-04T01:30:39Z","updated_at":"2016-07-14T22:18:19Z","pushed_at":"2016-07-15T01:58:21Z","git_url":"git://github.com/ankurp/Dollar.git","ssh_url":"git@github.com:ankurp/Dollar.git","clone_url":"https://github.com/ankurp/Dollar.git","svn_url":"https://github.com/ankurp/Dollar","homepage":"http://www.dollarswift.org","size":5781,"stargazers_count":3259,"watchers_count":3259,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":228,"mirror_url":null,"open_issues_count":4,"forks":228,"open_issues":4,"watchers":3259,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ankurp/Dollar/pulls/209"},"html":{"href":"https://github.com/ankurp/Dollar/pull/209"},"issue":{"href":"https://api.github.com/repos/ankurp/Dollar/issues/209"},"comments":{"href":"https://api.github.com/repos/ankurp/Dollar/issues/209/comments"},"review_comments":{"href":"https://api.github.com/repos/ankurp/Dollar/pulls/209/comments"},"review_comment":{"href":"https://api.github.com/repos/ankurp/Dollar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ankurp/Dollar/pulls/209/commits"},"statuses":{"href":"https://api.github.com/repos/ankurp/Dollar/statuses/d19c3283207c34a3f9c1dc68021465515788b3eb"}}}}
{"actor":{"display_login":"houndci-bot"}}