Sha256: 566147dcddc622c162da0125acf943117cda332f445614b5e6d08afa6be1bbc2
Contents?: true
Size: 543 Bytes
Versions: 19
Compression:
Stored size: 543 Bytes
Contents
# frozen_string_literal: true require "cogger" require "dry-container" require "pastel" require "spek" module Rubysmith # Provides a global gem container for injection into other objects. module Container extend Dry::Container::Mixin register(:colorizer) { Pastel.new enabled: $stdout.tty? } register(:configuration) { Configuration::Loader.call } register(:specification) { Spek::Loader.call "#{__dir__}/../../rubysmith.gemspec" } register(:kernel) { Kernel } register(:logger) { Cogger::Client.new } end end
Version data entries
19 entries across 19 versions & 1 rubygems