Sha256: 44653a555abdbe1f5f5735fdef656079c09b77544aa2186caf3782f8fab0512a

Contents?: true

Size: 552 Bytes

Versions: 8

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

module Git
  module Lint
    module Commits
      module Systems
        # Provides local build environment feature branch information.
        class Local
          def initialize container: Container
            @container = container
          end

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

          private

          attr_reader :container

          def name = repository.branch_name

          def repository = container[__method__]
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
git-lint-3.3.2 lib/git/lint/commits/systems/local.rb
git-lint-3.3.1 lib/git/lint/commits/systems/local.rb
git-lint-3.3.0 lib/git/lint/commits/systems/local.rb
git-lint-3.2.0 lib/git/lint/commits/systems/local.rb
git-lint-3.1.0 lib/git/lint/commits/systems/local.rb
git-lint-3.0.2 lib/git/lint/commits/systems/local.rb
git-lint-3.0.1 lib/git/lint/commits/systems/local.rb
git-lint-3.0.0 lib/git/lint/commits/systems/local.rb