lib/milestoner/container.rb in milestoner-13.0.1 vs lib/milestoner/container.rb in milestoner-13.1.0

- old
+ new

@@ -8,10 +8,13 @@ module Milestoner # Provides a global gem container for injection into other objects. module Container extend Dry::Container::Mixin + SPEC_PATH = "#{__dir__}/../../milestoner.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 {