* hanna has broken dependencies all the time * we have a .yardopts file already for rubydoc.info * just compare the rake tasks * README has a TOC This would also allow using YARD's doc tagging system at some point in the future. Rakefile is still usable even if YARD is not installed.
…on on Ruby 1.9. Fixes #81.
* If Ruby version is not encoding aware, do nothing * If file contains a magic comment in the first line, use that encoding * Otherwise use settings.default_encoding Allows one to use unicode characters without having to escape them and deploy on Linux systems, like Heroku, on 1.9.2 (on OSX encodings always default to UTF-8, which makes it hard to spot this issue before deployment). Fixes #136.
…ything defaults to UTF-8 on OSX).
…icit type is given. Fixes #130.
All Errno::ENOENT exceptions raised during layout (not template) rendering where caught assuming this would indicate that there is no layout file. However, if the Errno::ENOENT was raised inside the layout (say, from a missing partial), that exceptions was rescued, too. With this patch, it will not only not raise an error if the template is missing, it will just raise an exception if the layout is missing and the layout option hasn't been set explicitely. That way, unexpected behavior can more easily be traced back to missing templates. Fixes #135.
…ication/octet-stream rather than complaining. Fixes #127.
…alue. Allows using partials in layouts.