evt-message_store-postgres 0.10.0.1 → 0.10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/message_store/postgres/put.rb +0 -1
- data/lib/message_store/postgres/session.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4901015bd55f4b48383c28bea32676aa386d76c7095465fdae4737b1c8dec1
|
4
|
+
data.tar.gz: 51b7fde2ad845272dc79d8cb553a15b7e94811d18972d26e2622f1a005c2f003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6d7a3f568277b07f4cf6740e9018d71b72b030ad283cd112074a2be381a3ed339296892bfa2da7f3af442ddc3d74c281338f200965930e3fa7424c0566d134d
|
7
|
+
data.tar.gz: 3b78d62869c3d5319106aa7f0aea08eb2483359cbdf8a6d91f1c0533950d2a211be06f63e293aa46e1a90b38352d9cd5249c4d0f7e6af5380e6399347a917f48
|
@@ -57,7 +57,6 @@ module MessageStore
|
|
57
57
|
return id, type, data, metadata
|
58
58
|
end
|
59
59
|
|
60
|
-
## TODO Rename to put_messages
|
61
60
|
def insert_message(id, stream_name, type, data, metadata, expected_version)
|
62
61
|
serialized_data = serialized_data(data)
|
63
62
|
serialized_metadata = serialized_metadata(metadata)
|
@@ -28,7 +28,7 @@ module MessageStore
|
|
28
28
|
instance
|
29
29
|
end
|
30
30
|
|
31
|
-
def
|
31
|
+
def open
|
32
32
|
logger.trace { "Connecting to database" }
|
33
33
|
|
34
34
|
if connected?
|
@@ -44,6 +44,7 @@ module MessageStore
|
|
44
44
|
|
45
45
|
connection
|
46
46
|
end
|
47
|
+
alias :connect :open
|
47
48
|
|
48
49
|
def self.build_connection(instance)
|
49
50
|
settings = instance.settings
|