Sha256: 9f53c62b946bd3d44924b8cbf877e78df814952aa24c68cc703ba36fb13fb2d7

Contents?: true

Size: 406 Bytes

Versions: 14

Compression:

Stored size: 406 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'

module Overcommit::Hook::CommitMsg
  # Functionality common to all commit-msg hooks.
  class Base < Overcommit::Hook::Base
    extend Forwardable

    def_delegators :@context, :empty_message?, :commit_message,
                   :update_commit_message, :commit_message_lines,
                   :commit_message_file, :modified_lines_in_file
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
overcommit-0.67.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.66.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.65.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.64.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.64.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.63.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.62.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.61.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.60.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.59.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.59.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-jeygeethanmedia-0.58.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.58.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.57.0 lib/overcommit/hook/commit_msg/base.rb