{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/2","id":47991839,"html_url":"https://github.com/Munett/API-Codigos-Postales/pull/2","diff_url":"https://github.com/Munett/API-Codigos-Postales/pull/2.diff","patch_url":"https://github.com/Munett/API-Codigos-Postales/pull/2.patch","issue_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues/2","number":2,"state":"closed","locked":false,"title":"Mostrar ejemplos y agregar root key a la respuesta.","user":{"login":"everblut","id":1256959,"avatar_url":"https://avatars.githubusercontent.com/u/1256959?v=3","gravatar_id":"","url":"https://api.github.com/users/everblut","html_url":"https://github.com/everblut","followers_url":"https://api.github.com/users/everblut/followers","following_url":"https://api.github.com/users/everblut/following{/other_user}","gists_url":"https://api.github.com/users/everblut/gists{/gist_id}","starred_url":"https://api.github.com/users/everblut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everblut/subscriptions","organizations_url":"https://api.github.com/users/everblut/orgs","repos_url":"https://api.github.com/users/everblut/repos","events_url":"https://api.github.com/users/everblut/events{/privacy}","received_events_url":"https://api.github.com/users/everblut/received_events","type":"User","site_admin":false},"body":"* Propongo agregar una la llave root _codigos_postales_ a las respuestas en pro de las buenas practicas, para esto, agregar código que ayude a la abstracción. [liga](https://github.com/rubixware/API-Codigos-Postales/blob/readme-search/presenters/postal_codes.rb)\r\n\r\n* Cambiar un poco el README para incluir los ejemplos de uso para ambos casos existentes. [liga](https://github.com/rubixware/API-Codigos-Postales/blob/readme-search/Readme.md)\r\n\r\n* En la tarea de `sepomex:update` permitir la idempotencia sobreescribiendo el `latest.csv`con cada uso. [liga](https://github.com/rubixware/API-Codigos-Postales/blob/readme-search/Rakefile#L43)","created_at":"2015-10-17T18:01:50Z","updated_at":"2015-10-23T15:55:53Z","closed_at":"2015-10-23T15:55:53Z","merged_at":"2015-10-23T15:55:53Z","merge_commit_sha":"c9e8b0eb4fa3f54ac8d0f0e447dd53ee7a2add3b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues/2/comments","statuses_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/statuses/9c5bb77e5d51d298f3453d65e48ed67deae35130","head":{"label":"rubixware:readme-search","ref":"readme-search","sha":"9c5bb77e5d51d298f3453d65e48ed67deae35130","user":{"login":"rubixware","id":9070076,"avatar_url":"https://avatars.githubusercontent.com/u/9070076?v=3","gravatar_id":"","url":"https://api.github.com/users/rubixware","html_url":"https://github.com/rubixware","followers_url":"https://api.github.com/users/rubixware/followers","following_url":"https://api.github.com/users/rubixware/following{/other_user}","gists_url":"https://api.github.com/users/rubixware/gists{/gist_id}","starred_url":"https://api.github.com/users/rubixware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubixware/subscriptions","organizations_url":"https://api.github.com/users/rubixware/orgs","repos_url":"https://api.github.com/users/rubixware/repos","events_url":"https://api.github.com/users/rubixware/events{/privacy}","received_events_url":"https://api.github.com/users/rubixware/received_events","type":"Organization","site_admin":false},"repo":{"id":44444934,"name":"API-Codigos-Postales","full_name":"rubixware/API-Codigos-Postales","owner":{"login":"rubixware","id":9070076,"avatar_url":"https://avatars.githubusercontent.com/u/9070076?v=3","gravatar_id":"","url":"https://api.github.com/users/rubixware","html_url":"https://github.com/rubixware","followers_url":"https://api.github.com/users/rubixware/followers","following_url":"https://api.github.com/users/rubixware/following{/other_user}","gists_url":"https://api.github.com/users/rubixware/gists{/gist_id}","starred_url":"https://api.github.com/users/rubixware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubixware/subscriptions","organizations_url":"https://api.github.com/users/rubixware/orgs","repos_url":"https://api.github.com/users/rubixware/repos","events_url":"https://api.github.com/users/rubixware/events{/privacy}","received_events_url":"https://api.github.com/users/rubixware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubixware/API-Codigos-Postales","description":"Un API publico, dado un código postal te regresa colonia, municipio y estado en formato JSON","fork":true,"url":"https://api.github.com/repos/rubixware/API-Codigos-Postales","forks_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/forks","keys_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/teams","hooks_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/hooks","issue_events_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/issues/events{/number}","events_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/events","assignees_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/assignees{/user}","branches_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/branches{/branch}","tags_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/tags","blobs_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/statuses/{sha}","languages_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/languages","stargazers_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/stargazers","contributors_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/contributors","subscribers_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/subscribers","subscription_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/subscription","commits_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/contents/{+path}","compare_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/merges","archive_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/downloads","issues_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/issues{/number}","pulls_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/pulls{/number}","milestones_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/milestones{/number}","notifications_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/labels{/name}","releases_url":"https://api.github.com/repos/rubixware/API-Codigos-Postales/releases{/id}","created_at":"2015-10-17T16:23:41Z","updated_at":"2015-10-17T16:23:42Z","pushed_at":"2015-10-20T04:56:30Z","git_url":"git://github.com/rubixware/API-Codigos-Postales.git","ssh_url":"git@github.com:rubixware/API-Codigos-Postales.git","clone_url":"https://github.com/rubixware/API-Codigos-Postales.git","svn_url":"https://github.com/rubixware/API-Codigos-Postales","homepage":"https://api-codigos-postales.herokuapp.com","size":4556,"stargazers_count":0,"watchers_count":0,"language":"PLpgSQL","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Munett:master","ref":"master","sha":"c1689345ca3d8178fe1ac8dc9ed47159d306eb56","user":{"login":"Munett","id":7023657,"avatar_url":"https://avatars.githubusercontent.com/u/7023657?v=3","gravatar_id":"","url":"https://api.github.com/users/Munett","html_url":"https://github.com/Munett","followers_url":"https://api.github.com/users/Munett/followers","following_url":"https://api.github.com/users/Munett/following{/other_user}","gists_url":"https://api.github.com/users/Munett/gists{/gist_id}","starred_url":"https://api.github.com/users/Munett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Munett/subscriptions","organizations_url":"https://api.github.com/users/Munett/orgs","repos_url":"https://api.github.com/users/Munett/repos","events_url":"https://api.github.com/users/Munett/events{/privacy}","received_events_url":"https://api.github.com/users/Munett/received_events","type":"Organization","site_admin":false},"repo":{"id":30983992,"name":"API-Codigos-Postales","full_name":"Munett/API-Codigos-Postales","owner":{"login":"Munett","id":7023657,"avatar_url":"https://avatars.githubusercontent.com/u/7023657?v=3","gravatar_id":"","url":"https://api.github.com/users/Munett","html_url":"https://github.com/Munett","followers_url":"https://api.github.com/users/Munett/followers","following_url":"https://api.github.com/users/Munett/following{/other_user}","gists_url":"https://api.github.com/users/Munett/gists{/gist_id}","starred_url":"https://api.github.com/users/Munett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Munett/subscriptions","organizations_url":"https://api.github.com/users/Munett/orgs","repos_url":"https://api.github.com/users/Munett/repos","events_url":"https://api.github.com/users/Munett/events{/privacy}","received_events_url":"https://api.github.com/users/Munett/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Munett/API-Codigos-Postales","description":"Un API publico, dado un código postal te regresa colonia, municipio y estado en formato JSON","fork":false,"url":"https://api.github.com/repos/Munett/API-Codigos-Postales","forks_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/forks","keys_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/teams","hooks_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/hooks","issue_events_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues/events{/number}","events_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/events","assignees_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/assignees{/user}","branches_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/branches{/branch}","tags_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/tags","blobs_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/git/refs{/sha}","trees_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/statuses/{sha}","languages_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/languages","stargazers_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/stargazers","contributors_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/contributors","subscribers_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/subscribers","subscription_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/subscription","commits_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/commits{/sha}","git_commits_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/git/commits{/sha}","comments_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/comments{/number}","issue_comment_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues/comments{/number}","contents_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/contents/{+path}","compare_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/merges","archive_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/downloads","issues_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues{/number}","pulls_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls{/number}","milestones_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/milestones{/number}","notifications_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/labels{/name}","releases_url":"https://api.github.com/repos/Munett/API-Codigos-Postales/releases{/id}","created_at":"2015-02-18T20:03:55Z","updated_at":"2015-10-16T18:50:32Z","pushed_at":"2015-10-23T15:55:53Z","git_url":"git://github.com/Munett/API-Codigos-Postales.git","ssh_url":"git@github.com:Munett/API-Codigos-Postales.git","clone_url":"https://github.com/Munett/API-Codigos-Postales.git","svn_url":"https://github.com/Munett/API-Codigos-Postales","homepage":"https://api-codigos-postales.herokuapp.com","size":4556,"stargazers_count":2,"watchers_count":2,"language":"PLpgSQL","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/2"},"html":{"href":"https://github.com/Munett/API-Codigos-Postales/pull/2"},"issue":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues/2"},"comments":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Munett/API-Codigos-Postales/statuses/9c5bb77e5d51d298f3453d65e48ed67deae35130"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"acrogenesis","id":1312687,"avatar_url":"https://avatars.githubusercontent.com/u/1312687?v=3","gravatar_id":"","url":"https://api.github.com/users/acrogenesis","html_url":"https://github.com/acrogenesis","followers_url":"https://api.github.com/users/acrogenesis/followers","following_url":"https://api.github.com/users/acrogenesis/following{/other_user}","gists_url":"https://api.github.com/users/acrogenesis/gists{/gist_id}","starred_url":"https://api.github.com/users/acrogenesis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acrogenesis/subscriptions","organizations_url":"https://api.github.com/users/acrogenesis/orgs","repos_url":"https://api.github.com/users/acrogenesis/repos","events_url":"https://api.github.com/users/acrogenesis/events{/privacy}","received_events_url":"https://api.github.com/users/acrogenesis/received_events","type":"User","site_admin":false},"comments":8,"review_comments":1,"commits":3,"additions":132,"deletions":25,"changed_files":6}}