evt-entity_store 2.0.3.0 → 2.0.3.1

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: c559a78d909c0939bcd13d26ebf7208a4c07696a594bff68c70d8d703a9c828c
4
- data.tar.gz: 253507419b0fc2eca642860e9167851f9ab50eb39ec7563ce5698ad59e3cd8f0
3
+ metadata.gz: 491ae82f254dd60d09f42952e9787d8bade2783966e8e57d9d8e89b60ded9f88
4
+ data.tar.gz: ee505308f7395f98cf3d19e7abfa4e4b5adaece43f1592991be0cf8905910588
5
5
  SHA512:
6
- metadata.gz: 5a60d729734da76a762471e9c7fb84a8b7b10b208b1eb5179e7e2a23ceeb108c7a2c2fbe5adb4ef93cce52bcd086f61ca10da2b2a355749ee27b8793b65ab35d
7
- data.tar.gz: 37ed50cbcdb955ca2760f1741043fd0c55d2dd6da8486fcbff38d88929761bf99c83b58e3de777a4f6039aeaff667350d5cb0e1dad2ffae93c67f164b65b62f4
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.0
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-03 00:00:00.000000000 Z
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