{"action":"created","comment":{"url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/comments/76946896","id":76946896,"diff_hunk":"@@ -47,6 +61,16 @@\n     t.integer  \"quality\",         default: 5,   null: false\n   end\n \n+  create_table \"roles\", force: :cascade do |t|\n+    t.string   \"name\"\n+    t.string   \"resource_type\"\n+    t.integer  \"resource_id\"","path":"db/schema.rb","position":34,"original_position":34,"commit_id":"da3bed9c97318020194ad8b5e100d1e194879064","original_commit_id":"da3bed9c97318020194ad8b5e100d1e194879064","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":"Prefer single-quoted strings when you don't need string interpolation or special symbols.","created_at":"2016-08-31T08:43:01Z","updated_at":"2016-08-31T08:43:01Z","html_url":"https://github.com/AndreOrlov/flashcards/pull/7#discussion_r76946896","pull_request_url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/comments/76946896"},"html":{"href":"https://github.com/AndreOrlov/flashcards/pull/7#discussion_r76946896"},"pull_request":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7","id":83410778,"html_url":"https://github.com/AndreOrlov/flashcards/pull/7","diff_url":"https://github.com/AndreOrlov/flashcards/pull/7.diff","patch_url":"https://github.com/AndreOrlov/flashcards/pull/7.patch","issue_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues/7","number":7,"state":"open","locked":false,"title":"Third task","user":{"login":"AndreOrlov","id":20929935,"avatar_url":"https://avatars.githubusercontent.com/u/20929935?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreOrlov","html_url":"https://github.com/AndreOrlov","followers_url":"https://api.github.com/users/AndreOrlov/followers","following_url":"https://api.github.com/users/AndreOrlov/following{/other_user}","gists_url":"https://api.github.com/users/AndreOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreOrlov/subscriptions","organizations_url":"https://api.github.com/users/AndreOrlov/orgs","repos_url":"https://api.github.com/users/AndreOrlov/repos","events_url":"https://api.github.com/users/AndreOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/AndreOrlov/received_events","type":"User","site_admin":false},"body":"Admin section","created_at":"2016-08-31T08:42:46Z","updated_at":"2016-08-31T08:43:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3edc599e213250b087b26f6556d3d2aebd9ad38e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7/commits","review_comments_url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7/comments","review_comment_url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues/7/comments","statuses_url":"https://api.github.com/repos/AndreOrlov/flashcards/statuses/da3bed9c97318020194ad8b5e100d1e194879064","head":{"label":"AndreOrlov:third_task","ref":"third_task","sha":"da3bed9c97318020194ad8b5e100d1e194879064","user":{"login":"AndreOrlov","id":20929935,"avatar_url":"https://avatars.githubusercontent.com/u/20929935?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreOrlov","html_url":"https://github.com/AndreOrlov","followers_url":"https://api.github.com/users/AndreOrlov/followers","following_url":"https://api.github.com/users/AndreOrlov/following{/other_user}","gists_url":"https://api.github.com/users/AndreOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreOrlov/subscriptions","organizations_url":"https://api.github.com/users/AndreOrlov/orgs","repos_url":"https://api.github.com/users/AndreOrlov/repos","events_url":"https://api.github.com/users/AndreOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/AndreOrlov/received_events","type":"User","site_admin":false},"repo":{"id":65305607,"name":"flashcards","full_name":"AndreOrlov/flashcards","owner":{"login":"AndreOrlov","id":20929935,"avatar_url":"https://avatars.githubusercontent.com/u/20929935?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreOrlov","html_url":"https://github.com/AndreOrlov","followers_url":"https://api.github.com/users/AndreOrlov/followers","following_url":"https://api.github.com/users/AndreOrlov/following{/other_user}","gists_url":"https://api.github.com/users/AndreOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreOrlov/subscriptions","organizations_url":"https://api.github.com/users/AndreOrlov/orgs","repos_url":"https://api.github.com/users/AndreOrlov/repos","events_url":"https://api.github.com/users/AndreOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/AndreOrlov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreOrlov/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/AndreOrlov/flashcards","forks_url":"https://api.github.com/repos/AndreOrlov/flashcards/forks","keys_url":"https://api.github.com/repos/AndreOrlov/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreOrlov/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreOrlov/flashcards/teams","hooks_url":"https://api.github.com/repos/AndreOrlov/flashcards/hooks","issue_events_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/AndreOrlov/flashcards/events","assignees_url":"https://api.github.com/repos/AndreOrlov/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/AndreOrlov/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/AndreOrlov/flashcards/tags","blobs_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreOrlov/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreOrlov/flashcards/languages","stargazers_url":"https://api.github.com/repos/AndreOrlov/flashcards/stargazers","contributors_url":"https://api.github.com/repos/AndreOrlov/flashcards/contributors","subscribers_url":"https://api.github.com/repos/AndreOrlov/flashcards/subscribers","subscription_url":"https://api.github.com/repos/AndreOrlov/flashcards/subscription","commits_url":"https://api.github.com/repos/AndreOrlov/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreOrlov/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreOrlov/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/AndreOrlov/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreOrlov/flashcards/merges","archive_url":"https://api.github.com/repos/AndreOrlov/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreOrlov/flashcards/downloads","issues_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreOrlov/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreOrlov/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreOrlov/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/AndreOrlov/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/AndreOrlov/flashcards/deployments","created_at":"2016-08-09T15:18:49Z","updated_at":"2016-08-09T15:40:08Z","pushed_at":"2016-08-31T08:42:46Z","git_url":"git://github.com/AndreOrlov/flashcards.git","ssh_url":"git@github.com:AndreOrlov/flashcards.git","clone_url":"https://github.com/AndreOrlov/flashcards.git","svn_url":"https://github.com/AndreOrlov/flashcards","homepage":null,"size":562,"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":"AndreOrlov:master","ref":"master","sha":"c7a46770e551996d84969cf5fc31a3b75f9e6f35","user":{"login":"AndreOrlov","id":20929935,"avatar_url":"https://avatars.githubusercontent.com/u/20929935?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreOrlov","html_url":"https://github.com/AndreOrlov","followers_url":"https://api.github.com/users/AndreOrlov/followers","following_url":"https://api.github.com/users/AndreOrlov/following{/other_user}","gists_url":"https://api.github.com/users/AndreOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreOrlov/subscriptions","organizations_url":"https://api.github.com/users/AndreOrlov/orgs","repos_url":"https://api.github.com/users/AndreOrlov/repos","events_url":"https://api.github.com/users/AndreOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/AndreOrlov/received_events","type":"User","site_admin":false},"repo":{"id":65305607,"name":"flashcards","full_name":"AndreOrlov/flashcards","owner":{"login":"AndreOrlov","id":20929935,"avatar_url":"https://avatars.githubusercontent.com/u/20929935?v=3","gravatar_id":"","url":"https://api.github.com/users/AndreOrlov","html_url":"https://github.com/AndreOrlov","followers_url":"https://api.github.com/users/AndreOrlov/followers","following_url":"https://api.github.com/users/AndreOrlov/following{/other_user}","gists_url":"https://api.github.com/users/AndreOrlov/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreOrlov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreOrlov/subscriptions","organizations_url":"https://api.github.com/users/AndreOrlov/orgs","repos_url":"https://api.github.com/users/AndreOrlov/repos","events_url":"https://api.github.com/users/AndreOrlov/events{/privacy}","received_events_url":"https://api.github.com/users/AndreOrlov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AndreOrlov/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/AndreOrlov/flashcards","forks_url":"https://api.github.com/repos/AndreOrlov/flashcards/forks","keys_url":"https://api.github.com/repos/AndreOrlov/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AndreOrlov/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AndreOrlov/flashcards/teams","hooks_url":"https://api.github.com/repos/AndreOrlov/flashcards/hooks","issue_events_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/AndreOrlov/flashcards/events","assignees_url":"https://api.github.com/repos/AndreOrlov/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/AndreOrlov/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/AndreOrlov/flashcards/tags","blobs_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AndreOrlov/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/AndreOrlov/flashcards/languages","stargazers_url":"https://api.github.com/repos/AndreOrlov/flashcards/stargazers","contributors_url":"https://api.github.com/repos/AndreOrlov/flashcards/contributors","subscribers_url":"https://api.github.com/repos/AndreOrlov/flashcards/subscribers","subscription_url":"https://api.github.com/repos/AndreOrlov/flashcards/subscription","commits_url":"https://api.github.com/repos/AndreOrlov/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/AndreOrlov/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/AndreOrlov/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/AndreOrlov/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/AndreOrlov/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AndreOrlov/flashcards/merges","archive_url":"https://api.github.com/repos/AndreOrlov/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AndreOrlov/flashcards/downloads","issues_url":"https://api.github.com/repos/AndreOrlov/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/AndreOrlov/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/AndreOrlov/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/AndreOrlov/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AndreOrlov/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/AndreOrlov/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/AndreOrlov/flashcards/deployments","created_at":"2016-08-09T15:18:49Z","updated_at":"2016-08-09T15:40:08Z","pushed_at":"2016-08-31T08:42:46Z","git_url":"git://github.com/AndreOrlov/flashcards.git","ssh_url":"git@github.com:AndreOrlov/flashcards.git","clone_url":"https://github.com/AndreOrlov/flashcards.git","svn_url":"https://github.com/AndreOrlov/flashcards","homepage":null,"size":562,"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/AndreOrlov/flashcards/pulls/7"},"html":{"href":"https://github.com/AndreOrlov/flashcards/pull/7"},"issue":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/issues/7"},"comments":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/AndreOrlov/flashcards/statuses/da3bed9c97318020194ad8b5e100d1e194879064"}}}}
{"actor":{"display_login":"houndci-bot"}}