{"action":"closed","number":46,"pull_request":{"url":"https://api.github.com/repos/k0kubun/hamlit/pulls/46","id":53419952,"html_url":"https://github.com/k0kubun/hamlit/pull/46","diff_url":"https://github.com/k0kubun/hamlit/pull/46.diff","patch_url":"https://github.com/k0kubun/hamlit/pull/46.patch","issue_url":"https://api.github.com/repos/k0kubun/hamlit/issues/46","number":46,"state":"closed","locked":false,"title":"fix error when autoclose option is nil","user":{"login":"walf443","id":2655,"avatar_url":"https://avatars.githubusercontent.com/u/2655?v=3","gravatar_id":"","url":"https://api.github.com/users/walf443","html_url":"https://github.com/walf443","followers_url":"https://api.github.com/users/walf443/followers","following_url":"https://api.github.com/users/walf443/following{/other_user}","gists_url":"https://api.github.com/users/walf443/gists{/gist_id}","starred_url":"https://api.github.com/users/walf443/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walf443/subscriptions","organizations_url":"https://api.github.com/users/walf443/orgs","repos_url":"https://api.github.com/users/walf443/repos","events_url":"https://api.github.com/users/walf443/events{/privacy}","received_events_url":"https://api.github.com/users/walf443/received_events","type":"User","site_admin":false},"body":"This fix following problem.\r\n\r\n```\r\n$ ruby -S -Ilib ./exe/hamlit temple benchmark/dynamic_attributes/boolean_attribute.haml\r\n\r\n./lib/hamlit/compiler/tag_compiler.rb:64:in `self_closing?': undefined method `include?' for nil:NilClass (NoMethodError)\r\nDid you mean?  @autoclose\r\n        from lib/hamlit/compiler/tag_compiler.rb:26:in `compile_contents'\r\n        from lib/hamlit/compiler/tag_compiler.rb:16:in `compile'\r\n        from lib/hamlit/compiler.rb:86:in `compile_tag'\r\n        from lib/hamlit/compiler.rb:49:in `compile'\r\n        from lib/hamlit/compiler.rb:58:in `block in compile_children'\r\n        from lib/hamlit/compiler/children_compiler.rb:16:in `block in compile'\r\n        from lib/hamlit/compiler/children_compiler.rb:13:in `each'\r\n        from lib/hamlit/compiler/children_compiler.rb:13:in `compile'\r\n        from lib/hamlit/compiler.rb:58:in `compile_children'\r\n        from lib/hamlit/compiler.rb:35:in `compile'\r\n        from lib/hamlit/compiler.rb:25:in `call'\r\n        from lib/hamlit/cli.rb:58:in `generate_temple'\r\n        from lib/hamlit/cli.rb:20:in `temple'\r\n```\r\n\r\n        \r\n\r\n","created_at":"2015-12-11T17:21:52Z","updated_at":"2015-12-11T20:05:22Z","closed_at":"2015-12-11T20:05:22Z","merged_at":"2015-12-11T20:05:22Z","merge_commit_sha":"656b47f5552f6a217c8099ad9b1708ded24753af","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/k0kubun/hamlit/pulls/46/commits","review_comments_url":"https://api.github.com/repos/k0kubun/hamlit/pulls/46/comments","review_comment_url":"https://api.github.com/repos/k0kubun/hamlit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/k0kubun/hamlit/issues/46/comments","statuses_url":"https://api.github.com/repos/k0kubun/hamlit/statuses/8a61d673fcea2c76288497eed73e40f067b62b9d","head":{"label":"walf443:fix/self_closing_error","ref":"fix/self_closing_error","sha":"8a61d673fcea2c76288497eed73e40f067b62b9d","user":{"login":"walf443","id":2655,"avatar_url":"https://avatars.githubusercontent.com/u/2655?v=3","gravatar_id":"","url":"https://api.github.com/users/walf443","html_url":"https://github.com/walf443","followers_url":"https://api.github.com/users/walf443/followers","following_url":"https://api.github.com/users/walf443/following{/other_user}","gists_url":"https://api.github.com/users/walf443/gists{/gist_id}","starred_url":"https://api.github.com/users/walf443/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walf443/subscriptions","organizations_url":"https://api.github.com/users/walf443/orgs","repos_url":"https://api.github.com/users/walf443/repos","events_url":"https://api.github.com/users/walf443/events{/privacy}","received_events_url":"https://api.github.com/users/walf443/received_events","type":"User","site_admin":false},"repo":{"id":47840393,"name":"hamlit","full_name":"walf443/hamlit","owner":{"login":"walf443","id":2655,"avatar_url":"https://avatars.githubusercontent.com/u/2655?v=3","gravatar_id":"","url":"https://api.github.com/users/walf443","html_url":"https://github.com/walf443","followers_url":"https://api.github.com/users/walf443/followers","following_url":"https://api.github.com/users/walf443/following{/other_user}","gists_url":"https://api.github.com/users/walf443/gists{/gist_id}","starred_url":"https://api.github.com/users/walf443/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/walf443/subscriptions","organizations_url":"https://api.github.com/users/walf443/orgs","repos_url":"https://api.github.com/users/walf443/repos","events_url":"https://api.github.com/users/walf443/events{/privacy}","received_events_url":"https://api.github.com/users/walf443/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/walf443/hamlit","description":"High Performance Haml Implementation","fork":true,"url":"https://api.github.com/repos/walf443/hamlit","forks_url":"https://api.github.com/repos/walf443/hamlit/forks","keys_url":"https://api.github.com/repos/walf443/hamlit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/walf443/hamlit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/walf443/hamlit/teams","hooks_url":"https://api.github.com/repos/walf443/hamlit/hooks","issue_events_url":"https://api.github.com/repos/walf443/hamlit/issues/events{/number}","events_url":"https://api.github.com/repos/walf443/hamlit/events","assignees_url":"https://api.github.com/repos/walf443/hamlit/assignees{/user}","branches_url":"https://api.github.com/repos/walf443/hamlit/branches{/branch}","tags_url":"https://api.github.com/repos/walf443/hamlit/tags","blobs_url":"https://api.github.com/repos/walf443/hamlit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/walf443/hamlit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/walf443/hamlit/git/refs{/sha}","trees_url":"https://api.github.com/repos/walf443/hamlit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/walf443/hamlit/statuses/{sha}","languages_url":"https://api.github.com/repos/walf443/hamlit/languages","stargazers_url":"https://api.github.com/repos/walf443/hamlit/stargazers","contributors_url":"https://api.github.com/repos/walf443/hamlit/contributors","subscribers_url":"https://api.github.com/repos/walf443/hamlit/subscribers","subscription_url":"https://api.github.com/repos/walf443/hamlit/subscription","commits_url":"https://api.github.com/repos/walf443/hamlit/commits{/sha}","git_commits_url":"https://api.github.com/repos/walf443/hamlit/git/commits{/sha}","comments_url":"https://api.github.com/repos/walf443/hamlit/comments{/number}","issue_comment_url":"https://api.github.com/repos/walf443/hamlit/issues/comments{/number}","contents_url":"https://api.github.com/repos/walf443/hamlit/contents/{+path}","compare_url":"https://api.github.com/repos/walf443/hamlit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/walf443/hamlit/merges","archive_url":"https://api.github.com/repos/walf443/hamlit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/walf443/hamlit/downloads","issues_url":"https://api.github.com/repos/walf443/hamlit/issues{/number}","pulls_url":"https://api.github.com/repos/walf443/hamlit/pulls{/number}","milestones_url":"https://api.github.com/repos/walf443/hamlit/milestones{/number}","notifications_url":"https://api.github.com/repos/walf443/hamlit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/walf443/hamlit/labels{/name}","releases_url":"https://api.github.com/repos/walf443/hamlit/releases{/id}","created_at":"2015-12-11T17:18:19Z","updated_at":"2015-12-11T17:18:20Z","pushed_at":"2015-12-11T17:18:51Z","git_url":"git://github.com/walf443/hamlit.git","ssh_url":"git@github.com:walf443/hamlit.git","clone_url":"https://github.com/walf443/hamlit.git","svn_url":"https://github.com/walf443/hamlit","homepage":"https://rubygems.org/gems/hamlit","size":965,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"k0kubun:master","ref":"master","sha":"8b45eb3dceb39a8172b05ea4f3aa9cb68ccc46a1","user":{"login":"k0kubun","id":3138447,"avatar_url":"https://avatars.githubusercontent.com/u/3138447?v=3","gravatar_id":"","url":"https://api.github.com/users/k0kubun","html_url":"https://github.com/k0kubun","followers_url":"https://api.github.com/users/k0kubun/followers","following_url":"https://api.github.com/users/k0kubun/following{/other_user}","gists_url":"https://api.github.com/users/k0kubun/gists{/gist_id}","starred_url":"https://api.github.com/users/k0kubun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0kubun/subscriptions","organizations_url":"https://api.github.com/users/k0kubun/orgs","repos_url":"https://api.github.com/users/k0kubun/repos","events_url":"https://api.github.com/users/k0kubun/events{/privacy}","received_events_url":"https://api.github.com/users/k0kubun/received_events","type":"User","site_admin":false},"repo":{"id":33119874,"name":"hamlit","full_name":"k0kubun/hamlit","owner":{"login":"k0kubun","id":3138447,"avatar_url":"https://avatars.githubusercontent.com/u/3138447?v=3","gravatar_id":"","url":"https://api.github.com/users/k0kubun","html_url":"https://github.com/k0kubun","followers_url":"https://api.github.com/users/k0kubun/followers","following_url":"https://api.github.com/users/k0kubun/following{/other_user}","gists_url":"https://api.github.com/users/k0kubun/gists{/gist_id}","starred_url":"https://api.github.com/users/k0kubun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0kubun/subscriptions","organizations_url":"https://api.github.com/users/k0kubun/orgs","repos_url":"https://api.github.com/users/k0kubun/repos","events_url":"https://api.github.com/users/k0kubun/events{/privacy}","received_events_url":"https://api.github.com/users/k0kubun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/k0kubun/hamlit","description":"High Performance Haml Implementation","fork":false,"url":"https://api.github.com/repos/k0kubun/hamlit","forks_url":"https://api.github.com/repos/k0kubun/hamlit/forks","keys_url":"https://api.github.com/repos/k0kubun/hamlit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/k0kubun/hamlit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/k0kubun/hamlit/teams","hooks_url":"https://api.github.com/repos/k0kubun/hamlit/hooks","issue_events_url":"https://api.github.com/repos/k0kubun/hamlit/issues/events{/number}","events_url":"https://api.github.com/repos/k0kubun/hamlit/events","assignees_url":"https://api.github.com/repos/k0kubun/hamlit/assignees{/user}","branches_url":"https://api.github.com/repos/k0kubun/hamlit/branches{/branch}","tags_url":"https://api.github.com/repos/k0kubun/hamlit/tags","blobs_url":"https://api.github.com/repos/k0kubun/hamlit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/k0kubun/hamlit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/k0kubun/hamlit/git/refs{/sha}","trees_url":"https://api.github.com/repos/k0kubun/hamlit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/k0kubun/hamlit/statuses/{sha}","languages_url":"https://api.github.com/repos/k0kubun/hamlit/languages","stargazers_url":"https://api.github.com/repos/k0kubun/hamlit/stargazers","contributors_url":"https://api.github.com/repos/k0kubun/hamlit/contributors","subscribers_url":"https://api.github.com/repos/k0kubun/hamlit/subscribers","subscription_url":"https://api.github.com/repos/k0kubun/hamlit/subscription","commits_url":"https://api.github.com/repos/k0kubun/hamlit/commits{/sha}","git_commits_url":"https://api.github.com/repos/k0kubun/hamlit/git/commits{/sha}","comments_url":"https://api.github.com/repos/k0kubun/hamlit/comments{/number}","issue_comment_url":"https://api.github.com/repos/k0kubun/hamlit/issues/comments{/number}","contents_url":"https://api.github.com/repos/k0kubun/hamlit/contents/{+path}","compare_url":"https://api.github.com/repos/k0kubun/hamlit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/k0kubun/hamlit/merges","archive_url":"https://api.github.com/repos/k0kubun/hamlit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/k0kubun/hamlit/downloads","issues_url":"https://api.github.com/repos/k0kubun/hamlit/issues{/number}","pulls_url":"https://api.github.com/repos/k0kubun/hamlit/pulls{/number}","milestones_url":"https://api.github.com/repos/k0kubun/hamlit/milestones{/number}","notifications_url":"https://api.github.com/repos/k0kubun/hamlit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/k0kubun/hamlit/labels{/name}","releases_url":"https://api.github.com/repos/k0kubun/hamlit/releases{/id}","created_at":"2015-03-30T11:43:34Z","updated_at":"2015-12-11T16:35:56Z","pushed_at":"2015-12-11T20:05:22Z","git_url":"git://github.com/k0kubun/hamlit.git","ssh_url":"git@github.com:k0kubun/hamlit.git","clone_url":"https://github.com/k0kubun/hamlit.git","svn_url":"https://github.com/k0kubun/hamlit","homepage":"https://rubygems.org/gems/hamlit","size":965,"stargazers_count":298,"watchers_count":298,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":298,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/k0kubun/hamlit/pulls/46"},"html":{"href":"https://github.com/k0kubun/hamlit/pull/46"},"issue":{"href":"https://api.github.com/repos/k0kubun/hamlit/issues/46"},"comments":{"href":"https://api.github.com/repos/k0kubun/hamlit/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/k0kubun/hamlit/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/k0kubun/hamlit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/k0kubun/hamlit/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/k0kubun/hamlit/statuses/8a61d673fcea2c76288497eed73e40f067b62b9d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"k0kubun","id":3138447,"avatar_url":"https://avatars.githubusercontent.com/u/3138447?v=3","gravatar_id":"","url":"https://api.github.com/users/k0kubun","html_url":"https://github.com/k0kubun","followers_url":"https://api.github.com/users/k0kubun/followers","following_url":"https://api.github.com/users/k0kubun/following{/other_user}","gists_url":"https://api.github.com/users/k0kubun/gists{/gist_id}","starred_url":"https://api.github.com/users/k0kubun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0kubun/subscriptions","organizations_url":"https://api.github.com/users/k0kubun/orgs","repos_url":"https://api.github.com/users/k0kubun/repos","events_url":"https://api.github.com/users/k0kubun/events{/privacy}","received_events_url":"https://api.github.com/users/k0kubun/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}