Sha256: 895b88d7841f7bed43fcac7c300b9146fef8adf148f32d7b3bba5edd1f30252e

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

# frozen_string_literal: true

require "dry-container"
require "git_plus"

module Git
  module Lint
    module Commits
      # Provides container specific to this namespace for all systems.
      module Container
        extend Dry::Container::Mixin

        config.registry = ->(container, key, value, _options) { container[key.to_s] = value }

        merge Git::Lint::Container

        register(:shell) { Open3 }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
git-lint-3.3.2 lib/git/lint/commits/container.rb
git-lint-3.3.1 lib/git/lint/commits/container.rb