evt-entity_store 0.5.4.0 → 0.5.5.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: d297cfbcfb87b3d18bf798a00cc7ae4a0b524e2a8f0a3df6e57fe6f1ec6b6af3
4
- data.tar.gz: 771dfec8e4b578ca4ae1c40c1aca878e4a6f4e1b7cceddb539d8a0cb4acf785c
3
+ metadata.gz: 31a6a5ae66085b4e9d9cbf5e79dd0af060fe4420bc497296c736fc704a607a4c
4
+ data.tar.gz: f40b7cc743e4c0ef1c3e217bf5555242a57c47a644d28349581480976210d8c1
5
5
  SHA512:
6
- metadata.gz: 6c7eba5dbe143f765768703ae5e7ea8396674fac8f99ea609dbc23f2aab6b7d4f9654d7f5e3510b4d11d3acd726cba48d3dd84d728e1537d7eaba449fd39bcd5
7
- data.tar.gz: ac1bcfc1486e617297816d2093da5621976d3713ca94568a252035ef4681319846df03eea41e3e8aee825edf6d8dcf375750516c27802775899426b638d1c963
6
+ metadata.gz: ff85f7ecb466da7ce93ddb681902421296157caf2bee4ece5ddebdf23ce302f9da39aa37b8ca6ff4ca36958b9b76ab698b40cdf63b5aea8e22bc0992a4505a7f
7
+ data.tar.gz: 8379a4eeb664a62c0de4d735556e98989701c4f43a6f2df7229c3f9da4dd7db274b5f356728f75cacbdb7a4c18d37849f1021f7e1f4f9a095cdc096c5a7defc3
@@ -7,6 +7,12 @@ module EntityStore
7
7
 
8
8
  class Example
9
9
  include MessageStore::Read
10
+
11
+ module Defaults
12
+ def self.batch_size
13
+ Reader::BatchSize.example
14
+ end
15
+ end
10
16
  end
11
17
 
12
18
  module BatchSize
@@ -217,7 +217,7 @@ module EntityStore
217
217
  end
218
218
 
219
219
  define_method :reader_batch_size do
220
- batch_size
220
+ batch_size ||= cls::Defaults.batch_size
221
221
  end
222
222
  end
223
223
  alias_method :reader, :reader_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: 0.5.4.0
4
+ version: 0.5.5.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-10-17 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: evt-entity_projection