ruby_event_store 0.31.0 → 0.31.1
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/link_by_metadata.rb +2 -2
- data/lib/ruby_event_store/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adebf7df2d0a0bec7857885c1e080e92000adcce6e802b2c7162c0e7b4e0ed8a
|
4
|
+
data.tar.gz: cd37b31c70dcd4646ce59a70a7956f38664792777fca133d08a992deeef43e91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04f7de987acc0e3d52ddd8dc70c158f46967aece05ddf8f109bc5fe395ede108c1e402cbc98b089f6adcbd48219a076f7b678a9106657807a4a8d4eeba2de9b7
|
7
|
+
data.tar.gz: c2c1eb24d23f2f5d98b7b44e06e90f0901fe99b108adf3865de81af41bc161b4253e188c370bcd27cb1cf61bdb732bf6ba7f224f1436375bb885a5c9ec8bea95
|
@@ -10,7 +10,7 @@ module RubyEventStore
|
|
10
10
|
def call(event)
|
11
11
|
return unless event.metadata.has_key?(@key)
|
12
12
|
|
13
|
-
@event_store.
|
13
|
+
@event_store.link(
|
14
14
|
[event.message_id],
|
15
15
|
stream_name: "#{@prefix}#{event.metadata.fetch(@key)}"
|
16
16
|
)
|
@@ -45,7 +45,7 @@ module RubyEventStore
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def call(event)
|
48
|
-
@event_store.
|
48
|
+
@event_store.link(
|
49
49
|
[event.message_id],
|
50
50
|
stream_name: "#{@prefix}#{event.type}"
|
51
51
|
)
|