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: b561f4d68ac8a48cd646f7c20b06c6b3ca7512db
4
- data.tar.gz: 4048f189846c125663026a842aa2c584a6ab3fea
3
+ metadata.gz: 106e56c0d1e6eb36e2c9484d19d77a5dbb9a889c
4
+ data.tar.gz: d427da6b366cb81c375e2eac89e11e3dacd660d5
5
5
  SHA512:
6
- metadata.gz: 0c5177698603f62f5529280b63e64522cf46c8156c0831e132c6ee5a86f7ff98876bb09c67c8b1c6a573c108c9ee8c6fda590a0c6913fe6c0a6a38bcd4c5c85c
7
- data.tar.gz: e4605e60c49ef6f7ab469b4a060e37df7fb93234a1bcf7c05c3df0389ba9416cc899d8ffe6182e9467db4d601fa17ba269fabc56b7fff76a78a85a63bd9f0b6c
6
+ metadata.gz: 537e8cb7c69cbf7662cf32dcb7cbbcc4de6a8170c8119c2effd0f81612b0584de336efd8735b009ab6c7ec8b5cdb42b141688e18b2ecb959b0bea955d0541931
7
+ data.tar.gz: e90751b235b73eb21a76721a4b10226204b00657293148fe8e9abf85beb9992c15768569197cdf8754b16de5fc82a88c9915d80c7532ebb07d8c29a776666b24
@@ -1,7 +1,7 @@
1
1
  module Alephant
2
2
  module Publisher
3
3
  module Queue
4
- VERSION = "0.1.0"
4
+ VERSION = "1.0.0"
5
5
  end
6
6
  end
7
7
  end
@@ -35,7 +35,7 @@ module Alephant
35
35
  end
36
36
 
37
37
  def run!
38
- batch? ? batch.sequence(message, &perform) : perform.call
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).sequence(message) do
48
+ seq_for(id).validate(message) do
49
49
  store(id, view, location_for(id))
50
50
  end
51
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-publisher-queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - revett