├── .github └── workflows │ └── verify.yml ├── .rspec ├── CHANGELOG.md ├── Gemfile ├── Gemfile.lock ├── Gemfile.redis4 ├── Gemfile.redis4.lock ├── Gemfile.redis5 ├── Gemfile.redis5.lock ├── LICENSE ├── README.md ├── Rakefile ├── cb2.gemspec ├── lib ├── cb2.rb └── cb2 │ ├── breaker.rb │ ├── error.rb │ └── strategies │ ├── percentage.rb │ ├── rolling_window.rb │ └── stub.rb └── spec ├── acceptance_spec.rb ├── breaker_spec.rb ├── spec_helper.rb └── strategies ├── percentage_spec.rb ├── rolling_window_spec.rb └── stub_spec.rb /.github/workflows/verify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/.github/workflows/verify.yml -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | 3 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /Gemfile.redis4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Gemfile.redis4 -------------------------------------------------------------------------------- /Gemfile.redis4.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Gemfile.redis4.lock -------------------------------------------------------------------------------- /Gemfile.redis5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Gemfile.redis5 -------------------------------------------------------------------------------- /Gemfile.redis5.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Gemfile.redis5.lock -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/Rakefile -------------------------------------------------------------------------------- /cb2.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/cb2.gemspec -------------------------------------------------------------------------------- /lib/cb2.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/lib/cb2.rb -------------------------------------------------------------------------------- /lib/cb2/breaker.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/lib/cb2/breaker.rb -------------------------------------------------------------------------------- /lib/cb2/error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/lib/cb2/error.rb -------------------------------------------------------------------------------- /lib/cb2/strategies/percentage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/lib/cb2/strategies/percentage.rb -------------------------------------------------------------------------------- /lib/cb2/strategies/rolling_window.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/lib/cb2/strategies/rolling_window.rb -------------------------------------------------------------------------------- /lib/cb2/strategies/stub.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/lib/cb2/strategies/stub.rb -------------------------------------------------------------------------------- /spec/acceptance_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/spec/acceptance_spec.rb -------------------------------------------------------------------------------- /spec/breaker_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/spec/breaker_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/strategies/percentage_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/spec/strategies/percentage_spec.rb -------------------------------------------------------------------------------- /spec/strategies/rolling_window_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/spec/strategies/rolling_window_spec.rb -------------------------------------------------------------------------------- /spec/strategies/stub_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/prognostikos/cb2/HEAD/spec/strategies/stub_spec.rb --------------------------------------------------------------------------------