Rename percentage of time to percentage of random
Added percentage of actors example.
Added individual actor example
Added group example
Updated basic example and add shared example setup
Change percentage of time to be random.
Previous implementation was either on or off for a given second. That sucks. This distributes it using rand.
Harder to test integration-wise, but much better than before.
Ensure we are using ruby constants.
Probably not really needed, but doesn't hurt anything.
Hash not needed
Minor: switch method order around a bit.
Added ttl option for mongo adapter.
Move group clear to before all specs.
Missed a clear. Naught me.
Added mongo single document adapter
Remove clear from memory adapter
Added shared specs file for adapters.
Change separator to something not common.
Make key separator configurable.
Rename Gate#match? to Gate#open?
Open/close language makes more sense with gates.
Rename Gate#feature_prefix to Gate#key_prefix
Shuffle things around.
Toggle now takes a gate. Boolean toggle uses the gate rather to get the
key prefix rather than using a crappy split. Still not a big fan of
this, but better than it was.
Make disable delete all enabled features.
This is ugly and hackish, but I'll clean it up later. Was tired of
those specs pending.
Simplify actor gate match logic
Move key and toggle related logic into Gate superclass.
Added percentage of time type.
Introduce percentage type.
This is the superclass of percentage of actors and will be for
percentage of time as well when I add that.
Introduce type superclass.
Namespaced the types in module.
Added percentage of actors.
Had to change value to enabled/disabled value. More flexible allows
value toggle to work with booleans and other values. Also allows
percentage feature types to disable to 0.
Added enabling individual actors
type is no longer used.
Move boolean and group keys to gates.