circuitbox 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 38c8cdbfef9e769dd2ad65c59905a6c7f1c9bad1
4
- data.tar.gz: e7ed610ab1231ff949b4549a6cec911b61690431
3
+ metadata.gz: 67e86e361f680d3126d73362bb0b04e9695c0342
4
+ data.tar.gz: 332af80b292855390775a86ce54425568887b8c0
5
5
  SHA512:
6
- metadata.gz: 82ba7ae27fabb672864ba38c4678c0b37a2bb08104103fc67ed3f8eb9f36973105d6fe5eae03d8dcd2e42f297371f7e87775b8ddf409ea35e0ddddcdce57a0b7
7
- data.tar.gz: b7b4fe13bb21d1978e620b481d188f475b78b4e9809ca59f6f9ef5b12839114b3f358e0136a6ab3e23a2e993358c5701a0d9f962cf010d8bd735d1614aa61956
6
+ metadata.gz: dac132c1af33c6fca055f0592cc8ee810bbaf0dd5bbc6355c21614ba2f89b7b50fea9a828e3be2d825e93546f0cfab28329b021e9fad326be4e0bb3c05fa3808
7
+ data.tar.gz: 6aaa4ca349c64b79a7c2ce018f748b14996d0c16ae9c7fe12a09d8ffa97a25f732c8cfd8124a6a1729db26ad8fa6e755935a2bd215bbad3400fd974a2e9b24b5
data/README.md CHANGED
@@ -297,6 +297,13 @@ c.use Circuitbox::FaradayMiddleware, open_circuit: lambda { |response| response.
297
297
  ## CHANGELOG
298
298
  ### version next
299
299
 
300
+ ### v1.0.0
301
+ - support for cross process circuitbreakers by swapping the circuitbreaker store for a
302
+ `Moneta` supported key value store.
303
+ - Change `FaradayMiddleware` default behaviour to not open on `4xx` errors but just on `5xx`
304
+ server errors and connection errors
305
+ - Remove stat store, which was largely unused
306
+
300
307
  ### v0.11.0
301
308
  - fix URI require missing (https://github.com/yammer/circuitbox/pull/42 @gottfrois)
302
309
  - configurable circuitbox store backend via Moneta supporting multi process circuits
@@ -1,3 +1,3 @@
1
1
  class Circuitbox
2
- VERSION='1.0.0'
2
+ VERSION='1.0.1'
3
3
  end
data/lib/circuitbox.rb CHANGED
@@ -7,7 +7,6 @@ require 'moneta'
7
7
 
8
8
  require 'circuitbox/version'
9
9
  require 'circuitbox/memcache_store'
10
- require 'circuitbox/railtie' if defined?(Rails)
11
10
  require 'circuitbox/circuit_breaker'
12
11
  require 'circuitbox/notifier'
13
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuitbox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fahim Ferdous
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-12 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -259,7 +259,6 @@ files:
259
259
  - lib/circuitbox/faraday_middleware.rb
260
260
  - lib/circuitbox/memcache_store.rb
261
261
  - lib/circuitbox/notifier.rb
262
- - lib/circuitbox/railtie.rb
263
262
  - lib/circuitbox/version.rb
264
263
  - test/circuit_breaker_test.rb
265
264
  - test/circuitbox_test.rb
@@ -1,10 +0,0 @@
1
- require 'circuitbox'
2
- require 'rails'
3
-
4
- class Circuitbox
5
- class Railtie < Rails::Railtie
6
- rake_tasks do
7
- load "tasks/circuits.rake"
8
- end
9
- end
10
- end