{"action":"created","issue":{"url":"https://api.github.com/repos/vim-jp/vital.vim/issues/364","labels_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/364/labels{/name}","comments_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/364/comments","events_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/364/events","html_url":"https://github.com/vim-jp/vital.vim/issues/364","id":124091729,"number":364,"title":"Web.URI で相対 URI を扱いたい","user":{"login":"thinca","id":20474,"avatar_url":"https://avatars.githubusercontent.com/u/20474?v=3","gravatar_id":"","url":"https://api.github.com/users/thinca","html_url":"https://github.com/thinca","followers_url":"https://api.github.com/users/thinca/followers","following_url":"https://api.github.com/users/thinca/following{/other_user}","gists_url":"https://api.github.com/users/thinca/gists{/gist_id}","starred_url":"https://api.github.com/users/thinca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thinca/subscriptions","organizations_url":"https://api.github.com/users/thinca/orgs","repos_url":"https://api.github.com/users/thinca/repos","events_url":"https://api.github.com/users/thinca/events{/privacy}","received_events_url":"https://api.github.com/users/thinca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":15,"created_at":"2015-12-28T17:02:08Z","updated_at":"2015-12-30T09:34:05Z","closed_at":null,"body":"とある html に書かれた相対パスを辿った先の URI を知りたい事例があり、`Web.URI` で相対 URI が扱えると便利かと思いました。\r\nURI のオブジェクトとして絶対 URI と相対 URI の 2 パターンを生成できるようにして、base URI(絶対URI) に対して相対 URI (こちらは html に書かれている都合上絶対 URI の場合もありえる)を渡すと、参照先の絶対 URI が取れれば用件として十分かと思います(渡されたのが絶対 URI ならそれをそのまま返せば OK)。\r\nそのうち実装しようかとは思ってますが、設計周りをメンテナの @tyru さんと相談したいです。(もしくはやってくれても…なんて…)"},"comment":{"url":"https://api.github.com/repos/vim-jp/vital.vim/issues/comments/167966948","html_url":"https://github.com/vim-jp/vital.vim/issues/364#issuecomment-167966948","issue_url":"https://api.github.com/repos/vim-jp/vital.vim/issues/364","id":167966948,"user":{"login":"tyru","id":48169,"avatar_url":"https://avatars.githubusercontent.com/u/48169?v=3","gravatar_id":"","url":"https://api.github.com/users/tyru","html_url":"https://github.com/tyru","followers_url":"https://api.github.com/users/tyru/followers","following_url":"https://api.github.com/users/tyru/following{/other_user}","gists_url":"https://api.github.com/users/tyru/gists{/gist_id}","starred_url":"https://api.github.com/users/tyru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyru/subscriptions","organizations_url":"https://api.github.com/users/tyru/orgs","repos_url":"https://api.github.com/users/tyru/repos","events_url":"https://api.github.com/users/tyru/events{/privacy}","received_events_url":"https://api.github.com/users/tyru/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T09:34:05Z","updated_at":"2015-12-30T09:34:05Z","body":"了解です！\r\n上のTODOはなるべく早めに別ブランチで実装するので欲しい時はいつでも言ってください！\r\nその時は折を見てmasterにマージするので。"}}