Sha256: 8909fda78c76dfe5b8f98c4ad497422cfbea88134fab33244e9f011a3f68f1c5

Contents?: true

Size: 920 Bytes

Versions: 2

Compression:

Stored size: 920 Bytes

Contents

# Bastet - The group based feature rollout beast

## Gemfile

    gem "bastet"

## Configuration

    redis = Redis.new
    bastet = Bastet.setup(redis) #=> Bastet::Base.instance ...

## Usage

    group = Bastet::Group.new('admin_users') { |user| user.admin? }
    bastet.activate("admin_only_feature", group)

    user = User.new(admin: true)
    bastet.active?("admin_only_feature", user) #=> true

    bastet.deactivate("admin_only_feature", group)
    bastet.inactive?("admin_only_feature", user) #=> true

## To do

1. Support activating/deactivating for multiple users/groups at once
2. Percentage support
3. 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

2 entries across 2 versions & 1 rubygems

Version Path
bastet-0.1.1 README.markdown
bastet-0.1.0 README.markdown