lib/coderunner/class_methods.rb in coderunner-0.12.5 vs lib/coderunner/class_methods.rb in coderunner-0.12.6

- old
+ new

@@ -74,11 +74,11 @@ def self.delete(copts={}) runner = fetch_runner(copts) runner.destroy end - def self.differences_between(ids, copts = {}) + def self.differences_between(copts = {}) runner = fetch_runner(copts) runs = runner.filtered_ids.map{|id| runner.run_list[id]} vars = runner.run_class.rcp.variables.dup + runner.run_class.rcp.run_info.dup vars.delete_if{|var| runs.map{|r| r.send(var)}.uniq.size == 1} vars.delete :id @@ -682,12 +682,12 @@ runner = @runners[copts[:Y]] = CodeRunner.new(Dir.pwd, code: copts[:C], modlet: copts[:m], version: copts[:v], executable: copts[:X], defaults_file: copts[:D]) runner.update unless copts[:no_update] else runner = @runners[copts[:Y]] end -# p 'reading defaults', @r.conditions, DEFAULT_RUNNER_OPTIONS + #p 'reading defaults', runner.recalc_all, DEFAULT_RUNNER_OPTIONS runner.read_defaults -# p 'read defaults', @r.conditions + #p 'read defaults', runner.recalc_all end #Dir.chdir end # ep copts return runner