{"action":"created","comment":{"url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/comments/111430124","pull_request_review_id":32676990,"id":111430124,"diff_hunk":"@@ -5,6 +5,8 @@ class Card < ApplicationRecord\n   before_create :set_capitalize\n \n   scope :date_expired, -> { where('review_date < ?', Time.now) }\n+  has_attached_file :img, styles: { medium: \"300x300>\", thumb: \"50x50>\" }, default_url: \"/images/:style/missing.png\"","path":"app/models/card.rb","position":4,"original_position":4,"commit_id":"b3e70cb8c21fab1d4e65ec4261ddf3d6ceb8b3dd","original_commit_id":"b3e70cb8c21fab1d4e65ec4261ddf3d6ceb8b3dd","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.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.<br>Line is too long. [116/80]","created_at":"2017-04-13T16:24:16Z","updated_at":"2017-04-13T16:24:16Z","html_url":"https://github.com/sigmen/flashcardsapp/pull/12#discussion_r111430124","pull_request_url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/comments/111430124"},"html":{"href":"https://github.com/sigmen/flashcardsapp/pull/12#discussion_r111430124"},"pull_request":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12","id":115736003,"html_url":"https://github.com/sigmen/flashcardsapp/pull/12","diff_url":"https://github.com/sigmen/flashcardsapp/pull/12.diff","patch_url":"https://github.com/sigmen/flashcardsapp/pull/12.patch","issue_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues/12","number":12,"state":"open","locked":false,"title":"Added pictures","user":{"login":"sigmen","id":24999416,"avatar_url":"https://avatars2.githubusercontent.com/u/24999416?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmen","html_url":"https://github.com/sigmen","followers_url":"https://api.github.com/users/sigmen/followers","following_url":"https://api.github.com/users/sigmen/following{/other_user}","gists_url":"https://api.github.com/users/sigmen/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmen/subscriptions","organizations_url":"https://api.github.com/users/sigmen/orgs","repos_url":"https://api.github.com/users/sigmen/repos","events_url":"https://api.github.com/users/sigmen/events{/privacy}","received_events_url":"https://api.github.com/users/sigmen/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-04-13T11:24:08Z","updated_at":"2017-04-13T16:24:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7919be9b5adfe4bb5b074efc5ea1e9f57d2ed036","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12/commits","review_comments_url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12/comments","review_comment_url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues/12/comments","statuses_url":"https://api.github.com/repos/sigmen/flashcardsapp/statuses/b3e70cb8c21fab1d4e65ec4261ddf3d6ceb8b3dd","head":{"label":"sigmen:Picture-upload","ref":"Picture-upload","sha":"b3e70cb8c21fab1d4e65ec4261ddf3d6ceb8b3dd","user":{"login":"sigmen","id":24999416,"avatar_url":"https://avatars2.githubusercontent.com/u/24999416?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmen","html_url":"https://github.com/sigmen","followers_url":"https://api.github.com/users/sigmen/followers","following_url":"https://api.github.com/users/sigmen/following{/other_user}","gists_url":"https://api.github.com/users/sigmen/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmen/subscriptions","organizations_url":"https://api.github.com/users/sigmen/orgs","repos_url":"https://api.github.com/users/sigmen/repos","events_url":"https://api.github.com/users/sigmen/events{/privacy}","received_events_url":"https://api.github.com/users/sigmen/received_events","type":"User","site_admin":false},"repo":{"id":87396705,"name":"flashcardsapp","full_name":"sigmen/flashcardsapp","owner":{"login":"sigmen","id":24999416,"avatar_url":"https://avatars2.githubusercontent.com/u/24999416?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmen","html_url":"https://github.com/sigmen","followers_url":"https://api.github.com/users/sigmen/followers","following_url":"https://api.github.com/users/sigmen/following{/other_user}","gists_url":"https://api.github.com/users/sigmen/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmen/subscriptions","organizations_url":"https://api.github.com/users/sigmen/orgs","repos_url":"https://api.github.com/users/sigmen/repos","events_url":"https://api.github.com/users/sigmen/events{/privacy}","received_events_url":"https://api.github.com/users/sigmen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sigmen/flashcardsapp","description":null,"fork":false,"url":"https://api.github.com/repos/sigmen/flashcardsapp","forks_url":"https://api.github.com/repos/sigmen/flashcardsapp/forks","keys_url":"https://api.github.com/repos/sigmen/flashcardsapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sigmen/flashcardsapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sigmen/flashcardsapp/teams","hooks_url":"https://api.github.com/repos/sigmen/flashcardsapp/hooks","issue_events_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues/events{/number}","events_url":"https://api.github.com/repos/sigmen/flashcardsapp/events","assignees_url":"https://api.github.com/repos/sigmen/flashcardsapp/assignees{/user}","branches_url":"https://api.github.com/repos/sigmen/flashcardsapp/branches{/branch}","tags_url":"https://api.github.com/repos/sigmen/flashcardsapp/tags","blobs_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sigmen/flashcardsapp/statuses/{sha}","languages_url":"https://api.github.com/repos/sigmen/flashcardsapp/languages","stargazers_url":"https://api.github.com/repos/sigmen/flashcardsapp/stargazers","contributors_url":"https://api.github.com/repos/sigmen/flashcardsapp/contributors","subscribers_url":"https://api.github.com/repos/sigmen/flashcardsapp/subscribers","subscription_url":"https://api.github.com/repos/sigmen/flashcardsapp/subscription","commits_url":"https://api.github.com/repos/sigmen/flashcardsapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sigmen/flashcardsapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sigmen/flashcardsapp/contents/{+path}","compare_url":"https://api.github.com/repos/sigmen/flashcardsapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sigmen/flashcardsapp/merges","archive_url":"https://api.github.com/repos/sigmen/flashcardsapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sigmen/flashcardsapp/downloads","issues_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues{/number}","pulls_url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls{/number}","milestones_url":"https://api.github.com/repos/sigmen/flashcardsapp/milestones{/number}","notifications_url":"https://api.github.com/repos/sigmen/flashcardsapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sigmen/flashcardsapp/labels{/name}","releases_url":"https://api.github.com/repos/sigmen/flashcardsapp/releases{/id}","deployments_url":"https://api.github.com/repos/sigmen/flashcardsapp/deployments","created_at":"2017-04-06T06:57:48Z","updated_at":"2017-04-06T13:49:34Z","pushed_at":"2017-04-13T16:23:37Z","git_url":"git://github.com/sigmen/flashcardsapp.git","ssh_url":"git@github.com:sigmen/flashcardsapp.git","clone_url":"https://github.com/sigmen/flashcardsapp.git","svn_url":"https://github.com/sigmen/flashcardsapp","homepage":null,"size":186,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":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":"sigmen:master","ref":"master","sha":"a109f5ff67643d48c268a3920dce26b24a8bc8f5","user":{"login":"sigmen","id":24999416,"avatar_url":"https://avatars2.githubusercontent.com/u/24999416?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmen","html_url":"https://github.com/sigmen","followers_url":"https://api.github.com/users/sigmen/followers","following_url":"https://api.github.com/users/sigmen/following{/other_user}","gists_url":"https://api.github.com/users/sigmen/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmen/subscriptions","organizations_url":"https://api.github.com/users/sigmen/orgs","repos_url":"https://api.github.com/users/sigmen/repos","events_url":"https://api.github.com/users/sigmen/events{/privacy}","received_events_url":"https://api.github.com/users/sigmen/received_events","type":"User","site_admin":false},"repo":{"id":87396705,"name":"flashcardsapp","full_name":"sigmen/flashcardsapp","owner":{"login":"sigmen","id":24999416,"avatar_url":"https://avatars2.githubusercontent.com/u/24999416?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmen","html_url":"https://github.com/sigmen","followers_url":"https://api.github.com/users/sigmen/followers","following_url":"https://api.github.com/users/sigmen/following{/other_user}","gists_url":"https://api.github.com/users/sigmen/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmen/subscriptions","organizations_url":"https://api.github.com/users/sigmen/orgs","repos_url":"https://api.github.com/users/sigmen/repos","events_url":"https://api.github.com/users/sigmen/events{/privacy}","received_events_url":"https://api.github.com/users/sigmen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sigmen/flashcardsapp","description":null,"fork":false,"url":"https://api.github.com/repos/sigmen/flashcardsapp","forks_url":"https://api.github.com/repos/sigmen/flashcardsapp/forks","keys_url":"https://api.github.com/repos/sigmen/flashcardsapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sigmen/flashcardsapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sigmen/flashcardsapp/teams","hooks_url":"https://api.github.com/repos/sigmen/flashcardsapp/hooks","issue_events_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues/events{/number}","events_url":"https://api.github.com/repos/sigmen/flashcardsapp/events","assignees_url":"https://api.github.com/repos/sigmen/flashcardsapp/assignees{/user}","branches_url":"https://api.github.com/repos/sigmen/flashcardsapp/branches{/branch}","tags_url":"https://api.github.com/repos/sigmen/flashcardsapp/tags","blobs_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sigmen/flashcardsapp/statuses/{sha}","languages_url":"https://api.github.com/repos/sigmen/flashcardsapp/languages","stargazers_url":"https://api.github.com/repos/sigmen/flashcardsapp/stargazers","contributors_url":"https://api.github.com/repos/sigmen/flashcardsapp/contributors","subscribers_url":"https://api.github.com/repos/sigmen/flashcardsapp/subscribers","subscription_url":"https://api.github.com/repos/sigmen/flashcardsapp/subscription","commits_url":"https://api.github.com/repos/sigmen/flashcardsapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/sigmen/flashcardsapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/sigmen/flashcardsapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/sigmen/flashcardsapp/contents/{+path}","compare_url":"https://api.github.com/repos/sigmen/flashcardsapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sigmen/flashcardsapp/merges","archive_url":"https://api.github.com/repos/sigmen/flashcardsapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sigmen/flashcardsapp/downloads","issues_url":"https://api.github.com/repos/sigmen/flashcardsapp/issues{/number}","pulls_url":"https://api.github.com/repos/sigmen/flashcardsapp/pulls{/number}","milestones_url":"https://api.github.com/repos/sigmen/flashcardsapp/milestones{/number}","notifications_url":"https://api.github.com/repos/sigmen/flashcardsapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sigmen/flashcardsapp/labels{/name}","releases_url":"https://api.github.com/repos/sigmen/flashcardsapp/releases{/id}","deployments_url":"https://api.github.com/repos/sigmen/flashcardsapp/deployments","created_at":"2017-04-06T06:57:48Z","updated_at":"2017-04-06T13:49:34Z","pushed_at":"2017-04-13T16:23:37Z","git_url":"git://github.com/sigmen/flashcardsapp.git","ssh_url":"git@github.com:sigmen/flashcardsapp.git","clone_url":"https://github.com/sigmen/flashcardsapp.git","svn_url":"https://github.com/sigmen/flashcardsapp","homepage":null,"size":186,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":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/sigmen/flashcardsapp/pulls/12"},"html":{"href":"https://github.com/sigmen/flashcardsapp/pull/12"},"issue":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/issues/12"},"comments":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/sigmen/flashcardsapp/statuses/b3e70cb8c21fab1d4e65ec4261ddf3d6ceb8b3dd"}}}}
{"actor":{"display_login":"houndci-bot"}}