lib/dry/system/container.rb in dry-system-0.8.0 vs lib/dry/system/container.rb in dry-system-0.8.1

- old
+ new

@@ -229,20 +229,20 @@ deprecate :finalize, :boot # @api private def boot_external(identifier, from:, key: nil, namespace: nil, &block) component = System.providers[from].component( - key || identifier, key: identifier, namespace: namespace, finalize: block, container: self + identifier, key: key, namespace: namespace, finalize: block, container: self ) booter.register_component(component) component end # @api private - def boot_local(name, namespace: nil, &block) - component = Components::Bootable.new(name, container: self, namespace: namespace, &block) + def boot_local(identifier, namespace: nil, &block) + component = Components::Bootable.new(identifier, container: self, namespace: namespace, &block) booter.register_component(component) component end