alephant-publisher-queue 0.1.0 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 106e56c0d1e6eb36e2c9484d19d77a5dbb9a889c
|
4
|
+
data.tar.gz: d427da6b366cb81c375e2eac89e11e3dacd660d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 537e8cb7c69cbf7662cf32dcb7cbbcc4de6a8170c8119c2effd0f81612b0584de336efd8735b009ab6c7ec8b5cdb42b141688e18b2ecb959b0bea955d0541931
|
7
|
+
data.tar.gz: e90751b235b73eb21a76721a4b10226204b00657293148fe8e9abf85beb9992c15768569197cdf8754b16de5fc82a88c9915d80c7532ebb07d8c29a776666b24
|
@@ -35,7 +35,7 @@ module Alephant
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def run!
|
38
|
-
batch? ? batch.
|
38
|
+
batch? ? batch.validate(message, &perform) : perform.call
|
39
39
|
end
|
40
40
|
|
41
41
|
protected
|
@@ -45,7 +45,7 @@ module Alephant
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def write(id, view)
|
48
|
-
seq_for(id).
|
48
|
+
seq_for(id).validate(message) do
|
49
49
|
store(id, view, location_for(id))
|
50
50
|
end
|
51
51
|
end
|