Sha256: 8342c48e549be793d9a7c1ae2205449f43345bc6306eb56bf6ee37c0160f6763

Contents?: true

Size: 551 Bytes

Versions: 9

Compression:

Stored size: 551 Bytes

Contents

# frozen_string_literal: true

require "dry/container"

module Git
  module Lint
    module CLI
      module Actions
        # Provides a single container with application and action specific dependencies.
        module Container
          extend Dry::Container::Mixin

          merge Git::Lint::Container

          register(:analyze_branch) { Analyze::Branch.new }
          register(:analyze_commit) { Analyze::Commit.new }
          register(:config) { Config.new }
          register(:hook) { Hook.new }
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
git-lint-5.3.0 lib/git/lint/cli/actions/container.rb
git-lint-5.2.0 lib/git/lint/cli/actions/container.rb
git-lint-5.1.2 lib/git/lint/cli/actions/container.rb
git-lint-5.1.1 lib/git/lint/cli/actions/container.rb
git-lint-5.1.0 lib/git/lint/cli/actions/container.rb
git-lint-5.0.0 lib/git/lint/cli/actions/container.rb
git-lint-4.6.0 lib/git/lint/cli/actions/container.rb
git-lint-4.5.0 lib/git/lint/cli/actions/container.rb
git-lint-4.4.0 lib/git/lint/cli/actions/container.rb