{"action":"created","comment":{"url":"https://api.github.com/repos/exercism/reasonml/pulls/comments/197647678","pull_request_review_id":131431306,"id":197647678,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzY0NzY3OA==","diff_hunk":"@@ -0,0 +1,48 @@\n+open Jest;\n+open Expect;\n+open PhoneNumber;\n+\n+describe(\"PhoneNumber\", () => {\n+  test(\"cleans the number\", () =>\n+    expect(phoneNumber(\"(223) 456-7890\")) |> toEqual(Some(\"2234567890\"))\n+  );\n+  test(\"cleans numbers with dots\", () =>\n+    expect(phoneNumber(\"223.456.7890\")) |> toEqual(Some(\"2234567890\"))\n+  );\n+  test(\"cleans numbers with multiple spaces\", () =>\n+    expect(phoneNumber(\"223 456   7890   \")) |> toEqual(Some(\"2234567890\"))\n+  );\n+  test(\"invalid when 9 digits\", () =>\n+    expect(phoneNumber(\"123456789\")) |> toEqual(None)\n+  );\n+  test(\"invalid when 11 digits does not start with a 1<Paste>\", () =>","path":"exercises/phone-number/__tests__/PhoneNumber_test.re","position":18,"original_position":18,"commit_id":"dcc71f169ccf5c1e6dbe2ad66e05af5df3ec78a6","original_commit_id":"dcc71f169ccf5c1e6dbe2ad66e05af5df3ec78a6","user":{"login":"gabrielperales","id":1859128,"node_id":"MDQ6VXNlcjE4NTkxMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1859128?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielperales","html_url":"https://github.com/gabrielperales","followers_url":"https://api.github.com/users/gabrielperales/followers","following_url":"https://api.github.com/users/gabrielperales/following{/other_user}","gists_url":"https://api.github.com/users/gabrielperales/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielperales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielperales/subscriptions","organizations_url":"https://api.github.com/users/gabrielperales/orgs","repos_url":"https://api.github.com/users/gabrielperales/repos","events_url":"https://api.github.com/users/gabrielperales/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielperales/received_events","type":"User","site_admin":false},"body":"@tejasbubane Thanks, sometimes VIM makes weird stuff... ","created_at":"2018-06-24T17:52:30Z","updated_at":"2018-06-24T17:52:30Z","html_url":"https://github.com/exercism/reasonml/pull/28#discussion_r197647678","pull_request_url":"https://api.github.com/repos/exercism/reasonml/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/exercism/reasonml/pulls/comments/197647678"},"html":{"href":"https://github.com/exercism/reasonml/pull/28#discussion_r197647678"},"pull_request":{"href":"https://api.github.com/repos/exercism/reasonml/pulls/28"}},"in_reply_to_id":197647163},"pull_request":{"url":"https://api.github.com/repos/exercism/reasonml/pulls/28","id":196909184,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTA5MTg0","html_url":"https://github.com/exercism/reasonml/pull/28","diff_url":"https://github.com/exercism/reasonml/pull/28.diff","patch_url":"https://github.com/exercism/reasonml/pull/28.patch","issue_url":"https://api.github.com/repos/exercism/reasonml/issues/28","number":28,"state":"open","locked":false,"title":"WIP: phone number exercise","user":{"login":"gabrielperales","id":1859128,"node_id":"MDQ6VXNlcjE4NTkxMjg=","avatar_url":"https://avatars1.githubusercontent.com/u/1859128?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielperales","html_url":"https://github.com/gabrielperales","followers_url":"https://api.github.com/users/gabrielperales/followers","following_url":"https://api.github.com/users/gabrielperales/following{/other_user}","gists_url":"https://api.github.com/users/gabrielperales/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielperales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielperales/subscriptions","organizations_url":"https://api.github.com/users/gabrielperales/orgs","repos_url":"https://api.github.com/users/gabrielperales/repos","events_url":"https://api.github.com/users/gabrielperales/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielperales/received_events","type":"User","site_admin":false},"body":"Just to let you know that I'm working on it.","created_at":"2018-06-23T16:12:02Z","updated_at":"2018-06-24T17:52:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3b50a24fad08398c10f3287fe9eb8e5ce4f73d0c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/exercism/reasonml/pulls/28/commits","review_comments_url":"https://api.github.com/repos/exercism/reasonml/pulls/28/comments","review_comment_url":"https://api.github.com/repos/exercism/reasonml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/reasonml/issues/28/comments","statuses_url":"https://api.github.com/repos/exercism/reasonml/statuses/dcc71f169ccf5c1e6dbe2ad66e05af5df3ec78a6","head":{"label":"wombak:exercise/phone-number","ref":"exercise/phone-number","sha":"dcc71f169ccf5c1e6dbe2ad66e05af5df3ec78a6","user":{"login":"wombak","id":28045671,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MDQ1Njcx","avatar_url":"https://avatars0.githubusercontent.com/u/28045671?v=4","gravatar_id":"","url":"https://api.github.com/users/wombak","html_url":"https://github.com/wombak","followers_url":"https://api.github.com/users/wombak/followers","following_url":"https://api.github.com/users/wombak/following{/other_user}","gists_url":"https://api.github.com/users/wombak/gists{/gist_id}","starred_url":"https://api.github.com/users/wombak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wombak/subscriptions","organizations_url":"https://api.github.com/users/wombak/orgs","repos_url":"https://api.github.com/users/wombak/repos","events_url":"https://api.github.com/users/wombak/events{/privacy}","received_events_url":"https://api.github.com/users/wombak/received_events","type":"Organization","site_admin":false},"repo":{"id":136843790,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY4NDM3OTA=","name":"reasonml","full_name":"wombak/reasonml","owner":{"login":"wombak","id":28045671,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4MDQ1Njcx","avatar_url":"https://avatars0.githubusercontent.com/u/28045671?v=4","gravatar_id":"","url":"https://api.github.com/users/wombak","html_url":"https://github.com/wombak","followers_url":"https://api.github.com/users/wombak/followers","following_url":"https://api.github.com/users/wombak/following{/other_user}","gists_url":"https://api.github.com/users/wombak/gists{/gist_id}","starred_url":"https://api.github.com/users/wombak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wombak/subscriptions","organizations_url":"https://api.github.com/users/wombak/orgs","repos_url":"https://api.github.com/users/wombak/repos","events_url":"https://api.github.com/users/wombak/events{/privacy}","received_events_url":"https://api.github.com/users/wombak/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wombak/reasonml","description":null,"fork":true,"url":"https://api.github.com/repos/wombak/reasonml","forks_url":"https://api.github.com/repos/wombak/reasonml/forks","keys_url":"https://api.github.com/repos/wombak/reasonml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wombak/reasonml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wombak/reasonml/teams","hooks_url":"https://api.github.com/repos/wombak/reasonml/hooks","issue_events_url":"https://api.github.com/repos/wombak/reasonml/issues/events{/number}","events_url":"https://api.github.com/repos/wombak/reasonml/events","assignees_url":"https://api.github.com/repos/wombak/reasonml/assignees{/user}","branches_url":"https://api.github.com/repos/wombak/reasonml/branches{/branch}","tags_url":"https://api.github.com/repos/wombak/reasonml/tags","blobs_url":"https://api.github.com/repos/wombak/reasonml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wombak/reasonml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wombak/reasonml/git/refs{/sha}","trees_url":"https://api.github.com/repos/wombak/reasonml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wombak/reasonml/statuses/{sha}","languages_url":"https://api.github.com/repos/wombak/reasonml/languages","stargazers_url":"https://api.github.com/repos/wombak/reasonml/stargazers","contributors_url":"https://api.github.com/repos/wombak/reasonml/contributors","subscribers_url":"https://api.github.com/repos/wombak/reasonml/subscribers","subscription_url":"https://api.github.com/repos/wombak/reasonml/subscription","commits_url":"https://api.github.com/repos/wombak/reasonml/commits{/sha}","git_commits_url":"https://api.github.com/repos/wombak/reasonml/git/commits{/sha}","comments_url":"https://api.github.com/repos/wombak/reasonml/comments{/number}","issue_comment_url":"https://api.github.com/repos/wombak/reasonml/issues/comments{/number}","contents_url":"https://api.github.com/repos/wombak/reasonml/contents/{+path}","compare_url":"https://api.github.com/repos/wombak/reasonml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wombak/reasonml/merges","archive_url":"https://api.github.com/repos/wombak/reasonml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wombak/reasonml/downloads","issues_url":"https://api.github.com/repos/wombak/reasonml/issues{/number}","pulls_url":"https://api.github.com/repos/wombak/reasonml/pulls{/number}","milestones_url":"https://api.github.com/repos/wombak/reasonml/milestones{/number}","notifications_url":"https://api.github.com/repos/wombak/reasonml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wombak/reasonml/labels{/name}","releases_url":"https://api.github.com/repos/wombak/reasonml/releases{/id}","deployments_url":"https://api.github.com/repos/wombak/reasonml/deployments","created_at":"2018-06-10T20:48:11Z","updated_at":"2018-06-18T17:16:55Z","pushed_at":"2018-06-23T18:04:17Z","git_url":"git://github.com/wombak/reasonml.git","ssh_url":"git@github.com:wombak/reasonml.git","clone_url":"https://github.com/wombak/reasonml.git","svn_url":"https://github.com/wombak/reasonml","homepage":null,"size":129,"stargazers_count":0,"watchers_count":0,"language":"OCaml","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":"exercism:master","ref":"master","sha":"973e0df839d080281d306c14794be26f4f73f717","user":{"login":"exercism","id":5624255,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MjQyNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/5624255?v=4","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"repo":{"id":136343260,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYzNDMyNjA=","name":"reasonml","full_name":"exercism/reasonml","owner":{"login":"exercism","id":5624255,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU2MjQyNTU=","avatar_url":"https://avatars0.githubusercontent.com/u/5624255?v=4","gravatar_id":"","url":"https://api.github.com/users/exercism","html_url":"https://github.com/exercism","followers_url":"https://api.github.com/users/exercism/followers","following_url":"https://api.github.com/users/exercism/following{/other_user}","gists_url":"https://api.github.com/users/exercism/gists{/gist_id}","starred_url":"https://api.github.com/users/exercism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/exercism/subscriptions","organizations_url":"https://api.github.com/users/exercism/orgs","repos_url":"https://api.github.com/users/exercism/repos","events_url":"https://api.github.com/users/exercism/events{/privacy}","received_events_url":"https://api.github.com/users/exercism/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/exercism/reasonml","description":null,"fork":false,"url":"https://api.github.com/repos/exercism/reasonml","forks_url":"https://api.github.com/repos/exercism/reasonml/forks","keys_url":"https://api.github.com/repos/exercism/reasonml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/reasonml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/reasonml/teams","hooks_url":"https://api.github.com/repos/exercism/reasonml/hooks","issue_events_url":"https://api.github.com/repos/exercism/reasonml/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/reasonml/events","assignees_url":"https://api.github.com/repos/exercism/reasonml/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/reasonml/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/reasonml/tags","blobs_url":"https://api.github.com/repos/exercism/reasonml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/reasonml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/reasonml/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/reasonml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/reasonml/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/reasonml/languages","stargazers_url":"https://api.github.com/repos/exercism/reasonml/stargazers","contributors_url":"https://api.github.com/repos/exercism/reasonml/contributors","subscribers_url":"https://api.github.com/repos/exercism/reasonml/subscribers","subscription_url":"https://api.github.com/repos/exercism/reasonml/subscription","commits_url":"https://api.github.com/repos/exercism/reasonml/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/reasonml/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/reasonml/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/reasonml/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/reasonml/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/reasonml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/reasonml/merges","archive_url":"https://api.github.com/repos/exercism/reasonml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/reasonml/downloads","issues_url":"https://api.github.com/repos/exercism/reasonml/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/reasonml/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/reasonml/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/reasonml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/reasonml/labels{/name}","releases_url":"https://api.github.com/repos/exercism/reasonml/releases{/id}","deployments_url":"https://api.github.com/repos/exercism/reasonml/deployments","created_at":"2018-06-06T14:47:42Z","updated_at":"2018-06-24T13:17:47Z","pushed_at":"2018-06-24T13:17:46Z","git_url":"git://github.com/exercism/reasonml.git","ssh_url":"git@github.com:exercism/reasonml.git","clone_url":"https://github.com/exercism/reasonml.git","svn_url":"https://github.com/exercism/reasonml","homepage":null,"size":104,"stargazers_count":4,"watchers_count":4,"language":"OCaml","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":5,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/reasonml/pulls/28"},"html":{"href":"https://github.com/exercism/reasonml/pull/28"},"issue":{"href":"https://api.github.com/repos/exercism/reasonml/issues/28"},"comments":{"href":"https://api.github.com/repos/exercism/reasonml/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/reasonml/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/reasonml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/reasonml/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/reasonml/statuses/dcc71f169ccf5c1e6dbe2ad66e05af5df3ec78a6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"gabrielperales"}}