{"action":"created","comment":{"url":"https://api.github.com/repos/Avenon/flashcards/pulls/comments/57556779","id":57556779,"diff_hunk":"@@ -1,2 +1,25 @@\n class HomeController < ApplicationController\n+  def index\n+    @card = Card.find_random_card\n+  end\n+\n+  def check_card\n+    Card.increase_review_date(get_home_params[:id])\n+    #flash.now[:success] = \"Успех! Перевод верен\"\n+    #flash.now[:notice] = \"Ошибка! Перевод ошибочный\"","path":"app/controllers/home_controller.rb","position":9,"original_position":9,"commit_id":"6c7ca0b50959cf0aa0bb7abd3bfaa59e9b821258","original_commit_id":"6c7ca0b50959cf0aa0bb7abd3bfaa59e9b821258","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 only ascii symbols in comments.<br>Incorrect indentation detected (column 4 instead of 2).<br>Missing space after #.","created_at":"2016-03-28T09:15:27Z","updated_at":"2016-03-28T09:15:27Z","html_url":"https://github.com/Avenon/flashcards/pull/7#discussion_r57556779","pull_request_url":"https://api.github.com/repos/Avenon/flashcards/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/Avenon/flashcards/pulls/comments/57556779"},"html":{"href":"https://github.com/Avenon/flashcards/pull/7#discussion_r57556779"},"pull_request":{"href":"https://api.github.com/repos/Avenon/flashcards/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/Avenon/flashcards/pulls/7","id":64022472,"html_url":"https://github.com/Avenon/flashcards/pull/7","diff_url":"https://github.com/Avenon/flashcards/pull/7.diff","patch_url":"https://github.com/Avenon/flashcards/pull/7.patch","issue_url":"https://api.github.com/repos/Avenon/flashcards/issues/7","number":7,"state":"open","locked":false,"title":"task 05","user":{"login":"Avenon","id":9049188,"avatar_url":"https://avatars.githubusercontent.com/u/9049188?v=3","gravatar_id":"","url":"https://api.github.com/users/Avenon","html_url":"https://github.com/Avenon","followers_url":"https://api.github.com/users/Avenon/followers","following_url":"https://api.github.com/users/Avenon/following{/other_user}","gists_url":"https://api.github.com/users/Avenon/gists{/gist_id}","starred_url":"https://api.github.com/users/Avenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avenon/subscriptions","organizations_url":"https://api.github.com/users/Avenon/orgs","repos_url":"https://api.github.com/users/Avenon/repos","events_url":"https://api.github.com/users/Avenon/events{/privacy}","received_events_url":"https://api.github.com/users/Avenon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-24T11:42:34Z","updated_at":"2016-03-28T09:15:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa1662caf516a4cbec67df2a9a6261ba164ffa8e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Avenon/flashcards/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Avenon/flashcards/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Avenon/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Avenon/flashcards/issues/7/comments","statuses_url":"https://api.github.com/repos/Avenon/flashcards/statuses/6c7ca0b50959cf0aa0bb7abd3bfaa59e9b821258","head":{"label":"Avenon:task_05","ref":"task_05","sha":"6c7ca0b50959cf0aa0bb7abd3bfaa59e9b821258","user":{"login":"Avenon","id":9049188,"avatar_url":"https://avatars.githubusercontent.com/u/9049188?v=3","gravatar_id":"","url":"https://api.github.com/users/Avenon","html_url":"https://github.com/Avenon","followers_url":"https://api.github.com/users/Avenon/followers","following_url":"https://api.github.com/users/Avenon/following{/other_user}","gists_url":"https://api.github.com/users/Avenon/gists{/gist_id}","starred_url":"https://api.github.com/users/Avenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avenon/subscriptions","organizations_url":"https://api.github.com/users/Avenon/orgs","repos_url":"https://api.github.com/users/Avenon/repos","events_url":"https://api.github.com/users/Avenon/events{/privacy}","received_events_url":"https://api.github.com/users/Avenon/received_events","type":"User","site_admin":false},"repo":{"id":54196271,"name":"flashcards","full_name":"Avenon/flashcards","owner":{"login":"Avenon","id":9049188,"avatar_url":"https://avatars.githubusercontent.com/u/9049188?v=3","gravatar_id":"","url":"https://api.github.com/users/Avenon","html_url":"https://github.com/Avenon","followers_url":"https://api.github.com/users/Avenon/followers","following_url":"https://api.github.com/users/Avenon/following{/other_user}","gists_url":"https://api.github.com/users/Avenon/gists{/gist_id}","starred_url":"https://api.github.com/users/Avenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avenon/subscriptions","organizations_url":"https://api.github.com/users/Avenon/orgs","repos_url":"https://api.github.com/users/Avenon/repos","events_url":"https://api.github.com/users/Avenon/events{/privacy}","received_events_url":"https://api.github.com/users/Avenon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Avenon/flashcards","description":"An application which helps to study english","fork":false,"url":"https://api.github.com/repos/Avenon/flashcards","forks_url":"https://api.github.com/repos/Avenon/flashcards/forks","keys_url":"https://api.github.com/repos/Avenon/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Avenon/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Avenon/flashcards/teams","hooks_url":"https://api.github.com/repos/Avenon/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Avenon/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Avenon/flashcards/events","assignees_url":"https://api.github.com/repos/Avenon/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Avenon/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Avenon/flashcards/tags","blobs_url":"https://api.github.com/repos/Avenon/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Avenon/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Avenon/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Avenon/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Avenon/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Avenon/flashcards/languages","stargazers_url":"https://api.github.com/repos/Avenon/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Avenon/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Avenon/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Avenon/flashcards/subscription","commits_url":"https://api.github.com/repos/Avenon/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Avenon/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Avenon/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Avenon/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Avenon/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Avenon/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Avenon/flashcards/merges","archive_url":"https://api.github.com/repos/Avenon/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Avenon/flashcards/downloads","issues_url":"https://api.github.com/repos/Avenon/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Avenon/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Avenon/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Avenon/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Avenon/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Avenon/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/Avenon/flashcards/deployments","created_at":"2016-03-18T11:26:15Z","updated_at":"2016-03-18T17:17:02Z","pushed_at":"2016-03-28T09:15:22Z","git_url":"git://github.com/Avenon/flashcards.git","ssh_url":"git@github.com:Avenon/flashcards.git","clone_url":"https://github.com/Avenon/flashcards.git","svn_url":"https://github.com/Avenon/flashcards","homepage":null,"size":359,"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":"Avenon:master","ref":"master","sha":"2361d8d32a330d64d4f45637b69d627ca9c3f2d8","user":{"login":"Avenon","id":9049188,"avatar_url":"https://avatars.githubusercontent.com/u/9049188?v=3","gravatar_id":"","url":"https://api.github.com/users/Avenon","html_url":"https://github.com/Avenon","followers_url":"https://api.github.com/users/Avenon/followers","following_url":"https://api.github.com/users/Avenon/following{/other_user}","gists_url":"https://api.github.com/users/Avenon/gists{/gist_id}","starred_url":"https://api.github.com/users/Avenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avenon/subscriptions","organizations_url":"https://api.github.com/users/Avenon/orgs","repos_url":"https://api.github.com/users/Avenon/repos","events_url":"https://api.github.com/users/Avenon/events{/privacy}","received_events_url":"https://api.github.com/users/Avenon/received_events","type":"User","site_admin":false},"repo":{"id":54196271,"name":"flashcards","full_name":"Avenon/flashcards","owner":{"login":"Avenon","id":9049188,"avatar_url":"https://avatars.githubusercontent.com/u/9049188?v=3","gravatar_id":"","url":"https://api.github.com/users/Avenon","html_url":"https://github.com/Avenon","followers_url":"https://api.github.com/users/Avenon/followers","following_url":"https://api.github.com/users/Avenon/following{/other_user}","gists_url":"https://api.github.com/users/Avenon/gists{/gist_id}","starred_url":"https://api.github.com/users/Avenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Avenon/subscriptions","organizations_url":"https://api.github.com/users/Avenon/orgs","repos_url":"https://api.github.com/users/Avenon/repos","events_url":"https://api.github.com/users/Avenon/events{/privacy}","received_events_url":"https://api.github.com/users/Avenon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Avenon/flashcards","description":"An application which helps to study english","fork":false,"url":"https://api.github.com/repos/Avenon/flashcards","forks_url":"https://api.github.com/repos/Avenon/flashcards/forks","keys_url":"https://api.github.com/repos/Avenon/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Avenon/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Avenon/flashcards/teams","hooks_url":"https://api.github.com/repos/Avenon/flashcards/hooks","issue_events_url":"https://api.github.com/repos/Avenon/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/Avenon/flashcards/events","assignees_url":"https://api.github.com/repos/Avenon/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/Avenon/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/Avenon/flashcards/tags","blobs_url":"https://api.github.com/repos/Avenon/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Avenon/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Avenon/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/Avenon/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Avenon/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/Avenon/flashcards/languages","stargazers_url":"https://api.github.com/repos/Avenon/flashcards/stargazers","contributors_url":"https://api.github.com/repos/Avenon/flashcards/contributors","subscribers_url":"https://api.github.com/repos/Avenon/flashcards/subscribers","subscription_url":"https://api.github.com/repos/Avenon/flashcards/subscription","commits_url":"https://api.github.com/repos/Avenon/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/Avenon/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/Avenon/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/Avenon/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/Avenon/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/Avenon/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Avenon/flashcards/merges","archive_url":"https://api.github.com/repos/Avenon/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Avenon/flashcards/downloads","issues_url":"https://api.github.com/repos/Avenon/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/Avenon/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/Avenon/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/Avenon/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Avenon/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/Avenon/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/Avenon/flashcards/deployments","created_at":"2016-03-18T11:26:15Z","updated_at":"2016-03-18T17:17:02Z","pushed_at":"2016-03-28T09:15:22Z","git_url":"git://github.com/Avenon/flashcards.git","ssh_url":"git@github.com:Avenon/flashcards.git","clone_url":"https://github.com/Avenon/flashcards.git","svn_url":"https://github.com/Avenon/flashcards","homepage":null,"size":359,"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/Avenon/flashcards/pulls/7"},"html":{"href":"https://github.com/Avenon/flashcards/pull/7"},"issue":{"href":"https://api.github.com/repos/Avenon/flashcards/issues/7"},"comments":{"href":"https://api.github.com/repos/Avenon/flashcards/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Avenon/flashcards/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Avenon/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Avenon/flashcards/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Avenon/flashcards/statuses/6c7ca0b50959cf0aa0bb7abd3bfaa59e9b821258"}}}}