{"action":"created","comment":{"url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments/233378558","pull_request_review_id":174775210,"id":233378558,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzM3ODU1OA==","diff_hunk":"@@ -1,12 +1,58 @@\n-class Warrior\n-  def initialize(name:, level:)\n-  end\n+class Character\n+\tattr_reader :name\n+\tattr_reader :level\n+\tdef initialize(name:,level:)\n+\t\t@name=name\n+\t\t@level=[level,1].max\n+\tend\n+\tdef strength\n+\t\treturn @level+[*1..12].sample\n+  \tend","path":"zad2/warriors.rb","position":13,"original_position":13,"commit_id":"a2d8dfb800e01b26865a6831407ace037e4bf06f","original_commit_id":"a2d8dfb800e01b26865a6831407ace037e4bf06f","user":{"login":"resool","id":6610488,"node_id":"MDQ6VXNlcjY2MTA0ODg=","avatar_url":"https://avatars3.githubusercontent.com/u/6610488?v=4","gravatar_id":"","url":"https://api.github.com/users/resool","html_url":"https://github.com/resool","followers_url":"https://api.github.com/users/resool/followers","following_url":"https://api.github.com/users/resool/following{/other_user}","gists_url":"https://api.github.com/users/resool/gists{/gist_id}","starred_url":"https://api.github.com/users/resool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resool/subscriptions","organizations_url":"https://api.github.com/users/resool/orgs","repos_url":"https://api.github.com/users/resool/repos","events_url":"https://api.github.com/users/resool/events{/privacy}","received_events_url":"https://api.github.com/users/resool/received_events","type":"User","site_admin":false},"body":"+ return przy ostatnim wykonanym poleceniu jest zbędny","created_at":"2018-11-14T09:53:47Z","updated_at":"2018-11-14T09:53:47Z","html_url":"https://github.com/daftcode/ror4beginners2018/pull/78#discussion_r233378558","pull_request_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments/233378558"},"html":{"href":"https://github.com/daftcode/ror4beginners2018/pull/78#discussion_r233378558"},"pull_request":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78"}},"in_reply_to_id":233377015},"pull_request":{"url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78","id":229759305,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5NzU5MzA1","html_url":"https://github.com/daftcode/ror4beginners2018/pull/78","diff_url":"https://github.com/daftcode/ror4beginners2018/pull/78.diff","patch_url":"https://github.com/daftcode/ror4beginners2018/pull/78.patch","issue_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/78","number":78,"state":"open","locked":false,"title":"Zad2","user":{"login":"Maxization","id":26030667,"node_id":"MDQ6VXNlcjI2MDMwNjY3","avatar_url":"https://avatars2.githubusercontent.com/u/26030667?v=4","gravatar_id":"","url":"https://api.github.com/users/Maxization","html_url":"https://github.com/Maxization","followers_url":"https://api.github.com/users/Maxization/followers","following_url":"https://api.github.com/users/Maxization/following{/other_user}","gists_url":"https://api.github.com/users/Maxization/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxization/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxization/subscriptions","organizations_url":"https://api.github.com/users/Maxization/orgs","repos_url":"https://api.github.com/users/Maxization/repos","events_url":"https://api.github.com/users/Maxization/events{/privacy}","received_events_url":"https://api.github.com/users/Maxization/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-09T17:05:31Z","updated_at":"2018-11-14T09:53:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fedfa68e5b57276eb59feec74b0398b13433e4b0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78/commits","review_comments_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78/comments","review_comment_url":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments{/number}","comments_url":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/78/comments","statuses_url":"https://api.github.com/repos/daftcode/ror4beginners2018/statuses/a2d8dfb800e01b26865a6831407ace037e4bf06f","head":{"label":"Maxization:zad2","ref":"zad2","sha":"a2d8dfb800e01b26865a6831407ace037e4bf06f","user":{"login":"Maxization","id":26030667,"node_id":"MDQ6VXNlcjI2MDMwNjY3","avatar_url":"https://avatars2.githubusercontent.com/u/26030667?v=4","gravatar_id":"","url":"https://api.github.com/users/Maxization","html_url":"https://github.com/Maxization","followers_url":"https://api.github.com/users/Maxization/followers","following_url":"https://api.github.com/users/Maxization/following{/other_user}","gists_url":"https://api.github.com/users/Maxization/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxization/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxization/subscriptions","organizations_url":"https://api.github.com/users/Maxization/orgs","repos_url":"https://api.github.com/users/Maxization/repos","events_url":"https://api.github.com/users/Maxization/events{/privacy}","received_events_url":"https://api.github.com/users/Maxization/received_events","type":"User","site_admin":false},"repo":{"id":155899972,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU4OTk5NzI=","name":"ror4beginners2018","full_name":"Maxization/ror4beginners2018","private":false,"owner":{"login":"Maxization","id":26030667,"node_id":"MDQ6VXNlcjI2MDMwNjY3","avatar_url":"https://avatars2.githubusercontent.com/u/26030667?v=4","gravatar_id":"","url":"https://api.github.com/users/Maxization","html_url":"https://github.com/Maxization","followers_url":"https://api.github.com/users/Maxization/followers","following_url":"https://api.github.com/users/Maxization/following{/other_user}","gists_url":"https://api.github.com/users/Maxization/gists{/gist_id}","starred_url":"https://api.github.com/users/Maxization/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Maxization/subscriptions","organizations_url":"https://api.github.com/users/Maxization/orgs","repos_url":"https://api.github.com/users/Maxization/repos","events_url":"https://api.github.com/users/Maxization/events{/privacy}","received_events_url":"https://api.github.com/users/Maxization/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Maxization/ror4beginners2018","description":null,"fork":true,"url":"https://api.github.com/repos/Maxization/ror4beginners2018","forks_url":"https://api.github.com/repos/Maxization/ror4beginners2018/forks","keys_url":"https://api.github.com/repos/Maxization/ror4beginners2018/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Maxization/ror4beginners2018/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Maxization/ror4beginners2018/teams","hooks_url":"https://api.github.com/repos/Maxization/ror4beginners2018/hooks","issue_events_url":"https://api.github.com/repos/Maxization/ror4beginners2018/issues/events{/number}","events_url":"https://api.github.com/repos/Maxization/ror4beginners2018/events","assignees_url":"https://api.github.com/repos/Maxization/ror4beginners2018/assignees{/user}","branches_url":"https://api.github.com/repos/Maxization/ror4beginners2018/branches{/branch}","tags_url":"https://api.github.com/repos/Maxization/ror4beginners2018/tags","blobs_url":"https://api.github.com/repos/Maxization/ror4beginners2018/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Maxization/ror4beginners2018/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Maxization/ror4beginners2018/git/refs{/sha}","trees_url":"https://api.github.com/repos/Maxization/ror4beginners2018/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Maxization/ror4beginners2018/statuses/{sha}","languages_url":"https://api.github.com/repos/Maxization/ror4beginners2018/languages","stargazers_url":"https://api.github.com/repos/Maxization/ror4beginners2018/stargazers","contributors_url":"https://api.github.com/repos/Maxization/ror4beginners2018/contributors","subscribers_url":"https://api.github.com/repos/Maxization/ror4beginners2018/subscribers","subscription_url":"https://api.github.com/repos/Maxization/ror4beginners2018/subscription","commits_url":"https://api.github.com/repos/Maxization/ror4beginners2018/commits{/sha}","git_commits_url":"https://api.github.com/repos/Maxization/ror4beginners2018/git/commits{/sha}","comments_url":"https://api.github.com/repos/Maxization/ror4beginners2018/comments{/number}","issue_comment_url":"https://api.github.com/repos/Maxization/ror4beginners2018/issues/comments{/number}","contents_url":"https://api.github.com/repos/Maxization/ror4beginners2018/contents/{+path}","compare_url":"https://api.github.com/repos/Maxization/ror4beginners2018/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Maxization/ror4beginners2018/merges","archive_url":"https://api.github.com/repos/Maxization/ror4beginners2018/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Maxization/ror4beginners2018/downloads","issues_url":"https://api.github.com/repos/Maxization/ror4beginners2018/issues{/number}","pulls_url":"https://api.github.com/repos/Maxization/ror4beginners2018/pulls{/number}","milestones_url":"https://api.github.com/repos/Maxization/ror4beginners2018/milestones{/number}","notifications_url":"https://api.github.com/repos/Maxization/ror4beginners2018/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Maxization/ror4beginners2018/labels{/name}","releases_url":"https://api.github.com/repos/Maxization/ror4beginners2018/releases{/id}","deployments_url":"https://api.github.com/repos/Maxization/ror4beginners2018/deployments","created_at":"2018-11-02T17:29:07Z","updated_at":"2018-11-02T17:29:09Z","pushed_at":"2018-11-09T17:04:16Z","git_url":"git://github.com/Maxization/ror4beginners2018.git","ssh_url":"git@github.com:Maxization/ror4beginners2018.git","clone_url":"https://github.com/Maxization/ror4beginners2018.git","svn_url":"https://github.com/Maxization/ror4beginners2018","homepage":null,"size":1090,"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":"8877dacd83fd5525dc5a78276560f23d25ef1604","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-12T07:25:36Z","pushed_at":"2018-11-13T23:02:24Z","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":1086,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":81,"mirror_url":null,"archived":false,"open_issues_count":58,"license":null,"forks":81,"open_issues":58,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78"},"html":{"href":"https://github.com/daftcode/ror4beginners2018/pull/78"},"issue":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/78"},"comments":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/daftcode/ror4beginners2018/statuses/a2d8dfb800e01b26865a6831407ace037e4bf06f"}},"author_association":"NONE"}}
{"actor":{"display_login":"resool"}}