all_my_circuits 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37ff5fd01761190c1ac3b39e9716cac0b242e244
4
- data.tar.gz: 3978e9a09c6bc75e86227359036f783eb33616b6
3
+ metadata.gz: 32a961192d3afc78f26176ee3c904a4cadde5963
4
+ data.tar.gz: e3c3afd7c0e2530aca4d584df7de97a1fad432f4
5
5
  SHA512:
6
- metadata.gz: ea62b8b682a65ecd8b1e03f02820040db8023b0de594ae0a1153988674514a665c504284d568fce3950fab060917892e55edc1ec217fe42178b549995f63eb38
7
- data.tar.gz: a79c6a02bcad7e76310b75899b22b0b926f1d9a6e8b750d506d29eed1eb19354de9dbccbfbb0bacf2353d7f71053b12453ac7c77daadb1b725b930942e463a66
6
+ metadata.gz: 12c35e03bbe5c86bf8b483f7105ff8dcbdfc27b996bb157c62bf0156b911cdc2a1d7917bf56d6e5eae4689373a4be87b3e03421ad4a0ad2f7bf058c15aae6677
7
+ data.tar.gz: b333a573afc52d35bf61021ee8ba18aaa715ec8c49cab17c25bcf01fbfddd693fbe355c353b5f7fdfc45cb4b522c39ef9c62f9648a3041a2094d48bf13cf15c1
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "concurrent-ruby", "~> 0.8"
22
+ spec.add_dependency "concurrent-ruby", "~> 1.0.0"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.9"
25
25
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,4 +1,4 @@
1
- require "concurrent/atomic"
1
+ require 'concurrent/atomics'
2
2
  require "thread"
3
3
 
4
4
  module AllMyCircuits
@@ -71,7 +71,7 @@ module AllMyCircuits
71
71
  @notifier = notifier
72
72
 
73
73
  @state_lock = Mutex.new
74
- @request_number = Concurrent::Atomic.new(0)
74
+ @request_number = Concurrent::AtomicReference.new(0)
75
75
  @last_open_or_probed = nil
76
76
  @opened_at_request_number = 0
77
77
  @clock = clock
@@ -1,3 +1,3 @@
1
1
  module AllMyCircuits
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: all_my_circuits
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vlad Yarotsky
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-29 00:00:00.000000000 Z
11
+ date: 2016-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.8'
19
+ version: 1.0.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.8'
26
+ version: 1.0.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.4.5
137
+ rubygems_version: 2.4.8
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Circuit Breaker library with support for rolling-window absolute/percentage