lib/pronto/formatter/bitbucket_formatter.rb in pronto-0.11.1 vs lib/pronto/formatter/bitbucket_formatter.rb in pronto-0.11.2
- old
+ new
@@ -1,8 +1,12 @@
module Pronto
module Formatter
class BitbucketFormatter < CommitFormatter
+ def self.name
+ 'bitbucket'
+ end
+
def client_module
Bitbucket
end
def pretty_name
@@ -13,5 +17,7 @@
message.line.new_lineno if message.line
end
end
end
end
+
+Pronto::Formatter.register(Pronto::Formatter::BitbucketFormatter)