Sha256: 2f824484fffbf2ee3a8b27ad42fa35c253c0f9219c232e093f9519c754baf52b
Contents?: true
Size: 648 Bytes
Versions: 5
Compression:
Stored size: 648 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 config.registry = ->(container, key, value, _options) { container[key.to_s] = value } 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
5 entries across 5 versions & 1 rubygems