ruby_event_store 2.12.0 → 2.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruby_event_store/batch_enumerator.rb +2 -2
- data/lib/ruby_event_store/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f43b0e4a063400ef20694abb7eb89adbd7742cba5b8c363fed8b8920f3d43b
|
4
|
+
data.tar.gz: f0e7ad5c67950d8111aea122204ab10c638a3bf4a44bcd39ec311d511ed420b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80d69bf0eb026d2d4d8842cea5c26c04a0c46f4651b58800ab1a456cbb9a725df76d004bcbc69a291d0ee117ab939d74f5ba6458a8d029a970f87088db4cbac1
|
7
|
+
data.tar.gz: 3aee127d839698b67bd0602973f15d54f9cd0eb3b036fb2ae7da04394229683f959e6905d5da54dfe0d2ae34f839d70bf25f9bf8e3ca7d34475a2131f4117789
|
@@ -15,8 +15,8 @@ module RubyEventStore
|
|
15
15
|
batch_limit = [batch_size, total_limit - batch_offset].min
|
16
16
|
result = reader.call(batch_offset, batch_limit)
|
17
17
|
|
18
|
-
|
19
|
-
|
18
|
+
yield result if result.any?
|
19
|
+
break if result.size < batch_size
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_event_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.
|
122
|
+
rubygems_version: 3.3.7
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Implementation of an event store in Ruby
|