evt-entity_snapshot-postgres 1.0.0.0 → 1.1.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: 406aea1a93228f630623016a26ca3bf7238c402e2ca6ba2b73020b84e92c3778
4
- data.tar.gz: 9ab62bfc7a93dc7e07fac75e8d602173720c288b9fc822ec11a1d42ba02f6ad2
3
+ metadata.gz: 42d56633395a1500de19d8f81284163afce1366a05355236314f46251a9e5568
4
+ data.tar.gz: 28da76387c02ca82e13326332d668e7ae33a5ee2d40a1df946d95e9bc9a64ba8
5
5
  SHA512:
6
- metadata.gz: 6fff685d4089a69c9eef2d98970dca38f7b6226656c6b4ec1bdffd6210a79e10d168f1df2b5bf5d8f2019fdc2384ff19f7e8f4eba36d01d06f2ef1d1a37cb9c3
7
- data.tar.gz: 46f50b508c30a996ebdd8357ef1baf87fc67d8fdd587fcf6b6a5e553fef4e58816a63836fcca22e3a60476f75640f43623fad7e502413d52ab85f514d4e97307
6
+ metadata.gz: 1dd348fa9d4d05d148103a5003f4d7513a87bbbe537b6257ccad65a3172f301a5e38bae067acf683cf9c4284999b8f6fb6fc0028efb8a270cb31dc6f884241f8
7
+ data.tar.gz: ba63fd6d5c3aa57d37ebd517e80ee41203c49c93f03bfec12904e6ac282938b2f2ae6bbc71bb854ed323528373c8d031966c4b963d01f47ee00c1898c8cb2154
@@ -0,0 +1 @@
1
+ lib/entity_snapshot/postgres.rb
@@ -8,7 +8,7 @@ module EntitySnapshot
8
8
  include StreamName
9
9
 
10
10
  dependency :write, MessageStore::Postgres::Put
11
- dependency :read, MessageStore::Postgres::Get::Last
11
+ dependency :read, MessageStore::Postgres::Get::Stream::Last
12
12
 
13
13
  attr_accessor :session
14
14
 
@@ -21,7 +21,7 @@ module EntitySnapshot
21
21
  def configure(session: nil)
22
22
  MessageStore::Postgres::Session.configure(self, session: session)
23
23
  MessageStore::Postgres::Put.configure(self, session: self.session, attr_name: :write)
24
- MessageStore::Postgres::Get::Last.configure(self, session: self.session, attr_name: :read)
24
+ MessageStore::Postgres::Get::Stream::Last.configure(self, session: self.session, attr_name: :read)
25
25
  end
26
26
 
27
27
  def put(id, entity, version, time)
@@ -6,7 +6,7 @@ module EntitySnapshot
6
6
  prepend Get
7
7
  include EntityCache::Store::External
8
8
 
9
- dependency :read, MessageStore::Postgres::Get::Last
9
+ dependency :read, MessageStore::Postgres::Get::Stream::Last
10
10
 
11
11
  attr_accessor :session
12
12
 
@@ -20,7 +20,7 @@ module EntitySnapshot
20
20
 
21
21
  def configure(session: nil)
22
22
  MessageStore::Postgres::Session.configure(self, session: session)
23
- MessageStore::Postgres::Get::Last.configure(self, session: self.session, attr_name: :read)
23
+ MessageStore::Postgres::Get::Stream::Last.configure(self, session: self.session, attr_name: :read)
24
24
  end
25
25
 
26
26
  def put(*)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-entity_snapshot-postgres
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.0
4
+ version: 1.1.0.0
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-11-04 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-entity_store
@@ -58,6 +58,7 @@ executables: []
58
58
  extensions: []
59
59
  extra_rdoc_files: []
60
60
  files:
61
+ - lib/entity_snapshot/loader.rb
61
62
  - lib/entity_snapshot/postgres.rb
62
63
  - lib/entity_snapshot/postgres/controls.rb
63
64
  - lib/entity_snapshot/postgres/controls/batch.rb
@@ -97,8 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
98
  - !ruby/object:Gem::Version
98
99
  version: '0'
99
100
  requirements: []
100
- rubyforge_project:
101
- rubygems_version: 2.7.6
101
+ rubygems_version: 3.0.1
102
102
  signing_key:
103
103
  specification_version: 4
104
104
  summary: Projected entity snapshotting for Postgres