faulty 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/faulty/storage/fault_tolerant_proxy.rb +4 -4
- data/lib/faulty/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1da265b4bb2e4ae865726930ec3855a03d31c3b47c92b9ef08d7519cdb9d9d9
|
4
|
+
data.tar.gz: a2fdbb6d1ccdfb7be6c68467ce45a802644ef4f9a61769e8b7387d626307facd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad680693b76db3f3d420d7ded71269c8ad669c23bffa0e4ab598d8d0772955c70479d1497ea51b7aa9691b8438e06bc83ff13d4f3e3f6842a3327971dcbb4d3
|
7
|
+
data.tar.gz: 2890441590276ecd72e16ee9866955b027a3e1df26907f9cc71a94f3f1161c01ea30665860bcf526fe871e84a10a7c9c728c050bbf961d8b9d670b4a6fb4bbfa
|
data/CHANGELOG.md
CHANGED
@@ -53,8 +53,8 @@ module Faulty
|
|
53
53
|
# @see Interface#open
|
54
54
|
# @param (see Interface#open)
|
55
55
|
# @return (see Interface#open)
|
56
|
-
def open(circuit)
|
57
|
-
@storage.open(circuit)
|
56
|
+
def open(circuit, opened_at)
|
57
|
+
@storage.open(circuit, opened_at)
|
58
58
|
rescue StandardError => e
|
59
59
|
options.notifier.notify(:storage_failure, circuit: circuit, action: :open, error: e)
|
60
60
|
false
|
@@ -65,8 +65,8 @@ module Faulty
|
|
65
65
|
# @see Interface#reopen
|
66
66
|
# @param (see Interface#reopen)
|
67
67
|
# @return (see Interface#reopen)
|
68
|
-
def reopen(circuit)
|
69
|
-
@storage.reopen(circuit)
|
68
|
+
def reopen(circuit, opened_at, previous_opened_at)
|
69
|
+
@storage.reopen(circuit, opened_at, previous_opened_at)
|
70
70
|
rescue StandardError => e
|
71
71
|
options.notifier.notify(:storage_failure, circuit: circuit, action: :reopen, error: e)
|
72
72
|
false
|
data/lib/faulty/version.rb
CHANGED