Sha256: 6c29a368bc1ddd0305ce13d8aae557c2271d1916f66a77784a57c6f71a0cada2

Contents?: true

Size: 352 Bytes

Versions: 5

Compression:

Stored size: 352 Bytes

Contents

require 'dry/web/container'

module Main
  class Container < Dry::Web::Container
    configure do |config|
      config.root = Pathname(__FILE__).join('../..').realpath.dirname.freeze
      config.auto_register = 'lib'
    end

    require root.join('../../shared/persistence').to_s

    import Persistence::Container

    load_paths!('lib')
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
dry-web-roda-0.5.1 spec/dummy/apps/main/system/main/container.rb
dry-web-roda-0.5.0 spec/dummy/apps/main/system/main/container.rb
dry-web-roda-0.4.0 spec/dummy/apps/main/system/main/container.rb
dry-web-roda-0.1.0 spec/dummy/apps/main/core/main/container.rb
dry-web-0.1.0 spec/dummy/apps/main/core/main/container.rb