Sha256: c11d084db8d8ea9f832064bd9768a9b44b163f2af3e09391a4e1cd656b5d42d9

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 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

        register(:repository) { GitPlus::Repository.new }
        register(:shell) { Open3 }
        register(:environment) { ENV }
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
git-lint-3.3.0 lib/git/lint/commits/container.rb
git-lint-3.2.0 lib/git/lint/commits/container.rb
git-lint-3.1.0 lib/git/lint/commits/container.rb
git-lint-3.0.2 lib/git/lint/commits/container.rb
git-lint-3.0.1 lib/git/lint/commits/container.rb
git-lint-3.0.0 lib/git/lint/commits/container.rb