Sha256: 5f54d2d816a0244afacaccf8c4b79ae872ef17af292d9c2ef815125f430fd372

Contents?: true

Size: 555 Bytes

Versions: 15

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true

require "dry/container"

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

        merge Gemsmith::Container

        register(:config) { Config.new }
        register(:build) { Build.new }
        register(:install) { Install.new }
        register(:publish) { Publish.new }
        register(:edit) { Edit.new }
        register(:view) { View.new }
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
gemsmith-19.8.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.7.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.6.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.5.2 lib/gemsmith/cli/actions/container.rb
gemsmith-19.5.1 lib/gemsmith/cli/actions/container.rb
gemsmith-19.5.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.4.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.3.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.2.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.1.0 lib/gemsmith/cli/actions/container.rb
gemsmith-19.0.0 lib/gemsmith/cli/actions/container.rb
gemsmith-18.9.0 lib/gemsmith/cli/actions/container.rb
gemsmith-18.8.0 lib/gemsmith/cli/actions/container.rb
gemsmith-18.7.0 lib/gemsmith/cli/actions/container.rb
gemsmith-18.6.0 lib/gemsmith/cli/actions/container.rb