Sha256: b3f2e81d13a881fafe779a98b3c99aac24680a87eac855c88077b986bb21c865
Contents?: true
Size: 578 Bytes
Versions: 8
Compression:
Stored size: 578 Bytes
Contents
# frozen_string_literal: true module Git module Lint module Commits module Systems # Provides Circle CI build environment feature branch information. class CircleCI def initialize container: Container @container = container end def call = repository.commits("origin/#{repository.branch_default}..#{name}") private attr_reader :container def name = "origin/#{repository.branch_name}" def repository = container[__method__] end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems