./lib/lux/config/config.rb in lux-fw-0.1.17 vs ./lib/lux/config/config.rb in lux-fw-0.1.35

- old
+ new

@@ -72,14 +72,15 @@ def show_load_speed(load_start) speed = ((Time.now - load_start)*1000).round.to_s.sub(/(\d)(\d{3})$/,'\1s \2')+'ms' ram = `ps -o rss -p #{$$}`.chomp.split("\n").last.to_i / 1000 opts = [] - opts.push Lux.verbose? ? 'verbose'.yellow : 'non-verbose'.green - opts.push Lux.config(:auto_code_reload) ? 'code-reload'.yellow : 'no-code-reload'.green + opts.push Lux.verbose? ? 'verbose'.yellow : 'no-verbose'.green + opts.push Lux.config(:auto_code_reload) ? 'auto-code-reload'.yellow : 'no-code-reload'.green - "* #{'Lux'.blue} loaded #{Lux.env('RACK_ENV').green} (#{opts.join(', ')}) mode in #{speed.to_s.white}, uses #{ram.to_s.white} MB RAM with total of #{Gem.loaded_specs.keys.length.to_s.white} gems in spec" + "* #{'Lux'.white} loaded #{Lux.env('RACK_ENV').green} (#{opts.join(', ')}) mode in #{speed.to_s.white}, uses #{ram.to_s.white} MB RAM with total of #{Gem.loaded_specs.keys.length.to_s.white} gems in spec" end + end class Object def reload! Lux::Config.live_require_check! \ No newline at end of file