Sha256: 5f7780598e3571b711eb2b52649e6801915c84291a0ba2900b77aa238dfb386e

Contents?: true

Size: 481 Bytes

Versions: 12

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

module Git
  module Lint
    module Commits
      module Systems
        # Provides local build environment feature branch information.
        class Local
          include Git::Lint::Import[:git]

          def call = git.commits("#{branch_default}..#{branch_name}")

          private

          def branch_default = git.branch_default.value_or nil

          def branch_name = git.branch_name.value_or nil
        end
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
git-lint-6.2.1 lib/git/lint/commits/systems/local.rb
git-lint-6.2.0 lib/git/lint/commits/systems/local.rb
git-lint-6.1.0 lib/git/lint/commits/systems/local.rb
git-lint-6.0.2 lib/git/lint/commits/systems/local.rb
git-lint-6.0.1 lib/git/lint/commits/systems/local.rb
git-lint-6.0.0 lib/git/lint/commits/systems/local.rb
git-lint-5.3.0 lib/git/lint/commits/systems/local.rb
git-lint-5.2.0 lib/git/lint/commits/systems/local.rb
git-lint-5.1.2 lib/git/lint/commits/systems/local.rb
git-lint-5.1.1 lib/git/lint/commits/systems/local.rb
git-lint-5.1.0 lib/git/lint/commits/systems/local.rb
git-lint-5.0.0 lib/git/lint/commits/systems/local.rb