lib/pronto/formatter/github_formatter.rb in pronto-0.11.1 vs lib/pronto/formatter/github_formatter.rb in pronto-0.11.2
- old
+ new
@@ -1,8 +1,12 @@
module Pronto
module Formatter
class GithubFormatter < CommitFormatter
+ def self.name
+ 'github'
+ end
+
def client_module
Github
end
def pretty_name
@@ -13,5 +17,7 @@
message.line.commit_line.position if message.line
end
end
end
end
+
+Pronto::Formatter.register(Pronto::Formatter::GithubFormatter)