{"action":"created","comment":{"url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/comments/205487658","pull_request_review_id":140763568,"id":205487658,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTQ4NzY1OA==","diff_hunk":"@@ -10,6 +10,13 @@ class Test < ApplicationRecord\n                                   .where(categories: { title: title })\n                                   .order(title: :desc)\n                                 }\n+  scope :easy, -> { where(level: 0..1) }\n+  scope :middle, -> { where(level: 2..4) }\n+  scope :compound, -> { where(level: 5..Float::INFINITY) }","path":"app/models/test.rb","position":14,"original_position":14,"commit_id":"4944cc0c48a6f682fdfa08a2f2ddc7ca56130fdd","original_commit_id":"4944cc0c48a6f682fdfa08a2f2ddc7ca56130fdd","user":{"login":"iBublik","id":11278497,"node_id":"MDQ6VXNlcjExMjc4NDk3","avatar_url":"https://avatars1.githubusercontent.com/u/11278497?v=4","gravatar_id":"","url":"https://api.github.com/users/iBublik","html_url":"https://github.com/iBublik","followers_url":"https://api.github.com/users/iBublik/followers","following_url":"https://api.github.com/users/iBublik/following{/other_user}","gists_url":"https://api.github.com/users/iBublik/gists{/gist_id}","starred_url":"https://api.github.com/users/iBublik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iBublik/subscriptions","organizations_url":"https://api.github.com/users/iBublik/orgs","repos_url":"https://api.github.com/users/iBublik/repos","events_url":"https://api.github.com/users/iBublik/events{/privacy}","received_events_url":"https://api.github.com/users/iBublik/received_events","type":"User","site_admin":false},"body":"hard","created_at":"2018-07-26T14:51:33Z","updated_at":"2018-07-26T14:58:36Z","html_url":"https://github.com/Zheka1988/TestGuru/pull/5#discussion_r205487658","pull_request_url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/comments/205487658"},"html":{"href":"https://github.com/Zheka1988/TestGuru/pull/5#discussion_r205487658"},"pull_request":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5","id":204028047,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0MDI4MDQ3","html_url":"https://github.com/Zheka1988/TestGuru/pull/5","diff_url":"https://github.com/Zheka1988/TestGuru/pull/5.diff","patch_url":"https://github.com/Zheka1988/TestGuru/pull/5.patch","issue_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues/5","number":5,"state":"open","locked":false,"title":"first","user":{"login":"Zheka1988","id":28753272,"node_id":"MDQ6VXNlcjI4NzUzMjcy","avatar_url":"https://avatars2.githubusercontent.com/u/28753272?v=4","gravatar_id":"","url":"https://api.github.com/users/Zheka1988","html_url":"https://github.com/Zheka1988","followers_url":"https://api.github.com/users/Zheka1988/followers","following_url":"https://api.github.com/users/Zheka1988/following{/other_user}","gists_url":"https://api.github.com/users/Zheka1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Zheka1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zheka1988/subscriptions","organizations_url":"https://api.github.com/users/Zheka1988/orgs","repos_url":"https://api.github.com/users/Zheka1988/repos","events_url":"https://api.github.com/users/Zheka1988/events{/privacy}","received_events_url":"https://api.github.com/users/Zheka1988/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-26T04:53:11Z","updated_at":"2018-07-26T14:58:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"825c0876bab8341b65a335f89be5f1d94e5cd54a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5/commits","review_comments_url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5/comments","review_comment_url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues/5/comments","statuses_url":"https://api.github.com/repos/Zheka1988/TestGuru/statuses/4944cc0c48a6f682fdfa08a2f2ddc7ca56130fdd","head":{"label":"Zheka1988:lesson_6","ref":"lesson_6","sha":"4944cc0c48a6f682fdfa08a2f2ddc7ca56130fdd","user":{"login":"Zheka1988","id":28753272,"node_id":"MDQ6VXNlcjI4NzUzMjcy","avatar_url":"https://avatars2.githubusercontent.com/u/28753272?v=4","gravatar_id":"","url":"https://api.github.com/users/Zheka1988","html_url":"https://github.com/Zheka1988","followers_url":"https://api.github.com/users/Zheka1988/followers","following_url":"https://api.github.com/users/Zheka1988/following{/other_user}","gists_url":"https://api.github.com/users/Zheka1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Zheka1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zheka1988/subscriptions","organizations_url":"https://api.github.com/users/Zheka1988/orgs","repos_url":"https://api.github.com/users/Zheka1988/repos","events_url":"https://api.github.com/users/Zheka1988/events{/privacy}","received_events_url":"https://api.github.com/users/Zheka1988/received_events","type":"User","site_admin":false},"repo":{"id":137992889,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5OTI4ODk=","name":"TestGuru","full_name":"Zheka1988/TestGuru","owner":{"login":"Zheka1988","id":28753272,"node_id":"MDQ6VXNlcjI4NzUzMjcy","avatar_url":"https://avatars2.githubusercontent.com/u/28753272?v=4","gravatar_id":"","url":"https://api.github.com/users/Zheka1988","html_url":"https://github.com/Zheka1988","followers_url":"https://api.github.com/users/Zheka1988/followers","following_url":"https://api.github.com/users/Zheka1988/following{/other_user}","gists_url":"https://api.github.com/users/Zheka1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Zheka1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zheka1988/subscriptions","organizations_url":"https://api.github.com/users/Zheka1988/orgs","repos_url":"https://api.github.com/users/Zheka1988/repos","events_url":"https://api.github.com/users/Zheka1988/events{/privacy}","received_events_url":"https://api.github.com/users/Zheka1988/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zheka1988/TestGuru","description":null,"fork":false,"url":"https://api.github.com/repos/Zheka1988/TestGuru","forks_url":"https://api.github.com/repos/Zheka1988/TestGuru/forks","keys_url":"https://api.github.com/repos/Zheka1988/TestGuru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zheka1988/TestGuru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zheka1988/TestGuru/teams","hooks_url":"https://api.github.com/repos/Zheka1988/TestGuru/hooks","issue_events_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues/events{/number}","events_url":"https://api.github.com/repos/Zheka1988/TestGuru/events","assignees_url":"https://api.github.com/repos/Zheka1988/TestGuru/assignees{/user}","branches_url":"https://api.github.com/repos/Zheka1988/TestGuru/branches{/branch}","tags_url":"https://api.github.com/repos/Zheka1988/TestGuru/tags","blobs_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zheka1988/TestGuru/statuses/{sha}","languages_url":"https://api.github.com/repos/Zheka1988/TestGuru/languages","stargazers_url":"https://api.github.com/repos/Zheka1988/TestGuru/stargazers","contributors_url":"https://api.github.com/repos/Zheka1988/TestGuru/contributors","subscribers_url":"https://api.github.com/repos/Zheka1988/TestGuru/subscribers","subscription_url":"https://api.github.com/repos/Zheka1988/TestGuru/subscription","commits_url":"https://api.github.com/repos/Zheka1988/TestGuru/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zheka1988/TestGuru/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zheka1988/TestGuru/contents/{+path}","compare_url":"https://api.github.com/repos/Zheka1988/TestGuru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zheka1988/TestGuru/merges","archive_url":"https://api.github.com/repos/Zheka1988/TestGuru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zheka1988/TestGuru/downloads","issues_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues{/number}","pulls_url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls{/number}","milestones_url":"https://api.github.com/repos/Zheka1988/TestGuru/milestones{/number}","notifications_url":"https://api.github.com/repos/Zheka1988/TestGuru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zheka1988/TestGuru/labels{/name}","releases_url":"https://api.github.com/repos/Zheka1988/TestGuru/releases{/id}","deployments_url":"https://api.github.com/repos/Zheka1988/TestGuru/deployments","created_at":"2018-06-20T07:00:47Z","updated_at":"2018-07-26T03:57:48Z","pushed_at":"2018-07-26T05:34:36Z","git_url":"git://github.com/Zheka1988/TestGuru.git","ssh_url":"git@github.com:Zheka1988/TestGuru.git","clone_url":"https://github.com/Zheka1988/TestGuru.git","svn_url":"https://github.com/Zheka1988/TestGuru","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Zheka1988:master","ref":"master","sha":"df6c6ec3c01c399ed84bec2c366e882b4e2e5819","user":{"login":"Zheka1988","id":28753272,"node_id":"MDQ6VXNlcjI4NzUzMjcy","avatar_url":"https://avatars2.githubusercontent.com/u/28753272?v=4","gravatar_id":"","url":"https://api.github.com/users/Zheka1988","html_url":"https://github.com/Zheka1988","followers_url":"https://api.github.com/users/Zheka1988/followers","following_url":"https://api.github.com/users/Zheka1988/following{/other_user}","gists_url":"https://api.github.com/users/Zheka1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Zheka1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zheka1988/subscriptions","organizations_url":"https://api.github.com/users/Zheka1988/orgs","repos_url":"https://api.github.com/users/Zheka1988/repos","events_url":"https://api.github.com/users/Zheka1988/events{/privacy}","received_events_url":"https://api.github.com/users/Zheka1988/received_events","type":"User","site_admin":false},"repo":{"id":137992889,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc5OTI4ODk=","name":"TestGuru","full_name":"Zheka1988/TestGuru","owner":{"login":"Zheka1988","id":28753272,"node_id":"MDQ6VXNlcjI4NzUzMjcy","avatar_url":"https://avatars2.githubusercontent.com/u/28753272?v=4","gravatar_id":"","url":"https://api.github.com/users/Zheka1988","html_url":"https://github.com/Zheka1988","followers_url":"https://api.github.com/users/Zheka1988/followers","following_url":"https://api.github.com/users/Zheka1988/following{/other_user}","gists_url":"https://api.github.com/users/Zheka1988/gists{/gist_id}","starred_url":"https://api.github.com/users/Zheka1988/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zheka1988/subscriptions","organizations_url":"https://api.github.com/users/Zheka1988/orgs","repos_url":"https://api.github.com/users/Zheka1988/repos","events_url":"https://api.github.com/users/Zheka1988/events{/privacy}","received_events_url":"https://api.github.com/users/Zheka1988/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zheka1988/TestGuru","description":null,"fork":false,"url":"https://api.github.com/repos/Zheka1988/TestGuru","forks_url":"https://api.github.com/repos/Zheka1988/TestGuru/forks","keys_url":"https://api.github.com/repos/Zheka1988/TestGuru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zheka1988/TestGuru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zheka1988/TestGuru/teams","hooks_url":"https://api.github.com/repos/Zheka1988/TestGuru/hooks","issue_events_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues/events{/number}","events_url":"https://api.github.com/repos/Zheka1988/TestGuru/events","assignees_url":"https://api.github.com/repos/Zheka1988/TestGuru/assignees{/user}","branches_url":"https://api.github.com/repos/Zheka1988/TestGuru/branches{/branch}","tags_url":"https://api.github.com/repos/Zheka1988/TestGuru/tags","blobs_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zheka1988/TestGuru/statuses/{sha}","languages_url":"https://api.github.com/repos/Zheka1988/TestGuru/languages","stargazers_url":"https://api.github.com/repos/Zheka1988/TestGuru/stargazers","contributors_url":"https://api.github.com/repos/Zheka1988/TestGuru/contributors","subscribers_url":"https://api.github.com/repos/Zheka1988/TestGuru/subscribers","subscription_url":"https://api.github.com/repos/Zheka1988/TestGuru/subscription","commits_url":"https://api.github.com/repos/Zheka1988/TestGuru/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zheka1988/TestGuru/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zheka1988/TestGuru/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zheka1988/TestGuru/contents/{+path}","compare_url":"https://api.github.com/repos/Zheka1988/TestGuru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zheka1988/TestGuru/merges","archive_url":"https://api.github.com/repos/Zheka1988/TestGuru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zheka1988/TestGuru/downloads","issues_url":"https://api.github.com/repos/Zheka1988/TestGuru/issues{/number}","pulls_url":"https://api.github.com/repos/Zheka1988/TestGuru/pulls{/number}","milestones_url":"https://api.github.com/repos/Zheka1988/TestGuru/milestones{/number}","notifications_url":"https://api.github.com/repos/Zheka1988/TestGuru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zheka1988/TestGuru/labels{/name}","releases_url":"https://api.github.com/repos/Zheka1988/TestGuru/releases{/id}","deployments_url":"https://api.github.com/repos/Zheka1988/TestGuru/deployments","created_at":"2018-06-20T07:00:47Z","updated_at":"2018-07-26T03:57:48Z","pushed_at":"2018-07-26T05:34:36Z","git_url":"git://github.com/Zheka1988/TestGuru.git","ssh_url":"git@github.com:Zheka1988/TestGuru.git","clone_url":"https://github.com/Zheka1988/TestGuru.git","svn_url":"https://github.com/Zheka1988/TestGuru","homepage":null,"size":90,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5"},"html":{"href":"https://github.com/Zheka1988/TestGuru/pull/5"},"issue":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/issues/5"},"comments":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/Zheka1988/TestGuru/statuses/4944cc0c48a6f682fdfa08a2f2ddc7ca56130fdd"}},"author_association":"OWNER"}}
{"actor":{"display_login":"iBublik"}}