alephant-publisher 0.2.3 → 0.2.4

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: 639c3249506c0fbb355edce7c256bc5f28c1e1b3
4
- data.tar.gz: a30f014f72c36bb6fc2dbe3f73c0b3196e1265ea
3
+ metadata.gz: 5caf3478ccb3e966bda7d7d48fd159dd5a893da4
4
+ data.tar.gz: 83794fe2c058681af573bbeff1a05afed2889c20
5
5
  SHA512:
6
- metadata.gz: 935bc5f31e5691aa470a8a8a0520620ae6aaf7854fc3057f2eed1b8f2709d2892f3502c0e427200ba7b697ead26ae2a9a8c100143bc9e963ea00335f14226d33
7
- data.tar.gz: f6e6255c8f3095814f1c0eabd4e04e0f8653720b1b96874b513cd669258e7f55b1b64f7ec922e8694bbda262a6bd315fa842e824ab7eee10583a501cab1860a9
6
+ metadata.gz: 3188cf36fb5673a382a14d7b8ad2fa3d6fd5e56357e990e856bdf3a5c933f91629e4f08ef1f06801e492b7a9f38a5ea0ed80cb507887c8616135b3b67f5ded6e
7
+ data.tar.gz: 73621661d52e45704b892bb1d70c518e07aad7246c6b16f765490b366b13bc72805c558161b5c36dd56fe3334786dda6379d185e13e280b3a5f9dcc19291a8d9
@@ -1,5 +1,5 @@
1
1
  module Alephant
2
2
  module Publisher
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
@@ -76,7 +76,12 @@ module Alephant
76
76
  end
77
77
 
78
78
  def seq_for(id)
79
- Sequencer.create(config[:sequencer_table_name], seq_key_from(id), config[:sequence_id_path])
79
+ Sequencer.create(
80
+ config[:sequencer_table_name],
81
+ seq_key_from(id),
82
+ config[:sequence_id_path],
83
+ config[:keep_all_messages] == 'true'
84
+ )
80
85
  end
81
86
 
82
87
  def seq_key_from(id)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alephant-publisher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Integralist
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-10 00:00:00.000000000 Z
11
+ date: 2014-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler