{"action":"created","comment":{"url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/comments/74693681","id":74693681,"diff_hunk":"@@ -0,0 +1,34 @@\n+puts \"Введите Ваше имя:\"\n+name = gets.chomp\n+name = name.capitalize\n+puts \"Введите ваш рост  сантиметрах или в метрах с разделителем точкой:\"\n+growth = gets.to_f\n+info = \"#{name}, ваш рост #{growth}\"\n+\n+#работает для целых значений (100+) и для float (1+), ввод пустого или некорректного значения не обрабатывался\n+if (growth.to_f / 100) > 1","path":"lesson_1-comments/optimal_weight.rb","position":8,"original_position":9,"commit_id":"6cb39de2f740da7c717dbb70a9e086dc8d8facad","original_commit_id":"6cb39de2f740da7c717dbb70a9e086dc8d8facad","user":{"login":"psylone","id":224141,"avatar_url":"https://avatars.githubusercontent.com/u/224141?v=3","gravatar_id":"","url":"https://api.github.com/users/psylone","html_url":"https://github.com/psylone","followers_url":"https://api.github.com/users/psylone/followers","following_url":"https://api.github.com/users/psylone/following{/other_user}","gists_url":"https://api.github.com/users/psylone/gists{/gist_id}","starred_url":"https://api.github.com/users/psylone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psylone/subscriptions","organizations_url":"https://api.github.com/users/psylone/orgs","repos_url":"https://api.github.com/users/psylone/repos","events_url":"https://api.github.com/users/psylone/events{/privacy}","received_events_url":"https://api.github.com/users/psylone/received_events","type":"User","site_admin":false},"body":"Наверное забыл здесь убрать `to_f`?","created_at":"2016-08-13T23:50:44Z","updated_at":"2016-08-13T23:50:44Z","html_url":"https://github.com/sigovpaul/thinknetica/pull/2#discussion_r74693681","pull_request_url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/comments/74693681"},"html":{"href":"https://github.com/sigovpaul/thinknetica/pull/2#discussion_r74693681"},"pull_request":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2","id":81229869,"html_url":"https://github.com/sigovpaul/thinknetica/pull/2","diff_url":"https://github.com/sigovpaul/thinknetica/pull/2.diff","patch_url":"https://github.com/sigovpaul/thinknetica/pull/2.patch","issue_url":"https://api.github.com/repos/sigovpaul/thinknetica/issues/2","number":2,"state":"open","locked":false,"title":"Lesson 1 comments","user":{"login":"psylone","id":224141,"avatar_url":"https://avatars.githubusercontent.com/u/224141?v=3","gravatar_id":"","url":"https://api.github.com/users/psylone","html_url":"https://github.com/psylone","followers_url":"https://api.github.com/users/psylone/followers","following_url":"https://api.github.com/users/psylone/following{/other_user}","gists_url":"https://api.github.com/users/psylone/gists{/gist_id}","starred_url":"https://api.github.com/users/psylone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psylone/subscriptions","organizations_url":"https://api.github.com/users/psylone/orgs","repos_url":"https://api.github.com/users/psylone/repos","events_url":"https://api.github.com/users/psylone/events{/privacy}","received_events_url":"https://api.github.com/users/psylone/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-13T23:47:10Z","updated_at":"2016-08-13T23:50:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa3c8b6311161cfa8eaa3616ab62e9b1674899b1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2/commits","review_comments_url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2/comments","review_comment_url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sigovpaul/thinknetica/issues/2/comments","statuses_url":"https://api.github.com/repos/sigovpaul/thinknetica/statuses/6cb39de2f740da7c717dbb70a9e086dc8d8facad","head":{"label":"psylone:master","ref":"master","sha":"6cb39de2f740da7c717dbb70a9e086dc8d8facad","user":{"login":"psylone","id":224141,"avatar_url":"https://avatars.githubusercontent.com/u/224141?v=3","gravatar_id":"","url":"https://api.github.com/users/psylone","html_url":"https://github.com/psylone","followers_url":"https://api.github.com/users/psylone/followers","following_url":"https://api.github.com/users/psylone/following{/other_user}","gists_url":"https://api.github.com/users/psylone/gists{/gist_id}","starred_url":"https://api.github.com/users/psylone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psylone/subscriptions","organizations_url":"https://api.github.com/users/psylone/orgs","repos_url":"https://api.github.com/users/psylone/repos","events_url":"https://api.github.com/users/psylone/events{/privacy}","received_events_url":"https://api.github.com/users/psylone/received_events","type":"User","site_admin":false},"repo":{"id":65641691,"name":"thinknetica","full_name":"psylone/thinknetica","owner":{"login":"psylone","id":224141,"avatar_url":"https://avatars.githubusercontent.com/u/224141?v=3","gravatar_id":"","url":"https://api.github.com/users/psylone","html_url":"https://github.com/psylone","followers_url":"https://api.github.com/users/psylone/followers","following_url":"https://api.github.com/users/psylone/following{/other_user}","gists_url":"https://api.github.com/users/psylone/gists{/gist_id}","starred_url":"https://api.github.com/users/psylone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/psylone/subscriptions","organizations_url":"https://api.github.com/users/psylone/orgs","repos_url":"https://api.github.com/users/psylone/repos","events_url":"https://api.github.com/users/psylone/events{/privacy}","received_events_url":"https://api.github.com/users/psylone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/psylone/thinknetica","description":null,"fork":true,"url":"https://api.github.com/repos/psylone/thinknetica","forks_url":"https://api.github.com/repos/psylone/thinknetica/forks","keys_url":"https://api.github.com/repos/psylone/thinknetica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/psylone/thinknetica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/psylone/thinknetica/teams","hooks_url":"https://api.github.com/repos/psylone/thinknetica/hooks","issue_events_url":"https://api.github.com/repos/psylone/thinknetica/issues/events{/number}","events_url":"https://api.github.com/repos/psylone/thinknetica/events","assignees_url":"https://api.github.com/repos/psylone/thinknetica/assignees{/user}","branches_url":"https://api.github.com/repos/psylone/thinknetica/branches{/branch}","tags_url":"https://api.github.com/repos/psylone/thinknetica/tags","blobs_url":"https://api.github.com/repos/psylone/thinknetica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/psylone/thinknetica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/psylone/thinknetica/git/refs{/sha}","trees_url":"https://api.github.com/repos/psylone/thinknetica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/psylone/thinknetica/statuses/{sha}","languages_url":"https://api.github.com/repos/psylone/thinknetica/languages","stargazers_url":"https://api.github.com/repos/psylone/thinknetica/stargazers","contributors_url":"https://api.github.com/repos/psylone/thinknetica/contributors","subscribers_url":"https://api.github.com/repos/psylone/thinknetica/subscribers","subscription_url":"https://api.github.com/repos/psylone/thinknetica/subscription","commits_url":"https://api.github.com/repos/psylone/thinknetica/commits{/sha}","git_commits_url":"https://api.github.com/repos/psylone/thinknetica/git/commits{/sha}","comments_url":"https://api.github.com/repos/psylone/thinknetica/comments{/number}","issue_comment_url":"https://api.github.com/repos/psylone/thinknetica/issues/comments{/number}","contents_url":"https://api.github.com/repos/psylone/thinknetica/contents/{+path}","compare_url":"https://api.github.com/repos/psylone/thinknetica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/psylone/thinknetica/merges","archive_url":"https://api.github.com/repos/psylone/thinknetica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/psylone/thinknetica/downloads","issues_url":"https://api.github.com/repos/psylone/thinknetica/issues{/number}","pulls_url":"https://api.github.com/repos/psylone/thinknetica/pulls{/number}","milestones_url":"https://api.github.com/repos/psylone/thinknetica/milestones{/number}","notifications_url":"https://api.github.com/repos/psylone/thinknetica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/psylone/thinknetica/labels{/name}","releases_url":"https://api.github.com/repos/psylone/thinknetica/releases{/id}","deployments_url":"https://api.github.com/repos/psylone/thinknetica/deployments","created_at":"2016-08-13T23:44:39Z","updated_at":"2016-08-13T23:44:40Z","pushed_at":"2016-08-13T23:46:17Z","git_url":"git://github.com/psylone/thinknetica.git","ssh_url":"git@github.com:psylone/thinknetica.git","clone_url":"https://github.com/psylone/thinknetica.git","svn_url":"https://github.com/psylone/thinknetica","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"sigovpaul:master","ref":"master","sha":"edd56a978ac52a8565cd11d603c2b82612c3e463","user":{"login":"sigovpaul","id":13666292,"avatar_url":"https://avatars.githubusercontent.com/u/13666292?v=3","gravatar_id":"","url":"https://api.github.com/users/sigovpaul","html_url":"https://github.com/sigovpaul","followers_url":"https://api.github.com/users/sigovpaul/followers","following_url":"https://api.github.com/users/sigovpaul/following{/other_user}","gists_url":"https://api.github.com/users/sigovpaul/gists{/gist_id}","starred_url":"https://api.github.com/users/sigovpaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigovpaul/subscriptions","organizations_url":"https://api.github.com/users/sigovpaul/orgs","repos_url":"https://api.github.com/users/sigovpaul/repos","events_url":"https://api.github.com/users/sigovpaul/events{/privacy}","received_events_url":"https://api.github.com/users/sigovpaul/received_events","type":"User","site_admin":false},"repo":{"id":40327594,"name":"thinknetica","full_name":"sigovpaul/thinknetica","owner":{"login":"sigovpaul","id":13666292,"avatar_url":"https://avatars.githubusercontent.com/u/13666292?v=3","gravatar_id":"","url":"https://api.github.com/users/sigovpaul","html_url":"https://github.com/sigovpaul","followers_url":"https://api.github.com/users/sigovpaul/followers","following_url":"https://api.github.com/users/sigovpaul/following{/other_user}","gists_url":"https://api.github.com/users/sigovpaul/gists{/gist_id}","starred_url":"https://api.github.com/users/sigovpaul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigovpaul/subscriptions","organizations_url":"https://api.github.com/users/sigovpaul/orgs","repos_url":"https://api.github.com/users/sigovpaul/repos","events_url":"https://api.github.com/users/sigovpaul/events{/privacy}","received_events_url":"https://api.github.com/users/sigovpaul/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sigovpaul/thinknetica","description":null,"fork":false,"url":"https://api.github.com/repos/sigovpaul/thinknetica","forks_url":"https://api.github.com/repos/sigovpaul/thinknetica/forks","keys_url":"https://api.github.com/repos/sigovpaul/thinknetica/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sigovpaul/thinknetica/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sigovpaul/thinknetica/teams","hooks_url":"https://api.github.com/repos/sigovpaul/thinknetica/hooks","issue_events_url":"https://api.github.com/repos/sigovpaul/thinknetica/issues/events{/number}","events_url":"https://api.github.com/repos/sigovpaul/thinknetica/events","assignees_url":"https://api.github.com/repos/sigovpaul/thinknetica/assignees{/user}","branches_url":"https://api.github.com/repos/sigovpaul/thinknetica/branches{/branch}","tags_url":"https://api.github.com/repos/sigovpaul/thinknetica/tags","blobs_url":"https://api.github.com/repos/sigovpaul/thinknetica/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sigovpaul/thinknetica/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sigovpaul/thinknetica/git/refs{/sha}","trees_url":"https://api.github.com/repos/sigovpaul/thinknetica/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sigovpaul/thinknetica/statuses/{sha}","languages_url":"https://api.github.com/repos/sigovpaul/thinknetica/languages","stargazers_url":"https://api.github.com/repos/sigovpaul/thinknetica/stargazers","contributors_url":"https://api.github.com/repos/sigovpaul/thinknetica/contributors","subscribers_url":"https://api.github.com/repos/sigovpaul/thinknetica/subscribers","subscription_url":"https://api.github.com/repos/sigovpaul/thinknetica/subscription","commits_url":"https://api.github.com/repos/sigovpaul/thinknetica/commits{/sha}","git_commits_url":"https://api.github.com/repos/sigovpaul/thinknetica/git/commits{/sha}","comments_url":"https://api.github.com/repos/sigovpaul/thinknetica/comments{/number}","issue_comment_url":"https://api.github.com/repos/sigovpaul/thinknetica/issues/comments{/number}","contents_url":"https://api.github.com/repos/sigovpaul/thinknetica/contents/{+path}","compare_url":"https://api.github.com/repos/sigovpaul/thinknetica/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sigovpaul/thinknetica/merges","archive_url":"https://api.github.com/repos/sigovpaul/thinknetica/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sigovpaul/thinknetica/downloads","issues_url":"https://api.github.com/repos/sigovpaul/thinknetica/issues{/number}","pulls_url":"https://api.github.com/repos/sigovpaul/thinknetica/pulls{/number}","milestones_url":"https://api.github.com/repos/sigovpaul/thinknetica/milestones{/number}","notifications_url":"https://api.github.com/repos/sigovpaul/thinknetica/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sigovpaul/thinknetica/labels{/name}","releases_url":"https://api.github.com/repos/sigovpaul/thinknetica/releases{/id}","deployments_url":"https://api.github.com/repos/sigovpaul/thinknetica/deployments","created_at":"2015-08-06T21:22:46Z","updated_at":"2016-08-13T14:19:21Z","pushed_at":"2016-08-13T23:47:10Z","git_url":"git://github.com/sigovpaul/thinknetica.git","ssh_url":"git@github.com:sigovpaul/thinknetica.git","clone_url":"https://github.com/sigovpaul/thinknetica.git","svn_url":"https://github.com/sigovpaul/thinknetica","homepage":null,"size":4,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2"},"html":{"href":"https://github.com/sigovpaul/thinknetica/pull/2"},"issue":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/issues/2"},"comments":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/sigovpaul/thinknetica/statuses/6cb39de2f740da7c717dbb70a9e086dc8d8facad"}}}}
{"actor":{"display_login":"psylone"}}