lib/foreman/export/base.rb in foreman-0.7.0 vs lib/foreman/export/base.rb in foreman-0.7.1

- old
+ new

@@ -25,15 +25,9 @@ def export_template(name) File.read(File.expand_path("../../../../export/#{name}", __FILE__)) end - def port_for(base_port, app, num) - base_port ||= 5000 - offset = engine.processes.keys.sort.index(app) * 100 - base_port.to_i + offset + num - 1 - end - def write_file(filename, contents) say "writing: #{filename}" File.open(filename, "w") do |file| file.puts contents