{"action":"created","comment":{"url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments/230864597","pull_request_review_id":171700110,"id":230864597,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDg2NDU5Nw==","diff_hunk":"@@ -1,21 +1,26 @@\n-def sort_letters(string)\n-\n-end\n \n-def count_vowels(string)\n \n-end\n \n-def filter_odd(array)\n+def sort_letters(string)\n+    splittedInput = string.split(\"\")\n+    splittedInput = splittedInput.sort\n+    splittedInput.delete_if{|char| char == ' '}\n+    splittedInput = splittedInput.join\n+    return splittedInput\n+end \n \n+def count_vowels(string)\n+    vowels = ['a','e','i','o','u','y']\n+    return string.chars.count{|char| vowels.include?(char) }   \n end\n \n-sort_letters('dcba') #=> 'abcd'\n-sort_letters('zyx') #=> 'xyz'\n+def filter_odd(arrayOfNumbers)\n+    arrayOfNumbers.delete_if {|arrayElement| arrayElement%2==0}","path":"zad1/main.rb","position":26,"original_position":26,"commit_id":"c3e65dab8e769c3d2182d3cde756442997b60797","original_commit_id":"c3e65dab8e769c3d2182d3cde756442997b60797","user":{"login":"Tengoot","id":24910382,"node_id":"MDQ6VXNlcjI0OTEwMzgy","avatar_url":"https://avatars0.githubusercontent.com/u/24910382?v=4","gravatar_id":"","url":"https://api.github.com/users/Tengoot","html_url":"https://github.com/Tengoot","followers_url":"https://api.github.com/users/Tengoot/followers","following_url":"https://api.github.com/users/Tengoot/following{/other_user}","gists_url":"https://api.github.com/users/Tengoot/gists{/gist_id}","starred_url":"https://api.github.com/users/Tengoot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tengoot/subscriptions","organizations_url":"https://api.github.com/users/Tengoot/orgs","repos_url":"https://api.github.com/users/Tengoot/repos","events_url":"https://api.github.com/users/Tengoot/events{/privacy}","received_events_url":"https://api.github.com/users/Tengoot/received_events","type":"User","site_admin":false},"body":"Tu można nawet skrócić zapis :D Ruby ma metody, które z pozoru wydają się prozaiczne i zbędne, ale ladnie można je zaaplikowac jako shorthand :) np\r\n\r\n```ruby\r\narray.delete_if &:even?","created_at":"2018-11-05T18:40:44Z","updated_at":"2018-11-05T18:42:00Z","html_url":"https://github.com/daftcode/ror4beginners2018/pull/44#discussion_r230864597","pull_request_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments/230864597"},"html":{"href":"https://github.com/daftcode/ror4beginners2018/pull/44#discussion_r230864597"},"pull_request":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44"}}},"pull_request":{"url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44","id":228312051,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MzEyMDUx","html_url":"https://github.com/daftcode/ror4beginners2018/pull/44","diff_url":"https://github.com/daftcode/ror4beginners2018/pull/44.diff","patch_url":"https://github.com/daftcode/ror4beginners2018/pull/44.patch","issue_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/44","number":44,"state":"open","locked":false,"title":"zad1","user":{"login":"jbryl7","id":37078470,"node_id":"MDQ6VXNlcjM3MDc4NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/37078470?v=4","gravatar_id":"","url":"https://api.github.com/users/jbryl7","html_url":"https://github.com/jbryl7","followers_url":"https://api.github.com/users/jbryl7/followers","following_url":"https://api.github.com/users/jbryl7/following{/other_user}","gists_url":"https://api.github.com/users/jbryl7/gists{/gist_id}","starred_url":"https://api.github.com/users/jbryl7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbryl7/subscriptions","organizations_url":"https://api.github.com/users/jbryl7/orgs","repos_url":"https://api.github.com/users/jbryl7/repos","events_url":"https://api.github.com/users/jbryl7/events{/privacy}","received_events_url":"https://api.github.com/users/jbryl7/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-05T10:55:39Z","updated_at":"2018-11-05T18:42:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95afaea0afad6851cb68404172002062f33b48e8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44/commits","review_comments_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44/comments","review_comment_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/44/comments","statuses_url":"https://api.github.com/repos/daftcode/ror4beginners2018/statuses/c3e65dab8e769c3d2182d3cde756442997b60797","head":{"label":"jbryl7:master","ref":"master","sha":"c3e65dab8e769c3d2182d3cde756442997b60797","user":{"login":"jbryl7","id":37078470,"node_id":"MDQ6VXNlcjM3MDc4NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/37078470?v=4","gravatar_id":"","url":"https://api.github.com/users/jbryl7","html_url":"https://github.com/jbryl7","followers_url":"https://api.github.com/users/jbryl7/followers","following_url":"https://api.github.com/users/jbryl7/following{/other_user}","gists_url":"https://api.github.com/users/jbryl7/gists{/gist_id}","starred_url":"https://api.github.com/users/jbryl7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbryl7/subscriptions","organizations_url":"https://api.github.com/users/jbryl7/orgs","repos_url":"https://api.github.com/users/jbryl7/repos","events_url":"https://api.github.com/users/jbryl7/events{/privacy}","received_events_url":"https://api.github.com/users/jbryl7/received_events","type":"User","site_admin":false},"repo":{"id":156201531,"node_id":"MDEwOlJlcG9zaXRvcnkxNTYyMDE1MzE=","name":"ror4beginners2018","full_name":"jbryl7/ror4beginners2018","private":false,"owner":{"login":"jbryl7","id":37078470,"node_id":"MDQ6VXNlcjM3MDc4NDcw","avatar_url":"https://avatars0.githubusercontent.com/u/37078470?v=4","gravatar_id":"","url":"https://api.github.com/users/jbryl7","html_url":"https://github.com/jbryl7","followers_url":"https://api.github.com/users/jbryl7/followers","following_url":"https://api.github.com/users/jbryl7/following{/other_user}","gists_url":"https://api.github.com/users/jbryl7/gists{/gist_id}","starred_url":"https://api.github.com/users/jbryl7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbryl7/subscriptions","organizations_url":"https://api.github.com/users/jbryl7/orgs","repos_url":"https://api.github.com/users/jbryl7/repos","events_url":"https://api.github.com/users/jbryl7/events{/privacy}","received_events_url":"https://api.github.com/users/jbryl7/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jbryl7/ror4beginners2018","description":null,"fork":true,"url":"https://api.github.com/repos/jbryl7/ror4beginners2018","forks_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/forks","keys_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/teams","hooks_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/hooks","issue_events_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/issues/events{/number}","events_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/events","assignees_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/assignees{/user}","branches_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/branches{/branch}","tags_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/tags","blobs_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/statuses/{sha}","languages_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/languages","stargazers_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/stargazers","contributors_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/contributors","subscribers_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/subscribers","subscription_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/subscription","commits_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/contents/{+path}","compare_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/merges","archive_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/downloads","issues_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/issues{/number}","pulls_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/pulls{/number}","milestones_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/milestones{/number}","notifications_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/labels{/name}","releases_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/releases{/id}","deployments_url":"https://api.github.com/repos/jbryl7/ror4beginners2018/deployments","created_at":"2018-11-05T10:42:41Z","updated_at":"2018-11-05T10:44:10Z","pushed_at":"2018-11-05T10:44:09Z","git_url":"git://github.com/jbryl7/ror4beginners2018.git","ssh_url":"git@github.com:jbryl7/ror4beginners2018.git","clone_url":"https://github.com/jbryl7/ror4beginners2018.git","svn_url":"https://github.com/jbryl7/ror4beginners2018","homepage":null,"size":734,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"daftcode:master","ref":"master","sha":"c1ea6d1115b775fe2459cd7145d0d890707f5f32","user":{"login":"daftcode","id":10532199,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTMyMTk5","avatar_url":"https://avatars2.githubusercontent.com/u/10532199?v=4","gravatar_id":"","url":"https://api.github.com/users/daftcode","html_url":"https://github.com/daftcode","followers_url":"https://api.github.com/users/daftcode/followers","following_url":"https://api.github.com/users/daftcode/following{/other_user}","gists_url":"https://api.github.com/users/daftcode/gists{/gist_id}","starred_url":"https://api.github.com/users/daftcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daftcode/subscriptions","organizations_url":"https://api.github.com/users/daftcode/orgs","repos_url":"https://api.github.com/users/daftcode/repos","events_url":"https://api.github.com/users/daftcode/events{/privacy}","received_events_url":"https://api.github.com/users/daftcode/received_events","type":"Organization","site_admin":false},"repo":{"id":155549821,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU1NDk4MjE=","name":"ror4beginners2018","full_name":"daftcode/ror4beginners2018","private":false,"owner":{"login":"daftcode","id":10532199,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTMyMTk5","avatar_url":"https://avatars2.githubusercontent.com/u/10532199?v=4","gravatar_id":"","url":"https://api.github.com/users/daftcode","html_url":"https://github.com/daftcode","followers_url":"https://api.github.com/users/daftcode/followers","following_url":"https://api.github.com/users/daftcode/following{/other_user}","gists_url":"https://api.github.com/users/daftcode/gists{/gist_id}","starred_url":"https://api.github.com/users/daftcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daftcode/subscriptions","organizations_url":"https://api.github.com/users/daftcode/orgs","repos_url":"https://api.github.com/users/daftcode/repos","events_url":"https://api.github.com/users/daftcode/events{/privacy}","received_events_url":"https://api.github.com/users/daftcode/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/daftcode/ror4beginners2018","description":null,"fork":false,"url":"https://api.github.com/repos/daftcode/ror4beginners2018","forks_url":"https://api.github.com/repos/daftcode/ror4beginners2018/forks","keys_url":"https://api.github.com/repos/daftcode/ror4beginners2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daftcode/ror4beginners2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daftcode/ror4beginners2018/teams","hooks_url":"https://api.github.com/repos/daftcode/ror4beginners2018/hooks","issue_events_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/events{/number}","events_url":"https://api.github.com/repos/daftcode/ror4beginners2018/events","assignees_url":"https://api.github.com/repos/daftcode/ror4beginners2018/assignees{/user}","branches_url":"https://api.github.com/repos/daftcode/ror4beginners2018/branches{/branch}","tags_url":"https://api.github.com/repos/daftcode/ror4beginners2018/tags","blobs_url":"https://api.github.com/repos/daftcode/ror4beginners2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daftcode/ror4beginners2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daftcode/ror4beginners2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/daftcode/ror4beginners2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daftcode/ror4beginners2018/statuses/{sha}","languages_url":"https://api.github.com/repos/daftcode/ror4beginners2018/languages","stargazers_url":"https://api.github.com/repos/daftcode/ror4beginners2018/stargazers","contributors_url":"https://api.github.com/repos/daftcode/ror4beginners2018/contributors","subscribers_url":"https://api.github.com/repos/daftcode/ror4beginners2018/subscribers","subscription_url":"https://api.github.com/repos/daftcode/ror4beginners2018/subscription","commits_url":"https://api.github.com/repos/daftcode/ror4beginners2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/daftcode/ror4beginners2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/daftcode/ror4beginners2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/daftcode/ror4beginners2018/contents/{+path}","compare_url":"https://api.github.com/repos/daftcode/ror4beginners2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daftcode/ror4beginners2018/merges","archive_url":"https://api.github.com/repos/daftcode/ror4beginners2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daftcode/ror4beginners2018/downloads","issues_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues{/number}","pulls_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls{/number}","milestones_url":"https://api.github.com/repos/daftcode/ror4beginners2018/milestones{/number}","notifications_url":"https://api.github.com/repos/daftcode/ror4beginners2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daftcode/ror4beginners2018/labels{/name}","releases_url":"https://api.github.com/repos/daftcode/ror4beginners2018/releases{/id}","deployments_url":"https://api.github.com/repos/daftcode/ror4beginners2018/deployments","created_at":"2018-10-31T11:56:32Z","updated_at":"2018-11-05T17:54:08Z","pushed_at":"2018-11-05T18:39:21Z","git_url":"git://github.com/daftcode/ror4beginners2018.git","ssh_url":"git@github.com:daftcode/ror4beginners2018.git","clone_url":"https://github.com/daftcode/ror4beginners2018.git","svn_url":"https://github.com/daftcode/ror4beginners2018","homepage":null,"size":734,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":69,"mirror_url":null,"archived":false,"open_issues_count":55,"license":null,"forks":69,"open_issues":55,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44"},"html":{"href":"https://github.com/daftcode/ror4beginners2018/pull/44"},"issue":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/44"},"comments":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/44/comments"},"review_comments":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44/comments"},"review_comment":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/44/commits"},"statuses":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/statuses/c3e65dab8e769c3d2182d3cde756442997b60797"}},"author_association":"NONE"}}
{"actor":{"display_login":"Tengoot"}}