{"action":"created","comment":{"url":"https://api.github.com/repos/tomtl/sightseer/pulls/comments/36218176","id":36218176,"diff_hunk":"@@ -17,3 +27,33 @@\n   config.order = \"random\"\n   config.infer_spec_type_from_file_location!\n end\n+\n+Geocoder.configure(:lookup => :test)\n+\n+Geocoder::Lookup::Test.add_stub(\n+  \"Statue of Liberty, NY, USA\", [\n+    {\n+      'latitude'     => 40.6892494,\n+      'longitude'    => -74.0445003,\n+      'address'      => \"Statue of Liberty National Monument, New York, NY, USA\",\n+      'state'        => 'New York',\n+      'state_code'   => 'NY',","path":"spec/spec_helper.rb","position":38,"original_position":38,"commit_id":"f1ddb7b8adf3f652b69330c815380de2a253ea17","original_commit_id":"f1ddb7b8adf3f652b69330c815380de2a253ea17","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":"Unnecessary spacing detected.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-08-04T17:44:08Z","updated_at":"2015-08-04T17:44:08Z","html_url":"https://github.com/tomtl/sightseer/pull/20#discussion_r36218176","pull_request_url":"https://api.github.com/repos/tomtl/sightseer/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/tomtl/sightseer/pulls/comments/36218176"},"html":{"href":"https://github.com/tomtl/sightseer/pull/20#discussion_r36218176"},"pull_request":{"href":"https://api.github.com/repos/tomtl/sightseer/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/tomtl/sightseer/pulls/20","id":41596813,"html_url":"https://github.com/tomtl/sightseer/pull/20","diff_url":"https://github.com/tomtl/sightseer/pull/20.diff","patch_url":"https://github.com/tomtl/sightseer/pull/20.patch","issue_url":"https://api.github.com/repos/tomtl/sightseer/issues/20","number":20,"state":"open","locked":false,"title":"Add geocoder","user":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"body":"Add search by location functionality with geocoder gem. Includes adding latitude and longitude columns to the sights table, and views and actions for the search.","created_at":"2015-08-04T17:43:58Z","updated_at":"2015-08-04T17:44:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7af024e184b999c06fe61129ab83f9546436be82","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tomtl/sightseer/pulls/20/commits","review_comments_url":"https://api.github.com/repos/tomtl/sightseer/pulls/20/comments","review_comment_url":"https://api.github.com/repos/tomtl/sightseer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tomtl/sightseer/issues/20/comments","statuses_url":"https://api.github.com/repos/tomtl/sightseer/statuses/f1ddb7b8adf3f652b69330c815380de2a253ea17","head":{"label":"tomtl:add-geocoder","ref":"add-geocoder","sha":"f1ddb7b8adf3f652b69330c815380de2a253ea17","user":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"repo":{"id":39384748,"name":"sightseer","full_name":"tomtl/sightseer","owner":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomtl/sightseer","description":"","fork":false,"url":"https://api.github.com/repos/tomtl/sightseer","forks_url":"https://api.github.com/repos/tomtl/sightseer/forks","keys_url":"https://api.github.com/repos/tomtl/sightseer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomtl/sightseer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomtl/sightseer/teams","hooks_url":"https://api.github.com/repos/tomtl/sightseer/hooks","issue_events_url":"https://api.github.com/repos/tomtl/sightseer/issues/events{/number}","events_url":"https://api.github.com/repos/tomtl/sightseer/events","assignees_url":"https://api.github.com/repos/tomtl/sightseer/assignees{/user}","branches_url":"https://api.github.com/repos/tomtl/sightseer/branches{/branch}","tags_url":"https://api.github.com/repos/tomtl/sightseer/tags","blobs_url":"https://api.github.com/repos/tomtl/sightseer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomtl/sightseer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomtl/sightseer/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomtl/sightseer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomtl/sightseer/statuses/{sha}","languages_url":"https://api.github.com/repos/tomtl/sightseer/languages","stargazers_url":"https://api.github.com/repos/tomtl/sightseer/stargazers","contributors_url":"https://api.github.com/repos/tomtl/sightseer/contributors","subscribers_url":"https://api.github.com/repos/tomtl/sightseer/subscribers","subscription_url":"https://api.github.com/repos/tomtl/sightseer/subscription","commits_url":"https://api.github.com/repos/tomtl/sightseer/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomtl/sightseer/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomtl/sightseer/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomtl/sightseer/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomtl/sightseer/contents/{+path}","compare_url":"https://api.github.com/repos/tomtl/sightseer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomtl/sightseer/merges","archive_url":"https://api.github.com/repos/tomtl/sightseer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomtl/sightseer/downloads","issues_url":"https://api.github.com/repos/tomtl/sightseer/issues{/number}","pulls_url":"https://api.github.com/repos/tomtl/sightseer/pulls{/number}","milestones_url":"https://api.github.com/repos/tomtl/sightseer/milestones{/number}","notifications_url":"https://api.github.com/repos/tomtl/sightseer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomtl/sightseer/labels{/name}","releases_url":"https://api.github.com/repos/tomtl/sightseer/releases{/id}","created_at":"2015-07-20T13:15:57Z","updated_at":"2015-07-20T14:30:48Z","pushed_at":"2015-08-04T17:43:58Z","git_url":"git://github.com/tomtl/sightseer.git","ssh_url":"git@github.com:tomtl/sightseer.git","clone_url":"https://github.com/tomtl/sightseer.git","svn_url":"https://github.com/tomtl/sightseer","homepage":null,"size":1944,"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":"tomtl:master","ref":"master","sha":"affa986c640e7ade8f1983d584e534660c47071d","user":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"repo":{"id":39384748,"name":"sightseer","full_name":"tomtl/sightseer","owner":{"login":"tomtl","id":10532231,"avatar_url":"https://avatars.githubusercontent.com/u/10532231?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtl","html_url":"https://github.com/tomtl","followers_url":"https://api.github.com/users/tomtl/followers","following_url":"https://api.github.com/users/tomtl/following{/other_user}","gists_url":"https://api.github.com/users/tomtl/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtl/subscriptions","organizations_url":"https://api.github.com/users/tomtl/orgs","repos_url":"https://api.github.com/users/tomtl/repos","events_url":"https://api.github.com/users/tomtl/events{/privacy}","received_events_url":"https://api.github.com/users/tomtl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomtl/sightseer","description":"","fork":false,"url":"https://api.github.com/repos/tomtl/sightseer","forks_url":"https://api.github.com/repos/tomtl/sightseer/forks","keys_url":"https://api.github.com/repos/tomtl/sightseer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomtl/sightseer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomtl/sightseer/teams","hooks_url":"https://api.github.com/repos/tomtl/sightseer/hooks","issue_events_url":"https://api.github.com/repos/tomtl/sightseer/issues/events{/number}","events_url":"https://api.github.com/repos/tomtl/sightseer/events","assignees_url":"https://api.github.com/repos/tomtl/sightseer/assignees{/user}","branches_url":"https://api.github.com/repos/tomtl/sightseer/branches{/branch}","tags_url":"https://api.github.com/repos/tomtl/sightseer/tags","blobs_url":"https://api.github.com/repos/tomtl/sightseer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomtl/sightseer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomtl/sightseer/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomtl/sightseer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomtl/sightseer/statuses/{sha}","languages_url":"https://api.github.com/repos/tomtl/sightseer/languages","stargazers_url":"https://api.github.com/repos/tomtl/sightseer/stargazers","contributors_url":"https://api.github.com/repos/tomtl/sightseer/contributors","subscribers_url":"https://api.github.com/repos/tomtl/sightseer/subscribers","subscription_url":"https://api.github.com/repos/tomtl/sightseer/subscription","commits_url":"https://api.github.com/repos/tomtl/sightseer/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomtl/sightseer/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomtl/sightseer/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomtl/sightseer/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomtl/sightseer/contents/{+path}","compare_url":"https://api.github.com/repos/tomtl/sightseer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomtl/sightseer/merges","archive_url":"https://api.github.com/repos/tomtl/sightseer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomtl/sightseer/downloads","issues_url":"https://api.github.com/repos/tomtl/sightseer/issues{/number}","pulls_url":"https://api.github.com/repos/tomtl/sightseer/pulls{/number}","milestones_url":"https://api.github.com/repos/tomtl/sightseer/milestones{/number}","notifications_url":"https://api.github.com/repos/tomtl/sightseer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomtl/sightseer/labels{/name}","releases_url":"https://api.github.com/repos/tomtl/sightseer/releases{/id}","created_at":"2015-07-20T13:15:57Z","updated_at":"2015-07-20T14:30:48Z","pushed_at":"2015-08-04T17:43:58Z","git_url":"git://github.com/tomtl/sightseer.git","ssh_url":"git@github.com:tomtl/sightseer.git","clone_url":"https://github.com/tomtl/sightseer.git","svn_url":"https://github.com/tomtl/sightseer","homepage":null,"size":1944,"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/tomtl/sightseer/pulls/20"},"html":{"href":"https://github.com/tomtl/sightseer/pull/20"},"issue":{"href":"https://api.github.com/repos/tomtl/sightseer/issues/20"},"comments":{"href":"https://api.github.com/repos/tomtl/sightseer/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/tomtl/sightseer/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/tomtl/sightseer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tomtl/sightseer/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/tomtl/sightseer/statuses/f1ddb7b8adf3f652b69330c815380de2a253ea17"}}}}