lib/dry/system/container.rb in dry-system-0.7.0 vs lib/dry/system/container.rb in dry-system-0.7.1
- old
+ new
@@ -64,10 +64,10 @@
extend Dry::Configurable
extend Dry::Container::Mixin
setting :name
setting :default_namespace
- setting :root, Pathname.pwd.freeze
+ setting(:root, Pathname.pwd.freeze) { |path| Pathname(path) }
setting :system_dir, 'system'.freeze
setting :registrations_dir, 'container'.freeze
setting :auto_register, []
setting :loader, Dry::System::Loader
setting :booter, Dry::System::Booter