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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15d94f83347bef426c7b4407d104888d295b47611bce48534ade03b583d590aa
4
- data.tar.gz: 4c1454fdeffb111472231ae427bea61ad1a7afe635be4e5cfa1cee53770f4c63
3
+ metadata.gz: 2a4901015bd55f4b48383c28bea32676aa386d76c7095465fdae4737b1c8dec1
4
+ data.tar.gz: 51b7fde2ad845272dc79d8cb553a15b7e94811d18972d26e2622f1a005c2f003
5
5
  SHA512:
6
- metadata.gz: fdc72f3169426d70a97025a310065eecef834422ac738d6d0d15c2adbd929b28a0ec21f23348bcdccd4dc633dee0f596344d2398125770bbe261c8ac9c516383
7
- data.tar.gz: 408c8002b24b4a7f4e99fe7fbaa9553a2f8f163a805286f550ab30ef36ff6db597d46ea0f6102b63157f01a1d7316a255d2a6e1effd51a74d7e408b551b00e63
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 connect
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-message_store-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0.1
4
+ version: 0.10.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project