evt-entity_store 0.7.0.2 → 2.0.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/entity_store/entity_store.rb +2 -1
- metadata +7 -9
- data/lib/loader.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b71f1e1c2f093591bb20b5a73c6b8c8517264862fa1b8eb19f940f74b7a3a1f9
|
4
|
+
data.tar.gz: 85dce3592e317251338e1157c186e4a5257a5354e4b42b23bd003fda54f5bc99
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcd238f40984ccfb785a137d0d24f142dcab1411f1045ccedcf78ce848b5e9a18e69b817ee4648b20ed4736f66fadf12b51a8a0a7f8827b619829fe7e65a63cd
|
7
|
+
data.tar.gz: dae749095697644b9e240e87db2d63f68527298f347a74d3c4f35d664cb511ac3537f1dec06b73362b76069618a63be2eb33930d1c1586b0ae9efa88ffc46f87
|
@@ -130,7 +130,7 @@ module EntityStore
|
|
130
130
|
|
131
131
|
project = projection_class.build(entity)
|
132
132
|
|
133
|
-
logger.trace(tag: :refresh) { "Reading (Stream Name: #{stream_name}, Position: #{current_position}" }
|
133
|
+
logger.trace(tag: :refresh) { "Reading (Stream Name: #{stream_name}, Position: #{current_position})" }
|
134
134
|
reader_class.(stream_name, position: start_position, batch_size: reader_batch_size, session: session) do |event_data|
|
135
135
|
project.(event_data)
|
136
136
|
current_position = event_data.position
|
@@ -177,6 +177,7 @@ module EntityStore
|
|
177
177
|
|
178
178
|
res
|
179
179
|
end
|
180
|
+
alias :project :fetch
|
180
181
|
|
181
182
|
def new_entity
|
182
183
|
entity = nil
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-entity_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 2.0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-entity_projection
|
@@ -75,12 +75,11 @@ files:
|
|
75
75
|
- lib/entity_store/entity_store.rb
|
76
76
|
- lib/entity_store/log.rb
|
77
77
|
- lib/entity_store/substitute.rb
|
78
|
-
- lib/loader.rb
|
79
78
|
homepage: https://github.com/eventide-project/entity-store
|
80
79
|
licenses:
|
81
80
|
- MIT
|
82
81
|
metadata: {}
|
83
|
-
post_install_message:
|
82
|
+
post_install_message:
|
84
83
|
rdoc_options: []
|
85
84
|
require_paths:
|
86
85
|
- lib
|
@@ -95,9 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
95
94
|
- !ruby/object:Gem::Version
|
96
95
|
version: '0'
|
97
96
|
requirements: []
|
98
|
-
|
99
|
-
|
100
|
-
signing_key:
|
97
|
+
rubygems_version: 3.1.2
|
98
|
+
signing_key:
|
101
99
|
specification_version: 4
|
102
|
-
summary:
|
100
|
+
summary: Project and cache entities from event streams, with optional on-disk snapshotting
|
103
101
|
test_files: []
|
data/lib/loader.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
lib/entity_store.rb
|