{"action":"opened","number":240,"pull_request":{"url":"https://api.github.com/repos/exercism/erlang/pulls/240","id":175820078,"html_url":"https://github.com/exercism/erlang/pull/240","diff_url":"https://github.com/exercism/erlang/pull/240.diff","patch_url":"https://github.com/exercism/erlang/pull/240.patch","issue_url":"https://api.github.com/repos/exercism/erlang/issues/240","number":240,"state":"open","locked":false,"title":"Add pascals-triangle problem to erlang","user":{"login":"trungda","id":2529107,"avatar_url":"https://avatars3.githubusercontent.com/u/2529107?v=4","gravatar_id":"","url":"https://api.github.com/users/trungda","html_url":"https://github.com/trungda","followers_url":"https://api.github.com/users/trungda/followers","following_url":"https://api.github.com/users/trungda/following{/other_user}","gists_url":"https://api.github.com/users/trungda/gists{/gist_id}","starred_url":"https://api.github.com/users/trungda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trungda/subscriptions","organizations_url":"https://api.github.com/users/trungda/orgs","repos_url":"https://api.github.com/users/trungda/repos","events_url":"https://api.github.com/users/trungda/events{/privacy}","received_events_url":"https://api.github.com/users/trungda/received_events","type":"User","site_admin":false},"body":"Add a new problem: pascals-triangle.\r\nI ran `rebar3 eunit` in my local machine and all test cases passed.\r\n\r\n```\r\npascals-triangle $ rebar3 eunit\r\n===> Verifying dependencies...\r\n===> Compiling pascals_triangle\r\nsrc/pascals_triangle.erl:5: Warning: variable 'N' is unused\r\n\r\n===> Performing EUnit tests...\r\n======================== EUnit ========================\r\nfile \"pascals_triangle.app\"\r\n  application 'pascals_triangle'\r\n    module 'example'\r\n    module 'pascals_triangle'\r\n      module 'pascals_triangle_tests'\r\n        pascals_triangle_tests: zero_row_test...ok\r\n        pascals_triangle_tests: one_row_test...ok\r\n        pascals_triangle_tests: two_rows_test...ok\r\n        pascals_triangle_tests: three_rows_test...ok\r\n        pascals_triangle_tests: four_rows_test...ok\r\n        pascals_triangle_tests: five_rows_test...ok\r\n        pascals_triangle_tests: six_rows_test...ok\r\n        pascals_triangle_tests: ten_rows_test...ok\r\n        pascals_triangle_tests: negative_rows_test...ok\r\n        [done in 0.027 s]\r\n      [done in 0.027 s]\r\n    [done in 0.036 s]\r\n  [done in 0.045 s]\r\n=======================================================\r\n  All 9 tests passed.\r\n\r\n```","created_at":"2018-03-19T07:12:53Z","updated_at":"2018-03-19T07:12:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/exercism/erlang/pulls/240/commits","review_comments_url":"https://api.github.com/repos/exercism/erlang/pulls/240/comments","review_comment_url":"https://api.github.com/repos/exercism/erlang/pulls/comments{/number}","comments_url":"https://api.github.com/repos/exercism/erlang/issues/240/comments","statuses_url":"https://api.github.com/repos/exercism/erlang/statuses/716e691741ccb742147249f547e88937b2f2c375","head":{"label":"trungda:pascal","ref":"pascal","sha":"716e691741ccb742147249f547e88937b2f2c375","user":{"login":"trungda","id":2529107,"avatar_url":"https://avatars3.githubusercontent.com/u/2529107?v=4","gravatar_id":"","url":"https://api.github.com/users/trungda","html_url":"https://github.com/trungda","followers_url":"https://api.github.com/users/trungda/followers","following_url":"https://api.github.com/users/trungda/following{/other_user}","gists_url":"https://api.github.com/users/trungda/gists{/gist_id}","starred_url":"https://api.github.com/users/trungda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trungda/subscriptions","organizations_url":"https://api.github.com/users/trungda/orgs","repos_url":"https://api.github.com/users/trungda/repos","events_url":"https://api.github.com/users/trungda/events{/privacy}","received_events_url":"https://api.github.com/users/trungda/received_events","type":"User","site_admin":false},"repo":{"id":125804602,"name":"erlang","full_name":"trungda/erlang","owner":{"login":"trungda","id":2529107,"avatar_url":"https://avatars3.githubusercontent.com/u/2529107?v=4","gravatar_id":"","url":"https://api.github.com/users/trungda","html_url":"https://github.com/trungda","followers_url":"https://api.github.com/users/trungda/followers","following_url":"https://api.github.com/users/trungda/following{/other_user}","gists_url":"https://api.github.com/users/trungda/gists{/gist_id}","starred_url":"https://api.github.com/users/trungda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trungda/subscriptions","organizations_url":"https://api.github.com/users/trungda/orgs","repos_url":"https://api.github.com/users/trungda/repos","events_url":"https://api.github.com/users/trungda/events{/privacy}","received_events_url":"https://api.github.com/users/trungda/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/trungda/erlang","description":"Exercism exercises in Erlang.","fork":true,"url":"https://api.github.com/repos/trungda/erlang","forks_url":"https://api.github.com/repos/trungda/erlang/forks","keys_url":"https://api.github.com/repos/trungda/erlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/trungda/erlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/trungda/erlang/teams","hooks_url":"https://api.github.com/repos/trungda/erlang/hooks","issue_events_url":"https://api.github.com/repos/trungda/erlang/issues/events{/number}","events_url":"https://api.github.com/repos/trungda/erlang/events","assignees_url":"https://api.github.com/repos/trungda/erlang/assignees{/user}","branches_url":"https://api.github.com/repos/trungda/erlang/branches{/branch}","tags_url":"https://api.github.com/repos/trungda/erlang/tags","blobs_url":"https://api.github.com/repos/trungda/erlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/trungda/erlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/trungda/erlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/trungda/erlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/trungda/erlang/statuses/{sha}","languages_url":"https://api.github.com/repos/trungda/erlang/languages","stargazers_url":"https://api.github.com/repos/trungda/erlang/stargazers","contributors_url":"https://api.github.com/repos/trungda/erlang/contributors","subscribers_url":"https://api.github.com/repos/trungda/erlang/subscribers","subscription_url":"https://api.github.com/repos/trungda/erlang/subscription","commits_url":"https://api.github.com/repos/trungda/erlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/trungda/erlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/trungda/erlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/trungda/erlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/trungda/erlang/contents/{+path}","compare_url":"https://api.github.com/repos/trungda/erlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/trungda/erlang/merges","archive_url":"https://api.github.com/repos/trungda/erlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/trungda/erlang/downloads","issues_url":"https://api.github.com/repos/trungda/erlang/issues{/number}","pulls_url":"https://api.github.com/repos/trungda/erlang/pulls{/number}","milestones_url":"https://api.github.com/repos/trungda/erlang/milestones{/number}","notifications_url":"https://api.github.com/repos/trungda/erlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/trungda/erlang/labels{/name}","releases_url":"https://api.github.com/repos/trungda/erlang/releases{/id}","deployments_url":"https://api.github.com/repos/trungda/erlang/deployments","created_at":"2018-03-19T05:13:38Z","updated_at":"2018-03-19T05:13:40Z","pushed_at":"2018-03-19T07:11:23Z","git_url":"git://github.com/trungda/erlang.git","ssh_url":"git@github.com:trungda/erlang.git","clone_url":"https://github.com/trungda/erlang.git","svn_url":"https://github.com/trungda/erlang","homepage":"http://exercism.io/languages/erlang","size":617,"stargazers_count":0,"watchers_count":0,"language":"Erlang","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"exercism:master","ref":"master","sha":"f928398f751d36b3528321fa02d8766c057ccd97","user":{"login":"exercism","id":5624255,"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":17276138,"name":"erlang","full_name":"exercism/erlang","owner":{"login":"exercism","id":5624255,"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/erlang","description":"Exercism exercises in Erlang.","fork":false,"url":"https://api.github.com/repos/exercism/erlang","forks_url":"https://api.github.com/repos/exercism/erlang/forks","keys_url":"https://api.github.com/repos/exercism/erlang/keys{/key_id}","collaborators_url":"https://api.github.com/repos/exercism/erlang/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/exercism/erlang/teams","hooks_url":"https://api.github.com/repos/exercism/erlang/hooks","issue_events_url":"https://api.github.com/repos/exercism/erlang/issues/events{/number}","events_url":"https://api.github.com/repos/exercism/erlang/events","assignees_url":"https://api.github.com/repos/exercism/erlang/assignees{/user}","branches_url":"https://api.github.com/repos/exercism/erlang/branches{/branch}","tags_url":"https://api.github.com/repos/exercism/erlang/tags","blobs_url":"https://api.github.com/repos/exercism/erlang/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/exercism/erlang/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/exercism/erlang/git/refs{/sha}","trees_url":"https://api.github.com/repos/exercism/erlang/git/trees{/sha}","statuses_url":"https://api.github.com/repos/exercism/erlang/statuses/{sha}","languages_url":"https://api.github.com/repos/exercism/erlang/languages","stargazers_url":"https://api.github.com/repos/exercism/erlang/stargazers","contributors_url":"https://api.github.com/repos/exercism/erlang/contributors","subscribers_url":"https://api.github.com/repos/exercism/erlang/subscribers","subscription_url":"https://api.github.com/repos/exercism/erlang/subscription","commits_url":"https://api.github.com/repos/exercism/erlang/commits{/sha}","git_commits_url":"https://api.github.com/repos/exercism/erlang/git/commits{/sha}","comments_url":"https://api.github.com/repos/exercism/erlang/comments{/number}","issue_comment_url":"https://api.github.com/repos/exercism/erlang/issues/comments{/number}","contents_url":"https://api.github.com/repos/exercism/erlang/contents/{+path}","compare_url":"https://api.github.com/repos/exercism/erlang/compare/{base}...{head}","merges_url":"https://api.github.com/repos/exercism/erlang/merges","archive_url":"https://api.github.com/repos/exercism/erlang/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/exercism/erlang/downloads","issues_url":"https://api.github.com/repos/exercism/erlang/issues{/number}","pulls_url":"https://api.github.com/repos/exercism/erlang/pulls{/number}","milestones_url":"https://api.github.com/repos/exercism/erlang/milestones{/number}","notifications_url":"https://api.github.com/repos/exercism/erlang/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/exercism/erlang/labels{/name}","releases_url":"https://api.github.com/repos/exercism/erlang/releases{/id}","deployments_url":"https://api.github.com/repos/exercism/erlang/deployments","created_at":"2014-02-28T05:23:39Z","updated_at":"2018-02-14T04:02:28Z","pushed_at":"2018-03-04T18:24:57Z","git_url":"git://github.com/exercism/erlang.git","ssh_url":"git@github.com:exercism/erlang.git","clone_url":"https://github.com/exercism/erlang.git","svn_url":"https://github.com/exercism/erlang","homepage":"http://exercism.io/languages/erlang","size":617,"stargazers_count":53,"watchers_count":53,"language":"Erlang","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":26,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":48,"open_issues":26,"watchers":53,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/exercism/erlang/pulls/240"},"html":{"href":"https://github.com/exercism/erlang/pull/240"},"issue":{"href":"https://api.github.com/repos/exercism/erlang/issues/240"},"comments":{"href":"https://api.github.com/repos/exercism/erlang/issues/240/comments"},"review_comments":{"href":"https://api.github.com/repos/exercism/erlang/pulls/240/comments"},"review_comment":{"href":"https://api.github.com/repos/exercism/erlang/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/exercism/erlang/pulls/240/commits"},"statuses":{"href":"https://api.github.com/repos/exercism/erlang/statuses/716e691741ccb742147249f547e88937b2f2c375"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":201,"deletions":1,"changed_files":7}}
{"actor":{"display_login":"trungda"}}