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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1115df82e3e5ee954c52904a9d4d680d8f52e4a1e71be97b551adf8b01eefd3
4
- data.tar.gz: 27f82d414cd7d0039d71cbe347b6f436e04254d2622cc88780e6c1f73528cfe7
3
+ metadata.gz: b71f1e1c2f093591bb20b5a73c6b8c8517264862fa1b8eb19f940f74b7a3a1f9
4
+ data.tar.gz: 85dce3592e317251338e1157c186e4a5257a5354e4b42b23bd003fda54f5bc99
5
5
  SHA512:
6
- metadata.gz: 41708450e7aa9984b5a089018b7dba36dd8c45886f552e8a7685c06cd19a801688a81980ed2302b0449739f60267a2bcd8748b87bda6386a6f0023a37460c299
7
- data.tar.gz: ad7a95c228c6fb36eb0f4eadf4e3d580f1494656f0158a63532ab64b1c2d30a5640b80fe4090a61bc8139acbbc027060ceec4a52c73c8245c9b9de3fab6e9841
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.7.0.2
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: 2018-11-03 00:00:00.000000000 Z
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
- rubyforge_project:
99
- rubygems_version: 2.7.3
100
- signing_key:
97
+ rubygems_version: 3.1.2
98
+ signing_key:
101
99
  specification_version: 4
102
- summary: Store of entities that are projected from streams
100
+ summary: Project and cache entities from event streams, with optional on-disk snapshotting
103
101
  test_files: []
@@ -1 +0,0 @@
1
- lib/entity_store.rb