hammackj / risu

Risu is Nessus parser, that converts the generated reports into a ActiveRecord database, this allows for easy report generation and vulnerability verification.
http://hammackj.github.io/risu
MIT License
63 stars 20 forks source link

Sax cleanup #77

Closed bluehavana closed 9 years ago

bluehavana commented 9 years ago

Use dynamic dispatch for nessus_sax_listener.rb.

Converted some of the instance variables to private class constants as they were acting like constants anyway. <- for nessu_sax_listener.rb and simple_nexpose.rb parsers.

Will probably refactor the dispatch methods into modules later on.

All specs passing.

hammackj commented 9 years ago

Looks good. Ill merge it with 1.7.3 for the next release.

hammackj commented 9 years ago

Merged this with my 1.7.3 dev branch, so far all is well. Going to Close the PR for now, this will be in the next release.