evt-entity_store 2.0.3.0 → 2.0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/entity_store/entity_store.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 491ae82f254dd60d09f42952e9787d8bade2783966e8e57d9d8e89b60ded9f88
|
|
4
|
+
data.tar.gz: ee505308f7395f98cf3d19e7abfa4e4b5adaece43f1592991be0cf8905910588
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7c4011da0e663ab309e8ca8ee1f706f62404e5121b7b8d0a44ecb3418e3ce718366bb93dda1ad3ff5ece93d8df62e99b8e60d431a2e0f2d990e6c727416f4dca
|
|
7
|
+
data.tar.gz: 799a8a65e4174d186585fbfb7095f0c2e3397ae72078f12bf0050ca009421f72e7f09ae7ee6b7f20a14d4d9a4af3ffa0684e1659985f75d0a1226a3dc95828b7
|
|
@@ -26,13 +26,13 @@ module EntityStore
|
|
|
26
26
|
configure :store
|
|
27
27
|
|
|
28
28
|
attr_accessor :category
|
|
29
|
+
attr_accessor :specifier
|
|
29
30
|
|
|
30
31
|
virtual :reader_class
|
|
31
32
|
virtual :projection_class
|
|
32
33
|
virtual :reader_batch_size
|
|
33
34
|
virtual :snapshot_class
|
|
34
35
|
virtual :snapshot_interval
|
|
35
|
-
virtual :specifier
|
|
36
36
|
|
|
37
37
|
virtual :configure
|
|
38
38
|
|
|
@@ -56,7 +56,9 @@ module EntityStore
|
|
|
56
56
|
|
|
57
57
|
Build.assure(instance)
|
|
58
58
|
|
|
59
|
+
instance.specifier = specifier unless specifier.nil?
|
|
59
60
|
specifier ||= instance.specifier
|
|
61
|
+
|
|
60
62
|
EntityCache.configure(
|
|
61
63
|
instance,
|
|
62
64
|
entity_class,
|
|
@@ -263,7 +265,7 @@ module EntityStore
|
|
|
263
265
|
module SpecifierMacro
|
|
264
266
|
def specifier_macro(specifier)
|
|
265
267
|
define_method :specifier do
|
|
266
|
-
specifier
|
|
268
|
+
@specifier ||= specifier
|
|
267
269
|
end
|
|
268
270
|
end
|
|
269
271
|
alias_method :specifier, :specifier_macro
|
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: 2.0.3.
|
|
4
|
+
version: 2.0.3.1
|
|
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: 2020-12-
|
|
11
|
+
date: 2020-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: evt-entity_projection
|