lib/power_stencil/project/config.rb in power_stencil-0.5.1 vs lib/power_stencil/project/config.rb in power_stencil-0.6.0

- old
+ new

@@ -19,11 +19,12 @@ 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 + def add_plugin_config(plugin) + plugin_name = plugin.name + yaml_file = plugin.plugin_config_specific_file priority = if priority.nil? PLUGIN_CONFIG_PRIORITY_MIN else plugin_priority_count + 1 end