lib/coco/engine.rb in coveragebook_components-0.16.0 vs lib/coco/engine.rb in coveragebook_components-0.17.0

- old
+ new

@@ -23,13 +23,9 @@ end Dir.glob("#{coco_dir}/{#{COLLAPSE_DIRS.join(",")}}/**/*.rb").each do |path| autoloader.collapse(File.dirname(path)) end - - Dir.glob("#{coco_dir}/{app,book}/**/*.rb").each do |path| - autoloader.collapse(File.dirname(path)) - end end if Rails.env.production? Rails.application.config.to_prepare do Rails.autoloaders.main.eager_load_dir(coco_dir)