lib/pragmater/container.rb in pragmater-10.0.1 vs lib/pragmater/container.rb in pragmater-10.1.0

- old
+ new

@@ -7,10 +7,13 @@ module Pragmater # Provides a global gem container for injection into other objects. module Container extend Dry::Container::Mixin + SPEC_PATH = "#{__dir__}/../../pragmater.gemspec".freeze + register(:configuration) { Configuration::Loader.call } + register(:specification) { Gem::Specification.load SPEC_PATH } register(:colorizer) { Pastel.new enabled: $stdout.tty? } register(:kernel) { Kernel } register :log_colors do {