lib/kafo/configuration.rb in kafo-0.8.2 vs lib/kafo/configuration.rb in kafo-0.9.0

- old
+ new

@@ -223,14 +223,10 @@ next if !par.module.enabled? || !module_enabled?(par.module.name) param(par.module.class_name, par.name).nil? end end - def temp_config_file - @temp_config_file ||= "/tmp/kafo_answers_#{rand(1_000_000)}.yaml" - end - def log_file File.join(app[:log_dir], app[:log_name]) end def log_exists? @@ -249,9 +245,10 @@ save_configuration(app) store(answers) migrations.store_applied @logger.info("#{migrations.migrations.count} migration/s were applied. Updated configuration was saved.") end + migrations.migrations.count end def migrations_dir @config_file.gsub(/\.yaml$/, '.migrations') end