lib/cc/analyzer/formatters.rb in codeclimate-0.29.0 vs lib/cc/analyzer/formatters.rb in codeclimate-0.30.0

- old
+ new

@@ -1,13 +1,15 @@ module CC module Analyzer module Formatters autoload :Formatter, "cc/analyzer/formatters/formatter" + autoload :HTMLFormatter, "cc/analyzer/formatters/html_formatter" autoload :JSONFormatter, "cc/analyzer/formatters/json_formatter" autoload :PlainTextFormatter, "cc/analyzer/formatters/plain_text_formatter" autoload :Spinner, "cc/analyzer/formatters/spinner" FORMATTERS = { + html: HTMLFormatter, json: JSONFormatter, text: PlainTextFormatter, }.freeze def self.resolve(name)