{"action":"created","comment":{"url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/comments/90502968","pull_request_review_id":11021999,"id":90502968,"diff_hunk":"@@ -1,7 +1,14 @@\n class User < ApplicationRecord\n   has_secure_password\n   has_one :pet\n+  has_many :sent_messages, :foreign_key => 'sender_id', class_name: Message","path":"app/models/user.rb","position":4,"original_position":4,"commit_id":"2b115d1727499886871275d6ea95097ae919ab90","original_commit_id":"2b115d1727499886871275d6ea95097ae919ab90","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.","created_at":"2016-12-01T18:06:14Z","updated_at":"2016-12-01T18:06:14Z","html_url":"https://github.com/dmitriymarley/tamagotchi_app/pull/11#discussion_r90502968","pull_request_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/comments/90502968"},"html":{"href":"https://github.com/dmitriymarley/tamagotchi_app/pull/11#discussion_r90502968"},"pull_request":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11","id":96140162,"html_url":"https://github.com/dmitriymarley/tamagotchi_app/pull/11","diff_url":"https://github.com/dmitriymarley/tamagotchi_app/pull/11.diff","patch_url":"https://github.com/dmitriymarley/tamagotchi_app/pull/11.patch","issue_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/11","number":11,"state":"open","locked":false,"title":"Messages","user":{"login":"dmitriymarley","id":8083744,"avatar_url":"https://avatars.githubusercontent.com/u/8083744?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriymarley","html_url":"https://github.com/dmitriymarley","followers_url":"https://api.github.com/users/dmitriymarley/followers","following_url":"https://api.github.com/users/dmitriymarley/following{/other_user}","gists_url":"https://api.github.com/users/dmitriymarley/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriymarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriymarley/subscriptions","organizations_url":"https://api.github.com/users/dmitriymarley/orgs","repos_url":"https://api.github.com/users/dmitriymarley/repos","events_url":"https://api.github.com/users/dmitriymarley/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriymarley/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-12-01T18:05:56Z","updated_at":"2016-12-01T18:06:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a46d4f91788f6c88883a66d39a7f473d9efee468","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11/commits","review_comments_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11/comments","review_comment_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/11/comments","statuses_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/statuses/2b115d1727499886871275d6ea95097ae919ab90","head":{"label":"dmitriymarley:messages","ref":"messages","sha":"2b115d1727499886871275d6ea95097ae919ab90","user":{"login":"dmitriymarley","id":8083744,"avatar_url":"https://avatars.githubusercontent.com/u/8083744?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriymarley","html_url":"https://github.com/dmitriymarley","followers_url":"https://api.github.com/users/dmitriymarley/followers","following_url":"https://api.github.com/users/dmitriymarley/following{/other_user}","gists_url":"https://api.github.com/users/dmitriymarley/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriymarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriymarley/subscriptions","organizations_url":"https://api.github.com/users/dmitriymarley/orgs","repos_url":"https://api.github.com/users/dmitriymarley/repos","events_url":"https://api.github.com/users/dmitriymarley/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriymarley/received_events","type":"User","site_admin":false},"repo":{"id":74613314,"name":"tamagotchi_app","full_name":"dmitriymarley/tamagotchi_app","owner":{"login":"dmitriymarley","id":8083744,"avatar_url":"https://avatars.githubusercontent.com/u/8083744?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriymarley","html_url":"https://github.com/dmitriymarley","followers_url":"https://api.github.com/users/dmitriymarley/followers","following_url":"https://api.github.com/users/dmitriymarley/following{/other_user}","gists_url":"https://api.github.com/users/dmitriymarley/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriymarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriymarley/subscriptions","organizations_url":"https://api.github.com/users/dmitriymarley/orgs","repos_url":"https://api.github.com/users/dmitriymarley/repos","events_url":"https://api.github.com/users/dmitriymarley/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriymarley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmitriymarley/tamagotchi_app","description":"Simple Tamagotchi game on RoR","fork":false,"url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app","forks_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/forks","keys_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/teams","hooks_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/hooks","issue_events_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/events{/number}","events_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/events","assignees_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/assignees{/user}","branches_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/branches{/branch}","tags_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/tags","blobs_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/statuses/{sha}","languages_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/languages","stargazers_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/stargazers","contributors_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/contributors","subscribers_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/subscribers","subscription_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/subscription","commits_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/contents/{+path}","compare_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/merges","archive_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/downloads","issues_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues{/number}","pulls_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls{/number}","milestones_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/milestones{/number}","notifications_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/labels{/name}","releases_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/releases{/id}","deployments_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/deployments","created_at":"2016-11-23T20:55:18Z","updated_at":"2016-11-23T20:59:20Z","pushed_at":"2016-12-01T18:05:56Z","git_url":"git://github.com/dmitriymarley/tamagotchi_app.git","ssh_url":"git@github.com:dmitriymarley/tamagotchi_app.git","clone_url":"https://github.com/dmitriymarley/tamagotchi_app.git","svn_url":"https://github.com/dmitriymarley/tamagotchi_app","homepage":null,"size":148,"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":"dmitriymarley:master","ref":"master","sha":"038d68c8787fb4f4da87961b41a655e0e899ad4f","user":{"login":"dmitriymarley","id":8083744,"avatar_url":"https://avatars.githubusercontent.com/u/8083744?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriymarley","html_url":"https://github.com/dmitriymarley","followers_url":"https://api.github.com/users/dmitriymarley/followers","following_url":"https://api.github.com/users/dmitriymarley/following{/other_user}","gists_url":"https://api.github.com/users/dmitriymarley/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriymarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriymarley/subscriptions","organizations_url":"https://api.github.com/users/dmitriymarley/orgs","repos_url":"https://api.github.com/users/dmitriymarley/repos","events_url":"https://api.github.com/users/dmitriymarley/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriymarley/received_events","type":"User","site_admin":false},"repo":{"id":74613314,"name":"tamagotchi_app","full_name":"dmitriymarley/tamagotchi_app","owner":{"login":"dmitriymarley","id":8083744,"avatar_url":"https://avatars.githubusercontent.com/u/8083744?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriymarley","html_url":"https://github.com/dmitriymarley","followers_url":"https://api.github.com/users/dmitriymarley/followers","following_url":"https://api.github.com/users/dmitriymarley/following{/other_user}","gists_url":"https://api.github.com/users/dmitriymarley/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriymarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriymarley/subscriptions","organizations_url":"https://api.github.com/users/dmitriymarley/orgs","repos_url":"https://api.github.com/users/dmitriymarley/repos","events_url":"https://api.github.com/users/dmitriymarley/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriymarley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dmitriymarley/tamagotchi_app","description":"Simple Tamagotchi game on RoR","fork":false,"url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app","forks_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/forks","keys_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/teams","hooks_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/hooks","issue_events_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/events{/number}","events_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/events","assignees_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/assignees{/user}","branches_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/branches{/branch}","tags_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/tags","blobs_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/refs{/sha}","trees_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/statuses/{sha}","languages_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/languages","stargazers_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/stargazers","contributors_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/contributors","subscribers_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/subscribers","subscription_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/subscription","commits_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/commits{/sha}","git_commits_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/git/commits{/sha}","comments_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/comments{/number}","issue_comment_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/comments{/number}","contents_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/contents/{+path}","compare_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/merges","archive_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/downloads","issues_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues{/number}","pulls_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls{/number}","milestones_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/milestones{/number}","notifications_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/labels{/name}","releases_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/releases{/id}","deployments_url":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/deployments","created_at":"2016-11-23T20:55:18Z","updated_at":"2016-11-23T20:59:20Z","pushed_at":"2016-12-01T18:05:56Z","git_url":"git://github.com/dmitriymarley/tamagotchi_app.git","ssh_url":"git@github.com:dmitriymarley/tamagotchi_app.git","clone_url":"https://github.com/dmitriymarley/tamagotchi_app.git","svn_url":"https://github.com/dmitriymarley/tamagotchi_app","homepage":null,"size":148,"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/dmitriymarley/tamagotchi_app/pulls/11"},"html":{"href":"https://github.com/dmitriymarley/tamagotchi_app/pull/11"},"issue":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/11"},"comments":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/dmitriymarley/tamagotchi_app/statuses/2b115d1727499886871275d6ea95097ae919ab90"}}}}
{"actor":{"display_login":"houndci-bot"}}