Permalink
Switch branches/tags
Nothing to show
Commits on Mar 4, 2017
  1. Merge pull request #18 from localytics/allow-percentage-failures

    wsargent committed Mar 4, 2017
    Allow percentage failures
Commits on Feb 27, 2017
  1. Merge pull request #17 from localytics/cleanup-tests

    wsargent committed Feb 27, 2017
    Cleanup tests
  2. Merge pull request #19 from wsargent/add-travis

    wsargent committed Feb 27, 2017
    Add Travis CI
  3. Add Travis CI

    wsargent committed Feb 27, 2017
Commits on Feb 24, 2017
Commits on Feb 21, 2017
  1. Allow percentage failures

    kddeisz committed Feb 21, 2017
    This breaks out the logic that determines if the circuit breaker is tripped into another class that responds to the `tripped?(circuit_state)` method. It then adds a percentage-based trip checker that will flip when a certain percentage of the given calls fail as opposed to a hard-coded number of failures.
  2. Cleanup tests

    kddeisz committed Feb 21, 2017
    This commit does a couple of things. The first is that it fixes an intermittent failure with one of the tests. It was failing because the subsequent tests added a second circuit_method call to the `second_method` function, which caused it to count two failures for each error. So, depending on the order in which the tests were run, it could fail. The other thing it does is update the rspec syntax to use the `expect` style so that the deprecation warnings go away.
Commits on Feb 21, 2016
  1. Merge pull request #15 from devonoel/master

    wsargent committed Feb 21, 2016
    Markdown README
Commits on Feb 18, 2016
  1. Markdown README

    devonoel committed Feb 18, 2016
Commits on Jan 11, 2016
  1. Update to 1.1.2

    wsargent committed Jan 11, 2016
  2. Merge pull request #11 from mmartinson/patch-1

    wsargent committed Jan 11, 2016
    Update gem install in README
  3. Merge pull request #13 from dx7/master

    wsargent committed Jan 11, 2016
    Undefining methods before redefine them to avoid warnings on Ruby 2.3
Commits on Jan 6, 2016
Commits on May 20, 2015
  1. Update gem install in README

    mmartinson committed May 20, 2015
    gem would only install with underscore name, not dash
Commits on Mar 6, 2014
  1. Merge pull request #4 from mswain/master

    wsargent committed Mar 6, 2014
    Fix for Ruby 2.1.0
Commits on Jan 6, 2014
  1. Merge pull request #6 from celiofonseca/master

    wsargent committed Jan 6, 2014
    Changed deprecated AASM methods
  2. Changed deprecated AASM methods: 'aasm_state' to 'aasm.state', 'aasm_…

    celiolatorraca committed Jan 6, 2014
    …initial_state' to 'aasm.initial_state' and 'aasm_event' to 'aasm.event'. into CircuitState.
Commits on Dec 30, 2013
  1. Fix for Ruby 2.1.0

    mswain committed Dec 30, 2013
Commits on Apr 19, 2013
  1. Commit as 1.1.0

    wsargent committed Apr 19, 2013
  2. Fix spelling

    wsargent committed Apr 19, 2013
Commits on Jan 18, 2012
  1. adding a way to not consider some Exceptions as failures, configured …

    wandenberg committed Jan 18, 2012
    …on attribute excluded_exceptions
Commits on Jan 5, 2012
Commits on Dec 20, 2011
  1. Merge pull request #2 from sheetmusicplus/bundler

    wsargent committed Dec 20, 2011
    Gem Dependency Issue
Commits on Dec 14, 2011
  1. using Bundler for gem management, updated the gemspec changing gem de…

    ttdonovan committed Dec 14, 2011
    …pendency for rubyist-aasm to aasm, whitespace cleanup
Commits on Aug 15, 2009
  1. updating version

    bdoll authored and wsargent committed Aug 12, 2009
    Signed-off-by: Will Sargent <will.sargent@gmail.com>
  2. Adding the ability to trip the circuit breaker when a method takes to…

    briandoll authored and wsargent committed Aug 6, 2009
    …o long to respond. This is very useful with web-based services where a timeout of less than the default http timeout is desired.
    
    The default invocation_timeout is 30 seconds, which can be overridden along with the failure_threshold and failure_timeout properties.
    
    Tests included, docs updated.
    
    Signed-off-by: Will Sargent <will.sargent@gmail.com>
  3. require rubygems and aasm to get rake spec to work

    briandoll authored and wsargent committed Aug 6, 2009
    Signed-off-by: Will Sargent <will.sargent@gmail.com>
Commits on Jul 16, 2009
  1. Change the license.

    wsargent
    wsargent committed Jul 16, 2009
Commits on Jul 14, 2009
  1. set the rubyforge name to be circuit-breaker

    unknown
    unknown committed Jul 14, 2009
  2. Add more unit tests.

    wsargent committed Jul 14, 2009
  3. Check in gemspec plus documentation

    unknown
    unknown committed Jul 14, 2009
Commits on Jul 13, 2009
  1. Check in Rakefile

    wsargent
    wsargent committed Jul 13, 2009