Sha256: 7747b42e9080accd99111676ebbe7a440f01f8fa792f02e60248c23eb28be926
Contents?: true
Size: 529 Bytes
Versions: 5
Compression:
Stored size: 529 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Branches module Environments # Provides local build environment feature branch information. class Local def initialize repository: GitPlus::Repository.new @repository = repository end def name = repository.branch_name def commits = repository.commits("#{repository.branch_default}..#{name}") private attr_reader :repository end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems