Pstore adapter
Installation
Add this line to your application's Gemfile (pstore comes with core Flipper):
gem 'flipper'
And then execute:
$ bundle
Or install it yourself with:
$ gem install flipper
Usage
require 'flipper/adapters/pstore'
Flipper.configure do |config|
config.adapter {
pstore_path = Rails.root.join("tmp", "flipper.pstore") # or wherever
Flipper::Adapters::Pstore.new(pstore_path)
}
end