lib/rundock/builder/scenario_builder.rb in rundock-1.0.6 vs lib/rundock/builder/scenario_builder.rb in rundock-1.0.7

- old
+ new

@@ -35,10 +35,10 @@ end def build_scenario_with_file if @scenario_file - type = [:main, :target_info, :tasks, :hooks] + type = %i[main target_info tasks hooks] scenario_data = {} YAML.load_documents(@scenario_file).each_with_index do |data, idx| if idx == 0 scenario_data[type[idx]] = data