Sha256: 48fb994812ee18767ac62b16a1e9e06e403538b94b70dec69bf14552c12c1165

Contents?: true

Size: 414 Bytes

Versions: 2

Compression:

Stored size: 414 Bytes

Contents

module Pronto
  module Formatter
    class BitbucketFormatter < CommitFormatter
      def self.name
        'bitbucket'
      end

      def client_module
        Bitbucket
      end

      def pretty_name
        'BitBucket'
      end

      def line_number(message, _)
        message.line.new_lineno if message.line
      end
    end
  end
end

Pronto::Formatter.register(Pronto::Formatter::BitbucketFormatter)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pronto-0.11.3 lib/pronto/formatter/bitbucket_formatter.rb
pronto-0.11.2 lib/pronto/formatter/bitbucket_formatter.rb