Sha256: afbedd887f47d9a319fbed00363c292bf105df627d6704c94f34845c646a8d06

Contents?: true

Size: 317 Bytes

Versions: 8

Compression:

Stored size: 317 Bytes

Contents

module Pronto
  module Formatter
    class BitbucketPullRequestFormatter < PullRequestFormatter
      def client_module
        Bitbucket
      end

      def pretty_name
        'BitBucket'
      end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pronto-0.9.5 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.9.4 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.9.3 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.9.2 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.9.1 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.9.0 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.8.2 lib/pronto/formatter/bitbucket_pull_request_formatter.rb
pronto-0.8.1 lib/pronto/formatter/bitbucket_pull_request_formatter.rb