{"action":"created","comment":{"url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/comments/77948755","id":77948755,"diff_hunk":"@@ -2,61 +2,9 @@ module Eaternet\n   module Agencies\n     # @private\n     class SnhdConfig\n-      DOWNLOAD_URL = 'http://southernnevadahealthdistrict.org/restaurants/download/restaurants.zip'\n-      COLUMN_SEPARATOR = ';'\n-      QUOTE_CHARACTER = '|'  # TODO: Verify this with SNHD.\n-\n-      # The SNHD CSV does not have a true header row. And so, this data\n-      # structure provides the column names.\n-      CSV_SCHEMA = {\n-        'restaurant_inspections.csv' => %w(\n-          serial_number\n-          permit_number\n-          inspection_date\n-          inspection_time\n-          employee_id\n-          inspection_type_id\n-          inspection_demerits\n-          inspection_grade\n-          permit_status\n-          inspection_result\n-          violations\n-          record_updated\n-        ),\n-        'restaurant_establishments.csv' => %w(\n-          permit_number\n-          facility_id\n-          PE\n-          restaurant_name\n-          location_name\n-          address\n-          latitude\n-          longitude\n-          city_id\n-          city_name\n-          zip_code\n-          nciaa\n-          plan_review\n-          record_status\n-          current_grade\n-          current_demerits\n-          date_current\n-          previous_grade\n-          date_previous\n-        ),\n-        'restaurant_inspection_violations.csv' => %w(\n-          inspection_violation_id\n-          inspection_id\n-          inspection_violation\n-        ),\n-        'restaurant_violations.csv' => %w(\n-          violation_id\n-          violation_code\n-          violation_sort\n-          violation_demerits\n-          violation_description\n-        )\n-      }\n+      DOWNLOAD_URL = 'http://southernnevadahealthdistrict.org/restaurants/download/restaurants.zip'.freeze\n+      COLUMN_SEPARATOR = ';'.freeze","path":"lib/eaternet/agencies/snhd_config.rb","position":60,"original_position":60,"commit_id":"37f76aa071fd678607b976f124c84c6bb1cf90e7","original_commit_id":"37f76aa071fd678607b976f124c84c6bb1cf90e7","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.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 double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2016-09-08T05:43:05Z","updated_at":"2016-09-08T05:43:05Z","html_url":"https://github.com/eaternet/adapters-ruby/pull/51#discussion_r77948755","pull_request_url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/comments/77948755"},"html":{"href":"https://github.com/eaternet/adapters-ruby/pull/51#discussion_r77948755"},"pull_request":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51","id":84417745,"html_url":"https://github.com/eaternet/adapters-ruby/pull/51","diff_url":"https://github.com/eaternet/adapters-ruby/pull/51.diff","patch_url":"https://github.com/eaternet/adapters-ruby/pull/51.patch","issue_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues/51","number":51,"state":"open","locked":false,"title":"New Las Vegas format","user":{"login":"dogweather","id":150670,"avatar_url":"https://avatars.githubusercontent.com/u/150670?v=3","gravatar_id":"","url":"https://api.github.com/users/dogweather","html_url":"https://github.com/dogweather","followers_url":"https://api.github.com/users/dogweather/followers","following_url":"https://api.github.com/users/dogweather/following{/other_user}","gists_url":"https://api.github.com/users/dogweather/gists{/gist_id}","starred_url":"https://api.github.com/users/dogweather/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dogweather/subscriptions","organizations_url":"https://api.github.com/users/dogweather/orgs","repos_url":"https://api.github.com/users/dogweather/repos","events_url":"https://api.github.com/users/dogweather/events{/privacy}","received_events_url":"https://api.github.com/users/dogweather/received_events","type":"User","site_admin":false},"body":"SNHD added headings to its CSV files.","created_at":"2016-09-08T05:42:54Z","updated_at":"2016-09-08T05:43:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27781a9ce5b5da8ca7667cde195e5d23704fee6d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51/commits","review_comments_url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51/comments","review_comment_url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues/51/comments","statuses_url":"https://api.github.com/repos/eaternet/adapters-ruby/statuses/37f76aa071fd678607b976f124c84c6bb1cf90e7","head":{"label":"eaternet:bugfixes","ref":"bugfixes","sha":"37f76aa071fd678607b976f124c84c6bb1cf90e7","user":{"login":"eaternet","id":10624333,"avatar_url":"https://avatars.githubusercontent.com/u/10624333?v=3","gravatar_id":"","url":"https://api.github.com/users/eaternet","html_url":"https://github.com/eaternet","followers_url":"https://api.github.com/users/eaternet/followers","following_url":"https://api.github.com/users/eaternet/following{/other_user}","gists_url":"https://api.github.com/users/eaternet/gists{/gist_id}","starred_url":"https://api.github.com/users/eaternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaternet/subscriptions","organizations_url":"https://api.github.com/users/eaternet/orgs","repos_url":"https://api.github.com/users/eaternet/repos","events_url":"https://api.github.com/users/eaternet/events{/privacy}","received_events_url":"https://api.github.com/users/eaternet/received_events","type":"Organization","site_admin":false},"repo":{"id":29956960,"name":"adapters-ruby","full_name":"eaternet/adapters-ruby","owner":{"login":"eaternet","id":10624333,"avatar_url":"https://avatars.githubusercontent.com/u/10624333?v=3","gravatar_id":"","url":"https://api.github.com/users/eaternet","html_url":"https://github.com/eaternet","followers_url":"https://api.github.com/users/eaternet/followers","following_url":"https://api.github.com/users/eaternet/following{/other_user}","gists_url":"https://api.github.com/users/eaternet/gists{/gist_id}","starred_url":"https://api.github.com/users/eaternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaternet/subscriptions","organizations_url":"https://api.github.com/users/eaternet/orgs","repos_url":"https://api.github.com/users/eaternet/repos","events_url":"https://api.github.com/users/eaternet/events{/privacy}","received_events_url":"https://api.github.com/users/eaternet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eaternet/adapters-ruby","description":"Ruby plugins for local restaurant health inspections","fork":false,"url":"https://api.github.com/repos/eaternet/adapters-ruby","forks_url":"https://api.github.com/repos/eaternet/adapters-ruby/forks","keys_url":"https://api.github.com/repos/eaternet/adapters-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eaternet/adapters-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eaternet/adapters-ruby/teams","hooks_url":"https://api.github.com/repos/eaternet/adapters-ruby/hooks","issue_events_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/eaternet/adapters-ruby/events","assignees_url":"https://api.github.com/repos/eaternet/adapters-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/eaternet/adapters-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/eaternet/adapters-ruby/tags","blobs_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eaternet/adapters-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/eaternet/adapters-ruby/languages","stargazers_url":"https://api.github.com/repos/eaternet/adapters-ruby/stargazers","contributors_url":"https://api.github.com/repos/eaternet/adapters-ruby/contributors","subscribers_url":"https://api.github.com/repos/eaternet/adapters-ruby/subscribers","subscription_url":"https://api.github.com/repos/eaternet/adapters-ruby/subscription","commits_url":"https://api.github.com/repos/eaternet/adapters-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/eaternet/adapters-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/eaternet/adapters-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/eaternet/adapters-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eaternet/adapters-ruby/merges","archive_url":"https://api.github.com/repos/eaternet/adapters-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eaternet/adapters-ruby/downloads","issues_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/eaternet/adapters-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/eaternet/adapters-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eaternet/adapters-ruby/labels{/name}","releases_url":"https://api.github.com/repos/eaternet/adapters-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/eaternet/adapters-ruby/deployments","created_at":"2015-01-28T08:02:48Z","updated_at":"2016-04-24T06:20:30Z","pushed_at":"2016-09-08T05:42:54Z","git_url":"git://github.com/eaternet/adapters-ruby.git","ssh_url":"git@github.com:eaternet/adapters-ruby.git","clone_url":"https://github.com/eaternet/adapters-ruby.git","svn_url":"https://github.com/eaternet/adapters-ruby","homepage":"https://eaternet.io","size":7598,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"base":{"label":"eaternet:master","ref":"master","sha":"2869fbd5af2953c59db4f658e57aef005d27bdd0","user":{"login":"eaternet","id":10624333,"avatar_url":"https://avatars.githubusercontent.com/u/10624333?v=3","gravatar_id":"","url":"https://api.github.com/users/eaternet","html_url":"https://github.com/eaternet","followers_url":"https://api.github.com/users/eaternet/followers","following_url":"https://api.github.com/users/eaternet/following{/other_user}","gists_url":"https://api.github.com/users/eaternet/gists{/gist_id}","starred_url":"https://api.github.com/users/eaternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaternet/subscriptions","organizations_url":"https://api.github.com/users/eaternet/orgs","repos_url":"https://api.github.com/users/eaternet/repos","events_url":"https://api.github.com/users/eaternet/events{/privacy}","received_events_url":"https://api.github.com/users/eaternet/received_events","type":"Organization","site_admin":false},"repo":{"id":29956960,"name":"adapters-ruby","full_name":"eaternet/adapters-ruby","owner":{"login":"eaternet","id":10624333,"avatar_url":"https://avatars.githubusercontent.com/u/10624333?v=3","gravatar_id":"","url":"https://api.github.com/users/eaternet","html_url":"https://github.com/eaternet","followers_url":"https://api.github.com/users/eaternet/followers","following_url":"https://api.github.com/users/eaternet/following{/other_user}","gists_url":"https://api.github.com/users/eaternet/gists{/gist_id}","starred_url":"https://api.github.com/users/eaternet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eaternet/subscriptions","organizations_url":"https://api.github.com/users/eaternet/orgs","repos_url":"https://api.github.com/users/eaternet/repos","events_url":"https://api.github.com/users/eaternet/events{/privacy}","received_events_url":"https://api.github.com/users/eaternet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eaternet/adapters-ruby","description":"Ruby plugins for local restaurant health inspections","fork":false,"url":"https://api.github.com/repos/eaternet/adapters-ruby","forks_url":"https://api.github.com/repos/eaternet/adapters-ruby/forks","keys_url":"https://api.github.com/repos/eaternet/adapters-ruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eaternet/adapters-ruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eaternet/adapters-ruby/teams","hooks_url":"https://api.github.com/repos/eaternet/adapters-ruby/hooks","issue_events_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues/events{/number}","events_url":"https://api.github.com/repos/eaternet/adapters-ruby/events","assignees_url":"https://api.github.com/repos/eaternet/adapters-ruby/assignees{/user}","branches_url":"https://api.github.com/repos/eaternet/adapters-ruby/branches{/branch}","tags_url":"https://api.github.com/repos/eaternet/adapters-ruby/tags","blobs_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eaternet/adapters-ruby/statuses/{sha}","languages_url":"https://api.github.com/repos/eaternet/adapters-ruby/languages","stargazers_url":"https://api.github.com/repos/eaternet/adapters-ruby/stargazers","contributors_url":"https://api.github.com/repos/eaternet/adapters-ruby/contributors","subscribers_url":"https://api.github.com/repos/eaternet/adapters-ruby/subscribers","subscription_url":"https://api.github.com/repos/eaternet/adapters-ruby/subscription","commits_url":"https://api.github.com/repos/eaternet/adapters-ruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/eaternet/adapters-ruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/eaternet/adapters-ruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/eaternet/adapters-ruby/contents/{+path}","compare_url":"https://api.github.com/repos/eaternet/adapters-ruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eaternet/adapters-ruby/merges","archive_url":"https://api.github.com/repos/eaternet/adapters-ruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eaternet/adapters-ruby/downloads","issues_url":"https://api.github.com/repos/eaternet/adapters-ruby/issues{/number}","pulls_url":"https://api.github.com/repos/eaternet/adapters-ruby/pulls{/number}","milestones_url":"https://api.github.com/repos/eaternet/adapters-ruby/milestones{/number}","notifications_url":"https://api.github.com/repos/eaternet/adapters-ruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eaternet/adapters-ruby/labels{/name}","releases_url":"https://api.github.com/repos/eaternet/adapters-ruby/releases{/id}","deployments_url":"https://api.github.com/repos/eaternet/adapters-ruby/deployments","created_at":"2015-01-28T08:02:48Z","updated_at":"2016-04-24T06:20:30Z","pushed_at":"2016-09-08T05:42:54Z","git_url":"git://github.com/eaternet/adapters-ruby.git","ssh_url":"git@github.com:eaternet/adapters-ruby.git","clone_url":"https://github.com/eaternet/adapters-ruby.git","svn_url":"https://github.com/eaternet/adapters-ruby","homepage":"https://eaternet.io","size":7598,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":7,"forks":0,"open_issues":7,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51"},"html":{"href":"https://github.com/eaternet/adapters-ruby/pull/51"},"issue":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/issues/51"},"comments":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/eaternet/adapters-ruby/statuses/37f76aa071fd678607b976f124c84c6bb1cf90e7"}}}}
{"actor":{"display_login":"houndci-bot"}}