RubyGems Navigation menu

abstract_feature_branch 1.6.0

abstract_feature_branch is a Ruby gem that provides a unique variation on the Branch by Abstraction Pattern by Paul Hammant and the Feature Toggles Pattern by Martin Fowler to enhance team productivity and improve software fault tolerance. It provides the ability to wrap blocks of code with an abstract feature branch name, and then specify in a configuration file which features to be switched on or off. The goal is to build out upcoming features in the same source code repository branch (i.e. Continuous Integration and Trunk-Based Development), regardless of whether all are completed by the next release date or not, thus increasing team productivity by preventing integration delays. Developers then disable in-progress features until they are ready to be switched on in production, yet enable them locally and in staging environments for in-progress testing. This gives developers the added benefit of being able to switch a feature off after release should big problems arise for a high risk feature. abstract_feature_branch additionally supports Domain Driven Design's pattern of Bounded Contexts by allowing developers to configure context-specific feature files if needed. abstract_feature_branch is one of the simplest and most minimalistic "Feature Flags" Ruby gems out there as it enables you to get started very quickly by simply leveraging YAML files without having to set up a data store if you do not need it (albeit, you also have the option to use Redis as a very fast in-memory data store).

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.6.0 - January 22, 2024 (22 KB)
  2. 1.5.1 - February 14, 2023 (21 KB)
  3. 1.5.0 - February 12, 2023 (21 KB)
  4. 1.4.0 - February 05, 2023 (20.5 KB)
  5. 1.3.3 - January 15, 2023 (20.5 KB)
Show all versions (34 total)

Runtime Dependencies (1):

deep_merge >= 1.0.0, < 2.0.0

Development Dependencies (6):

bundler >= 2.1.4
jeweler ~> 2.3.9
psych = 3.3.4
rake-tui ~> 0.2
rdoc = 5.1.0
rspec ~> 3.12.0

Owners:

Pushed by:

Authors:

  • Andy Maleh

SHA 256 checksum:

2741f7bfbfb11fa08a946d730538705c6b091396cb243714a26e995acf00dd88

Total downloads 156,035

For this version 1,370

License:

MIT

Required Ruby Version: >= 0

Links: