Sha256: 275b1e63a76d5aada8c85d3123b5143e34935890d6b4ca48d9035f4ddd11de17

Contents?: true

Size: 448 Bytes

Versions: 8

Compression:

Stored size: 448 Bytes

Contents

# frozen_string_literal: true

module Git
  module Lint
    module Commits
      module Systems
        # Provides Circle CI build environment feature branch information.
        class CircleCI
          include Git::Lint::Import[:repository]

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

          private

          def name = "origin/#{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/circle_ci.rb
git-lint-4.5.0 lib/git/lint/commits/systems/circle_ci.rb
git-lint-4.4.0 lib/git/lint/commits/systems/circle_ci.rb
git-lint-4.3.0 lib/git/lint/commits/systems/circle_ci.rb
git-lint-4.2.0 lib/git/lint/commits/systems/circle_ci.rb
git-lint-4.1.0 lib/git/lint/commits/systems/circle_ci.rb
git-lint-4.0.1 lib/git/lint/commits/systems/circle_ci.rb
git-lint-4.0.0 lib/git/lint/commits/systems/circle_ci.rb