Skip to content
railsengines.com

Circuit Switch

circuit_switch is a gem for 'difficult' application. This switch helps to make changes easier and deploy safely

No ratings yet
Gem
circuit_switch
Repository
makicamel/circuit_switch
License
MIT
Stars
19
Added
August 10, 2026

About

circuit_switch is a gem for 'difficult' application. This switch helps to make changes easier and deploy safely.

What you get

  • if: [Boolean, Proc] Calls proc when the value of if is evaluated truthy (default: true)
  • close_if: [Boolean, Proc] Calls proc when the value of close_if is evaluated falsy (default: false)
  • limit_count: [Integer] Mutates circuit_switches.run_limit_count whose value defined in schema is 10 by default. (default: nil)

Installing it

ruby
# Gemfile
gem "circuit_switch"

Details

19 stars on GitHub · MIT licensed · maintained by makicamel. Source: https://github.com/makicamel/circuit_switch

Discussion (0)

Sign in to join the discussion.

No comments yet.