Sha256: 49e71f21d339f848a02bec19e63494b3b437d1966eae883a3e0cc2e0fc8da4dd

Contents?: true

Size: 422 Bytes

Versions: 8

Compression:

Stored size: 422 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[:repository]

          def call = repository.commits("#{repository.branch_default}..#{name}")

          private

          def name = repository.branch_name
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git-lint-4.6.0 lib/git/lint/commits/systems/local.rb
git-lint-4.5.0 lib/git/lint/commits/systems/local.rb
git-lint-4.4.0 lib/git/lint/commits/systems/local.rb
git-lint-4.3.0 lib/git/lint/commits/systems/local.rb
git-lint-4.2.0 lib/git/lint/commits/systems/local.rb
git-lint-4.1.0 lib/git/lint/commits/systems/local.rb
git-lint-4.0.1 lib/git/lint/commits/systems/local.rb
git-lint-4.0.0 lib/git/lint/commits/systems/local.rb