lib/kpm/installer.rb in kpm-0.6.3 vs lib/kpm/installer.rb in kpm-0.6.4

- old
+ new

@@ -49,15 +49,17 @@ next if !pre.nil? || minor.nil? || minor.to_i.odd? latest_stable_version = version if version > latest_stable_version end - latest_stable_version + latest_stable_version.to_s end def initialize(raw_config, logger=nil) @config = raw_config['killbill'] @kaui_config = raw_config['kaui'] + + @config['version'] = KPM::Installer.get_kb_latest_stable_version if !@config.nil? && (@config['version'].nil? || @config['version'] == 'LATEST') if logger.nil? logger = Logger.new(STDOUT) logger.level = Logger::INFO end