Sha256: ba524066e6849f16d26132d34694ac841d5f35527b19371d548d6837c3b5b96d

Contents?: true

Size: 277 Bytes

Versions: 7

Compression:

Stored size: 277 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'

module Overcommit::Hook::PrePush
  # Functionality common to all pre-push hooks.
  class Base < Overcommit::Hook::Base
    extend Forwardable

    def_delegators :@context, :remote_name, :remote_url, :pushed_refs
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
overcommit-0.51.0 lib/overcommit/hook/pre_push/base.rb
overcommit-0.50.0 lib/overcommit/hook/pre_push/base.rb
overcommit-0.49.1 lib/overcommit/hook/pre_push/base.rb
overcommit-0.49.0 lib/overcommit/hook/pre_push/base.rb
overcommit-0.48.1 lib/overcommit/hook/pre_push/base.rb
overcommit-0.48.0 lib/overcommit/hook/pre_push/base.rb
overcommit-0.47.0 lib/overcommit/hook/pre_push/base.rb