Flipper makes it possible to release code into production behind feature flags that can be turned on or off at will.
require "flipper" Flipper.adapter = Kiwi::RedisStore.new(Redis.new) Flipper.enable(:feature_name) if Flipper.enabled?(:feature_name) puts "Feature launched, Let's roll!" else puts "Feature not released yet." end Flipper.disable(:search) if Flipper.disabled?(:search) puts "Search is not available yet!" end
Note: To make it a complete feature rich project, contributions will be much appreciated.
- Groups Support
- Individual Actors/Users Support
- Percentage based rollout Support