evt-message_store-postgres 2.3.0.0 → 2.4.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
  SHA256:
3
- metadata.gz: 8c3e7d86d082e713d0debacaf4eeb24634c60e841ae3cc91f1ceccd09bce6ecc
4
- data.tar.gz: 1aea92a3b91743c6e4b0b77fc7c18820f390fb65b52afeef6e76f734584f6f7b
3
+ metadata.gz: 50f2572aabe3c0fea8c0439c1f741b99e91b696f32509d374dc15b3f0bbf6fdc
4
+ data.tar.gz: dc9baf2ecdd8ef5f8abe273eb0d5791fd74cc3c69700e26235bf6d4bd0c0745f
5
5
  SHA512:
6
- metadata.gz: 62925f4b042b580ffa05ff79f2e23a71f8db57bb815bc906fe287964095695406ba0c2e5a94ba950b29f51c420d29118484c86b62568db2713f78d590fbddbd1
7
- data.tar.gz: 07cb98b54f68eec14673b87382a4affb49ea59bfbddc1c2b1f6984aa5ea15c60194e62637dce6774893037580133ed306b83b493d6031b648d8fdbad34235117
6
+ metadata.gz: 047f8678bb553994c5866868a9fcf72ad8ec430fe8d0aa6f7bc8646c962eee9f0ff84732555dca421bc45b6b226f2e9ce1c57ea552c20d7e16fe92b12388af63
7
+ data.tar.gz: b945d1e5f2d7bcbf200e2f31a913a7eac58ae6de3a68b405e51321fb375faff53d8ff52b8384edbcf4a3e9d966a397fcc5155a16d287314ad94b8a286c1a9cb7
@@ -10,7 +10,6 @@ module MessageStore
10
10
 
11
11
  dependency :session, Session
12
12
 
13
- abstract :configure
14
13
  abstract :stream_name
15
14
  abstract :sql_command
16
15
  abstract :parameters
@@ -31,12 +30,7 @@ module MessageStore
31
30
 
32
31
  def self.build(stream_name, **args)
33
32
  cls = specialization(stream_name)
34
-
35
- session = args.delete(:session)
36
-
37
- cls.build(stream_name, **args).tap do |instance|
38
- instance.configure(session: session)
39
- end
33
+ cls.build(stream_name, **args)
40
34
  end
41
35
 
42
36
  def self.configure(receiver, stream_name, **args)
@@ -26,10 +26,6 @@ module MessageStore
26
26
  receiver.public_send("#{attr_name}=", instance)
27
27
  end
28
28
 
29
- def configure(session: nil)
30
- Session.configure(self, session: session)
31
- end
32
-
33
29
  def sql_command
34
30
  "SELECT * FROM get_category_messages(#{parameters});"
35
31
  end
@@ -25,10 +25,6 @@ module MessageStore
25
25
  receiver.public_send("#{attr_name}=", instance)
26
26
  end
27
27
 
28
- def configure(session: nil)
29
- Session.configure(self, session: session)
30
- end
31
-
32
28
  def sql_command
33
29
  "SELECT * FROM get_stream_messages(#{parameters});"
34
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-message_store-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0.0
4
+ version: 2.4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project
8
8
  autorequire:
9
9
  bindir: scripts
10
10
  cert_chain: []
11
- date: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-message_store