GitHub PullRequestReviewCommentEvent at 2014-12-16 15:50:31
Repository: Field-Journal
Actor: houndci
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/comments/21907386","id":21907386,"diff_hunk":"@@ -27,4 +37,27 @@\n     expect(entry_in).to be_in_coordinate_area(area)\n     expect(entry_out).not_to be_in_coordinate_area(area)\n   end\n+\n+  it \"returns entries with coordinates in response to 'located' method\" do\n+    located_entry_one = FactoryGirl.create(:entry)\n+    located_entry_two = FactoryGirl.create(:entry)\n+    entry_no_lat = FactoryGirl.create(:entry, latitude: nil) \n+    entry_no_long = FactoryGirl.create(:entry, longitude: nil)\n+    expect(Entry.located).to include(located_entry_one)\n+    expect(Entry.located).to include(located_entry_two)\n+    expect(Entry.located).not_to include(entry_no_lat)\n+    expect(Entry.located).not_to include(entry_no_long)  \n+  end\n+\n+  it \"returns nearby entries in response to the 'neighbors' method\" do\n+    close_entry_one = FactoryGirl.create(:entry, latitude: 1.09, longitude: 0.99, publicness: 2)\n+    close_entry_two = FactoryGirl.create(:entry, latitude: 0.9, longitude: 0.9, publicness: 2)\n+    far_entry_one = FactoryGirl.create(:entry, latitude: 20.0, longitude: -30, publicness: 2)  \n+    far_entry_two = FactoryGirl.create(:entry, latitude: 1.12, longitude: -1.1, publicness: 2)\n+    entry = FactoryGirl.create(:entry, latitude: 1.0, longitude: 1.0, publicness: 2)","path":"spec/models/entry_spec.rb","position":60,"original_position":60,"commit_id":"594664d89c633886558ceb6446449b2a9386184f","original_commit_id":"594664d89c633886558ceb6446449b2a9386184f","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. [84/80]","created_at":"2014-12-16T15:50:31Z","updated_at":"2014-12-16T15:50:31Z","html_url":"https://github.com/JohnBuonomo/Field-Journal/pull/21#discussion_r21907386","pull_request_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/comments/21907386"},"html":{"href":"https://github.com/JohnBuonomo/Field-Journal/pull/21#discussion_r21907386"},"pull_request":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21","id":26155778,"html_url":"https://github.com/JohnBuonomo/Field-Journal/pull/21","diff_url":"https://github.com/JohnBuonomo/Field-Journal/pull/21.diff","patch_url":"https://github.com/JohnBuonomo/Field-Journal/pull/21.patch","issue_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/21","number":21,"state":"open","locked":false,"title":"Entry tests","user":{"login":"JohnBuonomo","id":8364590,"avatar_url":"https://avatars.githubusercontent.com/u/8364590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnBuonomo","html_url":"https://github.com/JohnBuonomo","followers_url":"https://api.github.com/users/JohnBuonomo/followers","following_url":"https://api.github.com/users/JohnBuonomo/following{/other_user}","gists_url":"https://api.github.com/users/JohnBuonomo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnBuonomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnBuonomo/subscriptions","organizations_url":"https://api.github.com/users/JohnBuonomo/orgs","repos_url":"https://api.github.com/users/JohnBuonomo/repos","events_url":"https://api.github.com/users/JohnBuonomo/events{/privacy}","received_events_url":"https://api.github.com/users/JohnBuonomo/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-16T15:50:25Z","updated_at":"2014-12-16T15:50:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b881199f00c471b943d8b99b5ea31d626d286714","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21/commits","review_comments_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21/comments","review_comment_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/comments/{number}","comments_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/21/comments","statuses_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/statuses/594664d89c633886558ceb6446449b2a9386184f","head":{"label":"JohnBuonomo:entry-tests","ref":"entry-tests","sha":"594664d89c633886558ceb6446449b2a9386184f","user":{"login":"JohnBuonomo","id":8364590,"avatar_url":"https://avatars.githubusercontent.com/u/8364590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnBuonomo","html_url":"https://github.com/JohnBuonomo","followers_url":"https://api.github.com/users/JohnBuonomo/followers","following_url":"https://api.github.com/users/JohnBuonomo/following{/other_user}","gists_url":"https://api.github.com/users/JohnBuonomo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnBuonomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnBuonomo/subscriptions","organizations_url":"https://api.github.com/users/JohnBuonomo/orgs","repos_url":"https://api.github.com/users/JohnBuonomo/repos","events_url":"https://api.github.com/users/JohnBuonomo/events{/privacy}","received_events_url":"https://api.github.com/users/JohnBuonomo/received_events","type":"User","site_admin":false},"repo":{"id":27388263,"name":"Field-Journal","full_name":"JohnBuonomo/Field-Journal","owner":{"login":"JohnBuonomo","id":8364590,"avatar_url":"https://avatars.githubusercontent.com/u/8364590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnBuonomo","html_url":"https://github.com/JohnBuonomo","followers_url":"https://api.github.com/users/JohnBuonomo/followers","following_url":"https://api.github.com/users/JohnBuonomo/following{/other_user}","gists_url":"https://api.github.com/users/JohnBuonomo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnBuonomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnBuonomo/subscriptions","organizations_url":"https://api.github.com/users/JohnBuonomo/orgs","repos_url":"https://api.github.com/users/JohnBuonomo/repos","events_url":"https://api.github.com/users/JohnBuonomo/events{/privacy}","received_events_url":"https://api.github.com/users/JohnBuonomo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohnBuonomo/Field-Journal","description":"","fork":false,"url":"https://api.github.com/repos/JohnBuonomo/Field-Journal","forks_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/forks","keys_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/teams","hooks_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/hooks","issue_events_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/events{/number}","events_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/events","assignees_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/assignees{/user}","branches_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/branches{/branch}","tags_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/tags","blobs_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/statuses/{sha}","languages_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/languages","stargazers_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/stargazers","contributors_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/contributors","subscribers_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/subscribers","subscription_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/subscription","commits_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/comments/{number}","contents_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/contents/{+path}","compare_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/merges","archive_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/downloads","issues_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues{/number}","pulls_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls{/number}","milestones_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/milestones{/number}","notifications_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/labels{/name}","releases_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/releases{/id}","created_at":"2014-12-01T16:29:47Z","updated_at":"2014-12-15T21:49:54Z","pushed_at":"2014-12-16T15:49:15Z","git_url":"git://github.com/JohnBuonomo/Field-Journal.git","ssh_url":"git@github.com:JohnBuonomo/Field-Journal.git","clone_url":"https://github.com/JohnBuonomo/Field-Journal.git","svn_url":"https://github.com/JohnBuonomo/Field-Journal","homepage":null,"size":3148,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"JohnBuonomo:master","ref":"master","sha":"edc5ed3e1428667d530fdf79b5ca723ff005615a","user":{"login":"JohnBuonomo","id":8364590,"avatar_url":"https://avatars.githubusercontent.com/u/8364590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnBuonomo","html_url":"https://github.com/JohnBuonomo","followers_url":"https://api.github.com/users/JohnBuonomo/followers","following_url":"https://api.github.com/users/JohnBuonomo/following{/other_user}","gists_url":"https://api.github.com/users/JohnBuonomo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnBuonomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnBuonomo/subscriptions","organizations_url":"https://api.github.com/users/JohnBuonomo/orgs","repos_url":"https://api.github.com/users/JohnBuonomo/repos","events_url":"https://api.github.com/users/JohnBuonomo/events{/privacy}","received_events_url":"https://api.github.com/users/JohnBuonomo/received_events","type":"User","site_admin":false},"repo":{"id":27388263,"name":"Field-Journal","full_name":"JohnBuonomo/Field-Journal","owner":{"login":"JohnBuonomo","id":8364590,"avatar_url":"https://avatars.githubusercontent.com/u/8364590?v=3","gravatar_id":"","url":"https://api.github.com/users/JohnBuonomo","html_url":"https://github.com/JohnBuonomo","followers_url":"https://api.github.com/users/JohnBuonomo/followers","following_url":"https://api.github.com/users/JohnBuonomo/following{/other_user}","gists_url":"https://api.github.com/users/JohnBuonomo/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnBuonomo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnBuonomo/subscriptions","organizations_url":"https://api.github.com/users/JohnBuonomo/orgs","repos_url":"https://api.github.com/users/JohnBuonomo/repos","events_url":"https://api.github.com/users/JohnBuonomo/events{/privacy}","received_events_url":"https://api.github.com/users/JohnBuonomo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/JohnBuonomo/Field-Journal","description":"","fork":false,"url":"https://api.github.com/repos/JohnBuonomo/Field-Journal","forks_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/forks","keys_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/teams","hooks_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/hooks","issue_events_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/events{/number}","events_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/events","assignees_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/assignees{/user}","branches_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/branches{/branch}","tags_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/tags","blobs_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/refs{/sha}","trees_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/statuses/{sha}","languages_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/languages","stargazers_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/stargazers","contributors_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/contributors","subscribers_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/subscribers","subscription_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/subscription","commits_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/commits{/sha}","git_commits_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/git/commits{/sha}","comments_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/comments{/number}","issue_comment_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/comments/{number}","contents_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/contents/{+path}","compare_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/merges","archive_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/downloads","issues_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues{/number}","pulls_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls{/number}","milestones_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/milestones{/number}","notifications_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/labels{/name}","releases_url":"https://api.github.com/repos/JohnBuonomo/Field-Journal/releases{/id}","created_at":"2014-12-01T16:29:47Z","updated_at":"2014-12-15T21:49:54Z","pushed_at":"2014-12-16T15:49:15Z","git_url":"git://github.com/JohnBuonomo/Field-Journal.git","ssh_url":"git@github.com:JohnBuonomo/Field-Journal.git","clone_url":"https://github.com/JohnBuonomo/Field-Journal.git","svn_url":"https://github.com/JohnBuonomo/Field-Journal","homepage":null,"size":3148,"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":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21"},"html":{"href":"https://github.com/JohnBuonomo/Field-Journal/pull/21"},"issue":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/21"},"comments":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/JohnBuonomo/Field-Journal/statuses/594664d89c633886558ceb6446449b2a9386184f"}}}}