evt-event_source-event_store-http 0.7.0.2 → 0.7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/event_source/event_store/http/get/last.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9d3b2ef0767e4401e21647211c03e30b75e5f26
|
4
|
+
data.tar.gz: 62cc07bcb4a991a341f23d22df9e2e8a79a2ff18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e16f3871731c2b181bca8c64f93538c1f9f242ab3b6a441719f4f47302ba7add471c079ba34951de26053ea89ae9b7d04baab58252f2b38c78497bccb562f185
|
7
|
+
data.tar.gz: 6c7f59cc64d5c6a5e6d64c1e11d397f688adad35b072ec0eeec640fcd226d827c315b65148596987c366cbad19972e6ada207532a0ec98ab42bcda0266c4d0fa
|
@@ -37,7 +37,7 @@ module EventSource
|
|
37
37
|
logger.trace { "Getting last event of stream (StreamName: #{stream_name})" }
|
38
38
|
|
39
39
|
begin
|
40
|
-
|
40
|
+
event, * = read_stream.(
|
41
41
|
stream_name,
|
42
42
|
position: :head,
|
43
43
|
direction: :backward,
|
@@ -48,7 +48,7 @@ module EventSource
|
|
48
48
|
|
49
49
|
logger.debug { "Got last event of stream (StreamName: #{stream_name}, EventType: #{event&.type.inspect}, Position: #{event&.position.inspect}, GlobalPosition: #{event&.global_position.inspect})" }
|
50
50
|
|
51
|
-
|
51
|
+
event
|
52
52
|
end
|
53
53
|
|
54
54
|
Assertions = Get::Assertions
|