rtomayko / rocco

Rocco is Docco in Ruby
MIT License
404 stars 80 forks source link

Two bugfixes: display output when there are no comments, allow non-UTF-8 encodings #72

Open lambda opened 12 years ago

lambda commented 12 years ago

I've pushed two bugfixes to my fork; one to make sure that we get output even when there are no comments in the file (issue 71) and one to allow explicit specification of input file encoding so we can properly handle non-UTF-8 input on Ruby 1.9 (issue 73). This pull request also updates .gitignore to properly ignore the generated docs directory.

I had submitted this pull request earlier with some other patches mixed in, but I've now cleaned it up and rebased it on the latest code.

lambda commented 12 years ago

Any chance that someone could review these and either pull them or let me know what I should do differently?