{"action":"created","comment":{"url":"https://api.github.com/repos/petercunning/memapp/pulls/comments/49065961","id":49065961,"diff_hunk":"@@ -19,7 +19,9 @@ class Boat < ActiveRecord::Base\n \n   scope :oppi ,  -> { where( ['boat_class LIKE ? ','Opti%'] ) }\n \n-  scope :other, ->  { where( ['boat_class NOT IN ( ?,?,?,?,?)', 'Optimist','Topaz Uno Plus', 'Laser','Kona','Kona One' ] ) }\n+  scope :canoe ,  -> { where( ['boat_class LIKE ? ','Canoe%'] ) }\n+\n+  scope :other, ->  { where( ['boat_class NOT IN ( ?,?,?,?,?,?)', 'Optimist','Topaz Uno Plus', 'Laser','Kona','Kona One' ,\"Canoe\"] ) }","path":"app/models/boat.rb","position":7,"original_position":7,"commit_id":"3d3e0771f83b19a27d6e02322661d459027b712d","original_commit_id":"3d3e0771f83b19a27d6e02322661d459027b712d","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":"Line is too long. [134/80]<br>Unnecessary spacing detected.<br>Space missing after comma.<br>Space found before comma.<br>Space inside parentheses detected.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-01-07T11:52:54Z","updated_at":"2016-01-07T11:52:54Z","html_url":"https://github.com/petercunning/memapp/pull/76#discussion_r49065961","pull_request_url":"https://api.github.com/repos/petercunning/memapp/pulls/76","_links":{"self":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/comments/49065961"},"html":{"href":"https://github.com/petercunning/memapp/pull/76#discussion_r49065961"},"pull_request":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/76"}}},"pull_request":{"url":"https://api.github.com/repos/petercunning/memapp/pulls/76","id":55329610,"html_url":"https://github.com/petercunning/memapp/pull/76","diff_url":"https://github.com/petercunning/memapp/pull/76.diff","patch_url":"https://github.com/petercunning/memapp/pull/76.patch","issue_url":"https://api.github.com/repos/petercunning/memapp/issues/76","number":76,"state":"open","locked":false,"title":"Canoe update","user":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-01-07T11:52:48Z","updated_at":"2016-01-07T11:52:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aa7e144da6b0c684bbc00b70d0cd3dabf5942808","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/petercunning/memapp/pulls/76/commits","review_comments_url":"https://api.github.com/repos/petercunning/memapp/pulls/76/comments","review_comment_url":"https://api.github.com/repos/petercunning/memapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/petercunning/memapp/issues/76/comments","statuses_url":"https://api.github.com/repos/petercunning/memapp/statuses/3d3e0771f83b19a27d6e02322661d459027b712d","head":{"label":"petercunning:canoe","ref":"canoe","sha":"3d3e0771f83b19a27d6e02322661d459027b712d","user":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"repo":{"id":17981523,"name":"memapp","full_name":"petercunning/memapp","owner":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petercunning/memapp","description":null,"fork":false,"url":"https://api.github.com/repos/petercunning/memapp","forks_url":"https://api.github.com/repos/petercunning/memapp/forks","keys_url":"https://api.github.com/repos/petercunning/memapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petercunning/memapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petercunning/memapp/teams","hooks_url":"https://api.github.com/repos/petercunning/memapp/hooks","issue_events_url":"https://api.github.com/repos/petercunning/memapp/issues/events{/number}","events_url":"https://api.github.com/repos/petercunning/memapp/events","assignees_url":"https://api.github.com/repos/petercunning/memapp/assignees{/user}","branches_url":"https://api.github.com/repos/petercunning/memapp/branches{/branch}","tags_url":"https://api.github.com/repos/petercunning/memapp/tags","blobs_url":"https://api.github.com/repos/petercunning/memapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petercunning/memapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petercunning/memapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/petercunning/memapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petercunning/memapp/statuses/{sha}","languages_url":"https://api.github.com/repos/petercunning/memapp/languages","stargazers_url":"https://api.github.com/repos/petercunning/memapp/stargazers","contributors_url":"https://api.github.com/repos/petercunning/memapp/contributors","subscribers_url":"https://api.github.com/repos/petercunning/memapp/subscribers","subscription_url":"https://api.github.com/repos/petercunning/memapp/subscription","commits_url":"https://api.github.com/repos/petercunning/memapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/petercunning/memapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/petercunning/memapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/petercunning/memapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/petercunning/memapp/contents/{+path}","compare_url":"https://api.github.com/repos/petercunning/memapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petercunning/memapp/merges","archive_url":"https://api.github.com/repos/petercunning/memapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petercunning/memapp/downloads","issues_url":"https://api.github.com/repos/petercunning/memapp/issues{/number}","pulls_url":"https://api.github.com/repos/petercunning/memapp/pulls{/number}","milestones_url":"https://api.github.com/repos/petercunning/memapp/milestones{/number}","notifications_url":"https://api.github.com/repos/petercunning/memapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petercunning/memapp/labels{/name}","releases_url":"https://api.github.com/repos/petercunning/memapp/releases{/id}","created_at":"2014-03-21T14:08:10Z","updated_at":"2015-04-24T13:53:40Z","pushed_at":"2016-01-07T11:52:49Z","git_url":"git://github.com/petercunning/memapp.git","ssh_url":"git@github.com:petercunning/memapp.git","clone_url":"https://github.com/petercunning/memapp.git","svn_url":"https://github.com/petercunning/memapp","homepage":null,"size":1679,"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":"petercunning:master","ref":"master","sha":"5ddc354ba5a7f1d7d31d2b987cd5fc6eb138db8f","user":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"repo":{"id":17981523,"name":"memapp","full_name":"petercunning/memapp","owner":{"login":"petercunning","id":6607481,"avatar_url":"https://avatars.githubusercontent.com/u/6607481?v=3","gravatar_id":"","url":"https://api.github.com/users/petercunning","html_url":"https://github.com/petercunning","followers_url":"https://api.github.com/users/petercunning/followers","following_url":"https://api.github.com/users/petercunning/following{/other_user}","gists_url":"https://api.github.com/users/petercunning/gists{/gist_id}","starred_url":"https://api.github.com/users/petercunning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petercunning/subscriptions","organizations_url":"https://api.github.com/users/petercunning/orgs","repos_url":"https://api.github.com/users/petercunning/repos","events_url":"https://api.github.com/users/petercunning/events{/privacy}","received_events_url":"https://api.github.com/users/petercunning/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petercunning/memapp","description":null,"fork":false,"url":"https://api.github.com/repos/petercunning/memapp","forks_url":"https://api.github.com/repos/petercunning/memapp/forks","keys_url":"https://api.github.com/repos/petercunning/memapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petercunning/memapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petercunning/memapp/teams","hooks_url":"https://api.github.com/repos/petercunning/memapp/hooks","issue_events_url":"https://api.github.com/repos/petercunning/memapp/issues/events{/number}","events_url":"https://api.github.com/repos/petercunning/memapp/events","assignees_url":"https://api.github.com/repos/petercunning/memapp/assignees{/user}","branches_url":"https://api.github.com/repos/petercunning/memapp/branches{/branch}","tags_url":"https://api.github.com/repos/petercunning/memapp/tags","blobs_url":"https://api.github.com/repos/petercunning/memapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petercunning/memapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petercunning/memapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/petercunning/memapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petercunning/memapp/statuses/{sha}","languages_url":"https://api.github.com/repos/petercunning/memapp/languages","stargazers_url":"https://api.github.com/repos/petercunning/memapp/stargazers","contributors_url":"https://api.github.com/repos/petercunning/memapp/contributors","subscribers_url":"https://api.github.com/repos/petercunning/memapp/subscribers","subscription_url":"https://api.github.com/repos/petercunning/memapp/subscription","commits_url":"https://api.github.com/repos/petercunning/memapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/petercunning/memapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/petercunning/memapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/petercunning/memapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/petercunning/memapp/contents/{+path}","compare_url":"https://api.github.com/repos/petercunning/memapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petercunning/memapp/merges","archive_url":"https://api.github.com/repos/petercunning/memapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petercunning/memapp/downloads","issues_url":"https://api.github.com/repos/petercunning/memapp/issues{/number}","pulls_url":"https://api.github.com/repos/petercunning/memapp/pulls{/number}","milestones_url":"https://api.github.com/repos/petercunning/memapp/milestones{/number}","notifications_url":"https://api.github.com/repos/petercunning/memapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petercunning/memapp/labels{/name}","releases_url":"https://api.github.com/repos/petercunning/memapp/releases{/id}","created_at":"2014-03-21T14:08:10Z","updated_at":"2015-04-24T13:53:40Z","pushed_at":"2016-01-07T11:52:49Z","git_url":"git://github.com/petercunning/memapp.git","ssh_url":"git@github.com:petercunning/memapp.git","clone_url":"https://github.com/petercunning/memapp.git","svn_url":"https://github.com/petercunning/memapp","homepage":null,"size":1679,"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/petercunning/memapp/pulls/76"},"html":{"href":"https://github.com/petercunning/memapp/pull/76"},"issue":{"href":"https://api.github.com/repos/petercunning/memapp/issues/76"},"comments":{"href":"https://api.github.com/repos/petercunning/memapp/issues/76/comments"},"review_comments":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/76/comments"},"review_comment":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/petercunning/memapp/pulls/76/commits"},"statuses":{"href":"https://api.github.com/repos/petercunning/memapp/statuses/3d3e0771f83b19a27d6e02322661d459027b712d"}}}}