{"action":"created","comment":{"url":"https://api.github.com/repos/SirSen/flashcards/pulls/comments/103108808","pull_request_review_id":23886057,"id":103108808,"diff_hunk":"@@ -1,3 +1,18 @@\n class User < ApplicationRecord\n-  has_many :cards\n+  authenticates_with_sorcery!\n+\n+  authenticates_with_sorcery! do |config|\n+    config.authentications_class = Authentication\n+  end\n+\n+  has_many :authentications, :dependent => :destroy","path":"app/models/user.rb","position":9,"original_position":9,"commit_id":"d63039bfc1d3e0ff81259965371878adb2b478cc","original_commit_id":"d63039bfc1d3e0ff81259965371878adb2b478cc","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":"2017-02-26T16:18:30Z","updated_at":"2017-02-26T16:18:30Z","html_url":"https://github.com/SirSen/flashcards/pull/9#discussion_r103108808","pull_request_url":"https://api.github.com/repos/SirSen/flashcards/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/SirSen/flashcards/pulls/comments/103108808"},"html":{"href":"https://github.com/SirSen/flashcards/pull/9#discussion_r103108808"},"pull_request":{"href":"https://api.github.com/repos/SirSen/flashcards/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/SirSen/flashcards/pulls/9","id":108010178,"html_url":"https://github.com/SirSen/flashcards/pull/9","diff_url":"https://github.com/SirSen/flashcards/pull/9.diff","patch_url":"https://github.com/SirSen/flashcards/pull/9.patch","issue_url":"https://api.github.com/repos/SirSen/flashcards/issues/9","number":9,"state":"open","locked":false,"title":"Sorcery","user":{"login":"SirSen","id":12913396,"avatar_url":"https://avatars.githubusercontent.com/u/12913396?v=3","gravatar_id":"","url":"https://api.github.com/users/SirSen","html_url":"https://github.com/SirSen","followers_url":"https://api.github.com/users/SirSen/followers","following_url":"https://api.github.com/users/SirSen/following{/other_user}","gists_url":"https://api.github.com/users/SirSen/gists{/gist_id}","starred_url":"https://api.github.com/users/SirSen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirSen/subscriptions","organizations_url":"https://api.github.com/users/SirSen/orgs","repos_url":"https://api.github.com/users/SirSen/repos","events_url":"https://api.github.com/users/SirSen/events{/privacy}","received_events_url":"https://api.github.com/users/SirSen/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-02-26T16:04:49Z","updated_at":"2017-02-26T16:18:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1a6b7657bb29057c67b1bad901d1185b6727b94","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/SirSen/flashcards/pulls/9/commits","review_comments_url":"https://api.github.com/repos/SirSen/flashcards/pulls/9/comments","review_comment_url":"https://api.github.com/repos/SirSen/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SirSen/flashcards/issues/9/comments","statuses_url":"https://api.github.com/repos/SirSen/flashcards/statuses/d63039bfc1d3e0ff81259965371878adb2b478cc","head":{"label":"SirSen:sorcery","ref":"sorcery","sha":"d63039bfc1d3e0ff81259965371878adb2b478cc","user":{"login":"SirSen","id":12913396,"avatar_url":"https://avatars.githubusercontent.com/u/12913396?v=3","gravatar_id":"","url":"https://api.github.com/users/SirSen","html_url":"https://github.com/SirSen","followers_url":"https://api.github.com/users/SirSen/followers","following_url":"https://api.github.com/users/SirSen/following{/other_user}","gists_url":"https://api.github.com/users/SirSen/gists{/gist_id}","starred_url":"https://api.github.com/users/SirSen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirSen/subscriptions","organizations_url":"https://api.github.com/users/SirSen/orgs","repos_url":"https://api.github.com/users/SirSen/repos","events_url":"https://api.github.com/users/SirSen/events{/privacy}","received_events_url":"https://api.github.com/users/SirSen/received_events","type":"User","site_admin":false},"repo":{"id":81117001,"name":"flashcards","full_name":"SirSen/flashcards","owner":{"login":"SirSen","id":12913396,"avatar_url":"https://avatars.githubusercontent.com/u/12913396?v=3","gravatar_id":"","url":"https://api.github.com/users/SirSen","html_url":"https://github.com/SirSen","followers_url":"https://api.github.com/users/SirSen/followers","following_url":"https://api.github.com/users/SirSen/following{/other_user}","gists_url":"https://api.github.com/users/SirSen/gists{/gist_id}","starred_url":"https://api.github.com/users/SirSen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirSen/subscriptions","organizations_url":"https://api.github.com/users/SirSen/orgs","repos_url":"https://api.github.com/users/SirSen/repos","events_url":"https://api.github.com/users/SirSen/events{/privacy}","received_events_url":"https://api.github.com/users/SirSen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SirSen/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/SirSen/flashcards","forks_url":"https://api.github.com/repos/SirSen/flashcards/forks","keys_url":"https://api.github.com/repos/SirSen/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SirSen/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SirSen/flashcards/teams","hooks_url":"https://api.github.com/repos/SirSen/flashcards/hooks","issue_events_url":"https://api.github.com/repos/SirSen/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/SirSen/flashcards/events","assignees_url":"https://api.github.com/repos/SirSen/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/SirSen/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/SirSen/flashcards/tags","blobs_url":"https://api.github.com/repos/SirSen/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SirSen/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SirSen/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/SirSen/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SirSen/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/SirSen/flashcards/languages","stargazers_url":"https://api.github.com/repos/SirSen/flashcards/stargazers","contributors_url":"https://api.github.com/repos/SirSen/flashcards/contributors","subscribers_url":"https://api.github.com/repos/SirSen/flashcards/subscribers","subscription_url":"https://api.github.com/repos/SirSen/flashcards/subscription","commits_url":"https://api.github.com/repos/SirSen/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/SirSen/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/SirSen/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/SirSen/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/SirSen/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/SirSen/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SirSen/flashcards/merges","archive_url":"https://api.github.com/repos/SirSen/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SirSen/flashcards/downloads","issues_url":"https://api.github.com/repos/SirSen/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/SirSen/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/SirSen/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/SirSen/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SirSen/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/SirSen/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/SirSen/flashcards/deployments","created_at":"2017-02-06T18:16:43Z","updated_at":"2017-02-06T18:45:40Z","pushed_at":"2017-02-26T16:18:13Z","git_url":"git://github.com/SirSen/flashcards.git","ssh_url":"git@github.com:SirSen/flashcards.git","clone_url":"https://github.com/SirSen/flashcards.git","svn_url":"https://github.com/SirSen/flashcards","homepage":null,"size":208,"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":"SirSen:master","ref":"master","sha":"a52ff8e8136c98957f3378020fb9173a98e33875","user":{"login":"SirSen","id":12913396,"avatar_url":"https://avatars.githubusercontent.com/u/12913396?v=3","gravatar_id":"","url":"https://api.github.com/users/SirSen","html_url":"https://github.com/SirSen","followers_url":"https://api.github.com/users/SirSen/followers","following_url":"https://api.github.com/users/SirSen/following{/other_user}","gists_url":"https://api.github.com/users/SirSen/gists{/gist_id}","starred_url":"https://api.github.com/users/SirSen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirSen/subscriptions","organizations_url":"https://api.github.com/users/SirSen/orgs","repos_url":"https://api.github.com/users/SirSen/repos","events_url":"https://api.github.com/users/SirSen/events{/privacy}","received_events_url":"https://api.github.com/users/SirSen/received_events","type":"User","site_admin":false},"repo":{"id":81117001,"name":"flashcards","full_name":"SirSen/flashcards","owner":{"login":"SirSen","id":12913396,"avatar_url":"https://avatars.githubusercontent.com/u/12913396?v=3","gravatar_id":"","url":"https://api.github.com/users/SirSen","html_url":"https://github.com/SirSen","followers_url":"https://api.github.com/users/SirSen/followers","following_url":"https://api.github.com/users/SirSen/following{/other_user}","gists_url":"https://api.github.com/users/SirSen/gists{/gist_id}","starred_url":"https://api.github.com/users/SirSen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirSen/subscriptions","organizations_url":"https://api.github.com/users/SirSen/orgs","repos_url":"https://api.github.com/users/SirSen/repos","events_url":"https://api.github.com/users/SirSen/events{/privacy}","received_events_url":"https://api.github.com/users/SirSen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SirSen/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/SirSen/flashcards","forks_url":"https://api.github.com/repos/SirSen/flashcards/forks","keys_url":"https://api.github.com/repos/SirSen/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SirSen/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SirSen/flashcards/teams","hooks_url":"https://api.github.com/repos/SirSen/flashcards/hooks","issue_events_url":"https://api.github.com/repos/SirSen/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/SirSen/flashcards/events","assignees_url":"https://api.github.com/repos/SirSen/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/SirSen/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/SirSen/flashcards/tags","blobs_url":"https://api.github.com/repos/SirSen/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SirSen/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SirSen/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/SirSen/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SirSen/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/SirSen/flashcards/languages","stargazers_url":"https://api.github.com/repos/SirSen/flashcards/stargazers","contributors_url":"https://api.github.com/repos/SirSen/flashcards/contributors","subscribers_url":"https://api.github.com/repos/SirSen/flashcards/subscribers","subscription_url":"https://api.github.com/repos/SirSen/flashcards/subscription","commits_url":"https://api.github.com/repos/SirSen/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/SirSen/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/SirSen/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/SirSen/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/SirSen/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/SirSen/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SirSen/flashcards/merges","archive_url":"https://api.github.com/repos/SirSen/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SirSen/flashcards/downloads","issues_url":"https://api.github.com/repos/SirSen/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/SirSen/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/SirSen/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/SirSen/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SirSen/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/SirSen/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/SirSen/flashcards/deployments","created_at":"2017-02-06T18:16:43Z","updated_at":"2017-02-06T18:45:40Z","pushed_at":"2017-02-26T16:18:13Z","git_url":"git://github.com/SirSen/flashcards.git","ssh_url":"git@github.com:SirSen/flashcards.git","clone_url":"https://github.com/SirSen/flashcards.git","svn_url":"https://github.com/SirSen/flashcards","homepage":null,"size":208,"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/SirSen/flashcards/pulls/9"},"html":{"href":"https://github.com/SirSen/flashcards/pull/9"},"issue":{"href":"https://api.github.com/repos/SirSen/flashcards/issues/9"},"comments":{"href":"https://api.github.com/repos/SirSen/flashcards/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/SirSen/flashcards/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/SirSen/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SirSen/flashcards/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/SirSen/flashcards/statuses/d63039bfc1d3e0ff81259965371878adb2b478cc"}}}}
{"actor":{"display_login":"houndci-bot"}}