Sha256: f2fb37235f2a7409f6733cdd39280349e951a475c7657b0663fa885aead84515

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

require 'changelog/parsers/base'
require 'changelog/parsers/intridea_format'
require 'changelog/parsers/keep_a_changelog'

module Danger
  module Changelog
    module Parsers
      def self.default_format
        :intridea
      end

      def self.lookup(format)
        { intridea: IntrideaFormat, keep_a_changelog: KeepAChangelog }
          .fetch(format, IntrideaFormat)
          .new
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
danger-changelog-0.5.0 lib/changelog/parsers.rb