Sha256: 5812958b116d5b2508fa0dae10f883815ad8e85a598377c164af97d4745e113e
Contents?: true
Size: 521 Bytes
Versions: 22
Compression:
Stored size: 521 Bytes
Contents
require "cogger" require "dry/container" require "spek" <% namespace do %> # Provides a global gem container for injection into other objects. module Container extend Dry::Container::Mixin register(:configuration) { Configuration::Loader.call } register(:specification) { Spek::Loader.call "#{__dir__}/<%= Array.new(2 + configuration.project_levels, "../").join %><%= configuration.project_name %>.gemspec" } register(:kernel) { Kernel } register(:logger) { Cogger::Client.new } end <% end %>
Version data entries
22 entries across 22 versions & 1 rubygems