{"action":"opened","number":3,"pull_request":{"url":"https://api.github.com/repos/hotchpotch/hparser/pulls/3","id":48592875,"html_url":"https://github.com/hotchpotch/hparser/pull/3","diff_url":"https://github.com/hotchpotch/hparser/pull/3.diff","patch_url":"https://github.com/hotchpotch/hparser/pull/3.patch","issue_url":"https://api.github.com/repos/hotchpotch/hparser/issues/3","number":3,"state":"open","locked":false,"title":"スーパー pre 記法でフォーマットが指定されないときのパース処理を修正","user":{"login":"nitoyon","id":39562,"avatar_url":"https://avatars.githubusercontent.com/u/39562?v=3","gravatar_id":"","url":"https://api.github.com/users/nitoyon","html_url":"https://github.com/nitoyon","followers_url":"https://api.github.com/users/nitoyon/followers","following_url":"https://api.github.com/users/nitoyon/following{/other_user}","gists_url":"https://api.github.com/users/nitoyon/gists{/gist_id}","starred_url":"https://api.github.com/users/nitoyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitoyon/subscriptions","organizations_url":"https://api.github.com/users/nitoyon/orgs","repos_url":"https://api.github.com/users/nitoyon/repos","events_url":"https://api.github.com/users/nitoyon/events{/privacy}","received_events_url":"https://api.github.com/users/nitoyon/received_events","type":"User","site_admin":false},"body":"スーパー pre 記法でフォーマットが指定されていないとき、`SuperPre#format` は `nil` となっているべきだったのに `\"\"` となっていた。\r\n\r\nそのため、HTML に変換すると、`<pre class=\"\">` のように空の `class` がついてしまっていた。\r\n\r\nテストをすり抜けていたのは `SuperPre#==` を適切に実装していなかったのが敗因だったので、その点も合わせて修正している。\r\n\r\n(2b1e3921be58e357ad3b5327079a78ae2bdfe6e8  で `class` をつけるようになったのときから存在していたバグの模様です)","created_at":"2015-10-23T15:19:12Z","updated_at":"2015-10-23T15:19:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hotchpotch/hparser/pulls/3/commits","review_comments_url":"https://api.github.com/repos/hotchpotch/hparser/pulls/3/comments","review_comment_url":"https://api.github.com/repos/hotchpotch/hparser/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hotchpotch/hparser/issues/3/comments","statuses_url":"https://api.github.com/repos/hotchpotch/hparser/statuses/a78a15669638f6d0e23ab1a2ec6ddfec69969cd7","head":{"label":"nitoyon:pre-format","ref":"pre-format","sha":"a78a15669638f6d0e23ab1a2ec6ddfec69969cd7","user":{"login":"nitoyon","id":39562,"avatar_url":"https://avatars.githubusercontent.com/u/39562?v=3","gravatar_id":"","url":"https://api.github.com/users/nitoyon","html_url":"https://github.com/nitoyon","followers_url":"https://api.github.com/users/nitoyon/followers","following_url":"https://api.github.com/users/nitoyon/following{/other_user}","gists_url":"https://api.github.com/users/nitoyon/gists{/gist_id}","starred_url":"https://api.github.com/users/nitoyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitoyon/subscriptions","organizations_url":"https://api.github.com/users/nitoyon/orgs","repos_url":"https://api.github.com/users/nitoyon/repos","events_url":"https://api.github.com/users/nitoyon/events{/privacy}","received_events_url":"https://api.github.com/users/nitoyon/received_events","type":"User","site_admin":false},"repo":{"id":4231375,"name":"hparser","full_name":"nitoyon/hparser","owner":{"login":"nitoyon","id":39562,"avatar_url":"https://avatars.githubusercontent.com/u/39562?v=3","gravatar_id":"","url":"https://api.github.com/users/nitoyon","html_url":"https://github.com/nitoyon","followers_url":"https://api.github.com/users/nitoyon/followers","following_url":"https://api.github.com/users/nitoyon/following{/other_user}","gists_url":"https://api.github.com/users/nitoyon/gists{/gist_id}","starred_url":"https://api.github.com/users/nitoyon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitoyon/subscriptions","organizations_url":"https://api.github.com/users/nitoyon/orgs","repos_url":"https://api.github.com/users/nitoyon/repos","events_url":"https://api.github.com/users/nitoyon/events{/privacy}","received_events_url":"https://api.github.com/users/nitoyon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nitoyon/hparser","description":"hatena syntax parser (fork from http://rubyforge.org/projects/hparser/ )","fork":true,"url":"https://api.github.com/repos/nitoyon/hparser","forks_url":"https://api.github.com/repos/nitoyon/hparser/forks","keys_url":"https://api.github.com/repos/nitoyon/hparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nitoyon/hparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nitoyon/hparser/teams","hooks_url":"https://api.github.com/repos/nitoyon/hparser/hooks","issue_events_url":"https://api.github.com/repos/nitoyon/hparser/issues/events{/number}","events_url":"https://api.github.com/repos/nitoyon/hparser/events","assignees_url":"https://api.github.com/repos/nitoyon/hparser/assignees{/user}","branches_url":"https://api.github.com/repos/nitoyon/hparser/branches{/branch}","tags_url":"https://api.github.com/repos/nitoyon/hparser/tags","blobs_url":"https://api.github.com/repos/nitoyon/hparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nitoyon/hparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nitoyon/hparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/nitoyon/hparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nitoyon/hparser/statuses/{sha}","languages_url":"https://api.github.com/repos/nitoyon/hparser/languages","stargazers_url":"https://api.github.com/repos/nitoyon/hparser/stargazers","contributors_url":"https://api.github.com/repos/nitoyon/hparser/contributors","subscribers_url":"https://api.github.com/repos/nitoyon/hparser/subscribers","subscription_url":"https://api.github.com/repos/nitoyon/hparser/subscription","commits_url":"https://api.github.com/repos/nitoyon/hparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/nitoyon/hparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/nitoyon/hparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/nitoyon/hparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/nitoyon/hparser/contents/{+path}","compare_url":"https://api.github.com/repos/nitoyon/hparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nitoyon/hparser/merges","archive_url":"https://api.github.com/repos/nitoyon/hparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nitoyon/hparser/downloads","issues_url":"https://api.github.com/repos/nitoyon/hparser/issues{/number}","pulls_url":"https://api.github.com/repos/nitoyon/hparser/pulls{/number}","milestones_url":"https://api.github.com/repos/nitoyon/hparser/milestones{/number}","notifications_url":"https://api.github.com/repos/nitoyon/hparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nitoyon/hparser/labels{/name}","releases_url":"https://api.github.com/repos/nitoyon/hparser/releases{/id}","created_at":"2012-05-05T03:58:06Z","updated_at":"2015-10-11T13:42:48Z","pushed_at":"2015-10-23T15:07:31Z","git_url":"git://github.com/nitoyon/hparser.git","ssh_url":"git@github.com:nitoyon/hparser.git","clone_url":"https://github.com/nitoyon/hparser.git","svn_url":"https://github.com/nitoyon/hparser","homepage":"","size":204,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"hotchpotch:master","ref":"master","sha":"9c367e73cd39862ba51e152b3be18989ae206339","user":{"login":"hotchpotch","id":3500,"avatar_url":"https://avatars.githubusercontent.com/u/3500?v=3","gravatar_id":"","url":"https://api.github.com/users/hotchpotch","html_url":"https://github.com/hotchpotch","followers_url":"https://api.github.com/users/hotchpotch/followers","following_url":"https://api.github.com/users/hotchpotch/following{/other_user}","gists_url":"https://api.github.com/users/hotchpotch/gists{/gist_id}","starred_url":"https://api.github.com/users/hotchpotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotchpotch/subscriptions","organizations_url":"https://api.github.com/users/hotchpotch/orgs","repos_url":"https://api.github.com/users/hotchpotch/repos","events_url":"https://api.github.com/users/hotchpotch/events{/privacy}","received_events_url":"https://api.github.com/users/hotchpotch/received_events","type":"User","site_admin":false},"repo":{"id":26288,"name":"hparser","full_name":"hotchpotch/hparser","owner":{"login":"hotchpotch","id":3500,"avatar_url":"https://avatars.githubusercontent.com/u/3500?v=3","gravatar_id":"","url":"https://api.github.com/users/hotchpotch","html_url":"https://github.com/hotchpotch","followers_url":"https://api.github.com/users/hotchpotch/followers","following_url":"https://api.github.com/users/hotchpotch/following{/other_user}","gists_url":"https://api.github.com/users/hotchpotch/gists{/gist_id}","starred_url":"https://api.github.com/users/hotchpotch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotchpotch/subscriptions","organizations_url":"https://api.github.com/users/hotchpotch/orgs","repos_url":"https://api.github.com/users/hotchpotch/repos","events_url":"https://api.github.com/users/hotchpotch/events{/privacy}","received_events_url":"https://api.github.com/users/hotchpotch/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hotchpotch/hparser","description":"hatena syntax parser (fork from http://rubyforge.org/projects/hparser/ )","fork":false,"url":"https://api.github.com/repos/hotchpotch/hparser","forks_url":"https://api.github.com/repos/hotchpotch/hparser/forks","keys_url":"https://api.github.com/repos/hotchpotch/hparser/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hotchpotch/hparser/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hotchpotch/hparser/teams","hooks_url":"https://api.github.com/repos/hotchpotch/hparser/hooks","issue_events_url":"https://api.github.com/repos/hotchpotch/hparser/issues/events{/number}","events_url":"https://api.github.com/repos/hotchpotch/hparser/events","assignees_url":"https://api.github.com/repos/hotchpotch/hparser/assignees{/user}","branches_url":"https://api.github.com/repos/hotchpotch/hparser/branches{/branch}","tags_url":"https://api.github.com/repos/hotchpotch/hparser/tags","blobs_url":"https://api.github.com/repos/hotchpotch/hparser/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hotchpotch/hparser/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hotchpotch/hparser/git/refs{/sha}","trees_url":"https://api.github.com/repos/hotchpotch/hparser/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hotchpotch/hparser/statuses/{sha}","languages_url":"https://api.github.com/repos/hotchpotch/hparser/languages","stargazers_url":"https://api.github.com/repos/hotchpotch/hparser/stargazers","contributors_url":"https://api.github.com/repos/hotchpotch/hparser/contributors","subscribers_url":"https://api.github.com/repos/hotchpotch/hparser/subscribers","subscription_url":"https://api.github.com/repos/hotchpotch/hparser/subscription","commits_url":"https://api.github.com/repos/hotchpotch/hparser/commits{/sha}","git_commits_url":"https://api.github.com/repos/hotchpotch/hparser/git/commits{/sha}","comments_url":"https://api.github.com/repos/hotchpotch/hparser/comments{/number}","issue_comment_url":"https://api.github.com/repos/hotchpotch/hparser/issues/comments{/number}","contents_url":"https://api.github.com/repos/hotchpotch/hparser/contents/{+path}","compare_url":"https://api.github.com/repos/hotchpotch/hparser/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hotchpotch/hparser/merges","archive_url":"https://api.github.com/repos/hotchpotch/hparser/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hotchpotch/hparser/downloads","issues_url":"https://api.github.com/repos/hotchpotch/hparser/issues{/number}","pulls_url":"https://api.github.com/repos/hotchpotch/hparser/pulls{/number}","milestones_url":"https://api.github.com/repos/hotchpotch/hparser/milestones{/number}","notifications_url":"https://api.github.com/repos/hotchpotch/hparser/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hotchpotch/hparser/labels{/name}","releases_url":"https://api.github.com/repos/hotchpotch/hparser/releases{/id}","created_at":"2008-06-18T07:49:58Z","updated_at":"2014-11-11T09:52:33Z","pushed_at":"2014-08-11T00:49:21Z","git_url":"git://github.com/hotchpotch/hparser.git","ssh_url":"git@github.com:hotchpotch/hparser.git","clone_url":"https://github.com/hotchpotch/hparser.git","svn_url":"https://github.com/hotchpotch/hparser","homepage":"","size":256,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hotchpotch/hparser/pulls/3"},"html":{"href":"https://github.com/hotchpotch/hparser/pull/3"},"issue":{"href":"https://api.github.com/repos/hotchpotch/hparser/issues/3"},"comments":{"href":"https://api.github.com/repos/hotchpotch/hparser/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/hotchpotch/hparser/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/hotchpotch/hparser/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hotchpotch/hparser/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/hotchpotch/hparser/statuses/a78a15669638f6d0e23ab1a2ec6ddfec69969cd7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":4,"changed_files":3}}