lib/ceedling/configurator.rb in ceedling-0.27.0 vs lib/ceedling/configurator.rb in ceedling-0.28.1

- old
+ new

@@ -105,11 +105,12 @@ cmock[:plugins].uniq! cmock[:unity_helper] = false if (cmock[:unity_helper].nil?) if (cmock[:unity_helper]) - cmock[:includes] << File.basename(cmock[:unity_helper]) + cmock[:unity_helper] = [cmock[:unity_helper]] if cmock[:unity_helper].is_a? String + cmock[:includes] += cmock[:unity_helper].map{|helper| File.basename(helper) } cmock[:includes].uniq! end @runner_config = cmock.merge(@runner_config || config[:test_runner] || {}) @@ -325,9 +326,10 @@ end def insert_rake_plugins(plugins) plugins.each do |plugin| + # TODO needs a duplicate guard @project_config_hash[:project_rakefile_component_files] << plugin end end ### private ###