Sha256: d9bdef49a5eb362cfb08a409f8289ee0dc64e6a5533ad28e8f0b04ad38f43d3c

Contents?: true

Size: 972 Bytes

Versions: 1

Compression:

Stored size: 972 Bytes

Contents

# Bastet - The unstable beast

Goddess associated with war, protection of Lower Egypt and the pharaoh, the sun, perfumes, ointments and embalming

## Configuration

    redis = Redis.new
    $bastet = Bastet.setup(redis)

## Usage

    $bastet.activate(:crazy_feature, current_user)
    $bastet.active?(:crazy_feature, current_user) #=> true

    $bastet.active?(:scary_feature, :admins) #=> false
    $bastet.activate(:scary_feature, :admins)
    $bastet.active?(:scary_feature, :admins) #=> true

## To do

1. Support activating/deactivating all features for groups/users
2. Support activating/deactivating for multiple users/groups at once
3. Percentage support
4. Logging

## Contibuting

[![Build Status](https://secure.travis-ci.org/itsmeduncan/bastet.png)](http://travis-ci.org/itsmeduncan/bastet)

1. Fork Basteet
2. Create a topic branch - `git checkout -b my_branch`
3. Push to your branch - `git push origin my_branch`
4. Create a pull request from your branch

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bastet-0.0.1 README.markdown