Sha256: b951080012e5b17dd885c48e7af696d52f1a48da681df90f8e9d1856760190b1

Contents?: true

Size: 381 Bytes

Versions: 17

Compression:

Stored size: 381 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
  end
end

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
overcommit-0.56.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.55.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.54.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.54.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-jeygeethanmedia-0.53.1.2 lib/overcommit/hook/commit_msg/base.rb
overcommit-jeygeethanmedia-0.53.1.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-jeygeethanmedia-0.53.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.53.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.52.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.52.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.51.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.50.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.49.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.49.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.48.1 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.48.0 lib/overcommit/hook/commit_msg/base.rb
overcommit-0.47.0 lib/overcommit/hook/commit_msg/base.rb