{"action":"created","comment":{"url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/comments/84406729","pull_request_review_id":5187900,"id":84406729,"diff_hunk":"@@ -79,8 +79,12 @@ def to_segment_context_ref_name(elm, context)\n     end\n \n     def to_segment_english_name(elm)\n+      removed_str = [\n+        'ReportableSegmentsMember',\n+        'ReportableSegmentMember']\n+\n       /:/ =~ elm","path":"lib/litexbrl/utils.rb","position":8,"original_position":8,"commit_id":"ccc2e1ec942d1626ea3ed82619b39a4afed4c808","original_commit_id":"ccc2e1ec942d1626ea3ed82619b39a4afed4c808","user":{"login":"suthio","id":5299458,"avatar_url":"https://avatars.githubusercontent.com/u/5299458?v=3","gravatar_id":"","url":"https://api.github.com/users/suthio","html_url":"https://github.com/suthio","followers_url":"https://api.github.com/users/suthio/followers","following_url":"https://api.github.com/users/suthio/following{/other_user}","gists_url":"https://api.github.com/users/suthio/gists{/gist_id}","starred_url":"https://api.github.com/users/suthio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suthio/subscriptions","organizations_url":"https://api.github.com/users/suthio/orgs","repos_url":"https://api.github.com/users/suthio/repos","events_url":"https://api.github.com/users/suthio/events{/privacy}","received_events_url":"https://api.github.com/users/suthio/received_events","type":"User","site_admin":false},"body":"`/:/ =~ elm` 個人的にこういう使い方すぐ忘れちゃって、ググらないと思い出せない…\r\n","created_at":"2016-10-21T01:37:13Z","updated_at":"2016-10-21T01:37:13Z","html_url":"https://github.com/YasuomiTakano/litexbrl/pull/10#discussion_r84406729","pull_request_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/comments/84406729"},"html":{"href":"https://github.com/YasuomiTakano/litexbrl/pull/10#discussion_r84406729"},"pull_request":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10","id":90137220,"html_url":"https://github.com/YasuomiTakano/litexbrl/pull/10","diff_url":"https://github.com/YasuomiTakano/litexbrl/pull/10.diff","patch_url":"https://github.com/YasuomiTakano/litexbrl/pull/10.patch","issue_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/10","number":10,"state":"open","locked":false,"title":"セグメント名が一部nilの問題の改修","user":{"login":"YasuomiTakano","id":13284546,"avatar_url":"https://avatars.githubusercontent.com/u/13284546?v=3","gravatar_id":"","url":"https://api.github.com/users/YasuomiTakano","html_url":"https://github.com/YasuomiTakano","followers_url":"https://api.github.com/users/YasuomiTakano/followers","following_url":"https://api.github.com/users/YasuomiTakano/following{/other_user}","gists_url":"https://api.github.com/users/YasuomiTakano/gists{/gist_id}","starred_url":"https://api.github.com/users/YasuomiTakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YasuomiTakano/subscriptions","organizations_url":"https://api.github.com/users/YasuomiTakano/orgs","repos_url":"https://api.github.com/users/YasuomiTakano/repos","events_url":"https://api.github.com/users/YasuomiTakano/events{/privacy}","received_events_url":"https://api.github.com/users/YasuomiTakano/received_events","type":"User","site_admin":false},"body":"## Scope\r\nセグメント名が一部nilになってしまう処理の改修にかかる処理の部分及び単体テスト\r\n\r\n## 前提\r\n\r\n - 現状、セグメント名が一部nilで取得してしまう箇所がある。\r\n - 「〇〇Reportable **Segment** Member 」と 「〇〇Reportable **Segments** Member」 の2つがあり、「〇〇」の部分を取得する処理の以下のメソッドでは「〇〇Reportable **Segments** Member」の方しか対応しておらず、「〇〇Reportable **Segment** Member 」の方はnilになる。\r\n\r\n```\r\n    def to_segment_english_name(elm)\r\n      /:/ =~ elm\r\n      $'.gsub!(/ReportableSegmentsMember/,'')\r\n    end\r\n```\r\n\r\n## TODOリスト\r\n- [x] セグメント名が一部nilの問題の改修\r\n- [x] 単体テストの確認 (未実装であった場合は実装)\r\n","created_at":"2016-10-20T05:51:17Z","updated_at":"2016-10-21T01:37:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b232afa951ba8178e1bcfaf74fe8062143e5c328","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10/commits","review_comments_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10/comments","review_comment_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/10/comments","statuses_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/statuses/ccc2e1ec942d1626ea3ed82619b39a4afed4c808","head":{"label":"YasuomiTakano:segment_name_nil_edit","ref":"segment_name_nil_edit","sha":"ccc2e1ec942d1626ea3ed82619b39a4afed4c808","user":{"login":"YasuomiTakano","id":13284546,"avatar_url":"https://avatars.githubusercontent.com/u/13284546?v=3","gravatar_id":"","url":"https://api.github.com/users/YasuomiTakano","html_url":"https://github.com/YasuomiTakano","followers_url":"https://api.github.com/users/YasuomiTakano/followers","following_url":"https://api.github.com/users/YasuomiTakano/following{/other_user}","gists_url":"https://api.github.com/users/YasuomiTakano/gists{/gist_id}","starred_url":"https://api.github.com/users/YasuomiTakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YasuomiTakano/subscriptions","organizations_url":"https://api.github.com/users/YasuomiTakano/orgs","repos_url":"https://api.github.com/users/YasuomiTakano/repos","events_url":"https://api.github.com/users/YasuomiTakano/events{/privacy}","received_events_url":"https://api.github.com/users/YasuomiTakano/received_events","type":"User","site_admin":false},"repo":{"id":60895018,"name":"litexbrl","full_name":"YasuomiTakano/litexbrl","owner":{"login":"YasuomiTakano","id":13284546,"avatar_url":"https://avatars.githubusercontent.com/u/13284546?v=3","gravatar_id":"","url":"https://api.github.com/users/YasuomiTakano","html_url":"https://github.com/YasuomiTakano","followers_url":"https://api.github.com/users/YasuomiTakano/followers","following_url":"https://api.github.com/users/YasuomiTakano/following{/other_user}","gists_url":"https://api.github.com/users/YasuomiTakano/gists{/gist_id}","starred_url":"https://api.github.com/users/YasuomiTakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YasuomiTakano/subscriptions","organizations_url":"https://api.github.com/users/YasuomiTakano/orgs","repos_url":"https://api.github.com/users/YasuomiTakano/repos","events_url":"https://api.github.com/users/YasuomiTakano/events{/privacy}","received_events_url":"https://api.github.com/users/YasuomiTakano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YasuomiTakano/litexbrl","description":"XBRL parser for Ruby","fork":true,"url":"https://api.github.com/repos/YasuomiTakano/litexbrl","forks_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/forks","keys_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/teams","hooks_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/hooks","issue_events_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/events{/number}","events_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/events","assignees_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/assignees{/user}","branches_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/branches{/branch}","tags_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/tags","blobs_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/refs{/sha}","trees_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/statuses/{sha}","languages_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/languages","stargazers_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/stargazers","contributors_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/contributors","subscribers_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/subscribers","subscription_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/subscription","commits_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/commits{/sha}","git_commits_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/commits{/sha}","comments_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/comments{/number}","issue_comment_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/comments{/number}","contents_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/contents/{+path}","compare_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/merges","archive_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/downloads","issues_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues{/number}","pulls_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls{/number}","milestones_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/milestones{/number}","notifications_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/labels{/name}","releases_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/releases{/id}","deployments_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/deployments","created_at":"2016-06-11T06:57:14Z","updated_at":"2016-09-21T10:46:13Z","pushed_at":"2016-10-20T07:09:02Z","git_url":"git://github.com/YasuomiTakano/litexbrl.git","ssh_url":"git@github.com:YasuomiTakano/litexbrl.git","clone_url":"https://github.com/YasuomiTakano/litexbrl.git","svn_url":"https://github.com/YasuomiTakano/litexbrl","homepage":"","size":759,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"YasuomiTakano:develop","ref":"develop","sha":"3fb63a215ddfea23ec8874bfa4db331155049e81","user":{"login":"YasuomiTakano","id":13284546,"avatar_url":"https://avatars.githubusercontent.com/u/13284546?v=3","gravatar_id":"","url":"https://api.github.com/users/YasuomiTakano","html_url":"https://github.com/YasuomiTakano","followers_url":"https://api.github.com/users/YasuomiTakano/followers","following_url":"https://api.github.com/users/YasuomiTakano/following{/other_user}","gists_url":"https://api.github.com/users/YasuomiTakano/gists{/gist_id}","starred_url":"https://api.github.com/users/YasuomiTakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YasuomiTakano/subscriptions","organizations_url":"https://api.github.com/users/YasuomiTakano/orgs","repos_url":"https://api.github.com/users/YasuomiTakano/repos","events_url":"https://api.github.com/users/YasuomiTakano/events{/privacy}","received_events_url":"https://api.github.com/users/YasuomiTakano/received_events","type":"User","site_admin":false},"repo":{"id":60895018,"name":"litexbrl","full_name":"YasuomiTakano/litexbrl","owner":{"login":"YasuomiTakano","id":13284546,"avatar_url":"https://avatars.githubusercontent.com/u/13284546?v=3","gravatar_id":"","url":"https://api.github.com/users/YasuomiTakano","html_url":"https://github.com/YasuomiTakano","followers_url":"https://api.github.com/users/YasuomiTakano/followers","following_url":"https://api.github.com/users/YasuomiTakano/following{/other_user}","gists_url":"https://api.github.com/users/YasuomiTakano/gists{/gist_id}","starred_url":"https://api.github.com/users/YasuomiTakano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YasuomiTakano/subscriptions","organizations_url":"https://api.github.com/users/YasuomiTakano/orgs","repos_url":"https://api.github.com/users/YasuomiTakano/repos","events_url":"https://api.github.com/users/YasuomiTakano/events{/privacy}","received_events_url":"https://api.github.com/users/YasuomiTakano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YasuomiTakano/litexbrl","description":"XBRL parser for Ruby","fork":true,"url":"https://api.github.com/repos/YasuomiTakano/litexbrl","forks_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/forks","keys_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/teams","hooks_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/hooks","issue_events_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/events{/number}","events_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/events","assignees_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/assignees{/user}","branches_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/branches{/branch}","tags_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/tags","blobs_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/refs{/sha}","trees_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/statuses/{sha}","languages_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/languages","stargazers_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/stargazers","contributors_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/contributors","subscribers_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/subscribers","subscription_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/subscription","commits_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/commits{/sha}","git_commits_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/git/commits{/sha}","comments_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/comments{/number}","issue_comment_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/comments{/number}","contents_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/contents/{+path}","compare_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/merges","archive_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/downloads","issues_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues{/number}","pulls_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls{/number}","milestones_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/milestones{/number}","notifications_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/labels{/name}","releases_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/releases{/id}","deployments_url":"https://api.github.com/repos/YasuomiTakano/litexbrl/deployments","created_at":"2016-06-11T06:57:14Z","updated_at":"2016-09-21T10:46:13Z","pushed_at":"2016-10-20T07:09:02Z","git_url":"git://github.com/YasuomiTakano/litexbrl.git","ssh_url":"git@github.com:YasuomiTakano/litexbrl.git","clone_url":"https://github.com/YasuomiTakano/litexbrl.git","svn_url":"https://github.com/YasuomiTakano/litexbrl","homepage":"","size":759,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10"},"html":{"href":"https://github.com/YasuomiTakano/litexbrl/pull/10"},"issue":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/10"},"comments":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/YasuomiTakano/litexbrl/statuses/ccc2e1ec942d1626ea3ed82619b39a4afed4c808"}}}}
{"actor":{"display_login":"suthio"}}