evt-consumer-postgres 0.5.0.2 → 0.5.0.3

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
  SHA256:
3
- metadata.gz: 4061cd13b8a79422ffcbd38553eac65a8c5987940b1533fe61236739491511d0
4
- data.tar.gz: e26ac7bcc1df0ce3bac7cb6af975f98f9c1d99cb16d0f7b78e221717bdd528d5
3
+ metadata.gz: 6e3c6caa7e487e409a14b5d44f9aff42dd556e7545f8191ccc7b5aa919ccf87a
4
+ data.tar.gz: 138c17dea72a8b80fd311001e7499ab80a4b0c39ede3023151981320c4aaf433
5
5
  SHA512:
6
- metadata.gz: 7d78d6c57403e16f3398b7d3da5afaa6045e0550dc5cf5e6ca1fd0b8bfffa5d3ef6e97bdf7436cc33162daae75a3d95337810e5971982d76ca27160335965c91
7
- data.tar.gz: f25bc87e41d3d70e03e426c089785e9d1c8b08f7f055c179971a66bd8787cacced2120e45a1cc8132eebd4581eee40c7a5a0af3454e0d4fb05ccc5beb1793994
6
+ metadata.gz: 3f34b8dc787f0504d8d88ee210b7252c1a9614193308aec044ae29f5528b0f518bd52201f36651e2d6c9149b2b0629d7e8722c812391dac4170b5b6d020dac53
7
+ data.tar.gz: c9a81e4fc5777b59f123388b51a853ada6a0aeb5475c1891e2d5fd788a48dae6f4cb0feb51bb562a20a65a066dee789f13700e467d68f5ff6b7f6acc71205a3f
@@ -11,9 +11,9 @@ module Consumer
11
11
  dependency :write, ::Messaging::Postgres::Write
12
12
 
13
13
  def self.build(stream_name, session: nil, consumer_identifier: nil)
14
- position_stream_name = StreamName.get(stream_name, consumer_identifier: consumer_identifier)
14
+ position_stream_name = StreamName.position_stream_name(stream_name, consumer_identifier: consumer_identifier)
15
15
 
16
- instance = new position_stream_name
16
+ instance = new(position_stream_name)
17
17
  MessageStore::Postgres::Session.configure(instance, session: session)
18
18
  instance.configure
19
19
  instance
@@ -2,7 +2,7 @@ module Consumer
2
2
  module Postgres
3
3
  class PositionStore
4
4
  module StreamName
5
- def self.get(stream_name, consumer_identifier: nil)
5
+ def self.position_stream_name(stream_name, consumer_identifier: nil)
6
6
  stream_id = MessageStore::StreamName.get_id(stream_name)
7
7
  entity = MessageStore::StreamName.get_entity_name(stream_name)
8
8
  type_list = MessageStore::StreamName.get_types(stream_name)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-consumer-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0.2
4
+ version: 0.5.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-12 00:00:00.000000000 Z
11
+ date: 2018-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-consumer
@@ -93,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  version: '0'
94
94
  requirements: []
95
95
  rubyforge_project:
96
- rubygems_version: 2.7.6
96
+ rubygems_version: 2.7.3
97
97
  signing_key:
98
98
  specification_version: 4
99
99
  summary: Postgres implementation of continuous subscription to a stream and message