lib/flapjack/configuration.rb in flapjack-0.8.11 vs lib/flapjack/configuration.rb in flapjack-0.8.12

- old
+ new

@@ -36,9 +36,10 @@ redis[k] = v end redis_path = (redis['path'] || nil) base_opts = {:db => (redis['db'] || 0)} + base_opts[:driver] = redis['driver'] if redis['driver'] redis_config = base_opts.merge( (redis_path ? { :path => redis_path } : { :host => (redis['host'] || '127.0.0.1'), :port => (redis['port'] || 6379)}) )