rails_event_store-browser 0.29.0 → 0.30.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcd7eb90c1d08b626d721dba644f087b1d989a91acf704d8bc148f722144e577
|
4
|
+
data.tar.gz: dd3d82d46ac73395f3d23c054a5c9f2bf4105bd512cb060b7f175dff95021809
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 171157820266206b1f430a028274f5b015848393a10bca321bb3cd7a503c9e43f90d0725e3894d5b9595bc086717e780aa1f39952bdd9dfb387e2564a4575c1f
|
7
|
+
data.tar.gz: 1aa412eb5744388e97584a8326e48542169db7428aa090f2b19d780f30a038ac53c1146f84198764aef7361ef4489d18586d0e8b0b3de5cbc88182c48af88ca9
|
@@ -31,17 +31,17 @@ module RailsEventStore
|
|
31
31
|
|
32
32
|
def events_forward(start)
|
33
33
|
if stream_name.eql?(SERIALIZED_GLOBAL_STREAM_NAME)
|
34
|
-
event_store.
|
34
|
+
event_store.read.limit(count).from(start).each.to_a
|
35
35
|
else
|
36
|
-
event_store.
|
36
|
+
event_store.read.limit(count).from(start).stream(stream_name).each.to_a
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
40
|
def events_backward(start)
|
41
41
|
if stream_name.eql?(SERIALIZED_GLOBAL_STREAM_NAME)
|
42
|
-
event_store.
|
42
|
+
event_store.read.limit(count).from(start).backward.each.to_a
|
43
43
|
else
|
44
|
-
event_store.
|
44
|
+
event_store.read.limit(count).from(start).stream(stream_name).backward.each.to_a
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_event_store-browser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.30.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.30.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.30.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|