lib/power_stencil/project/config.rb in power_stencil-0.3.5 vs lib/power_stencil/project/config.rb in power_stencil-0.3.6

- old
+ new

@@ -3,20 +3,22 @@ module Config include PowerStencil::Project::Paths - PROJECT_CONFIG_PRIORITY = 2000 - USER_CONFIG_PRIORITY = 2010 - PLUGIN_CONFIG_PRIORITY_MIN = 1000 + PROJECT_CONFIG_PRIORITY = 990 + USER_CONFIG_PRIORITY = 995 + PLUGIN_CONFIG_PRIORITY_MIN = 100 attr_reader :plugin_priority_count def load_project_specific_config # Optional config files should have less priority than the command line layer add_optional_config_layer project_versioned_config_file, 'versioned project config file', PROJECT_CONFIG_PRIORITY add_optional_config_layer project_personal_config_file, 'personal project config file', USER_CONFIG_PRIORITY + Climatic.send :setup_logger + logger.debug 'Project config files loaded' end def add_plugin_config(plugin_name) yaml_file = plugin_config_specific_file plugin_name