{"action":"closed","number":128,"pull_request":{"url":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/128","id":70309421,"html_url":"https://github.com/h5y1m141/life_with_beer/pull/128","diff_url":"https://github.com/h5y1m141/life_with_beer/pull/128.diff","patch_url":"https://github.com/h5y1m141/life_with_beer/pull/128.patch","issue_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/128","number":128,"state":"closed","locked":false,"title":"Feature/issue 127","user":{"login":"h5y1m141","id":950924,"avatar_url":"https://avatars.githubusercontent.com/u/950924?v=3","gravatar_id":"","url":"https://api.github.com/users/h5y1m141","html_url":"https://github.com/h5y1m141","followers_url":"https://api.github.com/users/h5y1m141/followers","following_url":"https://api.github.com/users/h5y1m141/following{/other_user}","gists_url":"https://api.github.com/users/h5y1m141/gists{/gist_id}","starred_url":"https://api.github.com/users/h5y1m141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5y1m141/subscriptions","organizations_url":"https://api.github.com/users/h5y1m141/orgs","repos_url":"https://api.github.com/users/h5y1m141/repos","events_url":"https://api.github.com/users/h5y1m141/events{/privacy}","received_events_url":"https://api.github.com/users/h5y1m141/received_events","type":"User","site_admin":false},"body":"issue #127 の対応\r\n\r\nひとまず東京エリアの登録あるお店の名前を検索時のキーとして食べログに検索しに行って、検索結果の先頭1件目のお店の情報URLを取得するまでは出来た\r\n\r\n## 今後\r\n\r\nRedisにURL＋お店の詳細情報のHTMLを文字列化したものを突っ込んであるので\r\n\r\n- [ ] 食べログのURLをキーにしてしまったので、この構成をちょっと変更してList型でお店の検索結果を一つにまとめる\r\n- [ ] 検索結果を順番に取り出して\r\n  - NokogiriでParseする\r\n  - Parse結果でお店の電話番号で既存のDBのお店と照合する\r\n  - 照合結果が一致した場合に\r\n    - 食べログURLとして登録\r\n    - お店の営業開始日が記載あればそれを抽出する\r\n","created_at":"2016-05-17T07:13:55Z","updated_at":"2016-05-17T07:14:24Z","closed_at":"2016-05-17T07:14:23Z","merged_at":"2016-05-17T07:14:23Z","merge_commit_sha":"af7f85fc0dd53ed2d066c97576eb46eb98194724","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/128/commits","review_comments_url":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/128/comments","review_comment_url":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/128/comments","statuses_url":"https://api.github.com/repos/h5y1m141/life_with_beer/statuses/4447536d40c2a226369ec836ee9fde5ac9b6f60f","head":{"label":"h5y1m141:feature/ISSUE-127","ref":"feature/ISSUE-127","sha":"4447536d40c2a226369ec836ee9fde5ac9b6f60f","user":{"login":"h5y1m141","id":950924,"avatar_url":"https://avatars.githubusercontent.com/u/950924?v=3","gravatar_id":"","url":"https://api.github.com/users/h5y1m141","html_url":"https://github.com/h5y1m141","followers_url":"https://api.github.com/users/h5y1m141/followers","following_url":"https://api.github.com/users/h5y1m141/following{/other_user}","gists_url":"https://api.github.com/users/h5y1m141/gists{/gist_id}","starred_url":"https://api.github.com/users/h5y1m141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5y1m141/subscriptions","organizations_url":"https://api.github.com/users/h5y1m141/orgs","repos_url":"https://api.github.com/users/h5y1m141/repos","events_url":"https://api.github.com/users/h5y1m141/events{/privacy}","received_events_url":"https://api.github.com/users/h5y1m141/received_events","type":"User","site_admin":false},"repo":{"id":53923722,"name":"life_with_beer","full_name":"h5y1m141/life_with_beer","owner":{"login":"h5y1m141","id":950924,"avatar_url":"https://avatars.githubusercontent.com/u/950924?v=3","gravatar_id":"","url":"https://api.github.com/users/h5y1m141","html_url":"https://github.com/h5y1m141","followers_url":"https://api.github.com/users/h5y1m141/followers","following_url":"https://api.github.com/users/h5y1m141/following{/other_user}","gists_url":"https://api.github.com/users/h5y1m141/gists{/gist_id}","starred_url":"https://api.github.com/users/h5y1m141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5y1m141/subscriptions","organizations_url":"https://api.github.com/users/h5y1m141/orgs","repos_url":"https://api.github.com/users/h5y1m141/repos","events_url":"https://api.github.com/users/h5y1m141/events{/privacy}","received_events_url":"https://api.github.com/users/h5y1m141/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h5y1m141/life_with_beer","description":"","fork":false,"url":"https://api.github.com/repos/h5y1m141/life_with_beer","forks_url":"https://api.github.com/repos/h5y1m141/life_with_beer/forks","keys_url":"https://api.github.com/repos/h5y1m141/life_with_beer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h5y1m141/life_with_beer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h5y1m141/life_with_beer/teams","hooks_url":"https://api.github.com/repos/h5y1m141/life_with_beer/hooks","issue_events_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/events{/number}","events_url":"https://api.github.com/repos/h5y1m141/life_with_beer/events","assignees_url":"https://api.github.com/repos/h5y1m141/life_with_beer/assignees{/user}","branches_url":"https://api.github.com/repos/h5y1m141/life_with_beer/branches{/branch}","tags_url":"https://api.github.com/repos/h5y1m141/life_with_beer/tags","blobs_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/refs{/sha}","trees_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h5y1m141/life_with_beer/statuses/{sha}","languages_url":"https://api.github.com/repos/h5y1m141/life_with_beer/languages","stargazers_url":"https://api.github.com/repos/h5y1m141/life_with_beer/stargazers","contributors_url":"https://api.github.com/repos/h5y1m141/life_with_beer/contributors","subscribers_url":"https://api.github.com/repos/h5y1m141/life_with_beer/subscribers","subscription_url":"https://api.github.com/repos/h5y1m141/life_with_beer/subscription","commits_url":"https://api.github.com/repos/h5y1m141/life_with_beer/commits{/sha}","git_commits_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/commits{/sha}","comments_url":"https://api.github.com/repos/h5y1m141/life_with_beer/comments{/number}","issue_comment_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/comments{/number}","contents_url":"https://api.github.com/repos/h5y1m141/life_with_beer/contents/{+path}","compare_url":"https://api.github.com/repos/h5y1m141/life_with_beer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h5y1m141/life_with_beer/merges","archive_url":"https://api.github.com/repos/h5y1m141/life_with_beer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h5y1m141/life_with_beer/downloads","issues_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues{/number}","pulls_url":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls{/number}","milestones_url":"https://api.github.com/repos/h5y1m141/life_with_beer/milestones{/number}","notifications_url":"https://api.github.com/repos/h5y1m141/life_with_beer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h5y1m141/life_with_beer/labels{/name}","releases_url":"https://api.github.com/repos/h5y1m141/life_with_beer/releases{/id}","deployments_url":"https://api.github.com/repos/h5y1m141/life_with_beer/deployments","created_at":"2016-03-15T07:28:27Z","updated_at":"2016-04-15T01:13:07Z","pushed_at":"2016-05-17T07:14:23Z","git_url":"git://github.com/h5y1m141/life_with_beer.git","ssh_url":"git@github.com:h5y1m141/life_with_beer.git","clone_url":"https://github.com/h5y1m141/life_with_beer.git","svn_url":"https://github.com/h5y1m141/life_with_beer","homepage":null,"size":2019,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":1,"default_branch":"develop"}},"base":{"label":"h5y1m141:develop","ref":"develop","sha":"1250de05d986542760f9bb9e9074c901c7e9cdf3","user":{"login":"h5y1m141","id":950924,"avatar_url":"https://avatars.githubusercontent.com/u/950924?v=3","gravatar_id":"","url":"https://api.github.com/users/h5y1m141","html_url":"https://github.com/h5y1m141","followers_url":"https://api.github.com/users/h5y1m141/followers","following_url":"https://api.github.com/users/h5y1m141/following{/other_user}","gists_url":"https://api.github.com/users/h5y1m141/gists{/gist_id}","starred_url":"https://api.github.com/users/h5y1m141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5y1m141/subscriptions","organizations_url":"https://api.github.com/users/h5y1m141/orgs","repos_url":"https://api.github.com/users/h5y1m141/repos","events_url":"https://api.github.com/users/h5y1m141/events{/privacy}","received_events_url":"https://api.github.com/users/h5y1m141/received_events","type":"User","site_admin":false},"repo":{"id":53923722,"name":"life_with_beer","full_name":"h5y1m141/life_with_beer","owner":{"login":"h5y1m141","id":950924,"avatar_url":"https://avatars.githubusercontent.com/u/950924?v=3","gravatar_id":"","url":"https://api.github.com/users/h5y1m141","html_url":"https://github.com/h5y1m141","followers_url":"https://api.github.com/users/h5y1m141/followers","following_url":"https://api.github.com/users/h5y1m141/following{/other_user}","gists_url":"https://api.github.com/users/h5y1m141/gists{/gist_id}","starred_url":"https://api.github.com/users/h5y1m141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5y1m141/subscriptions","organizations_url":"https://api.github.com/users/h5y1m141/orgs","repos_url":"https://api.github.com/users/h5y1m141/repos","events_url":"https://api.github.com/users/h5y1m141/events{/privacy}","received_events_url":"https://api.github.com/users/h5y1m141/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/h5y1m141/life_with_beer","description":"","fork":false,"url":"https://api.github.com/repos/h5y1m141/life_with_beer","forks_url":"https://api.github.com/repos/h5y1m141/life_with_beer/forks","keys_url":"https://api.github.com/repos/h5y1m141/life_with_beer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/h5y1m141/life_with_beer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/h5y1m141/life_with_beer/teams","hooks_url":"https://api.github.com/repos/h5y1m141/life_with_beer/hooks","issue_events_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/events{/number}","events_url":"https://api.github.com/repos/h5y1m141/life_with_beer/events","assignees_url":"https://api.github.com/repos/h5y1m141/life_with_beer/assignees{/user}","branches_url":"https://api.github.com/repos/h5y1m141/life_with_beer/branches{/branch}","tags_url":"https://api.github.com/repos/h5y1m141/life_with_beer/tags","blobs_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/refs{/sha}","trees_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/h5y1m141/life_with_beer/statuses/{sha}","languages_url":"https://api.github.com/repos/h5y1m141/life_with_beer/languages","stargazers_url":"https://api.github.com/repos/h5y1m141/life_with_beer/stargazers","contributors_url":"https://api.github.com/repos/h5y1m141/life_with_beer/contributors","subscribers_url":"https://api.github.com/repos/h5y1m141/life_with_beer/subscribers","subscription_url":"https://api.github.com/repos/h5y1m141/life_with_beer/subscription","commits_url":"https://api.github.com/repos/h5y1m141/life_with_beer/commits{/sha}","git_commits_url":"https://api.github.com/repos/h5y1m141/life_with_beer/git/commits{/sha}","comments_url":"https://api.github.com/repos/h5y1m141/life_with_beer/comments{/number}","issue_comment_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/comments{/number}","contents_url":"https://api.github.com/repos/h5y1m141/life_with_beer/contents/{+path}","compare_url":"https://api.github.com/repos/h5y1m141/life_with_beer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/h5y1m141/life_with_beer/merges","archive_url":"https://api.github.com/repos/h5y1m141/life_with_beer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/h5y1m141/life_with_beer/downloads","issues_url":"https://api.github.com/repos/h5y1m141/life_with_beer/issues{/number}","pulls_url":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls{/number}","milestones_url":"https://api.github.com/repos/h5y1m141/life_with_beer/milestones{/number}","notifications_url":"https://api.github.com/repos/h5y1m141/life_with_beer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/h5y1m141/life_with_beer/labels{/name}","releases_url":"https://api.github.com/repos/h5y1m141/life_with_beer/releases{/id}","deployments_url":"https://api.github.com/repos/h5y1m141/life_with_beer/deployments","created_at":"2016-03-15T07:28:27Z","updated_at":"2016-04-15T01:13:07Z","pushed_at":"2016-05-17T07:14:23Z","git_url":"git://github.com/h5y1m141/life_with_beer.git","ssh_url":"git@github.com:h5y1m141/life_with_beer.git","clone_url":"https://github.com/h5y1m141/life_with_beer.git","svn_url":"https://github.com/h5y1m141/life_with_beer","homepage":null,"size":2019,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":15,"forks":0,"open_issues":15,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/128"},"html":{"href":"https://github.com/h5y1m141/life_with_beer/pull/128"},"issue":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/128"},"comments":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/issues/128/comments"},"review_comments":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/128/comments"},"review_comment":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/pulls/128/commits"},"statuses":{"href":"https://api.github.com/repos/h5y1m141/life_with_beer/statuses/4447536d40c2a226369ec836ee9fde5ac9b6f60f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"h5y1m141","id":950924,"avatar_url":"https://avatars.githubusercontent.com/u/950924?v=3","gravatar_id":"","url":"https://api.github.com/users/h5y1m141","html_url":"https://github.com/h5y1m141","followers_url":"https://api.github.com/users/h5y1m141/followers","following_url":"https://api.github.com/users/h5y1m141/following{/other_user}","gists_url":"https://api.github.com/users/h5y1m141/gists{/gist_id}","starred_url":"https://api.github.com/users/h5y1m141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h5y1m141/subscriptions","organizations_url":"https://api.github.com/users/h5y1m141/orgs","repos_url":"https://api.github.com/users/h5y1m141/repos","events_url":"https://api.github.com/users/h5y1m141/events{/privacy}","received_events_url":"https://api.github.com/users/h5y1m141/received_events","type":"User","site_admin":false},"comments":1,"review_comments":15,"commits":5,"additions":139,"deletions":6,"changed_files":7}}