lib/dry/system/auto_registrar.rb in dry-system-0.8.1 vs lib/dry/system/auto_registrar.rb in dry-system-0.9.0

- old
+ new

@@ -50,10 +50,10 @@ reject { |component| key?(component.identifier) } end # @api private def files(dir) - Dir["#{root}/#{dir}/**/*.rb"] + Dir["#{root}/#{dir}/**/#{RB_GLOB}"] end # @api private def relative_path(dir, file_path) dir_root = root.join(dir.to_s.split('/')[0])