Sha256: 7ca1f08d015a48fdfa91c6380a72fce978743c2d5294ca7ac4d4f755d709a87b

Contents?: true

Size: 364 Bytes

Versions: 28

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

require 'forwardable'

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

    def_delegators :@context,
                   :upstream_branch, :rebased_branch, :detached_head?,
                   :fast_forward?, :rebased_commits
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
overcommit-0.64.1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.64.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.63.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.62.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.61.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.60.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.59.1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.59.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-jeygeethanmedia-0.58.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.58.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.57.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.56.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.55.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.54.1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.54.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-jeygeethanmedia-0.53.1.2 lib/overcommit/hook/pre_rebase/base.rb
overcommit-jeygeethanmedia-0.53.1.1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-jeygeethanmedia-0.53.1 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.53.0 lib/overcommit/hook/pre_rebase/base.rb
overcommit-0.52.1 lib/overcommit/hook/pre_rebase/base.rb