lib/flipper-redis.rb in flipper-redis-0.21.0.rc1 vs lib/flipper-redis.rb in flipper-redis-0.21.0.rc2
- old
+ new
@@ -1,8 +2 @@
require 'flipper/adapters/redis'
-
-Flipper.configure do |config|
- config.default do
- client = Redis.new(url: ENV["FLIPPER_REDIS_URL"] || ENV["REDIS_URL"])
- Flipper.new(Flipper::Adapters::Redis.new(client))
- end
-end