lib/tocer/container.rb in tocer-16.0.0 vs lib/tocer/container.rb in tocer-16.0.1
- old
+ new
@@ -19,10 +19,10 @@
register :defaults do
Etcher::Registry.new(contract: Configuration::Contract, model: Configuration::Model)
.add_loader(Etcher::Loaders::YAML.new(self[:defaults_path]))
end
- register(:inputs, memoize: true) { self[:configuration].dup }
+ register(:input, memoize: true) { self[:configuration].dup }
register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }
register(:xdg_config) { Runcom::Config.new "tocer/configuration.yml" }
register(:specification) { Spek::Loader.call "#{__dir__}/../../tocer.gemspec" }
register(:kernel) { Kernel }
register(:logger) { Cogger.new formatter: :emoji }