{"action":"created","issue":{"url":"https://api.github.com/repos/rurema/doctree/issues/1561","repository_url":"https://api.github.com/repos/rurema/doctree","labels_url":"https://api.github.com/repos/rurema/doctree/issues/1561/labels{/name}","comments_url":"https://api.github.com/repos/rurema/doctree/issues/1561/comments","events_url":"https://api.github.com/repos/rurema/doctree/issues/1561/events","html_url":"https://github.com/rurema/doctree/issues/1561","id":377309944,"node_id":"MDU6SXNzdWUzNzczMDk5NDQ=","number":1561,"title":"matrix ライブラリーの例外が二重に記述されている","user":{"login":"scivola","id":294125,"node_id":"MDQ6VXNlcjI5NDEyNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/294125?v=4","gravatar_id":"","url":"https://api.github.com/users/scivola","html_url":"https://github.com/scivola","followers_url":"https://api.github.com/users/scivola/followers","following_url":"https://api.github.com/users/scivola/following{/other_user}","gists_url":"https://api.github.com/users/scivola/gists{/gist_id}","starred_url":"https://api.github.com/users/scivola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scivola/subscriptions","organizations_url":"https://api.github.com/users/scivola/orgs","repos_url":"https://api.github.com/users/scivola/repos","events_url":"https://api.github.com/users/scivola/events{/privacy}","received_events_url":"https://api.github.com/users/scivola/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T09:15:47Z","updated_at":"2018-11-05T15:22:44Z","closed_at":"2018-11-05T15:20:09Z","author_association":"NONE","body":"以下の三つの例外クラスは `refm/api/src/matrix/Matrix` に記述されているにも関わらず，`refm/api/src/matrix/Vector` にも記述されています。\r\n\r\n* ExceptionForMatrix::ErrDimensionMismatch\r\n* ExceptionForMatrix::ErrNotRegular\r\n* ExceptionForMatrix::ErrOperationNotDefined\r\n\r\n\r\n`Vector` のほうは\r\n\r\n```rd\r\n= class ExceptionForMatrix::ErrDimensionMismatch < StandardError\r\n= class ExceptionForMatrix::ErrNotRegular < StandardError\r\n= class ExceptionForMatrix::ErrOperationNotDefined < StandardError\r\n```\r\n\r\nのように中身が無く `=` の行だけになっており，そのせいなのか変換できずに以下の例外が発生します。\r\n\r\n```\r\nXXXXX/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bitclust-core-1.2.1/lib/bitclust/classentry.rb:396:in `description': undefined method `strip' for nil:NilClass (NoMethodError)\r\n```\r\n\r\nこの 3 行を削除すれば変換は成功します。\r\n\r\nプルリクエスト #1556 と #1557 で  The Travis CI build failed が出ているのは，これのせいではないかと思います。\r\n（`Failed to bitclust htmlfile, ruby: 2.3.0, target: ExceptionForMatrix::ErrDimensionMismatch, path: refm/api/src/matrix/Vector` なので）\r\n\r\nしかし，上記 3 行を単純に削除してしまってよいのか判断がつきません。"},"comment":{"url":"https://api.github.com/repos/rurema/doctree/issues/comments/435914086","html_url":"https://github.com/rurema/doctree/issues/1561#issuecomment-435914086","issue_url":"https://api.github.com/repos/rurema/doctree/issues/1561","id":435914086,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTkxNDA4Ng==","user":{"login":"sho-h","id":60238,"node_id":"MDQ6VXNlcjYwMjM4","avatar_url":"https://avatars2.githubusercontent.com/u/60238?v=4","gravatar_id":"","url":"https://api.github.com/users/sho-h","html_url":"https://github.com/sho-h","followers_url":"https://api.github.com/users/sho-h/followers","following_url":"https://api.github.com/users/sho-h/following{/other_user}","gists_url":"https://api.github.com/users/sho-h/gists{/gist_id}","starred_url":"https://api.github.com/users/sho-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sho-h/subscriptions","organizations_url":"https://api.github.com/users/sho-h/orgs","repos_url":"https://api.github.com/users/sho-h/repos","events_url":"https://api.github.com/users/sho-h/events{/privacy}","received_events_url":"https://api.github.com/users/sho-h/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T15:22:44Z","updated_at":"2018-11-05T15:22:44Z","author_association":"MEMBER","body":"83d7f0ae5 と 05a985b09 を見るに昔は別々のクラスだったようですね。matrix.rd に移動しました。"}}
{"actor":{"display_login":"sho-h"}}