{"action":"created","comment":{"url":"https://api.github.com/repos/kortirso/stack_clone/pulls/comments/46257780","id":46257780,"diff_hunk":"@@ -0,0 +1,10 @@\n+shared_examples_for 'commentable' do\n+    it { should have_many(:comments).dependent(:destroy) }\n+\n+    let(:model) { described_class }","path":"spec/models/concerns/commentable_spec.rb","position":4,"original_position":4,"commit_id":"e50751ecbb1d6187f1515d3a4214c64b8f2dd898","original_commit_id":"e50751ecbb1d6187f1515d3a4214c64b8f2dd898","user":{"login":"palkan","id":1516722,"avatar_url":"https://avatars.githubusercontent.com/u/1516722?v=3","gravatar_id":"","url":"https://api.github.com/users/palkan","html_url":"https://github.com/palkan","followers_url":"https://api.github.com/users/palkan/followers","following_url":"https://api.github.com/users/palkan/following{/other_user}","gists_url":"https://api.github.com/users/palkan/gists{/gist_id}","starred_url":"https://api.github.com/users/palkan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palkan/subscriptions","organizations_url":"https://api.github.com/users/palkan/orgs","repos_url":"https://api.github.com/users/palkan/repos","events_url":"https://api.github.com/users/palkan/events{/privacy}","received_events_url":"https://api.github.com/users/palkan/received_events","type":"User","site_admin":false},"body":"Это зачем?","created_at":"2015-12-01T09:46:46Z","updated_at":"2015-12-01T09:46:46Z","html_url":"https://github.com/kortirso/stack_clone/pull/8#discussion_r46257780","pull_request_url":"https://api.github.com/repos/kortirso/stack_clone/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/kortirso/stack_clone/pulls/comments/46257780"},"html":{"href":"https://github.com/kortirso/stack_clone/pull/8#discussion_r46257780"},"pull_request":{"href":"https://api.github.com/repos/kortirso/stack_clone/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/kortirso/stack_clone/pulls/8","id":52066096,"html_url":"https://github.com/kortirso/stack_clone/pull/8","diff_url":"https://github.com/kortirso/stack_clone/pull/8.diff","patch_url":"https://github.com/kortirso/stack_clone/pull/8.patch","issue_url":"https://api.github.com/repos/kortirso/stack_clone/issues/8","number":8,"state":"open","locked":false,"title":"lesson_10","user":{"login":"kortirso","id":6195394,"avatar_url":"https://avatars.githubusercontent.com/u/6195394?v=3","gravatar_id":"","url":"https://api.github.com/users/kortirso","html_url":"https://github.com/kortirso","followers_url":"https://api.github.com/users/kortirso/followers","following_url":"https://api.github.com/users/kortirso/following{/other_user}","gists_url":"https://api.github.com/users/kortirso/gists{/gist_id}","starred_url":"https://api.github.com/users/kortirso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortirso/subscriptions","organizations_url":"https://api.github.com/users/kortirso/orgs","repos_url":"https://api.github.com/users/kortirso/repos","events_url":"https://api.github.com/users/kortirso/events{/privacy}","received_events_url":"https://api.github.com/users/kortirso/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-29T17:18:58Z","updated_at":"2015-12-01T09:46:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f79d71fba3ebcb8a069e1e5e9a520100ccf59a36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/kortirso/stack_clone/pulls/8/commits","review_comments_url":"https://api.github.com/repos/kortirso/stack_clone/pulls/8/comments","review_comment_url":"https://api.github.com/repos/kortirso/stack_clone/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kortirso/stack_clone/issues/8/comments","statuses_url":"https://api.github.com/repos/kortirso/stack_clone/statuses/e50751ecbb1d6187f1515d3a4214c64b8f2dd898","head":{"label":"kortirso:lesson_10","ref":"lesson_10","sha":"e50751ecbb1d6187f1515d3a4214c64b8f2dd898","user":{"login":"kortirso","id":6195394,"avatar_url":"https://avatars.githubusercontent.com/u/6195394?v=3","gravatar_id":"","url":"https://api.github.com/users/kortirso","html_url":"https://github.com/kortirso","followers_url":"https://api.github.com/users/kortirso/followers","following_url":"https://api.github.com/users/kortirso/following{/other_user}","gists_url":"https://api.github.com/users/kortirso/gists{/gist_id}","starred_url":"https://api.github.com/users/kortirso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortirso/subscriptions","organizations_url":"https://api.github.com/users/kortirso/orgs","repos_url":"https://api.github.com/users/kortirso/repos","events_url":"https://api.github.com/users/kortirso/events{/privacy}","received_events_url":"https://api.github.com/users/kortirso/received_events","type":"User","site_admin":false},"repo":{"id":45779838,"name":"stack_clone","full_name":"kortirso/stack_clone","owner":{"login":"kortirso","id":6195394,"avatar_url":"https://avatars.githubusercontent.com/u/6195394?v=3","gravatar_id":"","url":"https://api.github.com/users/kortirso","html_url":"https://github.com/kortirso","followers_url":"https://api.github.com/users/kortirso/followers","following_url":"https://api.github.com/users/kortirso/following{/other_user}","gists_url":"https://api.github.com/users/kortirso/gists{/gist_id}","starred_url":"https://api.github.com/users/kortirso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortirso/subscriptions","organizations_url":"https://api.github.com/users/kortirso/orgs","repos_url":"https://api.github.com/users/kortirso/repos","events_url":"https://api.github.com/users/kortirso/events{/privacy}","received_events_url":"https://api.github.com/users/kortirso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kortirso/stack_clone","description":"Education project at Thinknetica","fork":false,"url":"https://api.github.com/repos/kortirso/stack_clone","forks_url":"https://api.github.com/repos/kortirso/stack_clone/forks","keys_url":"https://api.github.com/repos/kortirso/stack_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kortirso/stack_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kortirso/stack_clone/teams","hooks_url":"https://api.github.com/repos/kortirso/stack_clone/hooks","issue_events_url":"https://api.github.com/repos/kortirso/stack_clone/issues/events{/number}","events_url":"https://api.github.com/repos/kortirso/stack_clone/events","assignees_url":"https://api.github.com/repos/kortirso/stack_clone/assignees{/user}","branches_url":"https://api.github.com/repos/kortirso/stack_clone/branches{/branch}","tags_url":"https://api.github.com/repos/kortirso/stack_clone/tags","blobs_url":"https://api.github.com/repos/kortirso/stack_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kortirso/stack_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kortirso/stack_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/kortirso/stack_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kortirso/stack_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/kortirso/stack_clone/languages","stargazers_url":"https://api.github.com/repos/kortirso/stack_clone/stargazers","contributors_url":"https://api.github.com/repos/kortirso/stack_clone/contributors","subscribers_url":"https://api.github.com/repos/kortirso/stack_clone/subscribers","subscription_url":"https://api.github.com/repos/kortirso/stack_clone/subscription","commits_url":"https://api.github.com/repos/kortirso/stack_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/kortirso/stack_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/kortirso/stack_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/kortirso/stack_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/kortirso/stack_clone/contents/{+path}","compare_url":"https://api.github.com/repos/kortirso/stack_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kortirso/stack_clone/merges","archive_url":"https://api.github.com/repos/kortirso/stack_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kortirso/stack_clone/downloads","issues_url":"https://api.github.com/repos/kortirso/stack_clone/issues{/number}","pulls_url":"https://api.github.com/repos/kortirso/stack_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/kortirso/stack_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/kortirso/stack_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kortirso/stack_clone/labels{/name}","releases_url":"https://api.github.com/repos/kortirso/stack_clone/releases{/id}","created_at":"2015-11-08T12:37:51Z","updated_at":"2015-11-08T12:47:24Z","pushed_at":"2015-11-30T16:53:42Z","git_url":"git://github.com/kortirso/stack_clone.git","ssh_url":"git@github.com:kortirso/stack_clone.git","clone_url":"https://github.com/kortirso/stack_clone.git","svn_url":"https://github.com/kortirso/stack_clone","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kortirso:master","ref":"master","sha":"81abfae8c20a55845e264212b15b54a36477d61c","user":{"login":"kortirso","id":6195394,"avatar_url":"https://avatars.githubusercontent.com/u/6195394?v=3","gravatar_id":"","url":"https://api.github.com/users/kortirso","html_url":"https://github.com/kortirso","followers_url":"https://api.github.com/users/kortirso/followers","following_url":"https://api.github.com/users/kortirso/following{/other_user}","gists_url":"https://api.github.com/users/kortirso/gists{/gist_id}","starred_url":"https://api.github.com/users/kortirso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortirso/subscriptions","organizations_url":"https://api.github.com/users/kortirso/orgs","repos_url":"https://api.github.com/users/kortirso/repos","events_url":"https://api.github.com/users/kortirso/events{/privacy}","received_events_url":"https://api.github.com/users/kortirso/received_events","type":"User","site_admin":false},"repo":{"id":45779838,"name":"stack_clone","full_name":"kortirso/stack_clone","owner":{"login":"kortirso","id":6195394,"avatar_url":"https://avatars.githubusercontent.com/u/6195394?v=3","gravatar_id":"","url":"https://api.github.com/users/kortirso","html_url":"https://github.com/kortirso","followers_url":"https://api.github.com/users/kortirso/followers","following_url":"https://api.github.com/users/kortirso/following{/other_user}","gists_url":"https://api.github.com/users/kortirso/gists{/gist_id}","starred_url":"https://api.github.com/users/kortirso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kortirso/subscriptions","organizations_url":"https://api.github.com/users/kortirso/orgs","repos_url":"https://api.github.com/users/kortirso/repos","events_url":"https://api.github.com/users/kortirso/events{/privacy}","received_events_url":"https://api.github.com/users/kortirso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kortirso/stack_clone","description":"Education project at Thinknetica","fork":false,"url":"https://api.github.com/repos/kortirso/stack_clone","forks_url":"https://api.github.com/repos/kortirso/stack_clone/forks","keys_url":"https://api.github.com/repos/kortirso/stack_clone/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kortirso/stack_clone/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kortirso/stack_clone/teams","hooks_url":"https://api.github.com/repos/kortirso/stack_clone/hooks","issue_events_url":"https://api.github.com/repos/kortirso/stack_clone/issues/events{/number}","events_url":"https://api.github.com/repos/kortirso/stack_clone/events","assignees_url":"https://api.github.com/repos/kortirso/stack_clone/assignees{/user}","branches_url":"https://api.github.com/repos/kortirso/stack_clone/branches{/branch}","tags_url":"https://api.github.com/repos/kortirso/stack_clone/tags","blobs_url":"https://api.github.com/repos/kortirso/stack_clone/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kortirso/stack_clone/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kortirso/stack_clone/git/refs{/sha}","trees_url":"https://api.github.com/repos/kortirso/stack_clone/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kortirso/stack_clone/statuses/{sha}","languages_url":"https://api.github.com/repos/kortirso/stack_clone/languages","stargazers_url":"https://api.github.com/repos/kortirso/stack_clone/stargazers","contributors_url":"https://api.github.com/repos/kortirso/stack_clone/contributors","subscribers_url":"https://api.github.com/repos/kortirso/stack_clone/subscribers","subscription_url":"https://api.github.com/repos/kortirso/stack_clone/subscription","commits_url":"https://api.github.com/repos/kortirso/stack_clone/commits{/sha}","git_commits_url":"https://api.github.com/repos/kortirso/stack_clone/git/commits{/sha}","comments_url":"https://api.github.com/repos/kortirso/stack_clone/comments{/number}","issue_comment_url":"https://api.github.com/repos/kortirso/stack_clone/issues/comments{/number}","contents_url":"https://api.github.com/repos/kortirso/stack_clone/contents/{+path}","compare_url":"https://api.github.com/repos/kortirso/stack_clone/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kortirso/stack_clone/merges","archive_url":"https://api.github.com/repos/kortirso/stack_clone/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kortirso/stack_clone/downloads","issues_url":"https://api.github.com/repos/kortirso/stack_clone/issues{/number}","pulls_url":"https://api.github.com/repos/kortirso/stack_clone/pulls{/number}","milestones_url":"https://api.github.com/repos/kortirso/stack_clone/milestones{/number}","notifications_url":"https://api.github.com/repos/kortirso/stack_clone/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kortirso/stack_clone/labels{/name}","releases_url":"https://api.github.com/repos/kortirso/stack_clone/releases{/id}","created_at":"2015-11-08T12:37:51Z","updated_at":"2015-11-08T12:47:24Z","pushed_at":"2015-11-30T16:53:42Z","git_url":"git://github.com/kortirso/stack_clone.git","ssh_url":"git@github.com:kortirso/stack_clone.git","clone_url":"https://github.com/kortirso/stack_clone.git","svn_url":"https://github.com/kortirso/stack_clone","homepage":null,"size":96,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kortirso/stack_clone/pulls/8"},"html":{"href":"https://github.com/kortirso/stack_clone/pull/8"},"issue":{"href":"https://api.github.com/repos/kortirso/stack_clone/issues/8"},"comments":{"href":"https://api.github.com/repos/kortirso/stack_clone/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/kortirso/stack_clone/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/kortirso/stack_clone/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kortirso/stack_clone/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/kortirso/stack_clone/statuses/e50751ecbb1d6187f1515d3a4214c64b8f2dd898"}}}}