lib/packwerk/configuration.rb in packwerk-1.1.3 vs lib/packwerk/configuration.rb in packwerk-1.2.0
- old
+ new
@@ -45,10 +45,15 @@
@root_path = File.expand_path(root)
@package_paths = configs["package_paths"] || "**/"
@custom_associations = configs["custom_associations"] || []
@load_paths = configs["load_paths"] || []
@inflections_file = File.expand_path(configs["inflections_file"] || "config/inflections.yml", @root_path)
+ @parallel = configs.key?("parallel") ? configs["parallel"] : true
@config_path = config_path
+ end
+
+ def parallel?
+ @parallel
end
end
end