GitHub PullRequestReviewCommentEvent at 2014-12-09 22:55:25
Repository: flash_card_manager
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/21570368","id":21570368,"diff_hunk":"@@ -1,9 +1,22 @@\n class Card < ActiveRecord::Base\n+  scope :old_reviewed, -> { where(\"review_date <= ?\", Time.now) }\n+\n   validates :original_text, :translated_text, presence: true\n   validate :original_and_translated_not_equal\n \n   before_create :set_review_date\n \n+  def self.check_translate_of(card_id,translation)","path":"app/models/card.rb","position":9,"original_position":9,"commit_id":"08352de1265cda099f850bb856988d3db416e055","original_commit_id":"08352de1265cda099f850bb856988d3db416e055","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space missing after comma.","created_at":"2014-12-09T22:55:25Z","updated_at":"2014-12-09T22:55:25Z","html_url":"https://github.com/NoPos/flash_card_manager/pull/6#discussion_r21570368","pull_request_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/21570368"},"html":{"href":"https://github.com/NoPos/flash_card_manager/pull/6#discussion_r21570368"},"pull_request":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6","id":25660207,"html_url":"https://github.com/NoPos/flash_card_manager/pull/6","diff_url":"https://github.com/NoPos/flash_card_manager/pull/6.diff","patch_url":"https://github.com/NoPos/flash_card_manager/pull/6.patch","issue_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/6","number":6,"state":"open","locked":false,"title":"Simple trainer","user":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-08T11:32:32Z","updated_at":"2014-12-09T22:55:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4a40965535b88445465c9b51b7c414c973b8134","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6/commits","review_comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6/comments","review_comment_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/{number}","comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/6/comments","statuses_url":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/08352de1265cda099f850bb856988d3db416e055","head":{"label":"NoPos:simple_trainer","ref":"simple_trainer","sha":"08352de1265cda099f850bb856988d3db416e055","user":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"repo":{"id":26673871,"name":"flash_card_manager","full_name":"NoPos/flash_card_manager","owner":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoPos/flash_card_manager","description":"","fork":false,"url":"https://api.github.com/repos/NoPos/flash_card_manager","forks_url":"https://api.github.com/repos/NoPos/flash_card_manager/forks","keys_url":"https://api.github.com/repos/NoPos/flash_card_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoPos/flash_card_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoPos/flash_card_manager/teams","hooks_url":"https://api.github.com/repos/NoPos/flash_card_manager/hooks","issue_events_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/events{/number}","events_url":"https://api.github.com/repos/NoPos/flash_card_manager/events","assignees_url":"https://api.github.com/repos/NoPos/flash_card_manager/assignees{/user}","branches_url":"https://api.github.com/repos/NoPos/flash_card_manager/branches{/branch}","tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/tags","blobs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/NoPos/flash_card_manager/languages","stargazers_url":"https://api.github.com/repos/NoPos/flash_card_manager/stargazers","contributors_url":"https://api.github.com/repos/NoPos/flash_card_manager/contributors","subscribers_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscribers","subscription_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscription","commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/NoPos/flash_card_manager/contents/{+path}","compare_url":"https://api.github.com/repos/NoPos/flash_card_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoPos/flash_card_manager/merges","archive_url":"https://api.github.com/repos/NoPos/flash_card_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoPos/flash_card_manager/downloads","issues_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues{/number}","pulls_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/NoPos/flash_card_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/NoPos/flash_card_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoPos/flash_card_manager/labels{/name}","releases_url":"https://api.github.com/repos/NoPos/flash_card_manager/releases{/id}","created_at":"2014-11-15T08:19:19Z","updated_at":"2014-12-04T11:22:57Z","pushed_at":"2014-12-09T22:55:21Z","git_url":"git://github.com/NoPos/flash_card_manager.git","ssh_url":"git@github.com:NoPos/flash_card_manager.git","clone_url":"https://github.com/NoPos/flash_card_manager.git","svn_url":"https://github.com/NoPos/flash_card_manager","homepage":null,"size":452,"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":"NoPos:master","ref":"master","sha":"ae320b0ab213b31d62ade2c0ed3b8265ba7ae1c7","user":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"repo":{"id":26673871,"name":"flash_card_manager","full_name":"NoPos/flash_card_manager","owner":{"login":"NoPos","id":4097112,"avatar_url":"https://avatars.githubusercontent.com/u/4097112?v=3","gravatar_id":"","url":"https://api.github.com/users/NoPos","html_url":"https://github.com/NoPos","followers_url":"https://api.github.com/users/NoPos/followers","following_url":"https://api.github.com/users/NoPos/following{/other_user}","gists_url":"https://api.github.com/users/NoPos/gists{/gist_id}","starred_url":"https://api.github.com/users/NoPos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NoPos/subscriptions","organizations_url":"https://api.github.com/users/NoPos/orgs","repos_url":"https://api.github.com/users/NoPos/repos","events_url":"https://api.github.com/users/NoPos/events{/privacy}","received_events_url":"https://api.github.com/users/NoPos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NoPos/flash_card_manager","description":"","fork":false,"url":"https://api.github.com/repos/NoPos/flash_card_manager","forks_url":"https://api.github.com/repos/NoPos/flash_card_manager/forks","keys_url":"https://api.github.com/repos/NoPos/flash_card_manager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NoPos/flash_card_manager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NoPos/flash_card_manager/teams","hooks_url":"https://api.github.com/repos/NoPos/flash_card_manager/hooks","issue_events_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/events{/number}","events_url":"https://api.github.com/repos/NoPos/flash_card_manager/events","assignees_url":"https://api.github.com/repos/NoPos/flash_card_manager/assignees{/user}","branches_url":"https://api.github.com/repos/NoPos/flash_card_manager/branches{/branch}","tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/tags","blobs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/refs{/sha}","trees_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/{sha}","languages_url":"https://api.github.com/repos/NoPos/flash_card_manager/languages","stargazers_url":"https://api.github.com/repos/NoPos/flash_card_manager/stargazers","contributors_url":"https://api.github.com/repos/NoPos/flash_card_manager/contributors","subscribers_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscribers","subscription_url":"https://api.github.com/repos/NoPos/flash_card_manager/subscription","commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/commits{/sha}","git_commits_url":"https://api.github.com/repos/NoPos/flash_card_manager/git/commits{/sha}","comments_url":"https://api.github.com/repos/NoPos/flash_card_manager/comments{/number}","issue_comment_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues/comments/{number}","contents_url":"https://api.github.com/repos/NoPos/flash_card_manager/contents/{+path}","compare_url":"https://api.github.com/repos/NoPos/flash_card_manager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NoPos/flash_card_manager/merges","archive_url":"https://api.github.com/repos/NoPos/flash_card_manager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NoPos/flash_card_manager/downloads","issues_url":"https://api.github.com/repos/NoPos/flash_card_manager/issues{/number}","pulls_url":"https://api.github.com/repos/NoPos/flash_card_manager/pulls{/number}","milestones_url":"https://api.github.com/repos/NoPos/flash_card_manager/milestones{/number}","notifications_url":"https://api.github.com/repos/NoPos/flash_card_manager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NoPos/flash_card_manager/labels{/name}","releases_url":"https://api.github.com/repos/NoPos/flash_card_manager/releases{/id}","created_at":"2014-11-15T08:19:19Z","updated_at":"2014-12-04T11:22:57Z","pushed_at":"2014-12-09T22:55:21Z","git_url":"git://github.com/NoPos/flash_card_manager.git","ssh_url":"git@github.com:NoPos/flash_card_manager.git","clone_url":"https://github.com/NoPos/flash_card_manager.git","svn_url":"https://github.com/NoPos/flash_card_manager","homepage":null,"size":452,"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/NoPos/flash_card_manager/pulls/6"},"html":{"href":"https://github.com/NoPos/flash_card_manager/pull/6"},"issue":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/issues/6"},"comments":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/NoPos/flash_card_manager/statuses/08352de1265cda099f850bb856988d3db416e055"}}}}